/* Remember Sticker. A navy ground with white panels, like a ticket coupon. Our words are set in Barlow,
   with labels in Barlow Condensed capitals; whatever a person types is set in Source Serif, so their words look like theirs. */

@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("/static/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("/static/fonts/caveat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/static/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face {
  font-family: "Source Serif 4"; font-weight: 400; font-display: swap;
  src: url("/static/fonts/source-serif-4-latin-400-normal.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: "Source Serif 4"; font-weight: 400; font-display: swap;
  src: url("/static/fonts/source-serif-4-latin-ext-400-normal.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 {
  --navy: #1B2F5B;
  --ink: #14213D;
  --paper: #FFFFFF;
  --rule: #C9D1E0;
  --rule-soft: #E1E5EC;
  --muted: #4A5570;
  --tint: #F1F4F9;
  --ok: #1E7A44;
  --busy: #5A6680;
  --bad: #B3261E;
  --done-bg: #EEF7F1;
  --done-edge: #B9DEC8;
  --done-ink: #14663C;
  --focus: #2563EB;
  --ui: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --label: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --user: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 6px;
  font-family: var(--ui);
  font-weight: 500;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { background: var(--navy); }
body { margin: 0; background: var(--navy); line-height: 1.5; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: #C7D6F5; color: var(--ink); }
:focus-visible { outline: 2px solid transparent; box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--focus); border-radius: 4px; }
[hidden] { display: none !important; }

.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 40rem; margin: 0 auto; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.125rem 0.85rem; color: var(--paper); }
.brand {
  font-family: var(--label); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); display: inline-flex; align-items: center; gap: 0.5rem;
}
.brand-mark { flex: none; }
.bar a:not(.brand) { color: var(--paper); }
.bar[hidden] + .sheet { padding-top: 0.75rem; }

/* ---- Panels ---- */

.panel { background: var(--paper); border-radius: var(--radius); margin: 0 0.75rem; }
.page { background: var(--paper); border-radius: var(--radius); margin: 0 0.75rem 1.5rem; padding: 1.25rem 1.125rem 1.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }

.label {
  font-family: var(--label); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---- The sticker page ---- */

.sheet { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.875rem; }

.coupon { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 18rem; overflow: hidden; }
.coupon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--rule); color: var(--navy); }
.head-right { display: flex; align-items: center; gap: 0.25rem; }
/* The pencil keeps its full touch target without making the title row taller. */
.edit-button { margin: -0.6rem -0.625rem -0.6rem 0; color: var(--navy); }
.save-status { color: var(--ok); }
.save-status.busy { color: var(--busy); }
.save-status.bad { color: var(--bad); }
.save-status.quiet { color: var(--muted); }

.note-area { flex: 1 1 auto; display: flex; position: relative; }
/* Taps go through to the note underneath, except on the Terms link. */
.note-hint {
  position: absolute; top: 0; left: 0; right: 0; padding: 1rem 1rem 0; pointer-events: none;
  color: #6B7489; font-size: 1.125rem; line-height: 1.45;
}
.note-hint p { margin: 0 0 0.5rem; }
.note-hint a { color: inherit; pointer-events: auto; }
.note-hint[hidden] { display: none; }

.note {
  flex: 1 1 auto; display: block; width: 100%; min-height: 10rem; resize: none; border: 0; margin: 0;
  padding: 1rem 1rem 1.25rem; background: transparent; color: var(--ink); caret-color: var(--ink);
  font-family: var(--user); font-size: 1.3125rem; line-height: 1.55;
}
.note:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); border-radius: 0; }
.note::placeholder { color: #6B7489; }
.note-readonly { white-space: pre-wrap; overflow-wrap: anywhere; }
.note-readonly:empty::before { content: "This sticker has no note yet."; color: var(--muted); font-family: var(--ui); font-size: 1.0625rem; }

.locked-explain { margin: 0; padding: 0.6rem 1rem 0.75rem; border-top: 1px solid var(--rule-soft); color: var(--muted); font-size: 0.9375rem; }
.save-problem { margin: 0; padding: 0.6rem 1rem 0.75rem; border-top: 1.5px dashed #E3A29D; color: var(--bad); font-size: 0.9375rem; }
.save-problem p { margin: 0 0 0.375rem; }
.save-problem p:last-child { margin: 0; }

/* ---- The button and its history ---- */

.log { padding: 0.75rem 0.875rem 0.25rem; }
.press {
  display: block; width: 100%; min-height: 3.25rem; padding: 0 1rem; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--navy); color: var(--paper); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.35);
  font-family: var(--label); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.press:active { box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.35); transform: translateY(2px); }
