/* LotVerity website. Colours and fonts are the app's (web/src/index.css). */
:root {
  --bg: #f2f4f3; --surface: #ffffff; --sunk: #f6f8f7; --ink: #16201e; --muted: #5a6763; --line: #e0e6e3; --line-strong: #c9d2ce;
  --nav: #15211f; --nav-ink: #eef3f1; --nav-muted: #93a8a2;
  --accent: #1f6f8b; --accent-hover: #195d75; --accent-soft: #e1eef3;
  --tag: #e2a72e; --tag-hover: #d39a22; --tag-ink: #2a1d02;
  --shadow: 0 1px 2px rgba(16, 26, 24, .05), 0 1px 4px rgba(16, 26, 24, .04);
  --shadow-pop: 0 12px 32px rgba(16, 26, 24, .16), 0 2px 6px rgba(16, 26, 24, .08);
  --radius: 12px; --radius-sm: 8px;
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1514; --surface: #172020; --sunk: #131a19; --ink: #e4ebe9; --muted: #9aaaa5; --line: #263230; --line-strong: #34423f;
    --nav: #0a100f; --nav-ink: #e9efed; --nav-muted: #889c97;
    --accent: #5fb3d1; --accent-hover: #7cc3dd; --accent-soft: #15303a;
    --tag: #f0bd52; --tag-hover: #f5c96b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 28px; }
.narrow-wrap { max-width: 820px; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 21px; color: inherit; text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .12s, border-color .12s, transform .12s; }
.btn.big { padding: 13px 22px; font-size: 16px; }
.btn.gold { background: var(--tag); color: var(--tag-ink); }
.btn.gold:hover { background: var(--tag-hover); }
.btn.line { border-color: rgba(255, 255, 255, .28); color: var(--nav-ink); }
.btn.line:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .45); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--nav); color: var(--nav-ink); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--nav-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--nav-ink); }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, rgba(226, 167, 46, .14), transparent 60%), var(--nav); color: var(--nav-ink); padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: 10px; }
.hero .eyebrow { color: var(--tag); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; }
.lede { margin-top: 20px; font-size: 18px; color: var(--nav-muted); max-width: 56ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-video { margin: 0; }
.hero-video video, .demo video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); }
.hero-video figcaption { margin-top: 10px; font-size: 14px; color: var(--nav-muted); text-align: center; }

/* sections */
section { padding: 88px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; max-width: 26ch; }
.intro { margin-top: 12px; color: var(--muted); font-size: 17px; }
.cards { display: grid; gap: 20px; margin-top: 36px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 3px solid var(--tag); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); }

/* steps */
.step { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; align-items: center; margin-top: 72px; }
.step.flip .step-copy { order: 2; }
.step h3 { font-size: 26px; margin: 12px 0 12px; }
.step p { color: var(--muted); font-size: 17px; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nav); color: var(--tag); font-family: var(--f-mono); font-weight: 500; }
.step img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-pop); background: var(--surface); }
.step img.narrow { max-width: 460px; justify-self: center; }

/* demo */
.demo-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); gap: 28px; margin-top: 32px; align-items: start; }
.demo video { box-shadow: var(--shadow-pop); border-color: var(--line); }
.chapters { list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chapters button { all: unset; box-sizing: border-box; display: flex; gap: 12px; width: 100%; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; font-size: 15px; }
.chapters button:hover { background: var(--sunk); }
.chapters button:focus-visible { outline: 2px solid var(--accent); }
.chapters button[aria-current] { background: var(--accent-soft); font-weight: 600; }
.chapters .t { font-family: var(--f-mono); font-size: 13px; color: var(--muted); min-width: 40px; padding-top: 2px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* contact */
.contact { padding: 72px 0; }
.contact-box { background: var(--nav); color: var(--nav-ink); border-radius: 18px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; }
.contact-box h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.contact-box p { color: var(--nav-muted); margin-top: 10px; max-width: 58ch; }
.contact-box .small { grid-column: 1 / -1; margin: 0; }
.contact-box a:not(.btn) { color: var(--tag); }

/* footer */
.foot { border-top: 1px solid var(--line); font-size: 14px; }
.foot .bar { justify-content: space-between; }
.small-logo { font-size: 16px; }
.foot-links { display: inline-flex; align-items: center; gap: 20px; }
.foot-links .yt { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links .yt:hover { border-color: var(--ink); }
.foot { padding-block: 8px; }
@media (max-width: 640px) { .foot .bar { flex-wrap: wrap; gap: 12px; padding-block: 12px; } }

@media (max-width: 1000px) {
  .hero-grid, .step, .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .step.flip .step-copy { order: 0; }
  .cards.three, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { display: none; }
  .top .btn { margin-left: auto; }
  .chapters { columns: 2; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .cards.three, .cards.four { grid-template-columns: 1fr; }
  .step { margin-top: 48px; }
  .chapters { columns: 1; }
  .contact-box { grid-template-columns: 1fr; padding: 28px 20px; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Privacy policy and terms */
.legal { max-width: 760px; padding-block: 48px 64px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal h1 + .muted { margin-bottom: 24px; }
.legal h2 { margin-bottom: 8px; }
.top .bar > .btn:last-child { margin-left: auto; }
.legal li + li { margin-top: 6px; }
