@font-face {
  font-family: "DM Sans";
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fredoka";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fredoka-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --paper: #FAF6F0;
  --paper-2: #F3ECE2;
  --white: #FFFFFF;
  --ink: #1B1519;
  --ink-2: #544650;
  --ink-3: #6C5D67;
  --rule: #E3D9CD;
  --rule-strong: #CFC2B3;
  --berry: #C93A5E;
  --berry-dark: #AE2C4D;
  --mint: #16794C;
  --mint-bg: #E6F4EC;
  --amber-bg: #FEF4DB;
  --amber-ink: #85520A;
  --night: #1A1419;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand: "Fredoka", "DM Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

picture {
  display: contents;
}

a {
  color: var(--berry);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

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

.mono {
  font-family: var(--mono);
}

.brand {
  font-family: var(--brand);
  font-weight: 600;
}

/* Swiss Top Bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--brand);
  font-size: 1.2rem;
  white-space: nowrap;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.spec-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav a {
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu {
  border-top: 1px solid var(--rule);
  background: var(--white);
  padding: 12px 24px 18px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-links a {
  display: block;
  padding: 10px 4px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--paper-2);
}

.mobile-nav-links li:last-child a {
  border-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}

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

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: #31262E;
}

.btn-berry {
  background: var(--berry);
  color: #FFFFFF;
}

.btn-berry:hover {
  background: var(--berry-dark);
}

.btn-outline {
  background: var(--white);
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--paper-2);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.86rem;
}

/* Architectural Hero Frame */
.hero {
  padding: 46px 0 72px;
}

.hero-frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 21, 25, 0.06);
}

.hero-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 28px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-2);
}

.ribbon-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--amber-bg);
  color: var(--amber-ink);
  font-weight: 600;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.hero-copy {
  padding: 50px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-family: var(--brand);
  color: var(--berry);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 26px;
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.spec-cell {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.spec-cell strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: var(--sans);
  margin-bottom: 2px;
}

/* Hero Specimen Right Cell — Precision Framed Morchi + Agent Hub */
.hero-specimen {
  background:
    radial-gradient(280px 260px at 50% 42%, rgba(201, 58, 94, 0.10), transparent 72%),
    linear-gradient(180deg, #FFFDF9 0%, #FAF2E8 100%);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.specimen-quote {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 10px 16px;
  font-family: var(--brand);
  font-size: 0.96rem;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(27, 21, 25, 0.05);
  text-align: center;
}

.specimen-morchi {
  width: 244px;
  height: 244px;
  object-fit: contain;
}

.hub-card {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px 16px;
}

.hub-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-bottom: 10px;
}

.hub-ready {
  color: var(--mint);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.hub-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hub-chip {
  text-align: center;
  padding: 7px 6px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink);
}

/* Section Headers — Swiss Index */
.section {
  padding: 76px 0;
}

.section-paper2 {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}

.section-tight-top {
  padding-top: 0;
}

.swiss-head {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 26px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.swiss-head-with-control {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.swiss-idx {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--berry);
  font-weight: 500;
}

.swiss-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  letter-spacing: -0.025em;
}

.swiss-head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 62ch;
}

/* Precision Feature Grid (Zero floating icons) */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.spec-tile {
  background: var(--white);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.spec-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.spec-mono-badge {
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--ink);
}

.spec-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

.spec-tile h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.spec-tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.spec-sample {
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  overflow-x: auto;
}

/* Setup Split */
.setup-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-row {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.84rem;
}

.step-row h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.step-row p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.morchi-companion-strip {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.morchi-companion-strip img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.companion-copy {
  font-size: 0.88rem;
  color: var(--ink-2);
}

.companion-copy strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.code-panel {
  background: var(--night);
  color: #FAF6F0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #2D232B;
  min-width: 0;
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 248, 240, 0.12);
}

.code-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.code-tab {
  font-family: var(--mono);
  font-size: 0.77rem;
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 248, 240, 0.74);
  cursor: pointer;
}

.code-tab:hover {
  color: #FFFFFF;
}

.code-tab.is-active {
  background: #FAF6F0;
  color: var(--ink);
  font-weight: 600;
}

.code-copy {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid rgba(255, 248, 240, 0.24);
  background: rgba(255, 248, 240, 0.08);
  color: #FAF6F0;
  cursor: pointer;
}

