/* cue.photo
 *
 * One scheme file supplies every colour: `schemes/<name>.css`, linked before
 * this sheet by the layout, the name coming from `_data/site.json`. Type is
 * Atkinson Hyperlegible Next, self-hosted, with the system stack behind it.
 * Layout is a single 1120px measure that collapses to one column under 860px;
 * nothing here needs JavaScript. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 1120px;
  --gutter: 20px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper-bg); color: var(--paper-ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper-bg); }
.band :focus-visible { outline-color: var(--band-ink); box-shadow: 0 0 0 6px var(--band-bg); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--surface); color: var(--paper-ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { left: var(--gutter); }
main:focus { outline: none; }
img, svg { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 24px; }

.wrap { width: min(var(--measure), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---- bands and paper -------------------------------------------------- */
.band { background: var(--band-bg); color: var(--band-ink); }
.paper { background: var(--paper-bg); color: var(--paper-ink); }
.surface { background: var(--surface); color: var(--paper-ink); }
.section { padding-block: 80px; }
.section > .wrap { display: flex; flex-direction: column; gap: 36px; }
@media (max-width: 860px) { .section { padding-block: 56px; } .section > .wrap { gap: 28px; } }

.h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; max-width: 26ch; }
.lead { font-size: 18px; max-width: 60ch; }
.soft { color: var(--paper-soft); }
.band .soft { color: var(--band-soft); }
.small { font-size: 13px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- buttons ---------------------------------------------------------- */
.btn, .ghost, .submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn.lg, .ghost.lg, .submit.lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.band .btn, .band .submit { background: var(--btn-band-bg); color: var(--btn-band-ink); border: 0; }
.paper .btn, .surface .btn, .paper .submit, .surface .submit { background: var(--btn-paper-bg); color: var(--btn-paper-ink); border: 0; }
.band .ghost { border: 1.5px solid var(--ghost-band); color: var(--ghost-band); font-weight: 600; }
.paper .ghost, .surface .ghost { border: 1.5px solid var(--ghost-paper); color: var(--ghost-paper); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- the mark --------------------------------------------------------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup .word { font-weight: 800; font-size: 26px; letter-spacing: -0.035em; line-height: 1; }
.mark { width: 28px; height: 28px; flex-shrink: 0; }
/* The brackets take the text colour; the dot is always coral, as it is on the
 * favicon, the app icons, the enrollment screens and the mail. */
.mark path { stroke: currentColor; }
.mark circle { fill: var(--coral); }

/* ---- nav -------------------------------------------------------------- */
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 12px; }
.nav .brand { display: flex; align-items: center; gap: 20px; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.nav-account { display: flex; align-items: center; gap: 14px; order: 3; }
.nav-account .login { text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px; }
@media (max-width: 860px) {
  .nav { min-height: 0; gap: 12px 16px; }
  .nav-account { order: 0; }
  .nav > nav { width: 100%; }
  .nav-links { gap: 18px; overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 480px) {
  /* The status line says "Private beta" two screens down; on a phone the pill
   * costs the row that keeps the account controls beside the mark. */
  .nav .pill { display: none; }
  .nav-account { gap: 10px; }
  .nav-account .btn { padding: 0 14px; }
}

/* ---- hero ------------------------------------------------------------- */
/* The headline's size follows the width of the column it sits in, not the
 * viewport: a viewport-based size grows across the one-column to two-column
 * pivot at the same moment the column loses width, which is how a line count
 * goes up as the window gets wider. `cqi` is the hero's own inline size. */
.hero { container-type: inline-size; padding-block: 48px 88px; display: grid; grid-template-columns: minmax(0, 580px) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(34px, 9.2cqi, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; max-width: 21ch; }
.hero .lead { max-width: 50ch; }
.proof { border-top: 1px solid var(--band-rule); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; max-width: 46ch; }
.proof b { font-size: 15px; }
.hero-art { position: relative; min-height: 520px; }
.hero-art .shot-computer { position: absolute; left: 0; top: 24px; width: min(520px, 100%); }
.hero-art .shot-phone { position: absolute; right: 0; bottom: 0; width: 178px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 24px 56px; gap: 40px; }
  .hero-art { min-height: 0; display: flex; flex-direction: column; gap: 20px; align-items: center; }
  .hero-art .shot-computer, .hero-art .shot-phone { position: static; width: 100%; }
  .hero-art .shot-phone { width: 200px; }
}

/* ---- screenshot placeholders ----------------------------------------- */
/* A `.shot` is the device the screenshot will show. Drop an <img> inside
 * `.shot-body` and remove the label when the real one exists. */
.shot { position: relative; background: var(--surface); color: var(--paper-soft); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08); }
.shot-computer { border: 1px solid var(--paper-rule); border-radius: 12px; aspect-ratio: 520 / 372; }
.shot-computer .chrome { height: 34px; border-bottom: 1px solid var(--paper-rule); display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.shot-computer .chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper-rule); }
.shot-phone { border: 6px solid var(--bezel); border-radius: 26px; aspect-ratio: 178 / 372; }
.shot-phone .chrome { height: 26px; display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.shot-phone .chrome i { width: 60px; height: 8px; border-radius: 4px; background: var(--bezel); }
.shot-body { flex-grow: 1; margin: 12px; border: 1.5px dashed var(--paper-rule); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 13px; line-height: 1.4; }
.hero-art .shot-computer .shot-body { margin-right: 190px; }
@media (max-width: 860px) { .hero-art .shot-computer .shot-body { margin-right: 12px; } }
.shot-body img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

/* ---- status line ------------------------------------------------------ */
.status { border-bottom: 1px solid var(--paper-rule); }
.status .wrap { margin-block: 0; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.status dt { font-size: 15px; font-weight: 700; }
.status dd { margin: 0; font-size: 13px; color: var(--paper-soft); }
@media (max-width: 860px) { .status .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- two-column blocks: privacy, pricing ------------------------------ */
.split { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.row h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.row p { font-size: 15.5px; color: var(--paper-soft); max-width: 52ch; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 8px; } }

/* ---- how it works ----------------------------------------------------- */
.step { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--hairline); }
.step-copy { display: flex; flex-direction: column; gap: 12px; }
.step-copy h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; max-width: 24ch; display: flex; flex-direction: column; gap: 10px; }
.step-copy .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); letter-spacing: 0; }
.step-copy p { font-size: 16px; color: var(--paper-soft); max-width: 50ch; }
.step-art { display: flex; justify-content: center; }
.step-art .shot-phone { width: 176px; }
.step-art .shot-computer { width: 100%; max-width: 440px; }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; } }

