@font-face {
  font-family: 'DM Sans';
  src: url('/dm-sans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #111e1e;
  --surface: #203333;
  --ink: #eaf4ef;
  --muted: #b0c9c3;
  --accent: #536b31;
  --highlight: #c5d9ad;
  --outline: #668780;
  font-family: 'DM Sans', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  scrollbar-color: var(--outline) var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}
::selection { background: var(--accent); color: #fff; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 12px; background: var(--canvas); transform: translateY(-200%); z-index: 2; }
.skip-link:focus { transform: none; }
.preview-notice { margin: 0; padding: 9px 24px; text-align: center; background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.5; }
header, footer { max-width: 1120px; margin: auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
header { border-bottom: 1px solid var(--outline); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 700; text-decoration: none; }
.brand img { width: 27px; height: 27px; filter: invert(1); }
nav { display: flex; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { max-width: 1120px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; gap: 55px; padding: 48px 0 52px; }
.hero-copy { min-width: 0; }
h1 { font-size: 64px; line-height: 1.08; letter-spacing: -.035em; font-weight: 500; margin: 0 0 26px; text-wrap: balance; }
h1 span, h2 span { color: var(--highlight); }
.intro { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 430px; margin: 0 0 24px; }
.hero-offer { max-width: 440px; margin-bottom: 12px; }
.hero-offer p { font-size: 15px; line-height: 1.6; margin: 0 0 8px; color: var(--muted); }
.hero-offer p:first-child { color: var(--ink); font-size: 17px; }
.hero-offer small, .simple-offer small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.market-prices { display: flex; gap: 28px; margin: 14px 0 12px; align-items: flex-start; }
.market-prices > div + div { padding-left: 28px; border-left: 1px solid var(--outline); }
.market-label { display: block; font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.market-price { display: block; white-space: nowrap; font-size: 25px; letter-spacing: -.02em; }
.market-price > span { font-size: 12px; letter-spacing: 0; color: var(--muted); }
.install-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 5px; }
.store-badge { background: none; padding: 0; border: 0; height: 72px; display: inline-flex; align-items: center; cursor: pointer; border-radius: 6px; }
.store-badge img { display: block; width: auto; }
.store-badge.apple img { height: 48px; }
.store-badge.google img { height: 72px; }
.store-badge:hover { opacity: .85; }
.store-status { min-height: 1.5em; max-width: 400px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.visual { display: flex; flex-direction: column; align-items: center; position: relative; isolation: isolate; margin: 0; justify-self: center; }
.visual::before { content: ''; position: absolute; width: 410px; height: 430px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--surface); border-radius: 14px; z-index: -1; }
.phone { width: 280px; height: 606px; border: 6px solid var(--outline); border-radius: 34px; overflow: hidden; background: var(--canvas); flex-shrink: 0; }
.app-screenshot { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--canvas); }
.caption { font-size: 12px; color: var(--muted); margin-top: 18px; text-align: center; line-height: 1.5; }
.cue-label { position: absolute; font-size: 12px; border-radius: 8px; background: var(--ink); color: var(--canvas); padding: 10px 13px; box-shadow: 0 6px 18px #0003; white-space: nowrap; }
.partner-label { left: -62px; top: 200px; }
.actor-label { right: -50px; top: 384px; }
.feature-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 90px; padding: 65px max(24px, calc((100% - 1120px) / 2)); align-items: center; }
.mode-band, .recognition-band { background: var(--surface); }
.feature-copy h2 { font-size: 46px; line-height: 1.1; letter-spacing: -.03em; font-weight: 500; margin: 0 0 24px; }
.feature-copy > p { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 430px; margin: 0 0 26px; }
.mode-stage, .voice-screen-stage { justify-self: center; position: relative; isolation: isolate; margin: 0; }
.mode-stage::before, .voice-screen-stage::before { content: ''; position: absolute; z-index: -1; width: 390px; height: 400px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 14px; }
.mode-stage::before { background: var(--canvas); }
.voice-screen-stage::before { background: var(--surface); }
.feature-phone { width: 260px; height: 560px; }
.feature-tabs { display: inline-flex; padding: 5px; gap: 4px; background: var(--canvas); border: 1px solid var(--outline); border-radius: 12px; max-width: 100%; }
.feature-tabs button { font-size: 15px; cursor: pointer; border: 0; border-radius: 8px; padding: 11px 20px; background: transparent; color: var(--muted); }
.feature-tabs button[aria-selected='true'] { background: var(--accent); color: #fff; }
.feature-tabs button:hover { color: #fff; }
.feature-tabs button:focus-visible { outline-offset: 2px; }
.feature-copy .interaction-caption { font-size: 13px; margin-top: 17px; min-height: 21px; }
.recognition-image-stage { width: 100%; max-width: 460px; height: 440px; border-radius: 14px; overflow: hidden; justify-self: center; background: var(--canvas); }
.recognition-image-stage img { object-fit: cover; object-position: 50% 54%; }
.feature-copy .prompt-note { color: var(--ink); font-size: 16px; }
.simple-offer { max-width: 1120px; margin: auto; padding: 45px 0 40px; }
.simple-offer h2 { font-size: 31px; font-weight: 500; margin: 0 0 16px; letter-spacing: -.02em; }
.simple-offer > p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }
footer { border-top: 1px solid var(--outline); color: var(--muted); font-size: 13px; padding-top: 25px; padding-bottom: 25px; }
@media (max-width: 1200px) {
  header, footer, .hero, .simple-offer { max-width: calc(100% - 80px); }
  .feature-band { gap: 50px; }
  .partner-label { left: -38px; }
  .actor-label { right: -25px; }
}
@media (max-width: 1000px) {
  .feature-band { gap: 38px; padding-left: 40px; padding-right: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
  .feature-copy h2 { font-size: 39px; }
  h1 { font-size: 52px; }
  .mode-stage::before, .voice-screen-stage::before { width: 320px; }
  .visual::before { width: 330px; }
  .cue-label { font-size: 11px; }
  .partner-label { left: -20px; }
  .actor-label { right: -15px; }
}
@media (max-width: 760px) {
  header, footer { margin: 0 22px; padding: 22px 0; max-width: none; }
  .brand { font-size: 21px; gap: 8px; }
  nav { font-size: 13px; gap: 19px; }
  header nav a[href='#line-modes'] { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; max-width: none; padding: 35px 24px 40px; gap: 30px; }
  h1 { font-size: 43px; }
  .intro { font-size: 18px; margin-bottom: 22px; }
  .hero-offer p { font-size: 14px; }
  .hero-offer p:first-child { font-size: 16px; }
  .market-prices { gap: 22px; }
  .market-prices > div + div { padding-left: 22px; }
  .market-price { font-size: 23px; }
  .visual { align-self: center; }
  .visual .phone { width: 270px; }
  .visual::before { width: 310px; }
  .partner-label { left: -10px; }
  .actor-label { right: -10px; }
  .feature-band { display: flex; flex-direction: column; align-items: stretch; padding: 38px 24px 42px; gap: 30px; }
  .feature-copy h2 { font-size: 36px; margin-bottom: 18px; }
  .feature-copy > p { font-size: 16px; margin-bottom: 18px; }
  .mode-band .feature-copy, .recognition-band .feature-copy { order: -1; }
  .mode-stage, .voice-screen-stage { align-self: center; }
  .mode-stage::before, .voice-screen-stage::before { width: 310px; }
  .feature-tabs button { font-size: 14px; padding: 10px 19px; }
  .recognition-image-stage { height: 370px; }
  .simple-offer { max-width: none; margin: 0 24px; padding-top: 35px; padding-bottom: 32px; }
  .simple-offer h2 { font-size: 28px; }
  footer { align-items: flex-start; }
  footer nav { gap: 15px; }
}
@media (max-width: 359px) {
  header, footer { margin: 0 16px; }
  .brand { font-size: 18px; }
  header nav { gap: 13px; font-size: 12px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  h1 { font-size: 38px; }
  .store-badge.apple img { height: 40px; }
  .store-badge.google img { height: 60px; }
  .install-badges { gap: 4px; }
  .market-prices { gap: 15px; }
  .market-prices > div + div { padding-left: 15px; }
  .market-price { font-size: 21px; }
  .market-price > span { font-size: 11px; }
  .visual::before, .mode-stage::before, .voice-screen-stage::before { width: 282px; }
  .feature-copy h2 { font-size: 32px; }
  .recognition-image-stage { height: 330px; }
  .feature-tabs button { padding: 10px 15px; }
  footer { flex-direction: column; }
}

/* Invitation fallback shares the public site's type, colour and page frame. */
.invitation-page { min-height: 100svh; display: flex; flex-direction: column; }
.invitation-page header, .invitation-page footer { width: min(1120px, calc(100% - 80px)); }
.invitation-main { width: min(1120px, calc(100% - 80px)); margin: auto; padding: 80px 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 80px; }
.invitation-copy h1 { font-size: clamp(40px, 4.5vw, 64px); margin-bottom: 24px; }
.invitation-intro { max-width: 30ch; margin: 0; font-size: 22px; line-height: 1.55; color: var(--muted); }
.invitation-main h2 { margin: 0 0 16px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.invitation-main section p { margin: 0 0 16px; line-height: 1.65; }
.invitation-help { border-left: 1px solid var(--outline); padding-left: 40px; }
.invitation-help section { margin-bottom: 0; }
.invitation-help .install-badges { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.invitation-help p { color: var(--muted); }
.invitation-help .store-status:empty, .invitation-help #store-note:empty { display: none; }
.invitation-note { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 8px 0 0; }
.invitation-main .invitation-action { margin: 32px 0 40px; }
.invitation-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; }
.invitation-button:hover { background: #415727; }
.invitation-button:active { transform: translateY(1px); }
.invitation-main #install a { color: var(--highlight); }
@media (max-width: 760px) {
  .invitation-page header, .invitation-page footer { width: auto; }
  .invitation-main { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .invitation-copy h1 { font-size: 43px; }
  .invitation-intro { font-size: 19px; }
  .invitation-help { border-left: 0; border-top: 1px solid var(--outline); padding: 24px 0 0; }
  .invitation-help section { margin-bottom: 0; }
  .invitation-main .invitation-action { margin: 28px 0 32px; }
  .invitation-page footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}
