/* ─── Sterna Initiative — landing page styles ─── */
:root {
  --forest-900: #0A2318;     /* Sterna Forest — deepest */
  --forest-800: #0e3020;
  --forest-700: #133828;
  --forest-600: #1a4632;
  --tern-700:   #0A6B42;     /* AA dark green text */
  --tern-600:   #0D7A52;     /* Tern Green — primary CTA */
  --tern-500:   #11936a;
  --wing-400:   #1AAF7A;     /* Sterna Wing — accent */
  --wing-300:   #2dc890;
  --wing-200:   #6dc9a0;
  --wing-100:   #b8e6cf;
  --wing-50:    #EEF9F4;     /* hover surface */
  --off-white:  #F7FDFB;     /* faint green-white */
  --paper:      #ffffff;
  --ink-900:    #0a1c14;
  --ink-700:    #2a3a32;
  --ink-500:    #5e7068;
  --ink-400:    #8a9b93;
  --line:       #d8e6df;
  --line-soft:  #e8f0eb;
  --warn-bg:    #fff7e6;
  --warn-fg:    #855700;
  --warn-line:  #f5d28a;

  --shadow-sm: 0 1px 2px rgba(10,35,24,.06), 0 1px 1px rgba(10,35,24,.04);
  --shadow-md: 0 8px 24px rgba(10,35,24,.08), 0 2px 4px rgba(10,35,24,.04);
  --shadow-lg: 0 24px 60px rgba(10,35,24,.18), 0 6px 12px rgba(10,35,24,.05);
  --shadow-glow: 0 0 0 1px rgba(26,175,122,.15), 0 12px 40px rgba(13,122,82,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--wing-400); color: var(--forest-900); }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
:focus-visible { outline: 2px solid var(--wing-400); outline-offset: 2px; border-radius: 4px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.brand-mark { font-family: 'Cinzel', serif; letter-spacing: 0.22em; font-weight: 600; }
.brand-sub  { font-family: 'Cinzel', serif; letter-spacing: 0.28em; font-weight: 500; font-size: 0.62rem; }
.mono       { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }

/* ── Trial banner ── */
.trial-banner {
  position: relative; z-index: 60;
  background: var(--forest-900);
  color: var(--wing-200);
  font-size: 0.78rem;
  padding: 8px 24px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid rgba(26,175,122,0.18);
}
.trial-banner .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wing-300);
  box-shadow: 0 0 0 0 rgba(45,200,144,0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45,200,144,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(45,200,144,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,200,144,0); }
}
.trial-banner b { color: #fff; font-weight: 600; }
.trial-banner .spacer { flex: 1; }
.trial-banner a { color: var(--wing-300); border-bottom: 1px solid rgba(45,200,144,0.4); }
.trial-banner a:hover { color: #fff; border-color: #fff; }

.trial-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(26,175,122,0.12);
  color: var(--wing-300);
  border: 1px solid rgba(26,175,122,0.3);
  font-weight: 600;
}
.trial-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wing-300); }