/* ---- who makes it ----------------------------------------------------- */
.about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.about-photo { aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--paper-rule); background: var(--paper-bg); display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; font-size: 13px; color: var(--paper-soft); }
.about-copy { display: flex; flex-direction: column; gap: 10px; }
.about-copy .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); }
.about-copy .about-title { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--paper-ink); }
.about-copy p { font-size: 16px; color: var(--paper-soft); max-width: 52ch; }
.about-copy .about-mail { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 220px; } }

/* ---- pricing ---------------------------------------------------------- */
.pricing .split { grid-template-columns: minmax(0, 1fr) 440px; }
.box { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--paper-rule); }
.box .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); }
.box ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.45; }
.box .btn { align-self: flex-start; }
@media (max-width: 860px) { .pricing .split { grid-template-columns: 1fr; } }

/* ---- faq -------------------------------------------------------------- */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--hairline); }
.faq-item h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.faq-item p { font-size: 15.5px; color: var(--paper-soft); max-width: 60ch; }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } }

/* ---- the closing call ------------------------------------------------- */
.request { padding-block: 72px; }
.request .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px 40px; flex-wrap: wrap; }
.request-copy { display: flex; flex-direction: column; gap: 10px; max-width: 46ch; }
.request-copy .h2 { font-size: clamp(30px, 3.4vw, 40px); }
.request form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; position: relative; }
.request .field { display: flex; flex-direction: column; gap: 6px; }
.request label { font-size: 14px; font-weight: 700; }
.request input { min-height: 48px; width: 280px; max-width: 100%; padding: 0 14px; border-radius: var(--radius); border: 0; background: var(--surface); color: #171b1d; font: inherit; font-size: 16px; }
.request input::placeholder { color: #6b7280; }
.request .trap { position: absolute; left: -9999px; top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .request form, .request .field, .request input, .request .submit { width: 100%; } }

/* ---- footer ----------------------------------------------------------- */
.footer { padding-block: 0 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 40px; padding-top: 32px; border-top: 1px solid var(--band-rule); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-head { font-size: 13px; font-weight: 700; margin: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-col li { font-size: 14px; color: var(--band-soft); }
.footer-col a { color: var(--band-soft); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 24px; }
.footer-col a:hover { color: var(--band-ink); }
.lockup-small .word { font-size: 22px; }
.footer-blurb { font-size: 13px; color: var(--band-soft); max-width: 34ch; line-height: 1.5; }
.footer-legal { font-size: 12px; color: var(--band-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- legal pages ------------------------------------------------------ */
.prose { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 56px 88px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.prose h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-top: 18px; }
.prose h3 { font-size: 18px; font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .meta { font-size: 14px; color: var(--paper-soft); }
.prose address { font-style: normal; line-height: 1.6; }
.prose .draft { padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--paper-rule); font-size: 14px; color: var(--paper-soft); }
