/* Chataway site draft — shared by the home and developer pages.
   Layout: centred wrap, sticky nav, sections separated by bands; the remote (a phone of tiles) drives a small demo computer window. */
:root {
  --bg: #fdfdfc; --side: #f5f4f1; --raised: #ffffff; --hover: #f1f0ed; --chip: #ebe9e4; --band: #f6f5f2; --desk: #efede8;
  --fg: #101011; --muted: #5b5852; --dim: #8c8983; --line: #e5e4df; --line-2: #d3d1cb;
  --ink: #101011; --ink-fg: #ffffff;
  --purple: #6d4bd8; --purple-ink: #4b3a96; --purple-soft: #f4f1fd; --purple-line: #e1d8fa;
  --green: #2f8a4f; --green-soft: #e6f2ea; --accent: #e2560f;
  --b1: #ffd41c; --b2: #ffa419; --b3: #ff3f16; --b4: #ff2a50; --b5: #ee2975; --b6: #b027a3; --b7: #6b27c1;
  --glow-a: rgba(255,164,25,.16); --glow-b: rgba(238,41,117,.10); --glow-c: rgba(107,39,193,.08);
  --shadow: 0 1px 2px rgba(16,16,17,.05), 0 18px 50px rgba(16,16,17,.11);
  --font-ui: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b0b0c; --side: #111113; --raised: #161619; --hover: #1e1e21; --chip: #222226; --band: #0f0f11; --desk: #08080a;
  --fg: #f4f3f0; --muted: #a5a29c; --dim: #7d7a74; --line: #26262a; --line-2: #35353a;
  --ink: #f4f3f0; --ink-fg: #0b0b0c;
  --purple: #9d84ff; --purple-ink: #c9bcff; --purple-soft: #1c1730; --purple-line: #342a5c;
  --green: #5cc47f; --green-soft: #15251a; --accent: #ff7a2f;
  --glow-a: rgba(255,164,25,.10); --glow-b: rgba(238,41,117,.08); --glow-c: rgba(107,39,193,.10);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.5);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #0b0b0c; --side: #111113; --raised: #161619; --hover: #1e1e21; --chip: #222226; --band: #0f0f11; --desk: #08080a;
  --fg: #f4f3f0; --muted: #a5a29c; --dim: #7d7a74; --line: #26262a; --line-2: #35353a;
  --ink: #f4f3f0; --ink-fg: #0b0b0c;
  --purple: #9d84ff; --purple-ink: #c9bcff; --purple-soft: #1c1730; --purple-line: #342a5c;
  --green: #5cc47f; --green-soft: #15251a; --accent: #ff7a2f;
  --glow-a: rgba(255,164,25,.10); --glow-b: rgba(238,41,117,.08); --glow-c: rgba(107,39,193,.10);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ui); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
svg.i { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.disp { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; text-wrap: balance; margin: 0; }
.disp em { font-style: italic; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin: 0; }
.mono { font-family: var(--font-mono); }
p { text-wrap: pretty; }
.cta { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1px solid var(--line-2); background: var(--raised); white-space: nowrap; }
.cta.pri { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }
.cta:hover { filter: brightness(1.06); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo .word { font-family: var(--font-display); font-size: 25px; line-height: 1; }
.logo .for { font-size: 13px; color: var(--muted); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav .cta { height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .cta { margin-left: auto; } .logo .for { display: none; } }

/* sections */
.sec { padding-block: 96px; }
.band { background: var(--band); border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 700px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(38px, 5vw, 62px); }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; }
.glow { position: relative; overflow: hidden; }
.glow::before { content: ""; position: absolute; left: 50%; top: 42%; width: 1100px; height: 640px; transform: translate(-50%, -50%); background: radial-gradient(closest-side at 38% 45%, var(--glow-a), transparent), radial-gradient(closest-side at 62% 55%, var(--glow-b), transparent), radial-gradient(closest-side at 50% 75%, var(--glow-c), transparent); pointer-events: none; }
.glow > .wrap { position: relative; }

/* segmented switch */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--chip); gap: 2px; }
.seg button { border: 0; background: transparent; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.seg button[aria-pressed="true"] { background: var(--raised); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* comparison */
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.side { border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.side.cloud { border: 1.5px dashed var(--line-2); }
.side.cloud h3 { color: var(--muted); }
.side.lap { border: 1.5px solid transparent; background: linear-gradient(var(--raised), var(--raised)) padding-box, conic-gradient(from 200deg, var(--b1), var(--b3), var(--b5), var(--b7), var(--b1)) border-box; }
.side h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; margin: 0; line-height: 1.05; }
.side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.side li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.side li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--line-2); }
.side.lap li::before { background: var(--green); }
.side li b { display: block; font-weight: 600; }
.side li span { color: var(--muted); font-size: 14.5px; }
.side.cloud li b { font-weight: 500; color: var(--muted); }
.honest { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); }
.honest svg { width: 22px; height: 22px; margin-top: 2px; }
.honest p { margin: 0; color: var(--muted); }
.honest b { color: var(--fg); }

/* pricing + questions + footer */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 940px; }
.price { border: 1px solid var(--line); border-radius: 22px; background: var(--raised); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.price.plus { background: linear-gradient(var(--raised), var(--raised)) padding-box, linear-gradient(160deg, var(--b2), var(--b5) 60%, var(--b7)) border-box; border: 1.5px solid transparent; }
.price h3 { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.price h3 em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.price .amt { font-family: var(--font-display); font-size: 60px; line-height: 1; }
.price .amt small { font-family: var(--font-ui); font-size: 14px; color: var(--muted); margin-left: 4px; }
.price p { margin: 0; color: var(--muted); font-size: 14.5px; }
.price ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.price li { display: flex; gap: 9px; align-items: flex-start; }
.price li svg { color: var(--green); margin-top: 3px; }
.price .cta { align-self: flex-start; margin-top: auto; }
.fine { color: var(--dim); font-size: 13px; margin-top: 18px; }
.faq { max-width: 820px; display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 64ch; }
.end { text-align: center; }
.end .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.end h2 { font-size: clamp(48px, 7vw, 92px); }
.end .row { justify-content: center; flex-wrap: wrap; gap: 10px; }
footer { border-top: 1px solid var(--line); padding-block: 28px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--fg); }
footer .sp { flex: 1; }
.draftnote { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 65; font-size: 12px; color: var(--muted); background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; box-shadow: var(--shadow); white-space: nowrap; }
.draftnote a { color: var(--accent); }
@media (max-width: 860px) {
  .sec { padding-block: 72px; }
  .vs, .prices { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* provider row: "works with your subscriptions" */
.subs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.subs b { color: var(--fg); font-weight: 600; }
.subs b em { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.25em; }
.subs span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--fg); font-size: 13.5px; font-weight: 500; }
.subs.center { justify-content: center; }

/* films */
.film { border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-width: 100%; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 700px) and (orientation: portrait) { .film.can-tall { aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto; } }
.films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.films article { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.films h3 { margin: 6px 0 0; font-size: 17px; font-weight: 600; }
.films p { margin: 0; color: var(--muted); font-size: 14.5px; }
.films .len { font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .films { grid-template-columns: minmax(0, 1fr); } }
