/* All In Sync: the crew laminate. Lanyard-black ground, Access Cyan band, laminate stock for an issued pass.
   Big Shoulders Display for the wordmark and headings, the system face for reading, monospaced tabular timecodes. */
@font-face { font-family: "Big Shoulders"; font-weight: 900; font-display: swap; src: url("/fonts/BigShouldersDisplay-Black.ttf") format("truetype"); }
@font-face { font-family: "Big Shoulders"; font-weight: 700; font-display: swap; src: url("/fonts/BigShouldersDisplay-Bold.ttf") format("truetype"); }

:root {
  --ground: #0E0F12; --surface: #1A1C21; --raised: #23262C; --hairline: #2B2E35;
  --label: #F2EFE8; --secondary: #9A968F; --access: #18DDB8; --rim: #0FAF92;
  --stock: #F2EFE8; --ink: #0E0F12; --ink-soft: #5E5A53; --issued: #0E6E5B; --dji: #FFB547;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --measure: 40rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--label); font: 400 1.0625rem/1.55 var(--text); }
a { color: var(--access); text-underline-offset: 0.18em; }
a:focus-visible { outline: 2px solid var(--access); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, 60rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--stock); color: var(--ink); padding: .5rem .8rem; z-index: 2; }

/* The band: the top of every page, as in the app. */
.band { background: var(--access); color: var(--ink); }
.band nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.lockup { display: inline-block; background: var(--ink); color: var(--access); font: 900 1.6rem/1 var(--display);
  letter-spacing: .06em; padding: .42em .5em .32em; border-radius: .2em; text-decoration: none; }
.band nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.band nav a:not(.lockup) { color: var(--ink); font-weight: 600; text-decoration: none; }
.band nav a:not(.lockup):hover, .band nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }

