/* hellonoodlez.com: one quiet, editorial system shared by every page.
   Handwriting (Gaegu, SIL OFL) for brand moments and headings only;
   the system font for everything people read. */
@font-face { font-family: "Gaegu"; src: url("/assets/gaegu.woff") format("woff"); font-display: swap; }

:root {
  --paper: #F7F3EC; --paper-2: #EFE9DF; --ink: #2A2623; --muted: #6E665E; --faint: #9A9187;
  --rule: #E2DACE; --link: #2A2623; --accent: #C9A15A;
  --hand: "Gaegu", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #171513; --paper-2: #211E1B; --ink: #F1ECE4; --muted: #B3AA9F; --faint: #8A8178; --rule: #34302B; --link: #F1ECE4; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0.02em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand span { font-family: var(--hand); font-size: 28px; line-height: 1; letter-spacing: 0.04em; }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
@media (max-width: 560px) { .site-nav .optional { display: none; } }

/* Type scale */
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
.display { font-family: var(--hand); font-weight: 400; font-size: clamp(48px, 8vw, 96px); line-height: 0.95; letter-spacing: 0.01em; margin: 0 0 22px; }
.title { font-family: var(--hand); font-weight: 400; font-size: clamp(38px, 5vw, 60px); line-height: 1; margin: 0 0 18px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 32em; margin: 0 0 28px; }
.body { color: var(--muted); max-width: 34em; }
.small { font-size: 14px; color: var(--faint); }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip > :first-child { order: 0; } }
.band { background: var(--paper-2); }

/* Hero */
.hero { padding: 56px 0 88px; }
.hero .split { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 860px) { .hero .split { grid-template-columns: 1fr; } .hero-art { width: 100%; margin: 0 auto; } }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .photo { position: absolute; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(40, 30, 20, 0.14); }
.hero-art .photo.a { width: 58%; left: 0; top: 4%; }
.hero-art .photo.b { width: 44%; right: 2%; top: 30%; }
.hero-art .strips { position: absolute; left: 22%; bottom: 0; width: 46%; filter: drop-shadow(0 16px 26px rgba(40, 30, 20, 0.18)); }
@media (max-width: 860px) { .hero-art { max-width: 520px; } }

/* Pills and actions */
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: 16px; text-decoration: none; }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.quiet { color: var(--ink); border: 1px solid var(--rule); }
.pill.status { color: var(--muted); border: 1px dashed var(--rule); cursor: default; }

/* Phones (real screenshots only) */
.phone { width: min(320px, 78vw); margin: 0 auto; border-radius: 44px; padding: 10px; background: #111; box-shadow: 0 30px 60px rgba(30, 20, 10, 0.18); }
.phone img { border-radius: 34px; }

/* Photo grid */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
@media (max-width: 560px) { .mosaic { grid-template-columns: repeat(2, 1fr); } .mosaic :nth-child(3) { display: none; } }

/* Fresh Cut */
.fresh-head { text-align: center; max-width: 40em; margin: 0 auto 48px; }
.fresh-head .lede { margin-left: auto; margin-right: auto; }
.product-wide img { width: 100%; border-radius: 4px; }
.specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.specs li::before { content: "·"; margin-right: 10px; color: var(--faint); }
.specs li:first-child::before { content: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 72px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--hand); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 8px; }
.steps h3 { font-family: var(--hand); font-weight: 400; font-size: 30px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }
.figure-note { font-size: 13px; color: var(--faint); margin-top: 10px; text-align: center; }

/* Private */
.quiet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.quiet-list li { padding-left: 22px; position: relative; color: var(--muted); }
.quiet-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Closing */
.closing { text-align: center; }
.closing .display { margin-bottom: 26px; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 36px 0 52px; font-size: 15px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* Documents (Terms, Privacy, Support, Credits) */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.doc h1 { font-family: var(--hand); font-weight: 400; font-size: clamp(44px, 7vw, 64px); line-height: 1; margin: 8px 0 10px; }
.doc .meta { color: var(--faint); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; line-height: 1.3; margin: 44px 0 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0 18px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
.doc th { font-weight: 600; }
@media (max-width: 560px) { .doc table { font-size: 14px; } }
@media (max-width: 560px) { .specs { flex-direction: column; align-items: center; gap: 6px; } .specs li::before { content: none; } }
section[id] { scroll-margin-top: 60px; }

/* App screens (real screenshots from a demo account) */
.shot { display: block; width: min(300px, 82vw); margin: 0 auto; }
.shot img { width: 100%; height: auto; border-radius: 36px; box-shadow: 0 0 0 1px rgba(40, 30, 20, 0.08), 0 28px 56px rgba(40, 30, 20, 0.16); }
.story-intro { padding-bottom: 0; text-align: center; }
.story-intro .lede { margin-left: auto; margin-right: auto; }
.chapter .split { grid-template-columns: 1fr 1.1fr; }
.chapter h3.title { font-size: clamp(34px, 4.4vw, 52px); }
@media (max-width: 860px) { .chapter .split { grid-template-columns: 1fr; } .chapter .split > div:not(.shot) { text-align: center; } .chapter .body { margin: 0 auto; } }
.pair { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 56px 0 0; }
.pair figure { margin: 0; text-align: center; }
.pair .shot { width: min(280px, 82vw); }
.pair figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; }
.how { text-align: center; margin: 18px 0 0; font-size: 15px; }
.how a { color: var(--muted); }
.how a:hover { color: var(--ink); }
.chapter .small { margin-top: 14px; }
