/* foval.co, in the app's look: warm paper and ink with one teal, dark bands for the product. Tokens first; everything below uses them. */

/* Self-hosted so visitors' browsers never call Google. Latin subsets, SIL OFL (licences beside them in fonts/). The same files as the app's. */
@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap; src: url(fonts/sora-600.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --paper-2: #eceae4;
  --surface: #ffffff;
  --line: #e3e1da;
  --outline: #cfccc3;
  --ink: #0d1117;
  --text-2: #3d424a;
  --muted: #4a4f57;
  --brand: #0f6e7e;
  --brand-700: #0a5966;
  --brand-900: #06343c;
  --brand-50: #e1eeef;
  /* The dark bands: the app's dark theme */
  --on-brand: #ffffff;
  --featured: #f0f6f6;
  --none: #5b6068;
  --night: #0b0e13;
  --night-2: #11151c;
  --night-line: #232a35;
  --night-outline: #2c3442;
  --night-text: #e7eaf0;
  --night-2-text: #c3c9d3;
  --night-muted: #aeb5c2;
  --night-faint: #9aa3b2;
  --teal-light: #4fc3d1;
  /* The hero's stage: light grey with a grey grid, like Unity's scene view; dark keeps the night and a teal grid. */
  --stage: #d6d6d6;
  --stage-grid: rgba(0, 0, 0, 0.16);
  --brand-font: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Dark: the app's dark theme. The head's script sets data-theme before the first paint, from the visitor's choice or their system's. */
:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0b0e13;
  --paper-2: #171c25;
  --surface: #11151c;
  --line: #232a35;
  --outline: #2c3442;
  --ink: #e7eaf0;
  --text-2: #c3c9d3;
  --muted: #aeb5c2;
  --brand: #4fc3d1;
  --brand-700: #7fd6e0;
  --brand-900: #c4eef3;
  --brand-50: #12303a;
  --on-brand: #0b0e13;
  --featured: #12262c;
  --none: #9aa3b2;
  --night: #05070a;
  --night-2: #0e1218;
  --night-line: #1c222c;
  --stage: var(--night);
  --stage-grid: rgba(79, 195, 209, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--brand); }
