/* Supershoot site, shared styles. One family (Inter), four palette colors plus white.
   Contrast rules live in ../README.md. White text on copper only at 24px+ or 19px+ bold.
   Gunmetal text never sits on copper. Copper text only on white or ghost white at 24px+. */

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --copper: #CD533B;
  --blue: #B8DBD9;
  --gun: #393D3F;
  --ghost: #F4F4F9;
  --white: #FFFFFF;
  --gutter: max(16px, 5vw);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--gun);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 8.6vw, 4.9rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.25rem); margin-bottom: 0.5em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.band { padding-block: clamp(56px, 9vw, 112px); }

/* ground colors */
.on-copper { background: var(--copper); color: var(--white); }
.on-gun { background: var(--gun); color: var(--ghost); }
.on-blue { background: var(--blue); color: var(--gun); }
.on-ghost { background: var(--ghost); color: var(--gun); }
.on-gun h1, .on-gun h2, .on-gun h3 { color: var(--white); }

/* focus: visible on every ground */
:focus-visible { outline: 3px solid var(--gun); outline-offset: 3px; }
.on-copper :focus-visible { outline-color: var(--white); }
.on-gun :focus-visible { outline-color: var(--blue); }

.skip { position: absolute; left: 8px; top: -80px; z-index: 10; background: var(--white); color: var(--gun); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 10px 28px;
  font: 700 19px/1.2 var(--font);
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 4px;
  cursor: pointer; touch-action: manipulation;
}
.btn-copper { background: var(--copper); color: var(--white); border-color: var(--copper); }
.btn-white { background: var(--white); color: var(--gun); border-color: var(--white); }
.btn-blue { background: var(--blue); color: var(--gun); border-color: var(--blue); }
.btn-gun { background: var(--gun); color: var(--white); border-color: var(--gun); }
.btn:hover { filter: brightness(0.94); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 19px; }
.link-strong { font-weight: 700; font-size: 19px; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.mark img, .foot-mark img { display: block; height: 24px; width: auto; }
.mark .mark-icon { height: 32px; width: 32px; margin-right: 8px; flex: none; }
.bar nav { display: flex; gap: 20px; align-items: center; }
.bar nav a { font-weight: 700; font-size: 19px; display: inline-flex; min-height: 44px; align-items: center; }

/* waitlist form */
.wl-panel { background: var(--white); color: var(--gun); padding: clamp(20px, 4vw, 36px); border-radius: 4px; }
.wl-panel h3 { margin-bottom: 6px; }
.wl-panel .fine { font-size: 16px; margin-bottom: 18px; }
.wl label.field { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.wl input[type="email"] {
  width: 100%; min-height: 52px; padding: 10px 14px;
  font: 400 18px/1.3 var(--font); color: var(--gun); background: var(--white);
  border: 2px solid var(--gun); border-radius: 4px;
}
.wl input[type="email"][aria-invalid="true"] { border-width: 3px; }
.wl .check { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 18px; font-size: 16px; line-height: 1.4; }
.wl .check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--gun); }
.wl .check label { padding-top: 1px; }
.wl .btn { width: 100%; }
.wl-msg { margin: 14px 0 0; padding: 0; font-size: 16px; font-weight: 600; min-height: 0; }
.wl-msg:not(:empty) { padding-left: 12px; border-left: 4px solid var(--copper); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* footer */
.foot { background: var(--gun); color: var(--ghost); padding-block: 40px; font-size: 16px; }
.foot .wrap { display: grid; gap: 14px; }
.foot .foot-mark { grid-column: 1 / -1; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.foot .foot-mark img { height: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.foot .co { margin: 0; line-height: 1.5; }
.foot .co a { min-height: 0; display: inline; font-weight: 600; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 48px; } .foot .co { text-align: right; } }

/* pending screenshot slot: plain outlined frame, never a drawn phone */
.slot {
  display: grid; place-items: center; text-align: center;
  border: 2px solid var(--gun); padding: 16px;
  font-size: 16px; font-weight: 600; color: var(--gun); background: var(--white);
}
.on-gun .slot { border-color: var(--blue); color: var(--ghost); background: transparent; }

/* faq */
details { border-top: 2px solid var(--gun); }
details:last-of-type { border-bottom: 2px solid var(--gun); }
summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 20px; line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font-size: 32px; font-weight: 400; line-height: 1; color: var(--copper); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 22px; max-width: 640px; }

/* waitlist band (shared by both pages) */
.join { display: grid; gap: 40px; }
.join .big { font-size: 24px; line-height: 1.35; font-weight: 500; max-width: 24em; }
.join .link-strong { display: inline-flex; min-height: 44px; align-items: center; margin-top: 20px; }
@media (min-width: 880px) { .join { grid-template-columns: 1fr minmax(0, 460px); gap: 96px; align-items: center; } }

/* kit mode switch: config.js sets data-mode on <html> ("notify" or "checkout") */
html[data-mode="notify"] [data-show="checkout"],
html[data-mode="checkout"] [data-show="notify"] { display: none !important; }

/* notify forms on the kit page */
.wl-kit { max-width: 26em; }
.wl-kit .btn { margin-top: 12px; }
.wl-dark { margin-top: 24px; }
.wl-dark label.field { color: var(--white); }
.wl-dark .wl-msg:not(:empty) { border-left-color: var(--blue); }
@media (max-width: 440px) { .bar .btn-small { font-size: 16px; padding: 8px 12px; } .mark img { height: 20px; } .mark .mark-icon { height: 26px; width: 26px; margin-right: 6px; } }


/* legal and help pages */
.page-top { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 4vw, 48px); }
.page-top h1 { font-size: clamp(2.25rem, 7vw, 4rem); margin-bottom: 0.35em; }
.page-top .sub { font-size: 20px; line-height: 1.5; max-width: 34em; margin: 0; }
.page-top .stamp { font-size: 16px; font-weight: 600; margin-top: 18px; }
.doc { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.doc section { padding-block: 26px; border-top: 2px solid var(--gun); }
.doc section:first-child { border-top: 0; padding-top: 0; }
.doc h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin-bottom: 0.5em; }
.doc h3 { font-size: 1.125rem; margin: 1.2em 0 0.35em; }
.doc p, .doc li { max-width: 40em; }
.doc ul.list, .doc ol.list { margin: 0 0 1.1em; }
.doc ul.list li { position: relative; padding: 4px 0 4px 22px; }
.doc ul.list li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 9px; height: 2px; background: var(--gun); }
.doc ol.list { counter-reset: step; }
.doc ol.list li { counter-increment: step; position: relative; padding: 4px 0 4px 34px; }
.doc ol.list li::before { content: counter(step) "."; position: absolute; left: 0; top: 4px; font-weight: 700; }
.doc .callout { border: 2px solid var(--gun); padding: 18px 20px; margin: 1.2em 0; max-width: 40em; background: var(--white); }
.doc .callout p { max-width: none; }
.on-ghost .callout { background: var(--white); }
.doc dl { margin: 0 0 1.1em; max-width: 40em; }
.doc dt { font-weight: 700; margin-top: 0.8em; }
.doc dd { margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 20px; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; font-size: 19px; }
.help-group { margin-bottom: 56px; }
.help-group h2 { margin-bottom: 20px; }
.help-group details > div p { max-width: 40em; }
.help-group details > div { max-width: 44em; }
.help-group details > div ol.list { margin-top: 8px; }
.help-group details h3 { margin: 1em 0 0.3em; font-size: 1.0625rem; }
.help-group details > div .list li { max-width: 40em; }
.soon { border: 2px solid var(--gun); padding: 22px 24px; max-width: 40em; background: var(--white); }
.soon h3 { margin-bottom: 8px; }
