/* Fourmins Landing — 纸质温暖设计系统 */

:root {
  --paper: #f4efe6;
  --paper-2: #ece5d6;
  --paper-3: #e4dcc8;
  --ink: #24201b;
  --ink-2: #3a342c;
  --ink-3: #6a6055;
  --ink-4: #928878;
  --rule: #d4c9b1;
  --rule-2: #c3b699;
  --dusk: #c55a3b;
  --dusk-2: #a94a2e;
  --sage: #637e58;
  --sky: #8aa7b8;
  --stamp: #8a2e1b;
  --f-serif: "Newsreader", "Cormorant Garamond", ui-serif, Georgia, serif;
  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body.paper {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.paper::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0.5 0'/></filter><rect width='220' height='220' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: 0.28;
  mix-blend-mode: multiply;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
body.paper button { font-family: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { display: block; }
.brand em { font-style: italic; color: var(--dusk); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.nav a { color: var(--ink-3); transition: color 0.2s ease; }
.nav a:hover { color: var(--ink); }
.nav .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav .pill:hover { background: var(--ink); color: var(--paper); }
/* 语言切换器（自定义下拉，替换原生 select） */
.lang-switcher {
  position: relative;
  display: inline-flex;
  font-family: var(--f-mono);
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
  background: transparent;
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.lang-switcher-btn:hover,
.lang-switcher.is-open .lang-switcher-btn {
  color: var(--ink);
  border-color: var(--ink);
  background: color-mix(in oklab, var(--ink) 4%, transparent);
}
.lang-switcher-globe { flex: 0 0 auto; }
.lang-switcher-label { line-height: 1; }
.lang-switcher-caret {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.lang-switcher.is-open .lang-switcher-caret { transform: rotate(180deg); }

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid color-mix(in oklab, var(--ink) 16%, transparent);
  border-radius: 12px;
  box-shadow: 0 10px 28px -12px color-mix(in oklab, var(--ink) 40%, transparent);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
}
.lang-switcher.is-open .lang-switcher-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-switcher-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switcher-item:hover {
  background: color-mix(in oklab, var(--ink) 6%, transparent);
  color: var(--ink);
}
.lang-switcher-item.is-current {
  color: var(--dusk);
  font-weight: 500;
}
.lang-switcher-check {
  opacity: 0;
  color: var(--dusk);
  flex: 0 0 auto;
}
.lang-switcher-item.is-current .lang-switcher-check { opacity: 1; }

/* 动态导航槽 — 空时不占宽度 */
#nav-dynamic:empty { display: none; }
#nav-dynamic { display: contents; }

/* 会员等级徽章 */
.nav-tier-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dusk);
  border: 1px solid var(--dusk);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 用户区容器 */
#user-button-container { display: inline-flex; align-items: center; gap: 18px; }

/* Console nav entry (shown when signed in) */
.nav-console-link {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}
.nav-console-link:hover { color: var(--ink); }
.nav-console-link.active { color: var(--ink); }
.nav-console-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 1.5px;
  background: var(--dusk);
}
.nav-user {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-user-trigger {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
}
.nav-user-trigger:hover { border-color: var(--ink); }
.nav-user-trigger img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  display: block;
  object-fit: cover;
}
.nav-user-menu {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 60;
}
.nav-user-menu[hidden] { display: none; }
.nav-user-name {
  font-family: var(--f-serif);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-user-logout {
  padding: 8px 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 12px;
  cursor: pointer;
}
.nav-user-logout:hover { background: var(--ink); color: var(--paper); }

/* Fallback login link injected by clerk-init.js when signed out */
#user-button-container > .nav {
  gap: 0;
}
#user-button-container > .nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}
#user-button-container > .nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--dusk); border-color: var(--dusk); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* HERO */
.hero { position: relative; padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Single-column hero variant (no aside) */
.hero-single { padding: 96px 0 80px; }
.hero-single .hero-title-single {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(32px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}
.hero-single .hero-title-single em {
  font-style: italic;
  color: var(--dusk);
  font-weight: 400;
}
.hero-single .hero-title-single .pause {
  display: inline-block;
  position: relative;
  font-style: italic;
  color: var(--ink);
}
.hero-single .hero-title-single .pause::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 6%;
  height: 10px;
  background: var(--dusk);
  opacity: 0.18;
  z-index: -1;
}
.hero-single .hero-sub {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-single .hero-sub em { font-style: italic; color: var(--dusk); }
@media (max-width: 1000px) {
  .hero-single .hero-title-single {
    white-space: normal;
    font-size: clamp(32px, 7vw, 60px);
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dusk);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(52px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--dusk); font-weight: 400; }
.hero h1 .pause {
  display: inline-block;
  position: relative;
  font-style: italic;
}
.hero h1 .pause::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 8%;
  height: 10px;
  background: var(--dusk);
  opacity: 0.18;
  z-index: -1;
}

.hero-sub {
  margin-top: 32px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 520px;
}
.hero-sub em { font-style: italic; color: var(--dusk); }

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .tick {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  position: relative;
}
.hero-meta .tick::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--sage);
  border-radius: 50%;
}

/* HERO ASIDE — quiet numeric anchor */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.anchor {
  position: relative;
  padding: 40px 38px 34px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.anchor-label {
  position: absolute;
  top: -10px;
  left: 34px;
  background: var(--paper);
  padding: 0 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.anchor-num {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(140px, 16vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.anchor-num span {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 24px;
  font-weight: 500;
}
.anchor-lede {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
  margin-top: 16px;
}
.anchor-lede em { font-style: italic; color: var(--dusk); }
.anchor-rule {
  margin: 22px 0 18px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--rule-2) 0, var(--rule-2) 4px, transparent 4px, transparent 10px);
}
.anchor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.anchor-grid > div { display: flex; flex-direction: column; gap: 3px; }
.anchor-grid .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.anchor-grid .v {
  font-family: var(--f-serif);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.aside-slip {
  margin-left: 36px;
  padding: 20px 22px;
  border-left: 2px solid var(--dusk);
  transform: rotate(-0.5deg);
  max-width: 320px;
}
.aside-slip blockquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}
.aside-slip figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* SECTION SHELL */
section.sec {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 64px;
}
.sec-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 8px;
}
.sec-title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.sec-title em { font-style: italic; color: var(--dusk); font-weight: 400; }
.sec-lede {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}

/* VOICES */
.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.voice {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 32px 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.voice:nth-child(1) { transform: rotate(-0.6deg); }
.voice:nth-child(2) { transform: rotate(0.4deg); }
.voice:nth-child(3) { transform: rotate(-0.3deg); }
.voice:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(55, 40, 20, 0.25);
}
.voice::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 60px;
  height: 16px;
  background: rgba(197, 90, 59, 0.22);
  border: 1px dashed rgba(197, 90, 59, 0.45);
}
.voice-mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 48px;
  line-height: 0.6;
  color: var(--dusk);
  opacity: 0.55;
}
.voice blockquote {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  flex: 1;
}
.voice figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--rule-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.voice figcaption .ago { color: var(--ink-4); }

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.feature {
  background: var(--paper);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 520px;
  position: relative;
}
.feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rule-2);
}
.feature-head .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.feature-head .badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dusk);
  text-transform: uppercase;
  border: 1px solid var(--dusk);
  padding: 3px 8px;
  border-radius: 2px;
}
.feature h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature h3 em { font-style: italic; color: var(--dusk); }
.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.feature .viz {
  margin-top: auto;
  border-top: 1px dashed var(--rule-2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* VIZ 1 - FLIGHT */
.viz-flight {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.viz-flight .clock {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-serif);
  color: var(--ink);
}
.viz-flight .clock .big {
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}
.viz-flight .clock .colon {
  font-size: 48px;
  color: var(--ink-3);
}
.viz-flight .clock .unit {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.viz-flight .progress {
  height: 2px;
  background: var(--rule);
  position: relative;
}
.viz-flight .progress i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: var(--dusk);
}
.viz-flight .progress .plane {
  position: absolute;
  left: 62%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  color: var(--dusk);
}
.viz-flight .route {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* VIZ 2 - SUDOKU */
.viz-sudoku {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1px;
  background: var(--ink);
  padding: 2px;
  aspect-ratio: 1;
  max-width: 220px;
  width: 100%;
  border-radius: 2px;
}
.viz-sudoku div {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--ink);
  position: relative;
}
.viz-sudoku div.thick-r { border-right: 1.5px solid var(--ink); }
.viz-sudoku div.thick-b { border-bottom: 1.5px solid var(--ink); }
.viz-sudoku div.given { color: var(--ink); font-weight: 500; }
.viz-sudoku div.user { color: var(--dusk); }
.viz-sudoku div.empty { color: transparent; }

/* VIZ 3 - WAGER */
.viz-wager {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.viz-wager .row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.viz-wager .chip {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 14px 12px;
  border: 1px dashed var(--rule-2);
  text-align: center;
  position: relative;
}
.viz-wager .chip strong {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 4px;
}
.viz-wager .chip.lose strong { color: var(--dusk); }
.viz-wager .chip.win strong { color: var(--sage); }
.viz-wager .arrow-flow {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
}
.viz-wager .arrow-flow svg { display: block; margin: 0 auto 4px; }
.viz-wager .wager-foot {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: center;
  padding-top: 8px;
  border-top: 1px dashed var(--rule-2);
}

/* DEMO STRIP */
.demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.demo-screens {
  position: relative;
  aspect-ratio: 4/3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.screen {
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  box-shadow: 0 18px 34px -22px rgba(55, 40, 20, 0.35);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.screen .dots { display: flex; gap: 5px; }
.screen .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule-2);
}
.screen .screen-head {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 6px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
}
.screen .s-title {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.screen .s-title em { color: var(--dusk); font-style: italic; }

.screen.a { grid-column: 1 / span 4; grid-row: 1 / span 4; transform: rotate(-1.2deg); z-index: 2; }
.screen.b { grid-column: 4 / span 3; grid-row: 3 / span 4; transform: rotate(1.8deg); z-index: 1; }
.screen.c {
  grid-column: 2 / span 3;
  grid-row: 4 / span 3;
  transform: rotate(-2.4deg);
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.screen.c .screen-head { border-color: rgba(244, 239, 230, 0.18); color: var(--paper-2); }
.screen.c .s-title { color: var(--paper); }
.screen.c .s-title em { color: #f3a58b; }
.screen.c .dots i:first-child { background: #f3a58b; }
.screen .mini-row { display: flex; gap: 6px; flex-wrap: wrap; }
.screen .chip-sm {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding: 3px 7px;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.screen.c .chip-sm { color: var(--paper-2); border-color: rgba(244, 239, 230, 0.2); }
.screen .s-body { font-size: 12px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.screen.c .s-body { color: var(--paper-2); }
.screen .s-body.mono-body {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.8;
}

.demo-num { margin-bottom: 16px; }
.demo-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.demo-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--ink-2);
}
.demo-list li .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  min-width: 14px;
}

/* HOW */
.how-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px dashed var(--rule-2);
  border-bottom: 1px dashed var(--rule-2);
  padding: 28px 0;
}
.how-step {
  padding: 0 28px;
  border-left: 1px dashed var(--rule-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-step:first-child { border-left: none; padding-left: 0; }
.how-step .st {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dusk);
}
.how-step h4 {
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* PRIVACY */
.privacy {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.privacy-head .eye {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-2);
  opacity: 0.7;
  margin-bottom: 20px;
}
.privacy-head h2 {
  font-family: var(--f-serif);
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--paper);
}
.privacy-head h2 em { font-style: italic; color: #f3a58b; font-weight: 400; }
.privacy-head h2 .muted { color: var(--paper-2); opacity: 0.6; }
.privacy-list { display: grid; gap: 18px; }
.privacy-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px dashed rgba(244, 239, 230, 0.18);
}
.privacy-item:first-child { border-top: none; padding-top: 0; }
.privacy-item .mk {
  font-family: var(--f-serif);
  font-style: italic;
  color: #f3a58b;
  font-size: 18px;
}
.privacy-item h5 {
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--paper);
}
.privacy-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-2);
  opacity: 0.85;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 48px 1fr 32px;
  gap: 24px;
  align-items: baseline;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-4);
}
.faq-item h4 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.faq-item .plus {
  font-family: var(--f-mono);
  font-size: 20px;
  color: var(--ink-3);
  font-weight: 400;
  transition: transform 0.3s ease, color 0.2s ease;
  text-align: right;
  line-height: 1;
}
.faq-item[open] .plus { transform: rotate(45deg); color: var(--dusk); }
.faq-item .answer { padding: 0 0 28px 72px; }
.faq-item .answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 70ch;
}
.faq-item:not([open]) .answer { display: none; }

/* CLOSING */
.closing {
  text-align: center;
  padding: 120px 0 100px;
  border-top: 1px solid var(--rule);
}
.closing .poem {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--ink);
}
.closing .poem em { font-style: italic; color: var(--dusk); }
.closing .poem .strike {
  position: relative;
  display: inline-block;
  color: var(--ink-4);
}
.closing .poem .strike::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 2px;
  background: var(--ink-4);
}
.closing .sub {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.closing-fine {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* FOOTER */
footer.site {
  padding: 56px 0 40px;
  border-top: 1px solid var(--rule);
}
.site-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.site-col h6 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
  font-weight: 500;
}
.site-col a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 3px 0;
  transition: color 0.15s ease;
}
.site-col a:hover { color: var(--dusk); }
.site-col p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 32ch;
  margin-top: 12px;
}
.site-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule-2);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid, .demo, .privacy {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .voices, .features, .how-strip, .site-inner {
    grid-template-columns: 1fr;
  }
  .how-step {
    border-left: none;
    padding: 14px 0;
    border-bottom: 1px dashed var(--rule-2);
  }
  .how-step:last-child { border-bottom: none; }
  .sec-head { grid-template-columns: 1fr; gap: 10px; }
  section.sec { padding: 72px 0; }
  .feature { min-height: auto; }
  .privacy { padding: 40px 28px; }
  .nav { gap: 16px; }
  .nav .text-lang,
  .nav .lang-switcher { display: none; }
  .container { padding: 0 20px; }
}
@media (max-width: 600px) {
  .hero-meta { gap: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
