/* Plietschpaket marketing site. Vanilla CSS, no build step besides the HTML templating. */
:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d5;
  --sheet: #fffcf6;
  --ink: #1d2230;
  --ink-2: #333a4b;
  --graphite: #5b6070;
  --rule: rgba(29, 34, 48, 0.1);
  --rule-strong: rgba(29, 34, 48, 0.18);
  --amber: #e3a33b;
  --amber-soft: #f6e2bb;
  --seal: #b3312c;
  --ok: #2f8f5b;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
  --r-xl: 2rem;
  --r-lg: 1.375rem;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* film grain: fixed, never repaints with scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 3; }
.skip:focus { left: 16px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.015em; }
.display { font-family: var(--serif); font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: 0.95; letter-spacing: -0.025em; }
.display em, .h2 em { font-style: italic; color: var(--seal); }
.h2 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--graphite); }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: rgba(255, 252, 246, 0.7); box-shadow: inset 0 0 0 1px var(--rule-strong);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-2);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 3px rgba(179, 49, 44, 0.15); }
.eyebrow.on-dark { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: #d9dce6; }
.eyebrow.on-dark i { background: var(--amber); box-shadow: 0 0 0 3px rgba(227, 163, 59, 0.2); }

/* ---------- nav: floating island ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; z-index: 2;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 16px; border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--rule), 0 10px 30px -12px rgba(29, 34, 48, 0.25);
  width: max-content; max-width: calc(100% - 24px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; letter-spacing: -0.02em; margin-right: 10px; }
.mark { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; inset: 6px 6px 6px 11px; border-radius: 2px; background: var(--seal); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; padding: 8px 13px; border-radius: 999px; font-size: 0.93rem; color: var(--ink-2); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.nav-links a:hover { background: rgba(29, 34, 48, 0.06); color: var(--ink); }
.lang { font-family: var(--mono); font-size: 12px; text-decoration: none; padding: 8px 10px; border-radius: 999px; color: var(--graphite); }
.lang:hover { color: var(--ink); background: rgba(29, 34, 48, 0.06); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform 0.5s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet-menu {
  position: fixed; inset: 0; z-index: 2; background: rgba(29, 34, 48, 0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; align-content: center; padding: 0 28px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.sheet-menu a { font-family: var(--serif); font-size: 2.6rem; color: #fff; text-decoration: none; transform: translateY(24px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s var(--ease); }
.menu-open .sheet-menu { opacity: 1; pointer-events: auto; }
.menu-open .sheet-menu a { transform: none; opacity: 1; }
.menu-open .sheet-menu a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .sheet-menu a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .sheet-menu a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .sheet-menu a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .nav { z-index: 3; }

/* ---------- buttons: island with nested icon ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 22px; border-radius: 999px;
  font-weight: 560; font-size: 0.98rem; text-decoration: none; letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: transform 0.5s var(--ease); }
.btn .ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .ico { transform: translate(3px, -1px) scale(1.05); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px -14px rgba(29, 34, 48, 0.7); }
.btn-primary .ico { background: rgba(255, 255, 255, 0.12); }
.btn-primary:hover { background: #12151e; }
.btn-ghost { background: rgba(255, 252, 246, 0.6); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn-ghost .ico { background: rgba(29, 34, 48, 0.07); }
.btn-ghost:hover { background: var(--sheet); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber .ico { background: rgba(29, 34, 48, 0.1); }
.nav .btn { padding: 4px 4px 4px 16px; font-size: 0.9rem; gap: 8px; }
.nav .btn .ico { width: 30px; height: 30px; }

/* ---------- double bezel ---------- */
.bezel { padding: 6px; border-radius: var(--r-xl); background: rgba(29, 34, 48, 0.045); box-shadow: inset 0 0 0 1px rgba(29, 34, 48, 0.06); }
.bezel > .core {
  border-radius: calc(var(--r-xl) - 6px); background: var(--sheet); overflow: hidden; height: 100%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(29, 34, 48, 0.05), 0 24px 48px -32px rgba(29, 34, 48, 0.35);
}
.bezel.dark { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.bezel.dark > .core { background: #252b3b; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(48px); filter: blur(8px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; filter: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: grid; align-items: center; padding: 120px 0 72px; overflow: clip; }
.hero::after { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 163, 59, 0.22), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .lead { max-width: 34ch; }
.say { font-family: var(--mono); font-size: 0.85rem; color: var(--graphite); }
.say b { font-weight: 500; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 4px 0 0; list-style: none; font-family: var(--mono); font-size: 12px; color: var(--graphite); }
.facts li::before { content: "/ "; color: var(--seal); }

/* hero device composition */
.stage { position: relative; }
.stage .core { display: grid; grid-template-columns: 0.95fr 1.05fr; min-height: 560px; background: var(--ink); color: #fff; }
.stage-side { padding: 28px 24px 24px; border-left: 6px solid var(--amber); display: flex; flex-direction: column; gap: 14px; }
.stage-kicker { align-self: flex-start; background: var(--seal); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.stage-title { font-weight: 650; font-size: 1.32rem; line-height: 1.15; letter-spacing: -0.02em; }
.stage-meta { color: var(--amber); font-weight: 560; font-size: 0.88rem; margin-top: -6px; }
.stage-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.stage-bars i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); overflow: hidden; position: relative; }
.stage-bars i::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.8s var(--ease); }
.stage-step { margin-top: 10px; display: grid; gap: 12px; }
.stage-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-weight: 650; box-shadow: 0 0 0 4px var(--amber); }
.stage-label { font-weight: 620; font-size: 1.12rem; line-height: 1.3; min-height: 2.6em; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.stage-label.swap { opacity: 0; transform: translateY(6px); }
.stage-fb { margin-top: auto; display: flex; gap: 10px; align-items: center; font-size: 0.86rem; color: #cbd2e0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.stage-fb b { color: #fff; font-weight: 600; }
.stage-fb .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.25); }
.stage-screen { background: #f1ede4; display: grid; place-items: center; padding: 26px 18px; background-image: radial-gradient(rgba(29, 34, 48, 0.12) 1px, transparent 1px); background-size: 16px 16px; }
.phone { position: relative; width: min(236px, 100%); aspect-ratio: 414 / 896; border-radius: 34px; padding: 9px; background: #12151e; box-shadow: 0 30px 60px -24px rgba(29, 34, 48, 0.6), inset 0 0 0 1.5px #3a4050; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #f4f5f7; }
.phone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.phone .scr img.on { opacity: 1; transform: none; }
.tap { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 2.5px solid var(--amber); box-shadow: 0 0 0 6px rgba(227, 163, 59, 0.25); opacity: 0; transform: scale(1.6); transition: left 0.8s var(--ease-soft), top 0.8s var(--ease-soft); pointer-events: none; }
.tap.go { animation: tap 1.4s var(--ease) forwards; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 35% { opacity: 1; transform: scale(1); } 55% { transform: scale(0.82); } 70% { transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.stage-float {
  position: absolute; right: -30px; top: 46px; z-index: 1;
  background: var(--sheet); color: var(--ink); border-radius: 16px; padding: 12px 14px 12px 12px;
  display: flex; gap: 12px; align-items: center; font-size: 0.82rem; line-height: 1.35;
  box-shadow: inset 0 0 0 1px var(--rule), 0 24px 40px -20px rgba(29, 34, 48, 0.45);
}
.stage-float .sq { width: 34px; height: 34px; border-radius: 10px; background: var(--amber-soft); display: grid; place-items: center; color: #8a5b07; flex: none; }
.stage-float .sq svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.stage-float b { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.78rem; }

/* ---------- format ticker ---------- */
.ticker { border-block: 1px solid var(--rule); background: rgba(255, 252, 246, 0.5); overflow: hidden; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 18px 0; font-family: var(--mono); font-size: 13px; color: var(--graphite); animation: slide 38s linear infinite; }
.ticker-track span::before { content: "\2726"; color: var(--seal); margin-right: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 13vw, 168px) 0; }
.sec-head { display: grid; gap: 18px; justify-items: start; align-content: start; max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head .lead { max-width: 52ch; }

/* steps: editorial zig-zag */
.steps { display: grid; gap: clamp(72px, 10vw, 128px); }
.step { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.step:nth-child(even) .step-copy { order: 2; }
.step-copy { display: grid; gap: 16px; align-content: start; }
.step-no { font-family: var(--serif); font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(29, 34, 48, 0.35); }
.step-copy p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.step-copy ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.step-copy li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.96rem; }
.step-copy li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--amber); transform: rotate(45deg); }

/* video mock */
.bezel > .core.vid { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(140deg, #2a3144, #1d2230 55%, #151925); color: #fff; }
.vid-scene { position: absolute; inset: 9% 9% 22%; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); display: grid; grid-template-columns: 1fr 1.1fr; gap: 6%; padding: 6%; align-items: center; }
.vid-person { aspect-ratio: 3 / 4; border-radius: 12px; background: radial-gradient(circle at 50% 36%, #e9c9a8 0 16%, transparent 16.5%), radial-gradient(ellipse at 50% 100%, #b3312c 0 42%, transparent 42.5%), linear-gradient(#3a4256, #2b3142); }
.vid-lines { display: grid; gap: 10px; }
.vid-lines i { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.16); }
.vid-lines i:nth-child(1) { width: 80%; background: rgba(255, 255, 255, 0.4); height: 13px; }
.vid-lines i:nth-child(3) { width: 65%; }
.vid-q { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(78%, 360px); background: var(--sheet); color: var(--ink); border-radius: 14px; padding: 16px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); display: grid; gap: 8px; font-size: 0.86rem; }
.vid-q b { font-size: 0.95rem; }
.vid-q span { padding: 8px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.vid-q span.ok { box-shadow: inset 0 0 0 1.5px var(--ok); background: #e8f4ed; }
.vid-bar { position: absolute; left: 6%; right: 6%; bottom: 8%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; font-family: var(--mono); font-size: 11px; color: #c9cfdb; }
.vid-bar .pause { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; }
.vid-bar .pause::before { content: ""; width: 9px; height: 10px; border-inline: 3px solid #fff; }
.vid-track { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.18); }
.vid-track::before { content: ""; position: absolute; inset: 0 58% 0 0; border-radius: 4px; background: var(--amber); }
.vid-track i { position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--sheet); box-shadow: 0 0 0 3px var(--seal); }

/* LMS panel */
.lms { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; }
.lms-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lms-top b { font-weight: 620; }
.pill { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; background: #e8f4ed; color: var(--ok); }
.lms table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.lms td { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.lms td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.lms td:first-child { color: var(--graphite); }
.lms .log { font-family: var(--mono); font-size: 12px; color: var(--graphite); line-height: 1.8; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.lms .log em { font-style: normal; color: var(--seal); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(180px, auto); gap: 16px; }
.tile { grid-column: span 4; }
.tile .core, .t-tall .core, .t-half .core { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.tile p { margin: 0; color: var(--graphite); font-size: 0.97rem; }
.t-wide { grid-column: span 7; grid-row: span 2; }
.t-tall { grid-column: span 5; grid-row: span 2; }
.t-half { grid-column: span 6; }
.t-wide .core { padding: 26px 26px 0; }
.t-wide .shot { margin-top: auto; border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--rule), 0 -12px 40px -24px rgba(29, 34, 48, 0.4); }
.glyph { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); margin-bottom: 6px; }
.glyph svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.langs span { font-family: var(--mono); font-size: 13px; padding: 7px 12px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.langs span:first-child { background: var(--ink); color: #fff; box-shadow: none; }
.roles { margin-top: auto; display: grid; gap: 8px; }
.roles div { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-size: 0.92rem; }
.roles div span:last-child { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: #f5dcd9; color: var(--seal); }
.roles div:nth-child(2) span:last-child { background: var(--amber-soft); color: #8a5b07; }
.roles div:nth-child(3) span:last-child { background: #e4e7ee; color: var(--ink-2); }
.types { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.types span { font-size: 0.82rem; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule-strong); color: var(--ink-2); }
.types span.more { background: var(--ink); color: #fff; box-shadow: none; font-family: var(--mono); font-size: 0.76rem; }
.drop { margin-top: auto; border-radius: 14px; border: 1.5px dashed var(--rule-strong); padding: 18px; display: grid; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--graphite); }
.drop span { display: flex; justify-content: space-between; }
.drop span b { font-weight: 500; color: var(--ok); }

/* ---------- claude (dark) ---------- */
.dark { background: var(--ink); color: #e9ebf1; }
.dark .h2 em { color: var(--amber); }
.dark .lead, .dark p { color: #b8bfcd; }
.claude-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.claude-copy { display: grid; gap: 22px; position: sticky; top: 120px; }
.chat .core { padding: 22px; display: grid; gap: 16px; font-size: 0.95rem; }
.msg { justify-self: end; max-width: 88%; background: #333a4d; color: #fff; padding: 14px 16px; border-radius: 18px 18px 4px 18px; line-height: 1.5; }
.calls { display: grid; gap: 2px; font-family: var(--mono); font-size: 12.5px; }
.call { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: #cfd5e2; opacity: 0.25; transform: translateX(-6px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.6s var(--ease); }
.call.done { opacity: 1; transform: none; }
.call.done:last-child { background: rgba(227, 163, 59, 0.1); }
.call .ck { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25); display: grid; place-items: center; }
.call.done .ck { background: var(--ok); box-shadow: none; }
.call.done .ck::after { content: ""; width: 7px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.call small { color: #8790a3; font-size: 11.5px; }
.answer { color: #e9ebf1; line-height: 1.55; opacity: 0; transition: opacity 0.8s var(--ease); }
.answer.on { opacity: 1; }
.answer a { color: var(--amber); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.paths .core { padding: 22px; display: grid; gap: 8px; align-content: start; }
.paths .h3 { color: #fff; }
.paths p { font-size: 0.93rem; margin: 0; }
.paths .tag { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }

/* ---------- self host ---------- */
.host-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.code .core { background: #171b26; color: #d7dbe6; padding: 0; }
.code-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); align-items: center; }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4050; }
.code-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #8790a3; }
.code pre { margin: 0; padding: 22px 24px 26px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; overflow-x: auto; }
.code .c { color: #7f889b; }
.code .k { color: var(--amber); }
.code .s { color: #9fd3b1; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--rule); }
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks svg { width: 22px; height: 22px; fill: none; stroke: var(--seal); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.checks b { display: block; font-weight: 600; }
.checks span { color: var(--graphite); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq details { border-top: 1px solid var(--rule-strong); }
.faq details:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-weight: 580; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- final cta & footer ---------- */
.final .core { background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.final .core::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 163, 59, 0.35), transparent); pointer-events: none; }
.final .h2 em { color: var(--amber); }
.final p { color: #b8bfcd; margin: 16px 0 0; max-width: 46ch; }
.final .cta-row { justify-content: flex-end; position: relative; z-index: 1; }
footer { padding: 56px 0 48px; font-size: 0.9rem; color: var(--graphite); }
.foot > span { display: inline-flex; align-items: center; flex-wrap: wrap; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* legal page */
.legal { padding: 150px 0 80px; }
.legal .core { padding: clamp(28px, 5vw, 56px); max-width: 760px; }
.legal h1 { font-family: var(--serif); font-size: 3rem; margin-bottom: 24px; }
.legal h2 { font-weight: 600; font-size: 1.1rem; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .stage-float { right: 12px; top: -22px; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .t-wide, .t-tall { grid-column: span 6; grid-row: auto; }
  .tile, .t-half { grid-column: span 3; }
}
@media (max-width: 860px) {
  .nav-links, .nav .lang, .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav { gap: 24px; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid, .step, .claude-grid, .host-grid, .faq, .final .core { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .step-copy { order: 0; }
  .claude-copy { position: static; }
  .final .cta-row { justify-content: flex-start; }
  .stage .core { grid-template-columns: 1fr; min-height: 0; }
  .stage-side { border-left: 0; border-top: 6px solid var(--amber); }
  .stage-fb { margin-top: 6px; }
  .stage-float { display: none; }
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile, .t-half, .t-wide, .t-tall { grid-column: auto; }
  .stage-side { padding: 22px 18px; }
  .stage-label { min-height: 0; }
}

.sec-tight { padding-top: 0; }
.sec-head.flush { margin: 0; }
.final { padding-bottom: 24px; }
.foot-brand { display: inline-flex; margin-right: 12px; }
.vid-track i.m1 { left: 42%; }
.vid-track i.m2 { left: 71%; }