.code-copy:hover {
  background: rgba(255, 248, 240, 0.16);
}

.code-body {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.65;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex-grow: 1;
}

.code-body[hidden] {
  display: none;
}

/* Dark Blueprint Enclave Band */
.night-band {
  background: var(--night);
  color: #FAF6F0;
  padding: 84px 0;
}

.night-band .swiss-head {
  border-bottom-color: rgba(255, 248, 240, 0.14);
}

.night-band .swiss-idx {
  color: #F47295;
}

.night-band .swiss-head p {
  color: rgba(255, 248, 240, 0.78);
}

.night-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.night-card {
  background: rgba(255, 248, 240, 0.045);
  border: 1px solid rgba(255, 248, 240, 0.14);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.night-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.night-card p,
.night-card li {
  color: rgba(255, 248, 240, 0.82);
  font-size: 0.94rem;
  margin: 0;
}

.night-card ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shield-bar {
  margin-top: 20px;
  background: rgba(255, 248, 240, 0.055);
  border: 1px solid rgba(255, 248, 240, 0.18);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.shield-bar img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.shield-text {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255, 248, 240, 0.86);
  line-height: 1.55;
}

/* Billing Toggle & Symmetrical 3-Column Pricing */
.billing-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  gap: 4px;
}

.billing-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.billing-btn.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(27, 21, 25, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tier-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tier-card.primary {
  border: 2px solid var(--berry);
  box-shadow: 0 14px 36px rgba(201, 58, 94, 0.10);
}

.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.tier-top h3 {
  margin: 0;
  font-size: 1.15rem;
}

.tier-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}

.tier-tag.berry {
  color: var(--berry);
  font-weight: 600;
}

.tier-top img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

.tier-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tier-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
}

.tier-sub {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 6px;
  min-height: 40px;
}

.tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.tier-list li {
  padding-left: 20px;
  position: relative;
}

.tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--berry);
  font-weight: 700;
}

/* Ecosystem Bundle Panel (Warm Cream Infographic Card Language) */
.pass-panel {
  --pass-cream: #FAF3E3;
  --pass-ink: #23233A;
  --pass-amber: #F5A524;
  --pass-coral: #E87A64;
  background: var(--pass-cream);
  color: var(--pass-ink);
  border: 1px solid #E5D7BE;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 18px 46px rgba(35, 35, 58, 0.08);
}

.pass-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.pass-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 165, 36, 0.18);
  border: 1px solid rgba(245, 165, 36, 0.45);
  color: var(--pass-ink);
  margin-bottom: 14px;
}

.pass-headline {
  margin: 0 0 14px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--pass-ink);
}

.muse-rainbow {
  background: linear-gradient(90deg, #E87A64 0%, #F5A524 28%, #2EA672 56%, #3E7BFA 80%, #9B5DE5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pass-intro {
  margin: 0;
  max-width: 68ch;
  color: rgba(35, 35, 58, 0.84);
  font-size: 1rem;
  line-height: 1.62;
}

.pass-mascot-slot {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #E5D7BE;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.pass-mascot-slot:empty {
  display: none;
}

/* Slim tab / progress strip */
.pass-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(35, 35, 58, 0.055);
  border: 1px solid rgba(35, 35, 58, 0.1);
  border-radius: 16px;
  margin-bottom: 24px;
}

.pass-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(35, 35, 58, 0.74);
  border-radius: 11px;
  padding: 9px 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pass-tab:hover {
  color: var(--pass-ink);
  background: rgba(255, 255, 255, 0.55);
}

.pass-tab.is-active {
  background: #FFFFFF;
  color: var(--pass-ink);
  border-color: var(--pass-amber);
  box-shadow: 0 3px 10px rgba(35, 35, 58, 0.08);
}

.pass-tab-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--pass-coral);
  font-weight: 600;
}

