/* ==========================================================================
   Yodest website stylesheet
   Structure: 1 Tokens  2 Base  3 Layout  4 Components  5 Header  6 Page
   sections  7 Demos  8 Footer  9 Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand (sampled from the Yodest logo) */
  --blue: #4F70F6;
  --blue-deep: #2A46C8;
  --blue-soft: #8FA6FA;
  --blue-wash: #ECF0FE;

  /* Neutrals */
  --paper: #F7F8FA;
  --surface: #FFFFFF;
  --ink: #0E1530;
  --ink-2: #454C66;
  --muted: #7D8399;
  --line: #E2E5EC;
  --line-2: #EEF0F4;

  /* Night (dark bands) */
  --night: #0F1733;
  --night-2: #18224A;
  --night-line: #2A3664;
  --night-text: #B7C0E3;

  /* Status */
  --st-draft: #7D8399;
  --st-review: #C2780E;
  --st-scheduled: #2F63D1;
  --st-published: #17855A;
  --danger: #C4321F;

  /* Type */
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --sans: 'Geist', ui-sans-serif, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --max: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-lg: 0 30px 80px -24px rgba(15, 23, 51, .45);
  --header-h: 72px;
  color-scheme: light;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-stretch: 105%; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-wash); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--white { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }
.section--night { background: var(--night); color: #fff; }
.section--night h2, .section--night h3 { color: #fff; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section--tight { padding: 56px 0; } }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.kicker { font-size: 14px; font-weight: 600; color: var(--blue-deep); margin-bottom: 14px; }
.section--night .kicker { color: var(--blue-soft); }
.h1 { font-size: clamp(42px, 6.2vw, 80px); line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -0.03em; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 60ch; margin-top: 20px; }
.section--night .lede { color: var(--night-text); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--flip > :first-child { order: 0; } }

/* 4. Components ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--xs { height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--line { background: var(--surface); border-color: #CDD2DE; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost-night { background: transparent; border-color: var(--night-line); color: #fff; }
.btn--ghost-night:hover { border-color: #fff; }
.btn--block { width: 100%; }

.text-link { color: var(--blue-deep); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--ink); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
.chip--blue { background: var(--blue-wash); border-color: transparent; color: var(--blue-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.ticks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: var(--blue-wash)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232A46C8' stroke-width='2'%3E%3Cpath d='m6 10.3 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center/20px no-repeat;
}
.section--night .ticks li { color: var(--night-text); }
.section--night .ticks li::before { background-color: var(--night-2); }

.media { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(15, 23, 51, .35); }
.media img { width: 100%; }

.select {
  height: 40px; border: 1px solid var(--line); border-radius: 8px; background-color: #fff; padding: 0 34px 0 12px; font-size: 14px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237D8399' stroke-width='1.6' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: #FAFBFC; }
.seg button { border: 0; background: transparent; height: 32px; padding: 0 12px; border-radius: 6px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 14px; z-index: 500; transition: opacity .2s, transform .2s; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Scroll reveal: content is visible without JS; JS adds .js-reveal to animate */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 5. Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(247, 248, 250, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.nav { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: transparent; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--ink); background: rgba(14, 21, 48, .05); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-link .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-item.is-open .caret { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: 620px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(15, 23, 51, .3); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 14px; padding: 12px; border-radius: 10px; text-decoration: none; }
.mega a:hover, .mega a:focus-visible { background: var(--paper); outline: none; }
.mega .ico { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--blue-wash); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; }
.mega .ico svg { width: 18px; height: 18px; }
.mega strong { display: block; font-size: 14.5px; font-weight: 600; }
.mega span.d { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); margin-top: 8px; padding: 12px 12px 4px; font-size: 13.5px; color: var(--muted); }
.mega-foot a { padding: 0; display: inline; color: var(--blue-deep); font-weight: 600; }
.mega-foot a:hover { background: none; text-decoration: underline; }

.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.drawer { display: none; background: #fff; border-top: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.drawer.is-open { display: block; }
.drawer .wrap { padding-top: 8px; padding-bottom: 24px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 17px; font-weight: 500; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 22px; color: var(--muted); }
.drawer details[open] summary::after { content: "–"; }
.drawer details a { display: block; padding: 10px 0 10px 14px; text-decoration: none; color: var(--ink-2); }
.drawer details div { padding-bottom: 10px; }
.drawer .d-link { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; text-decoration: none; }
.drawer .d-actions { display: grid; gap: 10px; margin-top: 20px; }
@media (max-width: 1040px) { .nav-list, .nav-actions { display: none; } .menu-btn { display: inline-flex; } }

/* 6. Page sections --------------------------------------------------------- */

/* Hero (home) */
.hero { padding: 84px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 112, 246, .16), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; position: relative; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: grid; gap: 14px; padding-bottom: 8px; }
.hero-proof .row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.hero-proof .num { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--blue); min-width: 36px; font-stretch: 110%; }
.hero-proof p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Page hero (inner pages) */
.page-hero { padding: 88px 0 72px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 112, 246, .14), transparent); pointer-events: none; }
.page-hero .h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 16ch; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--blue-deep); }