a:hover { color: var(--brand-700); }
/* No grey flash on tap in mobile Safari: questions and buttons show their own state, and keyboard focus keeps its ring. */
summary, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.night a:focus-visible, .night button:focus-visible { outline-color: var(--teal-light); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.ruled { border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.h2 { font-family: var(--brand-font); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.h2.small { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.lede { color: var(--text-2); font-size: 18px; }
.muted { color: var(--muted); }
code { font-family: var(--mono); font-size: 0.85em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }

/* Dark bands */
.night { background: var(--night); color: var(--night-text); }
.night .eyebrow { color: var(--teal-light); }
.night .muted { color: var(--night-muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
/* The top bar stays put while scrolling, from tablet width up; on a phone it scrolls away and leaves the screen to the page. */
@media (min-width: 760px) {
  .site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
  html { scroll-padding-top: 73px; }
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand span { font-family: var(--brand-font); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.nav-row { flex: 1 1 420px; order: 3; min-width: 0; display: flex; align-items: center; gap: 16px; }
.nav-links { flex: 1 1 auto; min-width: 0; display: flex; gap: 24px; overflow-x: auto; white-space: nowrap; font-size: 15px; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; order: 2; display: flex; align-items: center; gap: 8px; }
.signin { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 11px 14px; }
.signin:hover { color: var(--brand); }
/* Below 760 px the bar is one row and scrolls away with the page: the hero has Request access and See pricing, and How it works comes next; Sign in stays. */
@media (max-width: 759px) {
  .nav-actions .btn, .nav-links { display: none; }
  .nav-row { flex: none; order: 2; margin-left: auto; }
  .nav-actions { order: 3; margin-left: 0; }
  /* Alone in the bar, Sign in reads as a button: See pricing's outline at the theme switch's height. */
  .signin { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--outline); border-radius: 6px; background: var(--surface); }
  .signin:hover { border-color: var(--ink); color: var(--ink); }
}
@media (max-width: 479px) {
  /* Use cases: the icon beside its title and line, one compact row each. */
  .use-list div { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; }
  .use-list .use-icon { grid-row: span 2; margin-bottom: 0; }
  .nav { column-gap: 12px; }
}
@media (min-width: 1024px) {
  .nav-row { order: 2; } .nav-actions { order: 3; }
  /* Centred on the page, not in the space the logo and buttons leave. */
  .nav { position: relative; }
  .nav-links { position: absolute; left: 50%; transform: translateX(-50%); flex: none; }
}
/* Light or dark: one round button showing the current theme's icon */
.theme-switch { flex: none; margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); cursor: pointer; }
.theme-switch:hover { color: var(--ink); }
.theme-switch[hidden], [data-theme="dark"] .theme-switch .sun, :root:not([data-theme="dark"]) .theme-switch .moon { display: none; }
/* The pricing's currency: a pill of words, the current one raised. */
.currency-switch { flex: none; align-self: flex-start; display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.currency-switch[hidden] { display: none; }
.currency-switch button { display: grid; place-items: center; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 13px/1 var(--mono); letter-spacing: 0.04em; cursor: pointer; }
.currency-switch button:hover { color: var(--ink); }
.currency-switch button[aria-pressed="true"] { background: var(--paper-2); color: var(--ink); }

/* Buttons */
.btn, .btn-g, .btn-night { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 6px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color 0.15s ease, border-color 0.15s ease; }
.btn { background: var(--brand); color: var(--on-brand); }
.btn:hover { background: var(--brand-700); color: var(--on-brand); }
.btn-g { background: var(--surface); color: var(--ink); border-color: var(--outline); }
.btn-g:hover { border-color: var(--ink); color: var(--ink); }
.btn-night { background: var(--teal-light); color: var(--night); }
.btn-night:hover { background: #7fd6e0; color: var(--night); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn:disabled { opacity: 0.6; cursor: default; }
.night .btn:focus-visible { outline-color: var(--teal-light); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
/* The same tag as the pricing table's ribbon: anyone signs up on free, paid plans are approved by hand. */
.hero-tag { align-self: flex-start; padding: 6px 10px; border-radius: 4px; background: var(--brand); color: var(--on-brand); font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-tag + h1 { margin-top: -10px; }
.hero h1 { font-family: var(--brand-font); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; }
.tagline { font-family: var(--brand-font); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; letter-spacing: -0.02em; color: var(--brand); margin-top: -14px; }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { flex: 1 1 400px; min-width: 0; }

/* The hero: a phone playing real footage, over a scanned floor. */
.stage { margin: 0; position: relative; overflow: hidden; background: var(--stage); border-radius: 10px; padding: 40px 20px; display: flex; align-items: center; justify-content: center; }
.floor { position: absolute; left: -60%; width: 220%; height: 60%; bottom: -10%; transform: perspective(420px) rotateX(70deg); transform-origin: 50% 0;
  background-image: linear-gradient(var(--stage-grid) 2px, transparent 2px), linear-gradient(90deg, var(--stage-grid) 2px, transparent 2px); background-size: 48px 48px; animation: floor-move 6s linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%); mask-image: linear-gradient(to bottom, transparent, #000 60%); }
@keyframes floor-move { to { background-position: 0 48px, 0 0; } }
/* The phone's shadow on the floor */
.stage::before { content: ''; position: absolute; left: 50%; bottom: 22px; width: 72%; max-width: 320px; height: 40px; transform: translateX(-46%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .42), transparent); }
.phone { position: relative; width: min(300px, 100%); aspect-ratio: 1 / 2; border-radius: 46px; padding: 10px; background: #050608; border: 1px solid #333c4a;
  box-shadow: 18px 28px 48px rgba(0, 0, 0, .22);
  transform: perspective(1600px) rotateX(var(--tilt-x, 0deg)) rotateY(calc(-10deg + var(--tilt-y, 0deg))); transition: transform .3s ease-out; }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #1a1f27; color: #fff; display: flex; flex-direction: column; }
.screen video { display: block; width: 100%; flex: 1; min-height: 0; object-fit: cover; }
/* An iPhone's status bar and Safari's bar around the footage */
.ios-status { position: relative; flex: none; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 28px; background: #000; font: 600 14px -apple-system, system-ui, sans-serif; }
.ios-status::after { content: ''; position: absolute; left: 50%; top: 9px; width: 86px; height: 25px; margin-left: -43px; border-radius: 13px; background: #000; box-shadow: 0 0 0 1px #111; }
.ios-icons { display: flex; align-items: center; gap: 5px; }
.ios-bar { flex: none; height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #1c1c1e; }
.ios-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #2c2c2e; display: grid; place-items: center; }
.ios-url { flex: 1; height: 34px; border-radius: 17px; background: #2c2c2e; color: #eef1f5; display: flex; align-items: center; justify-content: center; gap: 6px; font: 13px -apple-system, system-ui, sans-serif; }

/* Steps and cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps { list-style: none; margin: 0; padding: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { color: var(--muted); }
.card.small { padding: 24px; gap: 8px; }
.card.small h3 { font-size: 17px; }
.card.small p { font-size: 15px; }
.num { font-family: var(--mono); font-size: 13px; color: var(--brand); }

/* The editor */
.editor .wrap { display: flex; flex-direction: column; gap: 32px; }
.editor-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.editor-head p { max-width: 420px; }
.window { margin: 0; border: 1px solid var(--night-line); border-radius: 10px; overflow: hidden; background: var(--night-2); }
.window video { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ticks li { display: flex; gap: 12px; color: var(--night-2-text); }
.ticks svg, .plan li svg { flex: none; margin-top: 3px; }

/* Use cases */
.uses .wrap { display: flex; flex-direction: column; gap: 32px; }
.use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--line); }
.use-list div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.use-icon { display: block; margin-bottom: 14px; color: var(--brand); }
.use-list h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.use-list p { color: var(--muted); }

/* Pricing: one table, each feature on its own row. On a phone, with script, tabs pick the one plan column shown beside the features. */
.pricing { background: var(--paper-2); border-top: 1px solid var(--line); }
.pricing .wrap { display: flex; flex-direction: column; gap: 32px; }
.compare-plans { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.compare-plans table { width: 100%; min-width: 780px; border-collapse: collapse; table-layout: fixed; }
.compare-plans th, .compare-plans td { padding: 14px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-plans tbody:last-child tr:last-child > * { border-bottom: 0; }
.compare-plans .feat { width: 22%; font-weight: 500; }
.compare-plans thead > tr > * { padding-top: 28px; padding-bottom: 28px; vertical-align: top; }
.compare-plans thead .feat { vertical-align: bottom; }
.compare-plans .featured { background: var(--featured); }
.compare-plans th.featured { box-shadow: inset 0 3px 0 var(--brand); }
.compare-plans td.none { color: var(--none); }
.compare-plans td svg { display: block; color: var(--brand); }
.compare-plans td.none svg { color: var(--none); }
/* Build and Publish: a group heading row over each tbody; traffic bursts indented under their own heading. */
.compare-plans tr.group > * { padding-top: 22px; padding-bottom: 10px; background: var(--paper); }
/* The heading runs on over the row's empty plan cells, so it also fits beside one plan on a phone. */
.compare-plans tr.group > th { white-space: nowrap; overflow: visible; font: 500 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.compare-plans tr.group span { margin-left: 10px; font: 400 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.compare-plans tr.burst-head > *, .compare-plans tr.burst:not(.last) > * { border-bottom-color: transparent; }
.compare-plans tr.burst-head > * { padding-bottom: 4px; }
.compare-plans tr.burst > * { padding-top: 6px; padding-bottom: 6px; }
.compare-plans tr.burst.last > * { padding-bottom: 14px; }
.compare-plans tr.burst > th { padding-left: 36px; font-weight: 400; color: var(--text-2); }
.compare-plans strong { font-weight: 600; }
.plan-head { font-weight: 400; position: relative; overflow: hidden; }
.compare-plans small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
/* Pro and Studio are requested and approved by hand while Foval is in early access: a corner ribbon says so. */
.plan-head > .ribbon { position: absolute; top: 28px; right: -46px; width: 170px; margin: 0; padding: 5px 0; transform: rotate(45deg); background: var(--brand); color: var(--on-brand); font: 600 10px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; box-shadow: 0 1px 3px rgba(13, 17, 23, 0.18); }
/* Out of the flow, so the plan's name starts where Free's and Enterprise's do and the buttons line up. */
.plan-head > .ribbon + * { margin-top: 0; }
.plan-head > * { display: block; }
.plan-head > * + * { margin-top: 10px; }
.plan-name { font-size: 18px; font-weight: 600; }
.price { display: flex !important; align-items: baseline; gap: 6px; color: var(--muted); font-size: 15px; }
.price span { font-family: var(--brand-font); font-weight: 600; font-size: 36px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.plan-year { font-size: 13px; color: var(--brand); min-height: 20px; }
.plan-year.plain { color: var(--muted); }
.plan-lede { color: var(--text-2); min-height: 46px; }
.plan-head .btn, .plan-head .btn-g { display: flex; min-height: 44px; font-size: 15px; padding: 0 14px; }
.plan-after { font-size: 12px; color: var(--muted); min-height: 18px; text-align: center; }
.plan-tabs { display: none; }
.pricing-note { font-size: 14px; color: var(--muted); max-width: 860px; }
@media (max-width: 759px) {
  .plan-tabs:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--line); border-radius: 8px; margin-bottom: -26px;
    /* Pinned while the table scrolls past, so plans can be switched beside any row; the strip above hides rows passing over it. */
    position: sticky; top: 8px; z-index: 5; box-shadow: 0 -8px 0 0 var(--paper-2); }
  .plan-tabs button { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 4px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); cursor: pointer; }
  .plan-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 17, 23, 0.12); }
  .compare-plans.tabbed table { min-width: 0; }
  .compare-plans.tabbed .feat { width: 48%; }
  .compare-plans.tabbed th, .compare-plans.tabbed td { padding-left: 16px; padding-right: 16px; }
  .compare-plans.tabbed .featured { background: none; }
  .compare-plans.tabbed th.featured { box-shadow: none; }
  .compare-plans.tabbed .plan-name { display: none; }
  /* One plan at a time: the corner would cover its price, so the ribbon is a tag above it. */
  .compare-plans.tabbed .plan-head > .ribbon { position: static; display: inline-block; width: auto; padding: 5px 8px; border-radius: 4px; transform: none; box-shadow: none; }
  .compare-plans.tabbed .plan-head > .ribbon + * { margin-top: 10px; }
  /* Every plan keeps the same layout when the tabs switch: room for the tag where there is none, and three lines for any description. */
  .compare-plans.tabbed .plan-head:not(:has(> .ribbon)) { padding-top: 52px; }
  .compare-plans.tabbed .plan-lede { min-height: 70px; }
  .compare-plans.tabbed[data-show="0"] [data-col]:not([data-col="0"]),
  .compare-plans.tabbed[data-show="1"] [data-col]:not([data-col="1"]),
  .compare-plans.tabbed[data-show="2"] [data-col]:not([data-col="2"]),
  .compare-plans.tabbed[data-show="3"] [data-col]:not([data-col="3"]) { display: none; }
}

/* FAQ, Developers, Talk to us: a heading beside its content, stacking on a phone */
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > :first-child { flex: 1 1 320px; min-width: 0; }
.split > :last-child { flex: 999 1 560px; min-width: 0; }
.side { display: flex; flex-direction: column; gap: 14px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Moving from 8th Wall: the band on the home page */
.move { padding-left: 24px; padding-right: 24px; }
.move-inner { max-width: 1152px; margin: 0 auto; background: var(--brand-50); border-radius: 10px; padding: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.move-inner > div { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.move-inner .eyebrow { color: var(--brand-700); }
.move-inner h2 { font-family: var(--brand-font); font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; letter-spacing: -0.03em; color: var(--brand-900); }
.move-inner p { color: var(--brand-700); font-size: 17px; }
.move-inner .btn { flex: 0 0 auto; }

/* Moving from 8th Wall: its own page */
.page-hero { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 48px; }
.page-hero h1 { font-family: var(--brand-font); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.035em; max-width: 900px; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); margin-bottom: 56px; }
.compare > div { padding: 28px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 15px; }
.compare .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.compare .figure { font-family: var(--brand-font); font-weight: 600; font-size: 36px; letter-spacing: -0.03em; }
.compare .figure small { font-family: var(--sans); font-weight: 400; font-size: 15px; letter-spacing: 0; }
.compare .ours { background: var(--brand-50); color: var(--brand-700); }
.compare .ours .figure { color: var(--brand-900); }
.notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.notes li { border-bottom: 1px solid var(--line); padding: 20px 0; color: var(--muted); }
.notes strong { color: var(--ink); font-weight: 600; }
.closer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.closer h2 { flex: 999 1 520px; }

/* Talk to us */
.talk-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.talk-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--night-2-text); }
.talk-form .wide { grid-column: 1 / -1; }
.field { font: inherit; font-size: 16px; color: var(--night-text); background: var(--night-2); border: 1px solid var(--night-outline); border-radius: 6px; padding: 12px 14px; min-height: 48px; }
.field:focus { outline: none; border-color: var(--teal-light); }
.field::placeholder { color: #7a8494; }
textarea.field { resize: vertical; }
.talk-form .hp { position: absolute; left: -9999px; } /* a field only bots fill */
.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-row span { font-size: 14px; color: var(--night-faint); }
.form-row a { color: var(--night-text); }
.form-status { font-size: 15px; color: var(--night-muted); }
.form-status:empty { display: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }
.site-footer .copy { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.site-footer nav { margin-left: auto; display: flex; gap: 20px; }
.site-footer nav a { color: var(--muted); padding: 10px 0; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer nav button { padding: 10px 0; text-decoration: underline; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; }
.site-footer nav button:hover { color: var(--ink); }
@media (max-width: 479px) {
  /* One row on a phone: tighter gaps and no mark. */
  .site-footer .wrap { flex-wrap: nowrap; gap: 12px; font-size: 13px; white-space: nowrap; }
  .site-footer .copy svg { display: none; }
  .site-footer nav { gap: 12px; }
}

/* The cookie banner, added by site.js until the visitor picks; Accept and Decline look the same. */
.consent { position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; width: fit-content; margin: 0 auto; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--outline); border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14); font-size: 14px; }
.consent p { margin: 0; }
.consent div { display: flex; flex: none; gap: 6px; }
.consent .btn-g { min-height: 36px; padding: 0 14px; font-size: 14px; }
@media (pointer: coarse) { .consent .btn-g { min-height: 44px; } }

/* Terms and Privacy */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 72px; line-height: 1.65; }
.legal h1 { font-family: var(--brand-font); font-weight: 600; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal h2 { margin-top: 48px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.legal p, .legal ul { margin-top: 14px; color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); }

@media (pointer: coarse) {
  .nav-links a, .site-footer nav a, .site-footer nav button { min-height: 44px; display: inline-flex; align-items: center; }
  .theme-switch { width: 46px; height: 46px; }
  .currency-switch button { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}