/* ── Top nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,35,24,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand .stack { display: flex; flex-direction: column; gap: 2px; }
.nav-brand .stack .name { color: #fff; font-size: 1.05rem; }
.nav-brand .stack .sub  { color: var(--wing-200); }

.nav-links { display: flex; gap: 6px; flex: 1; margin-left: 18px; }
.nav-link {
  font-size: 0.86rem; color: rgba(255,255,255,0.78);
  padding: 8px 12px; border-radius: 6px; font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-pill {
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); font-size: 0.74rem; font-weight: 500;
  padding: 6px 10px; border-radius: 6px; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 5px;
}
.lang-pill:hover { border-color: var(--wing-400); color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.86rem; font-weight: 600;
  font-family: inherit;
  transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--tern-600);
  color: #fff;
  border: 1px solid var(--tern-500);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px rgba(13,122,82,0.25);
}
.btn-primary:hover { background: var(--wing-400); border-color: var(--wing-400); }
.btn-ghost-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: var(--wing-400); }
.btn-ghost {
  background: var(--paper); color: var(--forest-900);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--tern-600); color: var(--tern-700); }
.btn-link {
  background: none; padding: 8px 4px;
  color: var(--wing-300);
  font-weight: 600; font-size: 0.86rem;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.btn-link:hover { color: #fff; border-bottom-color: var(--wing-400); }
.btn-sm { padding: 7px 13px; font-size: 0.8rem; }
.btn-lg { padding: 13px 22px; font-size: 0.92rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 78% 0%, rgba(26,175,122,0.18), transparent 60%),
    radial-gradient(900px 700px at 10% 100%, rgba(13,122,82,0.22), transparent 55%),
    linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 100%);
  color: #fff;
  padding: 96px 32px 120px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-family: 'Cinzel', serif; letter-spacing: 0.32em;
  font-size: 0.74rem; font-weight: 600;
  color: var(--wing-300);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--wing-300); }
.hero p.lede {
  font-size: 1.08rem; line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 36px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
}
.hero-meta strong { color: #fff; font-weight: 600; }

/* ── Hero product visual ── */
.hero-visual {
  position: relative;
  perspective: 2000px;
}
.product-card {
  background: var(--paper);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.1);
}
.product-titlebar {
  background: var(--forest-900); color: #fff;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.74rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.product-titlebar .dots { display: flex; gap: 5px; }
.product-titlebar .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.product-titlebar .label { color: var(--wing-200); letter-spacing: 0.18em; font-family: 'Cinzel', serif; font-weight: 500; font-size: 0.7rem; }
.product-titlebar .crumb { color: rgba(255,255,255,0.45); margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; }

.product-body {
  display: grid; grid-template-columns: 180px 1fr;
  min-height: 360px;
  background: var(--off-white);
}
.product-side {
  background: var(--forest-700);
  color: rgba(255,255,255,0.85);
  padding: 14px 12px;
  font-size: 0.76rem;
}
.product-side .group { color: rgba(255,255,255,0.45); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 12px 6px 6px; }
.product-side .group:first-child { margin-top: 0; }
.product-side .item { padding: 6px 8px; border-radius: 4px; display: flex; align-items: center; gap: 7px; }
.product-side .item.active { background: rgba(26,175,122,0.18); color: #fff; border-left: 3px solid var(--wing-400); padding-left: 5px; font-weight: 600; }
.product-side .item .glyph { font-size: 0.7rem; opacity: 0.7; }

.product-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.product-summary { display: flex; gap: 10px; flex-wrap: wrap; }
.summary-pill {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px;
  flex: 1; min-width: 90px;
}
.summary-pill .num { font-size: 1.15rem; font-weight: 700; color: var(--forest-900); line-height: 1; }
.summary-pill .lbl { font-size: 0.6rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.summary-pill.ok    .num { color: #138a4f; }
.summary-pill.warn  .num { color: #b6741a; }
.summary-pill.err   .num { color: #b3372a; }

.match-row {
  display: grid; grid-template-columns: 14px 1fr 92px 80px;
  gap: 8px; align-items: center;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  border: 1px solid var(--line-soft);
  background: var(--paper);
}
.match-row .left { font-weight: 600; color: var(--forest-900); display: flex; gap: 6px; align-items: center; }
.match-row .ref  { color: var(--ink-500); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; }
.match-row .amt  { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--forest-900); text-align: right; }
.match-row .pill {
  font-size: 0.62rem; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: 999px; text-align: center; font-weight: 700;
}
.match-row.ok  .pill { background: #d4ecdf; color: #105f3a; }
.match-row.fx  .pill { background: #d8e8ff; color: #1e3a8a; }
.match-row.warn .pill { background: #fff0c8; color: #8a5a06; }
.match-row.err  .pill { background: #fadcd8; color: #8a2a1d; }
.match-row .glyph { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; }

/* ── Section base ── */
section {
  padding: 96px 32px;
  position: relative;
}
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.3em;
  color: var(--tern-700); font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--forest-900);
  max-width: 720px;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-lede {
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.6;
  max-width: 640px;
  text-wrap: pretty;
}

/* ── Product overview ── */
.section-product { background: var(--paper); border-top: 1px solid var(--line-soft); }
.product-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--wing-400); transform: translateY(-3px); }
.feature-card .icon {
  width: 42px; height: 42px;
  background: var(--forest-900);
  color: var(--wing-300);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest-900);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--ink-700);
  line-height: 1.6;
}

/* ── How it works ── */
.section-how { background: var(--off-white); }
.how-steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.how-step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.how-step:last-child { border-right: none; }
.how-step .step-num {
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  color: var(--tern-700);
  font-weight: 600;
  margin-bottom: 18px;
}
.how-step h3 {
  font-size: 1.18rem; font-weight: 600;
  color: var(--forest-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 0.92rem; color: var(--ink-700); line-height: 1.6;
  margin-bottom: 18px;
}
.step-visual {
  background: var(--off-white);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 12px;
  font-size: 0.75rem;
}

/* ── Suite roadmap ── */
.section-suite { background: var(--forest-900); color: #fff; }
.section-suite .section-eyebrow { color: var(--wing-300); }
.section-suite .section-title { color: #fff; }
.section-suite .section-lede { color: rgba(255,255,255,0.7); }
.suite-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.suite-card {
  background: var(--forest-700);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 230px;
  position: relative;
  transition: border-color .2s, background .2s;
}
.suite-card.live {
  background: linear-gradient(165deg, var(--forest-700) 0%, var(--forest-600) 100%);
  border-color: rgba(26,175,122,0.35);
  box-shadow: var(--shadow-glow);
}
.suite-card:hover { border-color: rgba(26,175,122,0.5); }
.suite-status {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem; letter-spacing: 0.22em;
  font-weight: 500; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  align-self: flex-start;
}
.suite-status.available { background: rgba(26,175,122,0.18); color: var(--wing-300); border: 1px solid rgba(26,175,122,0.4); }
.suite-status.preparation { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.1); }
.suite-status.exploring { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); border: 1px dashed rgba(255,255,255,0.12); }

.suite-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
}
.suite-desc { font-size: 0.86rem; color: rgba(255,255,255,0.65); line-height: 1.55; flex: 1; }
.suite-card .open-link {
  font-size: 0.82rem; color: var(--wing-300); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(45,200,144,0.4); align-self: flex-start;
  padding-bottom: 1px;
}
.suite-card .open-link:hover { color: #fff; border-bottom-color: #fff; }

/* ── Feedback ── */
.section-feedback { background: var(--off-white); border-top: 1px solid var(--line-soft); }
.feedback-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}
.feedback-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.feedback-card h3 {
  font-size: 1.25rem; font-weight: 600;
  color: var(--forest-900); letter-spacing: -0.01em;
}
.feedback-card p { font-size: 0.92rem; color: var(--ink-700); line-height: 1.55; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.78rem; color: var(--ink-700); font-weight: 500; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-900);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--wing-400);
  box-shadow: 0 0 0 3px rgba(26,175,122,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field-error { color: #b3372a; font-size: 0.75rem; }
.field input.invalid, .field textarea.invalid { border-color: #d56550; }

.toggle-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 8px; padding: 4px;
}
.toggle-row button {
  flex: 1; padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink-700);
  text-align: left;
}
.toggle-row button.active {
  background: var(--paper); color: var(--forest-900);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.contact-card {
  background: var(--forest-900);
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.contact-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(26,175,122,0.18), transparent 70%);
  pointer-events: none;
}
.contact-card h3 { font-family: 'Cinzel', serif; letter-spacing: 0.1em; font-size: 1.4rem; }
.contact-card .row { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9rem; }
.contact-card .row .glyph {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(26,175,122,0.18);
  color: var(--wing-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
}
.contact-card .row .body { color: rgba(255,255,255,0.78); line-height: 1.5; }
.contact-card .row .body a { color: var(--wing-300); border-bottom: 1px solid rgba(45,200,144,0.4); }
.contact-card .row .body a:hover { color: #fff; border-bottom-color: #fff; }
.contact-card .row .body strong { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }

/* ── Survey (inside feedback section) ── */
.survey-form {
  max-width: 720px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.survey-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.survey-section:first-child { border-top: none; padding-top: 0; }
.survey-section-hdr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tern-600);
  font-weight: 500;
}
.rating-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.rating-btn {
  width: 40px; height: 40px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-700);
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.rating-btn:hover { border-color: var(--wing-400); color: var(--tern-600); }
.rating-btn.active {
  background: var(--tern-600);
  border-color: var(--tern-600);
  color: #fff;
}
.rating-labels {
  display: flex;
  justify-content: space-between;
  width: 224px;
  font-size: 0.7rem;
  color: var(--ink-400);
  margin-top: 5px;
}
.optin-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-700);
  cursor: pointer;
  user-select: none;
}
.optin-row input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--tern-600);
  cursor: pointer;
  flex-shrink: 0;
}
.req { color: #b3372a; font-weight: 600; }
.opt { color: var(--ink-400); font-weight: 400; font-size: 0.78rem; }
.survey-email-field { max-width: 360px; }
.survey-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--wing-50);
  border: 1px solid var(--wing-100);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--ink-700);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.5;
}
.survey-hint a { color: var(--tern-600); font-weight: 500; border-bottom: 1px solid var(--wing-200); }
.survey-hint a:hover { border-bottom-color: var(--tern-600); }

