/* Veranio: grape, mango and cream from the app, Baloo 2 for display and Inter for reading. */
@font-face { font-family: "Baloo 2"; src: url("/assets/fonts/baloo2-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --grape: #6A24C2;
  --grape-deep: #4A1A8A;
  --mango: #FFB030;
  --cream: #FFF3DC;
  --ink: #2A1230;
  --page: #FDF8ED;
  --muted: #7A6B8F;
  --rule: #EBE2CF;
  --display: "Baloo 2", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 2rem);
  --column: 44rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--mango); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Home: the logo on grape, nothing else. */
.home { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--grape); color: var(--cream); }
.home-logo { display: block; width: clamp(11rem, 42vmin, 20rem); height: auto; margin: 0; }
.home-links { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem var(--gutter); text-align: center; font-size: 0.875rem; }
.home-links a { display: inline-block; padding: 0.5rem 0.75rem; color: var(--cream); opacity: 0.8; text-decoration: none; }
.home-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* The sun comes up behind the V once, on load. */
.sun-rise { animation: sun-rise 1.2s cubic-bezier(0.16, 0.84, 0.3, 1) 0.15s both; }
@keyframes sun-rise { from { transform: translate(46px, 64px); } to { transform: none; } }

/* Privacy: a grape masthead with the sun on its horizon, then the text on the app's cream page. */
.page { background: var(--page); color: var(--ink); }
.masthead { --sun: clamp(8rem, 24vw, 16rem); position: relative; overflow: hidden; background: var(--grape); color: var(--cream); padding: 1.25rem var(--gutter) calc(var(--sun) / 2 + 1.5rem); }
.masthead-inner { position: relative; z-index: 1; max-width: var(--column); margin: 0 auto; }
.masthead-sun { position: absolute; right: max(-2.5rem, calc(50% - var(--column) / 2 - 7rem)); bottom: 0; width: var(--sun); aspect-ratio: 1; border-radius: 50%; background: var(--mango); transform: translateY(50%); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1; text-decoration: none; }
.brand svg { display: block; width: 2.5rem; height: 2.5rem; }
.brand span { padding-top: 0.2em; }
.eyebrow { margin: clamp(2.75rem, 8vw, 4.5rem) 0 0.5rem; font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mango); }
.masthead h1 { margin: 0 0 0.75rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 9vw, 4.5rem); line-height: 1; letter-spacing: -0.01em; }
.updated { margin: 0; font-size: 1rem; }

.policy { max-width: calc(var(--column) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) clamp(3rem, 7vw, 4.5rem); font-size: 1.0625rem; line-height: 1.65; }
.policy h2 { margin: 2.75rem 0 0.75rem; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.15; }
.policy p { margin: 0 0 1.1rem; }
.policy ul, .policy ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
.policy li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.policy li::marker { color: var(--grape); }
.policy ol li::marker { font-weight: 600; }
.policy strong { font-weight: 600; }
.policy .lede { font-size: 1.1875rem; line-height: 1.6; }
.page a { color: var(--grape); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.page a:hover { color: var(--grape-deep); }
.masthead a.brand { color: var(--cream); }

.site-footer { max-width: calc(var(--column) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 3rem; color: var(--muted); font-size: 0.9375rem; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.site-footer p { margin: 0; }

/* Beta: the privacy masthead with a call to action, then the TestFlight steps beside phone screenshots. */
.masthead-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lang-switch { display: inline-flex; padding: 0.25rem; border-radius: 999px; background: rgba(255, 243, 220, 0.14); }
.lang-switch button { min-width: 2.75rem; min-height: 2.25rem; padding: 0 0.75rem; border: 0; border-radius: 999px; background: none; color: var(--cream); font: 600 0.875rem/1 var(--body); letter-spacing: 0.04em; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--cream); color: var(--grape); }
.lang-switch button:not([aria-pressed="true"]):hover { background: rgba(255, 243, 220, 0.2); }
.masthead-lede { max-width: 32rem; margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.masthead-actions { margin: 1.75rem 0 0; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.75rem 1.5rem; border-radius: 999px; background: var(--mango); color: var(--ink); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; }
.page a.button { color: var(--ink); text-decoration: none; }
.page a.button:hover { color: var(--ink); background: #FFC260; }

.beta-page { --column: 60rem; }
.beta { max-width: calc(var(--column) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) clamp(3rem, 7vw, 4.5rem); font-size: 1.0625rem; line-height: 1.6; }
.beta h2 { margin: 0 0 1.25rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.875rem, 5vw, 2.5rem); line-height: 1.1; }
.beta strong { font-weight: 600; }
.beta-intro { margin-bottom: clamp(3rem, 8vw, 5rem); }
.checklist { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--mango); }

.steps { margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) clamp(13rem, 26vw, 16rem); gap: 2rem clamp(2rem, 8vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 3rem) 0; border-top: 1px solid var(--rule); }
.step:first-child { border-top: 0; padding-top: 0.5rem; }
.step-number { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 50%; background: var(--grape); color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1; padding-top: 0.15em; }
.step h3 { margin: 0 0 0.5rem; font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1.15; }
.step p { max-width: 26rem; margin: 0; }
.step-shot { display: block; width: 100%; height: auto; border-radius: 1.5rem; border: 1px solid var(--rule); background: #fff; box-shadow: 0 1.25rem 2.5rem -1.5rem rgba(74, 26, 138, 0.35); }

.help { margin-top: clamp(2rem, 5vw, 3rem); padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 1.5rem; background: var(--cream); }
.help h2 { margin-bottom: 0.5rem; font-size: 1.75rem; }
.help p { margin: 0; }

@media (max-width: 40rem) {
  .step { grid-template-columns: 1fr; }
  .step-shot { width: min(16rem, 80%); }
}

@media (prefers-reduced-motion: reduce) { .sun-rise { animation: none; } }
@media print {
  .masthead { background: none; color: #000; padding-bottom: 0; }
  .masthead-sun { display: none; }
  .masthead a.brand, .eyebrow { color: #000; }
  .page { background: none; }
}
