/* TwoLink's look (13 Nov 2026, the user: "kijk naar de reel page, zo een Apple style"): the same light, warm frosted glass
   over a room as TwoReels (twoinsta/public/assets/glass.css), near-black type, one accent, dark pills for the main action,
   and a serif italic line in the big titles. Every TwoLink page links this file and only adds its own layout. */
@font-face { font-family: Inter; src: url(/static/fonts/inter-latin-opsz-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/static/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --ink: #22160f; --text: rgba(34,22,15,.68); --dim: rgba(34,22,15,.5); --line: rgba(34,22,15,.09);
  --accent: #e8604f; --accent-2: #d63a33; --accent-rgb: 232,96,79;
  --hero-1: rgba(234,104,86,.95); --hero-2: rgba(220,82,70,.92); --glow: rgba(160,30,20,.6);
  --green: #34c759; --green-ink: #1c7a3e; --bad-ink: #c7372e; --amber: #b25f00;
  --ui: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --spring: cubic-bezier(.2,.8,.2,1); --r: 26px; --gap: 16px; color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #b98a68; -webkit-text-size-adjust: 100%; }
body { color: var(--ink); font: 400 15px/1.45 var(--ui); -webkit-font-smoothing: antialiased; min-height: 100vh; font-variant-numeric: tabular-nums; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
[hidden], .hide { display: none !important; }
::selection { background: rgba(var(--accent-rgb),.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 12px; }

/* what the glass looks through: a warm room, softly out of focus, a little darker at the edges */
.back { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #b98a68 url(/static/img/room.jpg) center 58% / cover no-repeat; }
.shade { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(rgba(150,80,50,.16), rgba(110,50,28,.22)), radial-gradient(130% 100% at 50% 30%, rgba(0,0,0,0), rgba(70,28,14,.35)); }
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px 56px; }

/* the material: frosted white, lighter at the top, a bright rim */
.glass { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.64), rgba(255,244,238,.4)); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); border-radius: var(--r); box-shadow: 0 26px 50px -26px rgba(96,38,20,.5), inset 0 1px 0 rgba(255,255,255,.85); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(255,255,255,.4) 35%, rgba(255,255,255,.18) 65%, rgba(255,255,255,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass.red { background: linear-gradient(140deg, var(--hero-1), var(--hero-2)); color: #fff; box-shadow: 0 30px 60px -26px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.glass.red::before { background: linear-gradient(150deg, rgba(255,255,255,.6), rgba(255,255,255,.12) 40%, rgba(255,255,255,.05) 70%, rgba(255,255,255,.3)); }

/* the bar on top: Robo's eyes, the name, the pages */
.nav { position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; gap: 12px; margin: 12px 0 18px; padding: 8px 8px 8px 10px; border-radius: 999px; }
.logo { display: flex; align-items: center; gap: 11px; font: 650 18px/1 var(--ui); letter-spacing: -.015em; }
.eyes { display: flex; gap: 8px; padding: 9px 12px; border-radius: 999px; background: #22160f; box-shadow: 0 6px 14px -6px rgba(34,22,15,.6); }
.eyes i { width: 9px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px rgba(255,255,255,.7); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a, .links button { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border-radius: 999px; font: 500 14px/1 var(--ui); color: var(--text); transition: background .2s, color .2s; }
.links a:hover, .links button:hover { color: var(--ink); background: rgba(255,255,255,.55); }
.links .on, .links [aria-current="page"] { color: #fff; background: #22160f; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); font: 600 12px/1 var(--ui); }
.lang button { height: 30px; padding: 0 10px; border-radius: 999px; color: var(--dim); }
.lang button[aria-pressed="true"] { color: #fff; background: #22160f; }

/* type */
h1, h2, h3 { font-weight: 650; letter-spacing: -.02em; }
h1 em, h2 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 em, h2 em { color: var(--accent-2); }
.caps { font: 600 11px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.muted { color: var(--text); }
.eyebrow { font: 600 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }

/* buttons, chips, switches, bars */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: #22160f; color: #fff; font: 600 14.5px/1 var(--ui); box-shadow: 0 12px 26px -12px rgba(34,22,15,.7); transition: transform .25s var(--spring), box-shadow .25s, background .2s; white-space: nowrap; }
.btn:hover { box-shadow: 0 16px 30px -12px rgba(34,22,15,.8); }
.btn.soft { height: 40px; padding: 0 16px; background: rgba(255,255,255,.62); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 6px 16px -10px rgba(96,38,20,.4); font-size: 14px; }
.btn.soft:hover { background: rgba(255,255,255,.82); }
.btn.white { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -12px var(--glow); }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn:active, .press:active { transform: scale(.97); transition-duration: .08s; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font: 600 12px/1.1 var(--ui); white-space: nowrap; background: rgba(255,255,255,.7); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.chip.dark { background: #22160f; color: #fff; box-shadow: none; }
.chip.red { background: var(--accent); color: #fff; box-shadow: none; }
.chip.win { background: rgba(52,199,89,.2); color: var(--green-ink); box-shadow: none; }
.switch { position: relative; width: 51px; height: 31px; flex: none; border-radius: 999px; background: rgba(120,100,90,.28); transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(60,20,10,.3); transition: transform .35s var(--spring); }
.switch.on, .switch[aria-checked="true"] { background: var(--green); }
.switch.on::after, .switch[aria-checked="true"]::after { transform: translateX(20px); }
.msg { font-size: 13px; color: var(--text); min-height: 18px; }
.msg.bad, .msg.err { color: var(--bad-ink); }
.msg.good { color: var(--green-ink); }
.footline { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding: 8px 20px 36px; font-size: 13px; color: rgba(255,248,242,.88); text-shadow: 0 1px 8px rgba(80,30,15,.4); }
.footline a:hover { color: #fff; }

/* coming in: blurred, then sharp */
.rise { animation: rise .8s var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rise { from { opacity: 0; filter: blur(10px); transform: translateY(12px) scale(.985); } }

@media (max-width: 640px) {
  .wrap { padding: 0 12px 44px; }
  .nav { gap: 8px; margin-bottom: 14px; }
  .links a, .links button { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } * { transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .glass { background: #f6ece6; -webkit-backdrop-filter: none; backdrop-filter: none; } .glass.red { background: #d9453c; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(250,240,234,.94); } }
