/* Layout: "scanner frame". Left-aligned copy in asymmetric splits; every key visual
   sits inside the amber corner brackets taken from the PawDigi logo mark. Dark only, by brief. */
:root {
  color-scheme: dark;
  --navy-950: #031626;
  --navy-900: #052139; /* logo ground */
  --navy-800: #0a2c49;
  --navy-700: #113a5c;
  --line: #1b4466;
  --teal: #018a94;
  --teal-hi: #35c6d0;
  --amber: #f5a401;
  --amber-hi: #ffbe3d;
  --ink: #ffffff;
  --ink-soft: #c5cfd9;
  --ink-dim: #8fa2b3;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Patrick Hand", "Comic Sans MS", cursive;
  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1160px;
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--teal-hi); text-underline-offset: 3px; }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.t-teal { color: var(--teal-hi); }
.t-amber { color: var(--amber); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--deep { background: var(--navy-950); }
.section--raised { background: var(--navy-800); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--lg { gap: 40px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.copy { color: var(--ink-soft); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy-950); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* icons */
.ico { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* hand-written kicker, with the logo's spark dashes */
.kicker { font-family: var(--font-hand); font-size: 1.35rem; line-height: 1.2; color: var(--ink); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before, .kicker::after { content: ""; width: 18px; height: 14px; flex: none;
  background:
    linear-gradient(var(--amber), var(--amber)) 0 2px / 12px 3px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 4px 9px / 12px 3px no-repeat;
  border-radius: 3px; transform: rotate(-14deg); }
.kicker::after { transform: rotate(14deg) scaleX(-1); }
.label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-hi); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--navy-950); }
.btn--primary:hover { background: var(--amber-hi); color: var(--navy-950); }
.btn--ghost { border-color: var(--teal); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal-hi); color: var(--ink); background: rgba(1, 138, 148, .16); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform .15s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy-900); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 56px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a { display: block; padding: 10px 13px; border-radius: 999px; color: var(--ink-soft); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.nav-list a:hover { color: var(--ink); background: var(--navy-800); }
.nav-list a[aria-current="page"] { color: var(--amber); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 12px; padding: 9px 11px; cursor: pointer; line-height: 0; }
.login { position: relative; margin-left: 8px; }
.login-btn { display: inline-flex; align-items: center; gap: 6px; font: 700 .98rem/1 var(--font-body); color: var(--navy-950); background: var(--amber); border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; }
.login-btn:hover { background: var(--amber-hi); }
.login-btn .ico { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.login-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.login-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; background: var(--navy-800); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.login-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.login-menu a:hover { background: var(--navy-700); color: var(--ink); }
.login-menu a .ico { color: var(--teal-hi); }
.login-menu small { display: block; font-weight: 400; color: var(--ink-dim); font-size: .8rem; line-height: 1.3; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .nav-cta { margin-left: 0; text-align: center; padding: 14px 18px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); border-bottom: 1px solid var(--line); padding: 12px clamp(16px, 4vw, 32px) 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { padding: 12px 14px; border-radius: 10px; }
  .login { margin-left: 0; }
  .login-btn { width: 100%; justify-content: space-between; padding: 14px 18px; }
  .login-menu { position: static; margin-top: 8px; box-shadow: none; }
}
@media (max-width: 420px) { .brand img { height: 46px; } .idcard { padding: 18px; } .idcard-facts dd { font-size: .85rem; } .idcard-facts div { padding: 9px 9px; } }

.nav-cta { margin-left: 10px; display: inline-flex; align-items: center; justify-content: center; font: 700 .98rem/1 var(--font-body); color: var(--navy-950); background: var(--amber); border-radius: 999px; padding: 12px 18px; text-decoration: none; white-space: nowrap; }
.nav-cta:hover { background: var(--amber-hi); color: var(--navy-950); }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 45%; height: 150%; pointer-events: none;
  background: repeating-radial-gradient(circle at 60% 45%, transparent 0 15px, rgba(1, 138, 148, .16) 15px 17px);
  -webkit-mask-image: radial-gradient(closest-side at 60% 45%, #000 25%, transparent 100%);
          mask-image: radial-gradient(closest-side at 60% 45%, #000 25%, transparent 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; min-width: 0; }
.hero-note { font-size: .92rem; color: var(--ink-dim); }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-hero .hero-copy { max-width: 780px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* scanner frame: amber corner brackets */
.frame { position: relative; padding: clamp(20px, 3vw, 30px); min-width: 0; }
.frame::before { content: ""; position: absolute; inset: 0; border: 5px solid var(--amber); border-radius: 24px; pointer-events: none;
  --m: 54px;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 100% 0 / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 0 100% / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 100% 100% / var(--m) var(--m) no-repeat;
          mask: linear-gradient(#000 0 0) 0 0 / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 100% 0 / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 0 100% / var(--m) var(--m) no-repeat, linear-gradient(#000 0 0) 100% 100% / var(--m) var(--m) no-repeat; }
.scanline { position: absolute; left: 18px; right: 18px; top: 12%; height: 3px; border-radius: 3px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--teal-hi), transparent); box-shadow: 0 0 18px 4px rgba(53, 198, 208, .35); animation: scan 4.2s ease-in-out infinite alternate; }
@keyframes scan { from { top: 10%; } to { top: 88%; } }
.sample-note { margin-top: 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); text-align: right; }

/* pet ID card */
.idcard { background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 20px; position: relative; overflow: hidden; }
.idcard-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.idcard-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.idcard-brand .ico { color: var(--amber); }
.idcard-main { display: flex; align-items: center; gap: 16px; }
.avatar { width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--ink); border: 3px solid var(--ink); }
.avatar .ico { width: 40px; height: 40px; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.idcard-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.idcard-meta { color: var(--ink-soft); font-size: .95rem; }
.idcard-id { font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--amber); font-weight: 700; font-size: .9rem; }
.idcard-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; position: relative; z-index: 1; }
.idcard-facts div { background: var(--navy-950); border-radius: var(--radius-sm); padding: 10px 12px; min-width: 0; }
.idcard-facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.idcard-facts dd { margin: 0; font-weight: 700; font-size: .95rem; }
.print { position: absolute; right: -40px; top: -46px; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: .28;
  background: repeating-radial-gradient(circle at 50% 62%, transparent 0 6px, var(--teal-hi) 6px 8px);
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }

/* photos */
.scan { position: relative; border-radius: var(--radius); overflow: hidden; line-height: 0; border: 1px solid var(--line); }
.scan img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.scan--wide img { aspect-ratio: 4 / 3; }
.scan--tall img { aspect-ratio: 4 / 5; }
.scan .scanline { left: 0; right: 0; }
.hero-stack .idcard { position: relative; z-index: 2; margin: -76px 18px 0; box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
.moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.moment { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.moment img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.moment figcaption { font-family: var(--font-hand); font-size: 1.25rem; line-height: 1.2; color: var(--ink-soft); }
@media (max-width: 760px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hero-stack .idcard { margin-inline: 8px; } }
.tl-photos { display: flex; gap: 6px; margin-top: 7px; }
.tl-photos img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; display: block; }

/* background photos */
.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.has-bg > .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 75% 35%; z-index: -2; }
.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgba(5, 33, 57, .94) 36%, rgba(5, 33, 57, .5) 72%, rgba(5, 33, 57, .3) 100%); }
.has-bg--even::after { background: rgba(5, 33, 57, .86); }
.hero.has-bg::before { display: none; }
.page-hero.has-bg { padding-block: clamp(64px, 9vw, 120px); }
.page-hero.has-bg .hero-copy { max-width: 640px; }
@media (max-width: 860px) { .has-bg::after { background: rgba(5, 33, 57, .84); } }
.page-hero.has-bg > .bg-img { left: 38%; width: 62%; object-position: 50% 38%; }
.page-hero.has-bg::after { background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 38%, rgba(5, 33, 57, .82) 48%, rgba(5, 33, 57, .3) 72%, rgba(5, 33, 57, .12) 100%); }
@media (max-width: 860px) {
  .page-hero.has-bg > .bg-img { left: 0; width: 100%; }
  .page-hero.has-bg::after { background: rgba(5, 33, 57, .84); }
}
.band.band--photo { flex-direction: column; align-items: flex-start; justify-content: center; padding-right: 46%; min-height: 250px; }
.band.band--photo::after { display: none; }
.band > .bg-img { position: absolute; top: 0; bottom: 0; right: 0; left: auto; width: 44%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 42%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%); }
@media (max-width: 760px) {
  .band.band--photo { padding-right: clamp(28px, 5vw, 52px); min-height: 0; }
  .band > .bg-img { left: 0; width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
}

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; line-height: 1.2; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok { background: rgba(53, 198, 208, .16); color: var(--teal-hi); }
.pill--wait { background: rgba(245, 164, 1, .16); color: var(--amber-hi); }
.pill--muted { background: rgba(143, 162, 179, .16); color: var(--ink-soft); }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 84px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } .split .frame { order: 2; } }
@media (min-width: 861px) { .split--flip > :first-child { order: 2; } }

