/*
 * Product site. The palette is the app's own "Bistro" theme (warm paper, deep teal), so the page and the
 * screenshots read as one object; contrast notes are against --card.
 */
:root {
  --paper: #f4efe6;
  --paper-deep: #ebe2d1;
  --card: #fffdf8;
  --ink: #1f1b16;          /* 16.5:1 */
  --ink-soft: #5c554a;     /* 6.6:1 */
  --line: #dcd3c3;
  --accent: #0f6b73;       /* 6.1:1 */
  --accent-ink: #ffffff;
  --accent-soft: rgba(15, 107, 115, 0.10);
  --amber: #8f5a0a;        /* 5.9:1 */
  --table-top: #f6efe1;
  --table-edge: #7d6a4f;
  --table-busy: #f0d9a8;
  --chair: #d9ccb2;
  --grid: rgba(60, 40, 10, 0.16);
  --shadow: 0 1px 2px rgba(31, 27, 22, 0.06), 0 12px 32px rgba(31, 27, 22, 0.10);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  /* Vertical rhythm: one gap between sections, scaled with the viewport. */
  --section: clamp(80px, 11vw, 152px);
  --title-gap: clamp(16px, 1.6vw, 22px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1916;
    --paper-deep: #211e1a;
    --card: #2a2622;
    --ink: #f3eee6;        /* 13.9:1 */
    --ink-soft: #b3aa9c;   /* 7.0:1 */
    --line: #3d3731;
    --accent: #5fc3c6;     /* 8.3:1 */
    --accent-ink: #0b1f21;
    --accent-soft: rgba(95, 195, 198, 0.14);
    --amber: #f0b341;
    --table-top: #3a342d;
    --table-edge: #a8977c;
    --table-busy: #5a4a2c;
    --chair: #4a433a;
    --grid: rgba(255, 240, 220, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); font-feature-settings: "kern"; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name small { font-size: 11.5px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.01em; }
.footer-brand strong { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: var(--radius-sm); }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); min-height: 36px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 180px; columns: 2; column-gap: 4px; }
.lang li a { display: block; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 15px; break-inside: avoid; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--accent-soft); }
.lang li a[aria-current="true"] { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.header-cta { white-space: nowrap; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 128px) 0 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.028em; margin: 0 0 28px; font-weight: 750; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); margin: 0 0 36px; max-width: 30em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 24px; font-size: 14px; color: var(--ink-soft); }
.live-plan { margin: 0; background: var(--paper-deep); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 14px; }
.live-plan svg { width: 100%; height: auto; display: block; }
.ring { animation: breathe 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; opacity: .8; } }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 4px 2px; font-size: 13px; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; border: 1.5px solid var(--table-edge); }

/* Window frame around desktop screenshots */
.window { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.window .bar { height: 26px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: color-mix(in srgb, var(--card) 70%, var(--paper-deep)); border-bottom: 1px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.showcase { padding: var(--section) 0 0; }

/* Points */
.points { padding: clamp(64px, 8vw, 112px) 0 0; }
.points .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.points h2 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.points p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.points .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }

/* Feature rows: no dividers, the space between them does the separating. */
.feature { padding: var(--section) 0 0; }
.feature .wrap { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature.flip .wrap { grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr); }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 var(--title-gap); text-wrap: balance; }
.feature p { color: var(--ink-soft); margin: 0; font-size: clamp(17px, 1.4vw, 19px); max-width: 28em; text-wrap: pretty; }
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phone { width: min(240px, 46%); border-radius: 34px; padding: 9px; background: #111; box-shadow: var(--shadow); }
.phone img { border-radius: 26px; }
.phone:nth-child(2) { margin-top: 42px; }

/* Themes, languages, boundary */
.band { padding: var(--section) 0; margin-top: var(--section); background: var(--paper-deep); }
.band h2, .section-title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.022em; line-height: 1.12; margin: 0 0 var(--title-gap); text-wrap: balance; }
.band p.intro, .section-lead { color: var(--ink-soft); margin: 0 0 clamp(32px, 4vw, 56px); max-width: 36em; font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.themes figure { margin: 0; }
.themes figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.languages { padding: var(--section) 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 16px; }
.boundary { padding: clamp(56px, 7vw, 96px) 0 0; }
.boundary .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.boundary .stamp { font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; border: 1.5px dashed var(--ink-soft); color: var(--ink-soft); border-radius: 6px; padding: 8px 10px; text-align: center; max-width: 150px; }
.boundary h2 { font-size: 20px; margin: 0 0 8px; }
.boundary p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 46em; }

/* Pricing */
.pricing { padding: var(--section) 0 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); max-width: 860px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); box-shadow: 0 1px 2px rgba(31, 27, 22, 0.05); }
.plan.main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan h3 { margin: 0 0 6px; font-size: 18px; }
.price { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 10px 0 2px; }
.price small { font-size: 15px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; margin-left: 6px; }
.plan p { color: var(--ink-soft); font-size: 16px; margin: 12px 0 0; }
.fine { margin-top: 28px; color: var(--ink-soft); font-size: 15px; max-width: 46em; }
.fine strong { color: var(--ink); }

/* FAQ */
.faq { padding: var(--section) 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 860px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 650; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 46em; }

/* Download, footer */
.download { padding: var(--section) 0; background: var(--accent); color: var(--accent-ink); }
.download h2 { margin: 0 0 var(--title-gap); font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.022em; }
.download p { margin: 0 0 36px; opacity: .9; max-width: 36em; }
.download .btn { background: var(--accent-ink); color: var(--accent); }
button.btn { font: inherit; font-weight: 650; cursor: pointer; }
.download .soon { margin: 14px 0 0; font-weight: 600; }
.download .req { margin: 20px 0 0; font-size: 14px; opacity: .85; }
.download-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px 64px; margin-top: 8px; }
.download-group { padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--accent-ink) 30%, transparent); }
.download-group h3 { margin: 0 0 20px; font-size: 20px; letter-spacing: -0.01em; }
.download .download-group .group-body { margin: -8px 0 20px; font-size: 16px; }
.site-footer { padding: 40px 0 56px; color: var(--ink-soft); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.site-footer a { color: var(--ink-soft); }

/* Legal pages */
.legal { padding: 56px 0 72px; max-width: 760px; }
.legal h1 { font-size: 36px; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 24px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.3; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; line-height: 1.35; margin: 32px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal a { overflow-wrap: anywhere; }
.legal .facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 24px 0 0; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.legal .facts dt { color: var(--ink-soft); }
.legal .facts dd { margin: 0; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero .wrap, .feature .wrap, .feature.flip .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .text { order: 0; }
  .points .wrap { grid-template-columns: 1fr; gap: 36px; }
  .themes { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .legal h1 { font-size: 28px; }
  .legal .facts { grid-template-columns: 1fr; gap: 2px; padding: 16px; }
  .legal .facts dd + dt { margin-top: 12px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .hero { padding-top: 36px; }
  .boundary .card { grid-template-columns: 1fr; }
  .phone { border-radius: 26px; padding: 6px; }
  .phone img { border-radius: 21px; }
}