.press:disabled { opacity: 0.6; cursor: default; }

.recorded { margin-top: 0.625rem; padding: 0.625rem 0.75rem 0.75rem; background: var(--done-bg); border: 1px solid var(--done-edge); border-radius: var(--radius); }
.recorded-top { padding: 0 0 0.5rem; border: 0; align-items: center; }
.recorded-top .recorded-head { margin: 0; }
.recorded-head { margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.375rem; color: var(--done-ink); font-weight: 700; }
.recorded-head.bad { color: var(--bad); }
.recorded label { display: block; font-size: 0.9375rem; margin-bottom: 0.25rem; }
.row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.row > input { flex: 1 1 10rem; min-width: 0; }
.entry-msg { margin: 0.375rem 0 0; font-size: 0.9375rem; color: var(--muted); }

.presses { list-style: none; margin: 0.625rem -0.875rem 0; padding: 0; }
.presses li { position: relative; overflow: hidden; border-top: 1px solid var(--rule-soft); }
.press-row {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: baseline; width: 100%;
  padding: 0.55rem 0.875rem; background: var(--paper); border: 0; text-align: left; color: var(--ink); font: inherit;
  position: relative; z-index: 1; touch-action: pan-y; transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
button.press-row { cursor: pointer; }
.press-row .ago { font-weight: 700; }
.press-row .when { justify-self: end; color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.press-row .press-note { grid-column: 1 / -1; font-family: var(--user); font-size: 1.0625rem; overflow-wrap: anywhere; }
.presses li.open .press-row { transform: translateX(-5rem); background: var(--tint); }
.presses li.dragging .press-row { transition: none; }
.trash {
  position: absolute; top: 0; right: 0; bottom: 0; width: 5rem; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--bad); color: var(--paper);
}
.all-link { display: flex; justify-content: center; align-items: center; min-height: 2.75rem; margin: 0 -0.875rem; border-top: 1px solid var(--rule-soft); font-weight: 700; color: var(--navy); }
.log-empty { margin: 0.625rem 0 0.5rem; color: var(--muted); }

/* ---- History, settings and feedback: pages that open from the note ---- */

.back { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.75rem; margin: 0 1.125rem; color: var(--paper); }
.page-title { margin: 0 1.125rem 0.75rem; color: var(--paper); font-family: var(--label); font-weight: 700; font-size: 1.75rem; line-height: 1.15; letter-spacing: 0.02em; }
.history { padding: 0 0.875rem; overflow: hidden; }
.history .presses { margin-top: 0; }
.history .presses li:first-child { border-top: 0; }
.history-hint { margin: 0; padding: 0.625rem 0 0.75rem; border-top: 1px solid var(--rule-soft); color: var(--muted); font-size: 0.9375rem; }

/* ---- Footer ---- */

.foot { display: flex; align-items: center; gap: 1.25rem; padding: 0.5rem 0.5rem 0.75rem 1.125rem; margin-top: 0.5rem; font-size: 0.9375rem; color: var(--paper); }
.foot a, .foot .link-button { color: var(--paper); text-decoration: underline; min-height: 2.75rem; display: inline-flex; align-items: center; }
.icon-button { background: none; border: 0; color: inherit; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 8px; }
.foot .icon-button { margin-left: auto; justify-content: center; color: var(--paper); }
.ad { display: block; margin: 0 auto; max-width: 20rem; padding: 0 0.75rem; }
.ad img { display: block; width: 100%; height: auto; border-radius: 4px; }

/* ---- Controls ---- */

.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
input[type="text"], input[type="email"], textarea.field {
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--paper);
  border: 1px solid #9AA6BC; border-radius: 4px; padding: 0 0.75rem; min-height: 2.75rem; width: 100%;
}
.recorded input[type="text"] { font-family: var(--user); font-size: 1.125rem; }
textarea.field { min-height: 8rem; padding: 0.625rem 0.75rem; resize: vertical; }
.button {
  min-height: 2.75rem; padding: 0 1rem; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--navy); color: var(--paper); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.35);
  font-family: var(--label); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.button.secondary { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.button.danger { background: var(--paper); color: var(--bad); box-shadow: inset 0 0 0 2px var(--bad); }
.button:disabled { opacity: 0.6; cursor: default; }
.stack > * + * { margin-top: 0.75rem; }

/* ---- Settings and feedback pages ---- */

/* Each group of settings is a panel with a title row like the note's. */
.settings-group .coupon-head h2 { margin: 0; color: var(--navy); }
.setting-body { padding: 0.25rem 1rem 1rem; }
.setting-body > * + * { margin-top: 0.75rem; }
.setting-body p { margin: 0; }
.setting-body p:empty { display: none; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; cursor: pointer; }
.setting-row.disabled { cursor: default; }
.setting-text { display: flex; flex-direction: column; gap: 0.125rem; }
.setting-name { font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
.setting-row.disabled .setting-name { color: var(--muted); }
.setting-help { font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.setting-explain { padding: 0.75rem 0.875rem; background: var(--tint); border-radius: 4px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); }
.setting-links { display: flex; gap: 1.5rem; align-items: center; }
.setting-links a, .setting-links .link-button { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--navy); }
.field-group label { display: block; margin-bottom: 0.25rem; font-size: 0.9375rem; color: var(--muted); }
.field-group[hidden] { display: none; }

.toggle {
  appearance: none; flex: none; position: relative; width: 3.25rem; height: 2rem; margin: 0; border-radius: 1rem;
  background: #6B7489; cursor: pointer; transition: background 150ms ease-out;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: calc(2rem - 6px); height: calc(2rem - 6px); border-radius: 50%;
  background: var(--paper); box-shadow: 0 1px 3px rgb(0 0 0 / 0.3); transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.toggle:checked { background: var(--navy); }
.toggle:checked::after { transform: translateX(1.25rem); }
.toggle:disabled { background: var(--rule-soft); cursor: default; }
.toggle:disabled::after { box-shadow: none; }
.toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.child { padding: 1rem 1.125rem 1.25rem; }
.child p { margin: 0; }
.child p:empty { display: none; }
.child .stack > * + * { margin-top: 0.75rem; }

/* ---- Home page ---- */

.landing { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 72rem; margin: 0 auto; color: var(--paper); }
.landing main { flex: 1 1 auto; }

.hero { padding: 0.25rem 1.125rem 2.5rem; }
.hero-title {
  margin: 0.5rem 0 1.25rem; font-family: var(--label); font-weight: 700; font-size: clamp(2.6rem, 11.5vw, 4.75rem);
  line-height: 1; letter-spacing: 0.005em; text-wrap: balance;
}

/* The drawn house. Positions are percentages of the drawing's 360 x 400 box: each sticker sits on its thing,
   and each label sits in empty space in the same room. Sizes in cqw scale with the drawing. */
.house { position: relative; margin: 0 -0.25rem; container-type: inline-size; }
.house-drawing { display: block; width: 100%; height: auto; color: var(--paper); }
.spot {
  position: absolute; width: 6.1cqw; height: 6.1cqw; padding: 0; margin: 0; border: 0; border-radius: 3px;
  background: none; cursor: pointer; transform: translate(-50%, -50%);
}
/* A finger-sized target around the small sticker. */
.spot::before { content: ""; position: absolute; inset: -0.75rem; }
.spot-sticker { display: block; width: 100%; height: 100%; }
.sticker-paper { fill: var(--paper); }
.sticker-code { fill: var(--ink); }
/* Unselected stickers are drawn inverted, so the selected one stands out as the only white sticker. */
.spot[aria-pressed="false"] .sticker-paper { fill: var(--navy); }
.spot[aria-pressed="false"] .sticker-code { fill: var(--paper); }
.spot:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; box-shadow: 0 0 0 9px var(--focus); }
/* house.svg sets where the stickers and labels go: landing.js puts the drawing into the page, places each
   sticker over its dashed square, and hides the squares. */
.house-drawing text { font-family: var(--ui); cursor: pointer; }

/* The hint is handwritten under the headline, with a hand-drawn arrow to the house: down on narrow
   screens, where the house is below it, and to the right on wide ones. */
.demo-hint {
  position: relative; max-width: 15rem; margin: -0.5rem 0 0.25rem 0.25rem; rotate: -2deg;
  font-family: "Caveat", cursive; font-weight: 600; font-size: 1.625rem; line-height: 1.1; color: var(--paper);
}
.demo-hint span { display: block; text-wrap: balance; }
.hint-arrow { display: block; fill: none; stroke: var(--paper); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hint-arrow-down { width: 3.25rem; margin: 0.25rem 0 0 2.5rem; }
.hint-arrow-right { display: none; }

/* Until the visitor taps a sticker in the house, the other stickers wiggle one at a time.
   landing.js adds .tapped to the hero on the first tap, which stops them. */
@media (prefers-reduced-motion: no-preference) {
  .hero:not(.tapped) .spot[aria-pressed="false"] { animation: sticker-wiggle 7.5s ease-in-out infinite; }
  .hero:not(.tapped) .spot-spreader[aria-pressed="false"] { animation-delay: 2.5s; }
  .hero:not(.tapped) .spot-timer[aria-pressed="false"] { animation-delay: 5s; }
}
/* The wiggle takes the first tenth of the cycle, so the three stickers wiggle 2.5 seconds apart.
   It uses `rotate`, which applies on top of the `transform` that centers each sticker on its spot. */
@keyframes sticker-wiggle {
  0%, 10%, 100% { rotate: 0deg; }
  2% { rotate: -14deg; }
  4% { rotate: 12deg; }
  6% { rotate: -8deg; }
  8% { rotate: 4deg; }
}

/* A phone showing the sticker page as it really looks, at a phone's proportions. */
.phone {
  position: relative; width: min(17.5rem, 78vw); aspect-ratio: 9 / 19.5; margin: 0 auto; padding: 0.5rem;
  border-radius: 2.75rem; background: #0B1328; box-shadow: inset 0 0 0 1.5px #4A5A80, 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.55);
}
/* The side buttons: two for volume on the left, the power button on the right. */
.phone::before {
  content: ""; position: absolute; left: -3px; top: 22%; width: 3px; height: 8%; border-radius: 2px 0 0 2px;
  background: #4A5A80; box-shadow: 0 3.25rem 0 #4A5A80;
}
.phone::after { content: ""; position: absolute; right: -3px; top: 27%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #4A5A80; }
.phone-screen {
  position: relative; display: flex; flex-direction: column; gap: 0.625rem; height: 100%; padding: 0 0.625rem 1.5rem;
  overflow: hidden; border-radius: 2.25rem; background: var(--navy);
}
.phone-status { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; height: 2.375rem; padding: 0 0.875rem; font-size: 0.8125rem; font-weight: 700; }
.phone-island { width: 5.25rem; height: 1.5rem; border-radius: 1rem; background: #000; }
.phone-icons { width: 2.75rem; height: 0.75rem; }
.phone-bar { flex: none; display: flex; align-items: center; gap: 0.375rem; padding: 0 0.25rem; font-family: var(--label); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.phone-logo { flex: none; }
.phone .panel { margin: 0; }
.demo-note { flex: 1 1 auto; min-height: 0; }
/* A long sample note is cut off at the bottom of the note panel, so the button panel below it stays on the screen. */
.demo-note .note { flex: 1 1 auto; height: auto; min-height: 0; font-size: 1.1875rem; overflow: hidden; }
.demo-log { flex: none; }
/* The phone's button is a picture of one, so it doesn't react to a tap. */
.demo-log .press, .demo-log .press:active {
  display: flex; align-items: center; justify-content: center; cursor: default; transform: none; box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.35);
}
/* The phone's camera, shown over the screen while it takes a picture of the tapped sticker. The sticker
   sits on a grey surface, yellow corners mark the code once it's found, and the shutter button is pressed. */
.phone-camera { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; background: #0D0F12; opacity: 0; pointer-events: none; }
.camera-view {
  position: relative; flex: 1 1 auto; display: grid; place-items: center; margin-top: 2.375rem; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #6B7280, #2B2F37 75%);
}
.camera-sticker { width: 44%; aspect-ratio: 1; filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.45)); }
.camera-frame {
  --c: #FFD60A; position: absolute; width: 58%; aspect-ratio: 1; opacity: 0;
  background:
    linear-gradient(var(--c), var(--c)) top left / 20% 3px, linear-gradient(var(--c), var(--c)) top left / 3px 20%,
    linear-gradient(var(--c), var(--c)) top right / 20% 3px, linear-gradient(var(--c), var(--c)) top right / 3px 20%,
    linear-gradient(var(--c), var(--c)) bottom left / 20% 3px, linear-gradient(var(--c), var(--c)) bottom left / 3px 20%,
    linear-gradient(var(--c), var(--c)) bottom right / 20% 3px, linear-gradient(var(--c), var(--c)) bottom right / 3px 20%;
  background-repeat: no-repeat;
}
.camera-bar { flex: none; display: grid; place-items: center; height: 6rem; }
.camera-shutter { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 3px solid #FFF; border-radius: 50%; }
.camera-shutter-disc { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #FFF; }
.phone-home { position: absolute; left: 50%; bottom: 0.5rem; width: 7rem; height: 0.3rem; transform: translateX(-50%); border-radius: 1rem; background: var(--paper); opacity: 0.85; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.settle { animation: settle 240ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes settle { from { transform: translateY(6px); opacity: 0.7; } to { transform: none; opacity: 1; } }

.get-button {
  display: flex; justify-content: center; align-items: center; min-height: 3.25rem; margin-top: 1.25rem; border-radius: var(--radius);
  background: var(--paper); color: var(--navy); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.2); text-decoration: none;
  font-family: var(--label); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.05em; text-transform: uppercase;
}

.steps, .get { padding: 2.25rem 1.125rem 0.5rem; }
.section-title { margin: 0 0 1rem; font-family: var(--label); font-weight: 700; font-size: 2rem; line-height: 1.05; }
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.step-list li { counter-increment: step; position: relative; padding-left: 3rem; font-size: 1.0625rem; line-height: 1.5; color: var(--rule-soft); }
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1rem;
  font-family: var(--label); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--paper);
}
.step-list strong { display: block; }
.step-list strong { color: var(--paper); }

.get > p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.5; color: var(--rule-soft); max-width: 36rem; }
.get-form { display: grid; gap: 0.375rem; margin: 0; padding: 1.125rem 1.125rem 1.25rem; color: var(--ink); max-width: 36rem; }
.get-form label { font-size: 0.9375rem; color: var(--muted); }
.get-form textarea.field { min-height: 4rem; }
.get-form label:not(:first-child) { margin-top: 0.75rem; }
.get-form .button { justify-self: start; margin-top: 1rem; min-width: 8rem; }
.get-status { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.get-status:empty { display: none; }
.get-status.bad { color: var(--bad); }
.get-done { margin: 0; font-size: 1.0625rem; }
/* A field that people never see; a bot that fills it in is ignored. */
.get-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.landing .foot { margin-top: 2.5rem; }

@media (min-width: 56rem) {
  .steps, .get { padding-left: 1.125rem; padding-right: 1.125rem; }
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
}

/* Wide screens: the words on the left, with the hint's arrow reaching across to the house in the middle, and the phone standing beside it. */
@media (min-width: 64rem) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) 16rem; column-gap: 2.75rem;
    grid-template-areas: "title house phone" "hint house phone";
    grid-template-rows: auto 1fr; align-items: start; padding-top: 1.5rem;
  }
  .hero-title { grid-area: title; margin: 1rem 0 2rem; font-size: 3.75rem; }
  .house { grid-area: house; align-self: center; }
  .phone { grid-area: phone; width: 100%; }
  .demo-hint { grid-area: hint; margin: 0; }
  .hint-arrow-down { display: none; }
  .hint-arrow-right { display: block; position: absolute; left: 55%; top: 100%; width: 11rem; margin-top: -1rem; }
  .get-button { grid-area: cta; }
}

/* ---- Pages outside the sticker: home, privacy, terms, My stickers ---- */

.prose { max-width: 40rem; }
.prose h1 { margin: 0 0 0.75rem; font-family: var(--label); font-weight: 700; font-size: 2.25rem; line-height: 1.1; letter-spacing: 0.01em; color: var(--navy); }
.prose h2 { margin: 1.75rem 0 0.5rem; font-family: var(--label); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.02em; color: var(--navy); }
.prose p, .prose li { font-size: 1.0625rem; }
/* Terms and Privacy: white text straight on the navy, under the same Back link and title as the pages inside a sticker. */
.doc { padding: 0.75rem 0 2.5rem; color: var(--paper); }
.doc .prose { padding: 0 1.125rem; }
.doc .prose h2 { color: var(--paper); }
.doc .doc-meta { color: var(--rule); }
.doc .prose ul { padding-left: 1.25rem; }
.sticker-list { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--rule-soft); }
.sticker-list li { border-bottom: 1px solid var(--rule-soft); }
.sticker-list a { display: block; padding: 0.75rem 0; text-decoration: none; min-height: 2.75rem; }
.sticker-list .title { font-family: var(--user); font-size: 1.125rem; }

/* A page that isn't a working sticker. */
.message { padding: 1.5rem 1.125rem 1.75rem; }
.message h1 { margin: 0 0 0.75rem; font-family: var(--label); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--navy); }
.message p { margin: 0 0 0.5rem; font-size: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