.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

/* pillars: plain columns divided by rules, no cards */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar .ico { width: 32px; height: 32px; color: var(--amber); }
.pillar p { color: var(--ink-soft); }
@media (max-width: 760px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; } .pillar + .pillar { border-top: 1px solid var(--line); } }

/* feature cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid, .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.section--raised .card { background: var(--navy-900); }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(1, 138, 148, .2); color: var(--teal-hi); }
.card-ico .ico { width: 26px; height: 26px; }
.card-ico--amber { background: rgba(245, 164, 1, .16); color: var(--amber); }
.group-title { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-title p { color: var(--ink-dim); font-size: .95rem; }

/* steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { counter-increment: step; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 3px solid var(--teal); min-width: 0; }
.step::before { content: counter(step); font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--amber); }
.step p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* check list */
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checks .ico { color: var(--teal-hi); margin-top: .18em; }

/* CTA band */
.band { background: var(--teal); border-radius: 26px; padding: clamp(28px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; pointer-events: none; background: repeating-radial-gradient(circle, transparent 0 9px, rgba(255, 255, 255, .13) 9px 11px); }
.band > * { position: relative; z-index: 1; min-width: 0; }
.band .stack { max-width: 620px; gap: 10px; }
.band p { color: #e9fbfc; }
.band .btn--primary { box-shadow: 0 10px 24px rgba(3, 22, 38, .3); }

/* mock panels (capabilities) */
.panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section--raised .panel { background: var(--navy-900); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; }
.panel-head span:last-child { font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--ink-dim); }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 1px solid rgba(27, 68, 102, .6); }
.rows li:last-child { border-bottom: 0; }
.rows b { display: block; font-weight: 700; font-size: .98rem; }
.rows small { color: var(--ink-dim); font-size: .84rem; }
.rows div { min-width: 0; }

