/* Privacy, Support and the help guides. Same tokens as the home page, in its cooled-down state. */
:root {
  --ink: #1B4A50;
  --paper: #FFF8EE;
  --cool: #CDEBE0;
  --orange: #F07A2C;
  --orange-edge: #C4561A;
  --line: color-mix(in oklab, var(--ink) 22%, transparent);
  --display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cool); color: var(--ink); font: 500 1.125rem/1.55 var(--text); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 400; font-stretch: 84%; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 500; font-stretch: 90%; line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 500; font-stretch: 94%; line-height: 1.2; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; font: 600 1.4rem/1 var(--display); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }
/* Apple's badge, unaltered; the artwork is the button. */
.appstore { display: inline-block; line-height: 0; border-radius: 9px; transition: opacity .12s; }
.appstore img { display: block; height: auto; }
.appstore:hover { opacity: .82; }

main { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 5rem); }
.doc { max-width: 44rem; }
.back { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; margin-bottom: 1.5rem; }
.back:hover { text-decoration: underline; }
.back svg { width: 18px; height: 18px; }
.lede { font-size: 1.3rem; line-height: 1.45; margin-top: 1rem; max-width: 34em; }
.doc > section { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.doc > section > h2 { margin-bottom: 1rem; }
.note { margin-top: 1rem; opacity: .85; max-width: 36em; }
.note + .note { margin-top: .6rem; }

/* A paper sheet, outlined like the app's stickers. */
.sheet { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); }

/* A walkthrough: one numbered row per step, as in the app. */
.walk { list-style: none; margin: 2rem 0 0; padding: .4rem 1.3rem; counter-reset: step; }
.walk li { counter-increment: step; position: relative; padding: 1.05rem 0 1.05rem 3.1rem; }
.walk li + li { border-top: 2px solid var(--line); }
.walk li::before {
  content: counter(step); position: absolute; left: 0; top: 1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper); font: 600 1.1rem/1 var(--display);
}
.walk .do { font-weight: 600; }
.walk .more { opacity: .85; margin-top: .2rem; }

/* Named things with a line each. */
.items { margin: 0; padding: .4rem 1.3rem; }
.items > div { padding: 1rem 0; }
.items > div + div { border-top: 2px solid var(--line); }
.items dt { font: 500 1.25rem/1.2 var(--display); font-stretch: 94%; }
.items dd { margin: .25rem 0 0; opacity: .9; }
.plain { margin: 0; padding: .4rem 1.3rem; list-style: none; }
.plain li { padding: .85rem 0; }
.plain li + li { border-top: 2px solid var(--line); }

/* The session's four buttons. */
.controls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; text-align: center; font-weight: 600; font-size: .98rem; line-height: 1.25; }
.controls i { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0 auto .55rem; border-radius: 50%; background: var(--orange); border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.controls svg { width: 1.5rem; height: 1.5rem; fill: #fff; }

/* Real screens from the app. */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.shots img, .with-shot img { width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 0 5px 0 var(--ink); }
.with-shot { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }

.outfits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.outfits figure { margin: 0; text-align: center; font-size: .98rem; line-height: 1.3; }
.outfits img { width: 100%; height: auto; margin-bottom: .4rem; }
.outfits strong { display: block; font: 500 1.15rem/1.2 var(--display); }

/* Rows that open another page, or dial a number. */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.rows a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem 1.2rem; font-weight: 600; text-decoration: none;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 4px 0 var(--ink);
  transition: transform .1s, box-shadow .1s;
}
.rows a:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.rows a span small { display: block; font-weight: 500; font-size: .95rem; opacity: .8; }
.rows svg { flex: none; width: 18px; height: 18px; opacity: .6; }

/* Support: the page head with Huff beside it. */
.hub-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 230px); gap: 2rem; align-items: center; max-width: 52rem; }
.hub-head img { width: 100%; height: auto; }
.hub { max-width: 52rem; }
.hub > section { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.hub > section > h2 { margin-bottom: 1rem; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: .8rem; }
.mail { font: 500 clamp(1.4rem, 3.4vw, 1.9rem)/1.2 var(--display); font-stretch: 92%; display: inline-block; margin-top: .5rem; }

/* Long reading: the privacy policy. */
.prose { max-width: 42rem; }
.prose h2 { margin: 2.75rem 0 .8rem; }
.prose h3 { margin: 1.9rem 0 .5rem; }
.prose p { margin-top: .9rem; }
.prose ul { margin: .9rem 0 0; padding-left: 1.25rem; }
.prose li { margin-top: .5rem; }
.prose li::marker { color: var(--ink); }
.prose .updated { opacity: .8; margin-top: .75rem; }
.prose .summary { margin-top: 2rem; padding: 1.3rem 1.5rem 1.5rem; }
.prose .summary h2 { margin-top: 0; }

footer { padding: 2.5rem 0 3.5rem; font-size: .95rem; border-top: 2px solid var(--line); }
footer .links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1rem; font-weight: 600; }
footer p { max-width: 60em; opacity: .85; }
footer p + p { margin-top: .6rem; }

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .hub-head { grid-template-columns: 1fr; }
  .hub-head img { display: none; }
  .controls, .outfits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  .with-shot { grid-template-columns: 1fr; }
  .with-shot img { max-width: 200px; }
  .walk, .items, .plain { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .appstore, .rows a { transition: none; } .rows a:hover { transform: none; } }
