/* WTB marketing site — brand green + gold, Linear / Vercel language */

:root {
  --green-900: #092a23;
  --green-850: #0b322b;
  --green-800: #0e3b32;
  --green-700: #114439;
  --green-600: #176052;
  --green-500: #1f5a4c;
  --gold: #c2a264;
  --gold-200: #e6cca1;
  --gold-50: #f3ead5;
  --cream: #f6f5f1;
  --cream-200: #efede9;
  --cream-300: #e6e2d8;
  --ink: #22302b;
  --ink-soft: #3d4a45;
  --muted: #7d867f;
  --muted-2: #a8b0a9;
  --line: color-mix(in srgb, var(--gold) 28%, transparent);
  --line-soft: color-mix(in srgb, var(--ink) 8%, transparent);
  --glass: color-mix(in srgb, var(--green-900) 62%, transparent);
  --glass-light: color-mix(in srgb, #fff 72%, transparent);
  --shadow: 0 24px 64px color-mix(in srgb, var(--green-900) 14%, transparent);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  color-scheme: light;
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 560;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 56ch;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(28px, 4.4vw, 48px);
}

.dark {
  background: var(--green-900);
  color: var(--gold-50);
}

.dark .lede,
.dark .muted {
  color: color-mix(in srgb, var(--gold-50) 68%, transparent);
}

.cream {
  background: var(--cream);
}

.cream-alt {
  background: var(--cream-200);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-900);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--gold) 28%, transparent);
}

.btn-gold:hover {
  background: var(--gold-200);
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold-50);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

.btn-ghost-ink {
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
  color: var(--ink);
  background: #fff;
}

.btn-line {
  border-color: var(--line);
  color: var(--gold-200);
}

/* ---------- nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  background: color-mix(in srgb, var(--green-900) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold-50);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.logo-word {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.logo-en {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: color-mix(in srgb, var(--gold-50) 55%, transparent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: color-mix(in srgb, var(--gold-50) 78%, transparent);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold-50);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal {
  position: relative;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--gold-200);
  font-size: 13px;
  font-weight: 600;
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

.portal-btn svg {
  transition: transform 0.2s var(--ease);
}

.portal.is-open .portal-btn svg {
  transform: rotate(180deg);
}

.portal-panel {
  position: absolute;
  z-index: 50;
  top: calc(100% + 10px);
  right: 0;
  width: min(380px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--green-850) 94%, #000);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.portal.is-open .portal-panel {
  display: grid;
  gap: 8px;
}

.portal-group-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 8px 8px 4px;
}

.portal-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  color: var(--gold-50);
}

.portal-item:hover {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.portal-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  color: var(--gold);
}

.portal-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.portal-item span {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--gold-50);
}

#mobile-nav {
  inset: auto 12px auto 12px;
  top: 80px;
  width: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: color-mix(in srgb, var(--green-850) 96%, #000);
  color: var(--gold-50);
}

#mobile-nav a,
#mobile-nav .btn {
  display: flex;
  width: 100%;
  margin-top: 6px;
  padding: 10px 8px;
  border-radius: 10px;
}

@supports not selector(:popover-open) {
  #mobile-nav:not(.is-open) {
    display: none;
  }
  #mobile-nav.is-open {
    display: block;
    position: fixed;
    inset: 80px 12px auto;
    z-index: 50;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 520px at 88% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 62%),
    radial-gradient(540px 420px at 8% 90%, color-mix(in srgb, var(--green-600) 35%, transparent), transparent 70%),
    linear-gradient(165deg, #114439 0%, #0e3b32 46%, #092a23 100%);
  color: var(--gold-50);
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--gold) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--gold) 8%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  top: -220px;
  right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 20%, transparent), transparent 64%);
  animation: glow-drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-beam {
  position: absolute;
  height: 1px;
  width: 48%;
  left: 10%;
  top: 18%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 55%, transparent), transparent);
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 36px) scale(1.08); }
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  letter-spacing: -0.035em;
}

.hero .lede {
  color: color-mix(in srgb, var(--gold-50) 74%, transparent);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- mocks ---------- */
.mock {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, #071c18 82%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 35%, transparent);
}

.mock-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-200);
}

.mock-body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, #fff 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
}

.kpi b {
  display: block;
  font-size: 20px;
  color: var(--gold-200);
  letter-spacing: -0.03em;
}