/* audience table */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* phone mock */
.phone { width: min(290px, 100%); margin-inline: auto; background: var(--navy-950); border: 3px solid var(--navy-700); border-radius: 38px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.phone-screen { background: var(--navy-800); border-radius: 26px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.phone-bar { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 600; }
.phone-bar .ico { color: var(--amber); }
.tl { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--teal); margin-left: 7px; }
.tl li { position: relative; padding: 0 0 16px 18px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); border: 3px solid var(--navy-800); }
.tl b { display: block; font-size: .92rem; line-height: 1.3; }
.tl small { color: var(--ink-dim); font-size: .78rem; }

/* store buttons */
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--navy-800); color: var(--ink); text-decoration: none; min-width: 190px; }
.store:hover { border-color: var(--teal-hi); color: var(--ink); }
.store .ico { width: 28px; height: 28px; color: var(--amber); }
.store small { display: block; font-size: .72rem; color: var(--ink-dim); line-height: 1.2; }
.store b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 4px 20px; color: var(--ink-soft); max-width: 68ch; }

/* form */
.form { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--navy-950); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal-hi); outline-offset: 1px; border-color: var(--teal-hi); }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(53, 198, 208, .14); border: 1px solid var(--teal); color: var(--ink); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot p { color: var(--ink-dim); font-size: .9rem; }
@media (max-width: 620px) { .form { grid-template-columns: minmax(0, 1fr); } }

.field--choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.field--choice legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 7px; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { flex: 1 1 100px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--navy-950); cursor: pointer; font-weight: 600; }
.choice:has(input:checked) { border-color: var(--teal-hi); background: rgba(53, 198, 208, .12); }
.choice input { accent-color: var(--amber); width: 18px; height: 18px; margin: 0; }
.field input::placeholder { color: var(--ink-dim); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.7); }

/* download-the-app dialog */
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(520px, calc(100vw - 32px)); width: 100%; }
.modal::backdrop { background: rgba(3, 22, 38, .78); backdrop-filter: blur(3px); }
.modal-in { background: var(--navy-800); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.modal-in p { color: var(--ink-soft); }
.modal-badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--navy-950); }
.modal-badge .ico { width: 32px; height: 32px; }
.modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.modal .store { flex: 1 1 190px; }
.panel-head .ico { color: var(--amber); vertical-align: -3px; margin-right: 4px; }

/* legal pages */
.legal-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }
.legal-toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.legal-toc a:hover { color: var(--ink); border-left-color: var(--amber); }
.legal { max-width: 72ch; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-top: 26px; scroll-margin-top: 100px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 6px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.legal ul li::marker { color: var(--amber); }
.legal .contact-list { list-style: none; padding-left: 0; }
.contact-card { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .legal-grid { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; } }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--amber-hi); }
.contact-list .ico { color: var(--amber); }
.contact-addr { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); line-height: 1.5; }
.contact-addr .ico { margin-top: .1em; }
.site-footer .contact-list { margin-top: 18px; }
.site-footer .contact-list li { margin: 0; }

/* footer */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding-block: 52px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid img { height: 62px; width: auto; display: block; margin-left: -6px; }
.footer-grid p { color: var(--ink-dim); font-size: .95rem; max-width: 34ch; margin-top: 10px; }
.footer-grid h3 { font-size: .8125rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 12px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--amber-hi); }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ink-dim); font-size: .88rem; }
.footer-base .kicker { font-size: 1.1rem; color: var(--ink-soft); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scanline { animation: none; top: 46%; }
  .btn, .link-arrow .ico, .login-btn .ico { transition: none; }
}
