@font-face { font-family: "Source Serif 4"; font-weight: 600; font-display: swap; src: url(/assets/fonts/sourceserif4-600.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(/assets/fonts/atkinson-700.woff2) format("woff2"); }
/* Landing page base for an Upwell app. The accent is the app's; everything else is shared.
   System fonts only: no third-party requests, so the CSP and the privacy policy stay simple. */
:root {
  --accent: #2F6FDB;
  --accent-ink: #ffffff;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #17181a;
  --muted: #55595f;
  --line: #e1e2dd;
  --radius: 18px;
  /* the app's own faces, served from this site (fonts/OFL.txt) */
  --display: "Source Serif 4", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.4vw, 3.4rem);
}
@media (prefers-color-scheme: dark) {
  :root { --accent: #6C9DF0; --accent-ink: #0d0e10; --bg: #111214; --surface: #1a1c1f; --ink: #ecedee; --muted: #a2a6ad; --line: #2a2d31; color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--body); }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-head { padding-block: 18px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 var(--step-1)/1 var(--display); }
.brand img { display: block; height: 30px; width: auto; }
.nav { display: flex; gap: 18px; align-items: center; font-size: var(--step--1); }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font: 700 var(--step-0)/1 var(--body); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }
.btn-store { flex: 1 1 220px; flex-direction: column; gap: 4px; min-height: 64px; padding: 10px 18px; text-align: center; line-height: 1.15; }
.btn-store small { font-weight: 500; font-size: var(--step--1); opacity: .85; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; max-width: 34rem; }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(40px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 0 0 18px; font: 600 var(--step-3)/1.06 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.hero .lede { margin: 0 0 28px; max-width: 34rem; font-size: var(--step-1); color: var(--muted); line-height: 1.5; }
.hero .price { margin: 14px 0 0; font-size: var(--step--1); color: var(--muted); }
.shot { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 19.5; max-width: 100%; border-radius: 36px; background: var(--surface); border: 8px solid var(--ink); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: var(--step--1); }
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .shot { width: min(240px, 70vw); } }

/* Show, don't tell: real photos and real app screens */
.tag { display: inline-block; margin-top: 8px; font-size: var(--step--1); font-weight: 650; color: var(--muted); }
figure { margin: 0; }
figcaption { grid-column: 1 / -1; margin-top: 12px; font-size: var(--step--1); color: var(--muted); max-width: 40rem; }
.from-to { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.from-to .from img { border-radius: 14px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); transform: rotate(-2deg); }
.from-to .arrow { width: clamp(44px, 6vw, 72px); height: auto; }
.from-to .shot { width: 100%; border-width: 6px; border-radius: 28px; }
.spokes { display: grid; gap: clamp(28px, 5vw, 56px); }
.spoke { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.spoke:nth-child(even) .spoke-text { order: 2; }
.spoke h3 { margin: 0 0 10px; font: 600 var(--step-2)/1.15 var(--display); text-wrap: balance; }
.spoke p { margin: 0 0 12px; color: var(--muted); }
.spoke .note { font-size: var(--step--1); }
.spoke-plain { grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.spoke-plain .spoke-text { max-width: 40rem; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.phones .shot { flex: 0 1 220px; width: auto; border-width: 6px; border-radius: 28px; }
.detail { position: relative; flex: 0 1 380px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 40px rgb(0 0 0 / .12); background: #fff; }
.phones figcaption { flex-basis: 100%; text-align: center; margin-inline: auto; }
@media (max-width: 760px) {
  .spoke { grid-template-columns: 1fr; }
  .spoke:nth-child(even) .spoke-text { order: 0; }
  .from-to { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .phones .shot { flex-basis: calc(50% - 8px); max-width: 220px; }
}

/* Sections */
section { padding-block: clamp(36px, 6vw, 72px); }
.section-title { margin: 0 0 24px; font: 600 var(--step-2)/1.15 var(--display); text-wrap: balance; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feature h3 { margin: 0; font: 600 var(--step-1)/1.25 var(--display); }
.feature p { margin: 0; color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 46rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.get { text-align: center; background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(56px, 9vw, 104px); }
.get .wrap { display: grid; justify-items: center; }
.get .section-title { font-size: var(--step-3); line-height: 1.05; }
.get p { margin: 0 0 24px; color: var(--muted); max-width: 36rem; }
.get .store-buttons { width: min(100%, 34rem); }

/* Section rhythm: the steps sit on their own band */
.how-band { background: var(--surface); border-block: 1px solid var(--line); }
.how-band .section-title { font-size: var(--step-3); line-height: 1.05; max-width: 22ch; margin-bottom: clamp(32px, 5vw, 56px); }
.how-band .spoke-plain { background: var(--bg); }

/* Documents (privacy, support) */
.doc { padding-block: 24px 64px; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font: 600 var(--step-2)/1.15 var(--display); margin: 8px 0 8px; }
.doc h2 { font: 600 var(--step-1)/1.3 var(--display); margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: var(--step--1); margin: 0 0 24px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: var(--step--1); color: var(--muted); }
.site-foot .wrap { display: grid; gap: 12px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Pencil marks: the one hand-made element, like the marks on a choir copy. Used three times on the page. */
:root { --pencil: #55575c; }
@media (prefers-color-scheme: dark) { :root { --pencil: #b4b7bd; } }
.pencil { fill: none; stroke: var(--pencil); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: url(#pencil); opacity: .9; overflow: visible; }
.detail .ring { position: absolute; inset: 0; width: 100%; height: 100%; stroke: #6a6c70; stroke-width: 4; }
.get .underline { width: min(240px, 60vw); height: auto; margin: -14px 0 20px; }