/* ── Footer ── */
footer {
  background: var(--forest-900);
  color: rgba(255,255,255,0.55);
  padding: 56px 32px 36px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand .row { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--wing-300); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.65); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 0.78rem; flex-wrap: wrap; gap: 16px;
}
.footer-bottom .legal { color: rgba(255,255,255,0.4); max-width: 720px; line-height: 1.5; }
.footer-bottom .legal strong { color: var(--wing-300); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,28,20,0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadein .15s ease-out;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes slidein { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal {
  background: var(--paper);
  border-radius: 12px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  animation: slidein .2s cubic-bezier(0.2,0.8,0.2,1);
  overflow: hidden;
  max-height: 92vh;
  display: flex; flex-direction: column;
}
.modal-hdr {
  background: var(--forest-900); color: #fff;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
}
.modal-hdr img { height: 32px; }
.modal-hdr .stack .name { font-family: 'Cinzel', serif; letter-spacing: 0.22em; font-size: 0.92rem; font-weight: 600; }
.modal-hdr .stack .sub  { font-family: 'Cinzel', serif; letter-spacing: 0.28em; font-size: 0.6rem; color: var(--wing-300); }
.modal-hdr .close {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 6px; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: background .15s, color .15s;
}
.modal-hdr .close:hover { background: rgba(255,255,255,0.08); color: #fff; }

.modal-body { padding: 28px 28px 32px; overflow-y: auto; }
.modal-body h2 {
  font-size: 1.35rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  margin-bottom: 6px;
}
.modal-body p.sub { font-size: 0.86rem; color: var(--ink-500); margin-bottom: 22px; }
.modal-body .field { margin-bottom: 14px; }
.modal-body .submit-row { margin-top: 22px; display: flex; gap: 10px; }
.modal-body .submit-row .btn { flex: 1; }
.modal-body .swap {
  text-align: center; font-size: 0.84rem; color: var(--ink-500);
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft);
}
.modal-body .swap a { color: var(--tern-700); font-weight: 600; border-bottom: 1px solid transparent; }
.modal-body .swap a:hover { border-bottom-color: var(--tern-700); cursor: pointer; }
.alert {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.alert.err { background: #fdecea; color: #8a2a1d; border: 1px solid #f4c1b8; }
.alert.ok  { background: #e3f2eb; color: #105f3a; border: 1px solid #a9d5bf; }
.alert.info { background: var(--wing-50); color: var(--tern-700); border: 1px solid var(--wing-100); }

/* Workspace toggle */
.ws-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  margin-bottom: 14px;
}
.ws-toggle button {
  padding: 8px; font-size: 0.78rem;
  background: var(--paper); color: var(--ink-700);
  border-right: 1px solid var(--line);
  font-weight: 500;
}
.ws-toggle button:last-child { border-right: none; }
.ws-toggle button.active {
  background: var(--forest-900); color: #fff;
  font-weight: 600;
}

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--forest-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.86rem;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  border: 1px solid rgba(26,175,122,0.3);
  animation: slidein .25s cubic-bezier(0.2,0.8,0.2,1);
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .product-card { transform: none; }
  .product-body { grid-template-columns: 1fr; }
  .product-side { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid var(--line); }
  .how-step:last-child { border-bottom: none; }
  .suite-grid { grid-template-columns: 1fr 1fr; }
  .feedback-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 56px 22px 80px; }
  section { padding: 64px 22px; }
  .product-grid { grid-template-columns: 1fr; }
  .suite-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trial-banner { padding: 8px 16px; font-size: 0.74rem; }
  .nav-inner { padding: 12px 18px; gap: 12px; }
}