.hero { padding-block: 2.5rem 3.25rem; text-align: center; }
.hero h1 { font: 900 clamp(2.6rem, 9vw, 4.75rem)/0.95 var(--display); letter-spacing: .01em; margin: 0 auto; max-width: 14ch; text-transform: uppercase; }
.hero .lede { font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 34rem; margin: 1.1rem auto 0; color: rgba(14,15,18,.86); font-weight: 500; }
.clock { margin: 2rem auto 0; font: 600 clamp(2.4rem, 11vw, 4.5rem)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.clock-cap { margin: .45rem 0 0; font-weight: 600; font-size: .95rem; }
.store { display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; margin-top: 1.75rem; background: var(--ink);
  color: var(--stock); padding: .75rem 1.6rem .8rem; border-radius: 1.4rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.store small { color: var(--secondary); font-weight: 600; font-size: .85rem; }

/* Sections */
main section { padding-block: 4.25rem 0; }
main section > h2, .split-text > h2 { max-width: 18ch; text-wrap: balance; }
.heading { font: 700 1.0625rem/1.1 var(--display); letter-spacing: .075em; text-transform: uppercase; color: var(--secondary); margin: 0 0 1rem; }
h2 { font: 900 clamp(1.9rem, 5vw, 2.6rem)/1.02 var(--display); margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.125rem; margin: 0 0 .25rem; }
p { margin: 0 0 1rem; }
.measure { max-width: var(--measure); }
.muted { color: var(--secondary); }

/* Passes: a synced device, as the app issues it. */
.passes { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pass, .row { display: grid; grid-template-columns: 4.25rem 1fr auto; align-items: center; gap: .9rem;
  padding: .9rem 1rem .9rem 1.35rem; border-radius: 14px; position: relative; overflow: hidden; }
.pass { background: var(--stock); color: var(--ink); }
.pass::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--role, var(--access)); }
.row { background: var(--surface); }
.code { font: 900 1.4rem/1 var(--display); color: var(--role, var(--access)); }
.pass .code { color: var(--ink); }
.name { font-weight: 600; }
.ok { display: block; color: var(--issued); font-weight: 600; font-size: .95rem; }
.seal { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin-right: .35em; fill: var(--issued); }
.seal .tick { fill: none; stroke: var(--stock); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.row .status { display: block; color: var(--secondary); font-size: .95rem; }
.tc { text-align: right; font: 600 1.05rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.tc small { display: block; font: 700 .72rem/1 var(--display); letter-spacing: .12em; color: var(--ink-soft); margin-bottom: .3rem; }
.dji { --role: var(--dji); }

.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border-radius: 14px; padding: 1.2rem 1.25rem 1.3rem; }
.steps li::before { content: counter(s); display: block; font: 900 2.25rem/1 var(--display); color: var(--access); margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--secondary); }
.steps h3, .facts dt { font-size: 1.35rem; line-height: 1.2; }
.facts dt { margin-bottom: .35rem; }

.devices { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card { background: var(--surface); border-radius: 14px; padding: 1.2rem 1.25rem; }
.card h3 { font: 900 1.5rem/1 var(--display); text-transform: uppercase; margin-bottom: .6rem; letter-spacing: .01em; }
.card ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.card li + li { margin-top: .2rem; }

/* Documents (privacy, support) */
.doc { padding-block: 2.5rem 1rem; }
.doc h1 { font: 900 clamp(2.4rem, 8vw, 3.5rem)/1 var(--display); text-transform: uppercase; margin: 0 0 .5rem; }
.doc h2 { font-size: 1.6rem; margin-top: 2.25rem; margin-bottom: .6rem; }
.doc ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.doc li + li { margin-top: .35rem; }
dl.faq dt { font-weight: 700; margin-top: 1.25rem; }
dl.faq dd { margin: .25rem 0 0; color: var(--label); }

footer { margin-top: 4rem; border-top: 1px solid var(--hairline); padding-block: 1.5rem 2.5rem; color: var(--secondary); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
footer a { color: var(--secondary); }

@media (max-width: 44rem) { .band nav .wide { display: none; } }
@media (max-width: 30rem) {
  .band nav { flex-wrap: wrap; }
  .lockup { font-size: 1.35rem; }
  .pass, .row { grid-template-columns: 3.4rem 1fr; }
  .tc, .row .btn { grid-column: 2; text-align: left; }
}
.btn { background: var(--access); color: var(--ink); font: 700 1rem/1.2 var(--text); border: 0; border-radius: 999px; padding: .7rem 1.15rem;
  min-height: 44px; white-space: nowrap; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  transition: transform .12s cubic-bezier(.2,.8,.2,1), background-color .15s; }
.btn:hover { background: #4BE8CB; }
.btn:active { transform: scale(.96); }
.btn:disabled { background: var(--raised); color: var(--secondary); cursor: default; }
.btn:focus-visible, .base button:focus-visible, summary:focus-visible { outline: 2px solid var(--access); outline-offset: 3px; }
.btn.big { font-size: 1.0625rem; padding: .9rem 1.5rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

/* Browser surfaces, printed from the same palette. */
::selection { background: var(--access); color: var(--ink); }
.band ::selection, .pass ::selection { background: var(--ink); color: var(--access); }
html { scroll-behavior: smooth; scrollbar-color: var(--raised) var(--ground); }
:target { scroll-margin-top: 1.5rem; }
.small { font-size: .95rem; }

/* The base switch on the band, as in the app. */
.base { display: inline-grid; grid-template-columns: repeat(3, 1fr); width: min(100%, 22rem); margin-top: 1.1rem; padding: 3px;
  background: rgba(14,15,18,.14); border-radius: 999px; }
.base button { font: 700 1rem/1 var(--text); font-variant-numeric: tabular-nums; color: var(--ink); background: none; border: 0;
  border-radius: 999px; min-height: 40px; cursor: pointer; transition: background-color .15s, color .15s; }
.base button:hover { background: rgba(14,15,18,.1); }
.base button[aria-pressed="true"] { background: var(--ink); color: var(--access); }
.base button:focus-visible { outline-color: var(--ink); }
.band a:focus-visible { outline-color: var(--ink); }
.store-line { margin: 1.5rem 0 0; }
.store { margin-top: 0; }

/* Text beside the phone. */
.split { display: grid; gap: 2.5rem 3.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); }
.split-text > p { max-width: 34rem; }
.phone { margin: 0; justify-self: center; width: min(100%, 19rem); border: 9px solid #23262C; border-radius: 2.9rem; overflow: hidden;
  background: var(--ink); }
.phone img { display: block; width: 100%; height: auto; }
.demo { margin-top: 1.5rem; max-width: 34rem; }
.demo + p { margin-top: .75rem; }
.row .btn { justify-self: end; }
.pass.issued { animation: issue .45s cubic-bezier(.16,1,.3,1); }
@keyframes issue { from { transform: scale(.97); filter: brightness(.6); } }
@media (max-width: 52rem) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .phone { order: 2; }
}

/* What it does: a ruled list, not a grid of cards. */
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); column-gap: 3rem; }
.facts > div { padding: 1.1rem 0 1.15rem; border-top: 1px solid var(--hairline); }
.facts dt { font-weight: 700; margin-bottom: .2rem; }
.facts dd { margin: 0; color: var(--secondary); max-width: 34rem; }

/* Cameras */
.gear { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-bottom: 1rem; }
.maker { background: var(--surface); border-radius: 14px; padding: 1.4rem 1.4rem 1.3rem; --role: var(--access); }
.maker.osmo { --role: var(--dji); }
.maker h3 { font: 900 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 .5rem; color: var(--role); }
.maker > p { margin: 0 0 .9rem; }
.maker h4 { font-size: 1rem; margin: 1.3rem 0 .4rem; }
.models { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.models li { background: var(--raised); border-radius: 999px; padding: .5rem .95rem; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.setup { margin: 0; padding-left: 1.2rem; color: var(--secondary); }
.setup li + li { margin-top: .25rem; }
.setup b { color: var(--label); font-weight: 600; }
.plain { color: var(--secondary); }

/* Questions */
.faq { max-width: 44rem; border-bottom: 1px solid var(--hairline); }
.faq details { border-top: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 1rem 2rem 1rem 0; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 1.35rem; width: .55rem; height: .55rem;
  border-right: 2px solid var(--access); border-bottom: 2px solid var(--access); transform: rotate(45deg); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary::after { transform: translateY(.3rem) rotate(-135deg); }
.faq summary:hover { color: var(--access); }
.faq details p { margin: 0 0 1.1rem; color: var(--secondary); max-width: 40rem; }

.closing { text-align: center; }
.closing h2 { margin-inline: auto; }
.closing p { max-width: 32rem; margin-inline: auto; }
.closing p + p { margin-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pass.issued { animation: none; }
  .btn, .faq summary::after { transition: none; }
}