.kpi small {
  color: var(--muted-2);
  font-size: 11px;
}

.spark {
  height: 72px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gold) 16%, transparent), transparent),
    color-mix(in srgb, #fff 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  overflow: hidden;
}

.spark svg {
  width: 100%;
  height: 100%;
}

.rooms {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.rooms i {
  aspect-ratio: 1;
  border-radius: 6px;
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}

.rooms i.on {
  background: var(--gold);
}

.rooms i.warn {
  background: #b5493a;
}

.float-card {
  position: absolute;
  right: -12px;
  bottom: 28px;
  width: 190px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--green-800) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: float-y 5.5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13px;
}

.float-card span {
  font-size: 12px;
  color: var(--muted-2);
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--cream);
  padding: 22px 16px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.04em;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- cards / bento ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  border: 1px solid var(--line-soft);
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent);
}

.card h3 {
  font-size: 20px;
  margin: 10px 0 8px;
}

.card p,
.muted {
  color: var(--muted);
}

.icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--green-800) 8%, transparent);
  color: var(--green-800);
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento a {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.bento a:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: var(--shadow);
}

.bento .wide {
  grid-row: 1 / span 2;
  background:
    radial-gradient(280px 180px at 90% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
    var(--green-800);
  color: var(--gold-50);
  border-color: color-mix(in srgb, var(--gold) 22%, transparent);
}

.bento .wide p {
  color: color-mix(in srgb, var(--gold-50) 70%, transparent);
}

.bento .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.bento h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.bento p {
  color: var(--muted);
  font-size: 14px;
}

.bento .grow {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: var(--gold);
}

/* ---------- flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.flow-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.flow-step.is-on {
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
  background: color-mix(in srgb, var(--gold) 8%, #fff);
}

/* ---------- AI chat ---------- */
.ai {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.chat {
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.bubble.me {
  justify-self: end;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold-50);
}

.bubble.bot {
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
}

/* ---------- platforms ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.phone {
  border-radius: 28px;
  border: 1px solid var(--line-soft);
  background: #fff;
  padding: 18px 16px 22px;
  min-height: 280px;
}

.phone-bar {
  height: 18px;
  border-radius: 999px;
  background: var(--cream-200);
  margin-bottom: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 280px at 85% 20%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
    var(--green-800);
  color: var(--gold-50);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 10px 0 12px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--green-900);
  color: color-mix(in srgb, var(--gold-50) 78%, transparent);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.site-footer h4 {
  color: var(--gold-50);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: color-mix(in srgb, var(--gold-50) 68%, transparent);
}

.site-footer a:hover {
  color: var(--gold-200);
}

.footer-legal {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  font-size: 12px;
  color: color-mix(in srgb, var(--gold-50) 42%, transparent);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- product page ---------- */
.page-hero {
  background:
    radial-gradient(560px 320px at 90% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 68%),
    linear-gradient(165deg, #114439, #092a23);
  color: var(--gold-50);
  padding: 72px 0 80px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 14px 0 16px;
}

.page-hero .lede {
  color: color-mix(in srgb, var(--gold-50) 74%, transparent);
}

.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.subnav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
}

.subnav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.subnav a:hover,
.subnav a.is-active {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-soft);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}

.points {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.points li {
  list-style: none;
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green-800) 8%, transparent);
  color: var(--green-800);
}

/* ---------- solutions ---------- */
.persona {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.day {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: 10px;
  padding-left: 28px;
}

.day-item {
  position: relative;
  padding: 0 0 32px;
}

.day-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent);
}

.day-item time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ---------- about ---------- */
.arch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.arch-col {
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
}

.arch-col ul {
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.arch-col li {
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.qr-box {
  aspect-ratio: 1;
  max-width: 240px;
  border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--cream-200);
  color: var(--muted);
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: reveal-up 0.8s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 36%;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .ai,
  .feature,
  .feature.reverse,
  .persona,
  .contact-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento .wide {
    grid-row: auto;
  }

  .stats,
  .flow,
  .platforms,
  .arch,
  .cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links,
  .nav-actions .btn-gold {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .portal-panel {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-height: calc(100svh - var(--nav-h) - 24px);
    overflow: auto;
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .stats,
  .flow,
  .platforms,
  .arch,
  .cols-3,
  .grid-3,
  .grid-2,
  .bento,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .rooms {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