/* Sub-navigation (features page) */
.subnav { position: sticky; top: var(--header-h); z-index: 90; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.subnav a:hover { color: var(--ink); background: var(--paper); }
.subnav a.is-active { background: var(--ink); color: #fff; }

/* Audience strip */
.strip { padding: 36px 0; border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.strip p { font-size: 14px; color: var(--muted); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.strip li { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink-2); font-stretch: 110%; }

/* Problem vs Yodest */
.versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.versus-col { padding: 8px 0; }
.versus-col + .versus-col { border-left: 1px solid var(--line); background: linear-gradient(180deg, var(--blue-wash), #fff 60%); }
.versus h3 { font-size: 20px; padding: 22px 28px 10px; }
.versus ul { list-style: none; margin: 0; padding: 0; }
.versus li { display: flex; gap: 14px; padding: 16px 28px; border-top: 1px solid var(--line-2); font-size: 15.5px; color: var(--ink-2); min-height: 78px; align-items: center; }
.versus li:first-child { border-top: 0; }
.versus .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.versus .mark svg { width: 14px; height: 14px; }
.versus .no { background: #FBEAE7; color: var(--danger); }
.versus .yes { background: var(--blue); color: #fff; }
.versus-col + .versus-col li { color: var(--ink); }
@media (max-width: 820px) { .versus { grid-template-columns: 1fr; } .versus-col + .versus-col { border-left: 0; border-top: 1px solid var(--line); } .versus li { min-height: 0; } }

/* Feature blocks */
.feature { padding: 64px 0; border-top: 1px solid var(--line); }
.feature:first-child, .section-head + .feature { border-top: 0; padding-top: 0; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; }
.feature p.desc { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 50ch; }
.feature .ico-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.feature .ico-badge svg { width: 22px; height: 22px; }
.feature .more { margin-top: 26px; display: inline-block; }

/* Steps (how it works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--night-line); }
.step { padding: 32px 28px 8px 0; position: relative; counter-increment: step; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.step h3 { font-size: 20px; }
.step p { color: var(--night-text); margin-top: 10px; font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Card grid (solutions, values) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.tile h3 { font-size: 22px; }
.tile p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.tile .ico-badge { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-wash); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tile .ico-badge svg { width: 20px; height: 20px; }
.tile .foot { margin-top: auto; padding-top: 20px; }
a.tile { text-decoration: none; transition: border-color .15s, transform .15s; }
a.tile:hover { border-color: var(--blue); transform: translateY(-2px); }

/* Solutions filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.filter button:hover { border-color: var(--ink); color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.solution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 20px; }
.solution[hidden] { display: none; }
.solution h3 { font-size: clamp(26px, 3vw, 34px); }
.solution p.desc { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.solution .flow { list-style: none; counter-reset: s; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.solution .flow li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.solution .flow li:first-child { border-top: 0; }
.solution .flow li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.solution .flow-cap { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 900px) { .solution { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }

/* Comparison table */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 16px 22px; border-top: 1px solid var(--line-2); vertical-align: middle; font-weight: 400; }
.cmp thead th { border-top: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); background: #FAFBFC; }
.cmp tbody th { font-weight: 500; }
.cmp .us { background: rgba(236, 240, 254, .55); font-weight: 500; }
.cmp thead .us { color: var(--blue-deep); }
.cmp .them { color: var(--muted); }
.cmp .group th { background: #FAFBFC; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.yes-ico, .no-ico { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.yes-ico { color: var(--st-published); }
.no-ico { color: #B9BECB; }

/* FAQ accordion */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border: 0; background: none; text-align: left; font-size: 18px; font-weight: 600; font-family: var(--sans); }
.faq-q .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .2s, border-color .2s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--blue); border-color: var(--blue); }
.faq-q[aria-expanded="true"] .pm::before, .faq-q[aria-expanded="true"] .pm::after { background: #fff; }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-2); font-size: 16px; padding-bottom: 24px; max-width: 70ch; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* CTA band */
.cta { background: var(--night); color: #fff; border-radius: 24px; padding: 72px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -140px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 112, 246, .45), transparent); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); }
.cta p { color: var(--night-text); font-size: 18px; margin-top: 16px; max-width: 46ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } .cta .actions { justify-content: flex-start; } }

/* Pricing */
.billing { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 40px; font-size: 15px; }
.switch-toggle { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--line); border: 0; padding: 0; transition: background-color .2s; }
.switch-toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch-toggle[aria-checked="true"] { background: var(--blue); }
.switch-toggle[aria-checked="true"]::after { transform: translateX(22px); }
.billing .save { color: var(--st-published); font-weight: 600; font-size: 13.5px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(79, 112, 246, .5); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 44px; }
.plan .price { margin: 24px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--muted); font-size: 14.5px; }
.plan .billed { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan .btn { margin-top: 24px; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 11px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 32px 32px 32px 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value h3 { font-size: 21px; }
.value p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value + .value { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.member .ph { aspect-ratio: 4 / 5; border-radius: 14px; display: flex; align-items: flex-end; padding: 16px; font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: rgba(255, 255, 255, .95); position: relative; overflow: hidden; }
.member .ph::after { content: ""; position: absolute; right: -30%; top: -20%; width: 90%; height: 90%; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.member .name { font-weight: 600; margin-top: 14px; }
.member .role { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--night-line); border-radius: 16px; overflow: hidden; }
.facts > div { padding: 28px; border-left: 1px solid var(--night-line); }
.facts > div:first-child { border-left: 0; }
.facts .n { font-family: var(--display); font-size: 44px; font-weight: 700; line-height: 1; font-stretch: 110%; }
.facts .l { color: var(--night-text); margin-top: 8px; font-size: 15px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts > div { border-left: 0; border-top: 1px solid var(--night-line); } .facts > div:first-child { border-top: 0; } }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: 0 30px 70px -40px rgba(15, 23, 51, .35); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form label .opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; height: 48px; border: 1px solid #D3D8E3; border-radius: 8px; background-color: #fff; padding: 0 14px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%237D8399' stroke-width='1.6' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.form .err { display: none; font-size: 13px; color: var(--danger); margin-top: 6px; }
.form .invalid input, .form .invalid select { border-color: var(--danger); }
.form .invalid .err { display: block; }
.form .fine { font-size: 13px; color: var(--muted); text-align: center; }
.form-done { display: none; grid-column: 1 / -1; text-align: center; padding: 40px 8px; }
.form-done .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-done h3 { font-size: 28px; }
.form-done p { color: var(--ink-2); margin-top: 10px; }
.form.is-done > *:not(.form-done) { display: none; }
.form.is-done .form-done { display: block; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 24px; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.next-steps { list-style: none; counter-reset: n; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue-deep); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.next-steps strong { display: block; }
.next-steps span { color: var(--ink-2); font-size: 15px; }
.contact-alt { margin-top: 32px; padding: 20px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.contact-alt a { color: var(--blue-deep); font-weight: 600; }

/* 7. Interactive demos ----------------------------------------------------- */
.stage { background: var(--night); color: #fff; padding: 56px 0 96px; margin-top: 72px; position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; left: 50%; top: -300px; width: 1100px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(79, 112, 246, .35), transparent); pointer-events: none; }
.stage .wrap { position: relative; }
.stage-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 28px; }
.stage-head h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.stage-head p { color: var(--night-text); margin-top: 8px; max-width: 60ch; }
.stage-note { margin-top: 16px; font-size: 13.5px; color: var(--night-text); }
@media (max-width: 720px) { .stage { margin-top: 48px; padding: 36px 0 56px; } }

.app { background: #fff; color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.app-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #FAFBFC; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: #DDE1E9; }
.app-url { flex: 1; max-width: 340px; margin: 0 auto; height: 26px; border-radius: 6px; background: var(--line-2); font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.app-bar .sp { width: 48px; }

/* Publication desk */
.desk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.desk-title { margin-right: auto; }
.desk-title h3 { font-size: 22px; }
.desk-title span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.desk-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.desk-stat { padding: 14px 20px; border-right: 1px solid var(--line); }
.desk-stat:last-child { border-right: 0; }
.desk-stat .n { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; font-stretch: 110%; }
.desk-stat .l { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .desk-stats { grid-template-columns: repeat(2, 1fr); } .desk-stat:nth-child(2) { border-right: 0; } .desk-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.assign-form { display: none; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--blue-wash); }
.assign-form.is-open { display: grid; }
.assign-form input { height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: #fff; font-size: 14px; min-width: 0; }
@media (max-width: 720px) { .assign-form { grid-template-columns: 1fr 1fr; } .assign-form input, .assign-form .btn { grid-column: 1 / -1; } }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 440px; }
.col { border-right: 1px solid var(--line); padding: 14px 12px 18px; background: #FBFBFD; transition: background-color .15s; }
.col:last-child { border-right: 0; }
.col.is-over { background: var(--blue-wash); }
.col-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; font-size: 13.5px; font-weight: 600; }
.col-head .dot { width: 8px; height: 8px; border-radius: 50%; }
.col-head .count { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.col-sub { font-size: 12px; color: var(--muted); padding: 0 4px 10px; margin-top: -8px; }
.cards { display: grid; gap: 8px; }
.card { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px 10px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #C3C9D6; box-shadow: 0 6px 16px -10px rgba(15, 23, 51, .35); }
.card.is-dragging { opacity: .4; }
.card.is-new { animation: pop .6s ease; }
@keyframes pop { 0% { box-shadow: 0 0 0 3px var(--blue); } 100% { box-shadow: 0 0 0 0 transparent; } }
.card .t { font-size: 14px; line-height: 1.35; font-weight: 500; }
.card .m { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.card .sec { padding: 2px 7px; border-radius: 4px; background: var(--line-2); color: var(--ink-2); font-size: 11.5px; }
.card .when { margin-left: auto; }
.av { width: 22px; height: 22px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.more-note { font-size: 12.5px; color: var(--muted); padding: 6px 4px; }
.empty { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 14px 10px; text-align: center; }
.desk-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: #FAFBFC; }
@media (max-width: 860px) { .board { grid-template-columns: repeat(4, 82%); overflow-x: auto; scroll-snap-type: x mandatory; } .col { scroll-snap-align: start; } }

.pop { position: fixed; z-index: 300; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 48px -12px rgba(15, 23, 51, .35); padding: 8px; display: none; }
.pop.is-open { display: block; }
.pop h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 8px 4px; letter-spacing: 0; }
.pop button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; text-align: left; padding: 7px 8px; border-radius: 6px; font-size: 14px; }
.pop button:hover, .pop button:focus-visible { background: var(--line-2); outline: none; }
.pop button[aria-disabled="true"] { opacity: .45; }
.pop .cur { margin-left: auto; color: var(--blue); font-size: 12.5px; }
.pop .sdot { width: 8px; height: 8px; border-radius: 50%; margin: 0 7px; }
.pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* AI editor */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 330px; min-height: 520px; }
.ed-doc { padding: 40px 48px; }
.ed-doc .crumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.ed-doc h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; transition: background-color .6s; font-stretch: normal; }
.ed-doc h3.flash { background: var(--blue-wash); }
.ed-doc .byline { font-size: 13.5px; color: var(--muted); margin: 14px 0 22px; }
.ed-doc p { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: #262B3D; margin-bottom: 14px; max-width: 62ch; }
.ed-side { border-left: 1px solid var(--line); background: #FAFBFC; padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.ed-side .h { font-size: 14px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.ed-side .h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-wash); }
.ai-btn { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; text-align: left; transition: border-color .15s; }
.ai-btn:hover { border-color: var(--blue); }
.ai-btn[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-wash); }
.ai-out { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; min-height: 160px; }
.ai-out .muted { color: var(--muted); }
.ai-out ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ai-out li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ai-out .opt { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 10px; font-size: 14px; line-height: 1.4; }
.ai-out .opt:hover { border-color: var(--blue); }
.ai-out .opt small { display: block; color: var(--blue-deep); margin-top: 4px; font-size: 12px; }
.flag { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; margin-top: 1px; }
.flag.ok { background: var(--st-published); }
.flag.warn { background: var(--st-review); }
.tag-chip { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 10px; margin: 0 6px 6px 0; font-size: 13px; }
.thinking { display: inline-flex; gap: 4px; }
.thinking i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1s infinite; }
.thinking i:nth-child(2) { animation-delay: .15s; }
.thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 860px) { .ed { grid-template-columns: 1fr; } .ed-side { border-left: 0; border-top: 1px solid var(--line); } .ed-doc { padding: 28px 22px; } }

/* Analytics */
.an { padding: 22px 24px 26px; }
.an-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.an-top h3 { font-size: 22px; }
.an-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 20px; }
.an-kpi { padding: 14px 16px; border-right: 1px solid var(--line); }
.an-kpi:last-child { border-right: 0; }
.an-kpi .n { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; font-stretch: 110%; }
.an-kpi .l { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .an-kpis { grid-template-columns: repeat(2, 1fr); } .an-kpi:nth-child(2) { border-right: 0; } .an-kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.an-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.an-box { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.an-box .cap { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.an-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.an-row:first-of-type { border-top: 0; }
.an-row .v { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.an-row .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.an-row .bar i { display: block; height: 100%; background: var(--blue); border-radius: 2px; transition: width .6s ease; }
@media (max-width: 860px) { .an-body { grid-template-columns: 1fr; } }

.demo-switch { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--night-2); border: 1px solid var(--night-line); }
.demo-switch button { border: 0; background: transparent; color: var(--night-text); font-size: 14px; font-weight: 500; height: 36px; padding: 0 16px; border-radius: 7px; }
.demo-switch button:hover { color: #fff; }
.demo-switch button[aria-selected="true"] { background: #fff; color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.calc-in { padding: 32px; display: grid; gap: 26px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.field-top label { font-size: 15px; font-weight: 600; }
.field-top output { font-family: var(--display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; height: 24px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--blue) var(--p), var(--line) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--blue); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); margin-top: -8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.field-top .lbl { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.auto-tag { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--bg, #f4f6f9); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.field--auto output { color: var(--muted); }
.meter { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: currentColor; opacity: .35; transition: width .25s ease; }
.auto-why { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .meter span { transition: none; } }
.range-cap { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.calc-out { background: var(--night); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.calc-big .k { color: var(--night-text); }
.calc-big .v { font-family: var(--display); font-weight: 700; font-size: clamp(56px, 7vw, 88px); line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; font-stretch: 110%; letter-spacing: -0.03em; }
.calc-big .v small { font-size: .3em; color: var(--night-text); margin-left: 8px; letter-spacing: 0; font-weight: 500; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 10px; overflow: hidden; margin-top: auto; }
.calc-row > div { background: var(--night-2); padding: 16px; }
.calc-row .k { font-size: 13px; color: var(--night-text); }
.calc-row .v { font-family: var(--display); font-weight: 700; font-size: 28px; margin-top: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-in, .calc-out { padding: 24px; } }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--night-text); padding: 72px 0 36px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 40px; }
.foot .brand img { height: 36px; }
.foot-about p { margin-top: 16px; max-width: 36ch; }
.foot h5 { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #fff; }
.foot a { display: block; text-decoration: none; padding: 5px 0; color: var(--night-text); }
.foot a:hover { color: #fff; }
.news { margin-top: 24px; max-width: 380px; }
.news label { display: block; color: #fff; font-weight: 600; margin-bottom: 10px; }
.news-row { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; height: 44px; border-radius: 8px; border: 1px solid var(--night-line); background: var(--night-2); color: #fff; padding: 0 14px; }
.news input::placeholder { color: #7F89B3; }
.news input:focus { outline: none; border-color: var(--blue-soft); }
.news .msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
.news .msg.bad { color: #FF9A8A; }
.news .msg.good { color: #8FE3B8; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13.5px; }
.foot-bottom a { color: var(--night-text); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* 9. Utilities ------------------------------------------------------------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center { text-align: center; }
.foot-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Founder (About) */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 30px 70px -40px rgba(15, 23, 51, .45); }
.founder-role { color: var(--muted); font-weight: 600; margin: 6px 0 20px; }
.founder-body .lede + .lede { margin-top: 16px; }
.founder-li { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 920px) { .founder { grid-template-columns: 1fr; gap: 36px; } .founder-photo { max-width: 420px; } }

/* Booking (Contact) */
.booking { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -40px rgba(15, 23, 51, .35); }
.booking-fallback { padding: 0 24px 20px; text-align: center; }
.booking-fallback a { color: var(--blue-deep); font-weight: 600; }