/* 2-column card grid */
.pass-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pass-card {
  background: #FFFFFF;
  border: 1.5px solid #E5D7BE;
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.pass-card:hover {
  transform: translateY(-2px);
  border-color: #D2BA94;
}

.pass-card.is-active {
  border-color: var(--pass-coral);
  box-shadow: 0 0 0 3px rgba(232, 122, 100, 0.2), 0 12px 28px rgba(35, 35, 58, 0.1);
}

.pass-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pass-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.pass-tile-icon.tone-coral {
  background: linear-gradient(135deg, #E87A64, #C93A5E);
}

.pass-tile-icon.tone-amber {
  background: linear-gradient(135deg, #F5A524, #E07B17);
}

.pass-tile-icon.tone-mint {
  background: linear-gradient(135deg, #25A168, #16794C);
}

.pass-tile-icon.tone-indigo {
  background: linear-gradient(135deg, #4B63D6, #23233A);
}

.pass-tile-icon.tone-plum {
  background: linear-gradient(135deg, #9B5DE5, #6D32B8);
}

.pass-tile-icon.tone-sky {
  background: linear-gradient(135deg, #2D9CDB, #2563EB);
}

.pass-card-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-right: auto;
  min-width: 0;
}

.pass-card-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pass-coral);
}

.pass-card-cat {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.03em;
  color: rgba(35, 35, 58, 0.62);
}

.pass-origin-badge {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #FAF3E3;
  border: 1px solid #E5D7BE;
  color: var(--pass-ink);
  white-space: nowrap;
}

.pass-card-body h3 {
  margin: 0 0 2px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 1.38rem;
  color: var(--pass-ink);
  line-height: 1.15;
}

.pass-card-path {
  font-family: var(--mono);
  font-size: 0.77rem;
  color: rgba(35, 35, 58, 0.58);
  margin-bottom: 10px;
}

.pass-card-path a {
  color: var(--berry);
  font-weight: 500;
}

.pass-card-body p {
  margin: 0;
  color: rgba(35, 35, 58, 0.86);
  font-size: 0.95rem;
  line-height: 1.54;
}

.pass-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #EDE2CE;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(35, 35, 58, 0.78);
}

.pass-stats span {
  text-align: center;
  padding: 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pass-stats span + span {
  border-left: 1px solid #EDE2CE;
}

.pass-stats span:first-child {
  text-align: left;
  padding-left: 0;
}

.pass-stats span:last-child {
  text-align: right;
  padding-right: 0;
}

/* Totals Footer Bar */
.pass-totals {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #23233A;
  color: #FAF3E3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: center;
}

.pass-totals-num {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
}

.pass-big-price {
  font-family: var(--brand);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--pass-amber);
}

.pass-totals-unit {
  font-size: 1.05rem;
  color: rgba(250, 243, 227, 0.78);
}

.pass-count-apps {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 243, 227, 0.12);
  color: #FAF3E3;
}

.pass-totals-sub {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: rgba(250, 243, 227, 0.78);
}

.pass-seg-caption {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(250, 243, 227, 0.72);
  margin-bottom: 10px;
}

.pass-seg-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pass-seg {
  appearance: none;
  border: 1px solid rgba(250, 243, 227, 0.18);
  background: rgba(250, 243, 227, 0.08);
  color: rgba(250, 243, 227, 0.86);
  border-radius: 10px;
  padding: 9px 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.pass-seg.is-active {
  background: var(--pass-amber);
  border-color: var(--pass-amber);
  color: #23233A;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .pass-tab,
  .pass-card,
  .pass-seg {
    transition: none;
  }

  .pass-card:hover {
    transform: none;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 20px;
}

.faq-question {
  list-style: none;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  color: var(--berry);
  font-family: var(--mono);
  font-size: 1.05rem;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}

/* Legal Document Specimen Frame */
.legal-main {
  padding: 48px 0 80px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(27, 21, 25, 0.05);
}

.legal-ribbon {
  padding: 12px 28px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-body {
  padding: 40px 44px;
}

.legal-body h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
}

.legal-body h2 {
  margin: 30px 0 10px;
  font-size: 1.24rem;
  padding-top: 18px;
  border-top: 1px solid var(--paper-2);
}

.legal-body h3 {
  margin: 20px 0 8px;
  font-size: 1.04rem;
}

.legal-body p,
.legal-body li {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.legal-body ul {
  padding-left: 20px;
}

.legal-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 28px 0;
}

.legal-body hr + h2 {
  border-top: 0;
  padding-top: 0;
  margin-top: 18px;
}

.legal-pre {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-2);
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Launch status note & Waitlist Section */
.setup-launch-note {
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--amber-bg);
  border: 1px solid rgba(133, 82, 10, 0.22);
  color: var(--amber-ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.setup-launch-note a {
  color: var(--berry-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#waitlist {
  scroll-margin-top: 84px;
}

.waitlist-frame {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(27, 21, 25, 0.06);
}

.waitlist-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 28px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-2);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.waitlist-copy {
  padding: 40px 40px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.waitlist-kicker {
  font-family: var(--brand);
  color: var(--berry);
  font-size: 1rem;
  margin-bottom: 10px;
}

.waitlist-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.waitlist-copy > p {
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.waitlist-companion {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  margin-bottom: 22px;
}

.waitlist-companion img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.waitlist-companion strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.waitlist-companion span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.waitlist-trust {
  margin: 0;
}

.waitlist-form-wrap {
  padding: 40px 40px;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.45) 0%, var(--white) 100%);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wl-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.wl-label-opt {
  font-weight: 400;
  color: var(--ink-3);
}

.wl-input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border-radius: 12px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.wl-input::placeholder {
  color: var(--ink-3);
}

.wl-input:hover {
  border-color: var(--ink-3);
}

.wl-input:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(201, 58, 94, 0.14);
}

.wl-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wl-track-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.wl-track-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wl-track-opt:hover {
  border-color: var(--rule-strong);
  background: var(--paper-2);
}

.wl-track-opt:has(:checked),
.wl-track-opt.is-checked {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.wl-track-opt:has(:focus-visible) {
  outline: 2px solid var(--berry);
  outline-offset: 2px;
}

.wl-track-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.wl-track-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
}

.wl-track-opt:has(:checked) .wl-track-sub,
.wl-track-opt.is-checked .wl-track-sub {
  color: rgba(250, 246, 240, 0.78);
}

.wl-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wl-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.wl-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wl-chip span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  color: var(--ink-2);
  font-size: 0.83rem;
  font-weight: 500;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.wl-chip:hover span {
  border-color: var(--ink-3);
  color: var(--ink);
}

.wl-chip:has(:checked) span,
.wl-chip.is-checked span {
  background: rgba(201, 58, 94, 0.1);
  border-color: var(--berry);
  color: var(--berry-dark);
  font-weight: 600;
}

.wl-chip:has(:focus-visible) span {
  outline: 2px solid var(--berry);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wl-submit {
  width: 100%;
  height: 48px;
  font-size: 0.96rem;
}

.wl-submit:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

.wl-status {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.wl-status[hidden] {
  display: none;
}

.wl-status.is-success {
  background: var(--mint-bg);
  border: 1px solid rgba(22, 121, 76, 0.25);
  color: var(--mint);
}

.wl-status.is-error {
  background: rgba(201, 58, 94, 0.08);
  border: 1px solid rgba(201, 58, 94, 0.28);
  color: var(--berry-dark);
}

.wl-privacy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-3);
}

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
  padding: 40px 0;
  background: var(--paper-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-meta {
  font-size: 0.84rem;
  color: var(--ink-3);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--ink-2);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--berry);
}

@media (max-width: 980px) {
  .hero-body,
  .setup-split,
  .night-grid,
  .pricing-grid,
  .spec-grid,
  .swiss-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 36px 24px;
  }

  .hero-specimen {
    order: -1;
    border-bottom: 1px solid var(--rule);
  }

  .eco-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .pass-panel {
    padding: 26px 20px;
  }

  .pass-head,
  .pass-totals {
    grid-template-columns: minmax(0, 1fr);
  }

  .pass-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pass-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pass-seg-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shield-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .pass-strip,
  .pass-seg-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pass-stats {
    font-size: 0.69rem;
  }

  .pass-stats span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .pass-origin-badge {
    white-space: normal;
  }
  .container {
    padding: 0 16px;
  }

  .nav,
  .spec-tag,
  .topbar-inner .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .specimen-morchi {
    width: 180px;
    height: 180px;
  }

  .hero-ribbon {
    padding: 12px 18px;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .spec-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-body {
    padding: 26px 20px;
  }
}

@media (max-width: 900px) {
  .waitlist-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .waitlist-copy {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 28px 24px;
  }

  .waitlist-form-wrap {
    padding: 28px 24px;
  }
}

@media (max-width: 560px) {
  .waitlist-ribbon {
    padding: 12px 18px;
  }

  .waitlist-copy,
  .waitlist-form-wrap {
    padding: 24px 18px;
  }

  .wl-track-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
