/* Gullu website.
   Built from the app's own design system (App/Design/Theme.swift, Glass.swift, Mascot.swift):
   - Apple system colours only. Blue is for actions, green means space freed, red means delete,
     purple means Private. The grouped background and white cards are the app's Home.
   - Each section takes the colour wash of its App Store screenshot: blue for free up space,
     green for marking, orange for "your OK", purple for Private.
   - Glass is for the floating control layer only (here the top bar). Content never gets glass.
   - Radii and spacing come from Theme.swift: card 22, row 18, tile 14, on a 4-point scale.
   - Gullu appears at most once per screen and celebrates real outcomes only. */

:root {
  color-scheme: light dark;
  --ground: #f2f2f7;
  --card: #ffffff;
  --ink: #101a2e;          /* store headline navy */
  --label: #1c1c1e;
  --secondary: #5f5f66;
  --hairline: rgba(60, 60, 67, .16);
  --fill: rgba(118, 118, 128, .12);
  --blue: #007aff;
  --blue-text: #0063d1;
  --green: #34c759;
  --green-text: #1f7833;   /* Theme.positiveText */
  --red: #ff3b30;
  --purple: #af52de;
  --orange: #ff9500;
  --wash-blue: #deebff;
  --wash-green: #dcf3e3;
  --wash-orange: #ffedd7;
  --wash-purple: #ede2fa;
  --g-ink: #121212;
  --g-cream: #fbf7f0;
  --g-green: #2fd06a;
  --shadow: 0 1px 2px rgba(16, 26, 46, .05), 0 8px 28px rgba(16, 26, 46, .07);
  --r-card: 22px;
  --r-row: 18px;
  --r-tile: 14px;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #000000;
    --card: #1c1c1e;
    --ink: #f5f5f7;
    --label: #f2f2f7;
    --secondary: #a1a1a8;
    --hairline: rgba(84, 84, 88, .55);
    --fill: rgba(118, 118, 128, .24);
    --blue: #0a84ff;
    --blue-text: #4ea3ff;
    --green: #30d158;
    --green-text: #30d158;
    --red: #ff453a;
    --purple: #bf5af2;
    --orange: #ff9f0a;
    --wash-blue: #0c1a33;
    --wash-green: #0a2215;
    --wash-orange: #2a1a07;
    --wash-purple: #1d1131;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--label);
  font: 17px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--card); padding: 10px 14px; border-radius: 12px; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar: the one glass surface ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top, 0px));
}
.bar-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 66%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: .5px solid color-mix(in srgb, var(--card) 40%, var(--hairline));
  box-shadow: 0 6px 24px rgba(16, 26, 46, .08);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--label); font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.bar nav { display: flex; align-items: center; gap: 2px; }
.bar nav a { color: var(--label); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.bar nav a:hover { background: var(--fill); text-decoration: none; }
.bar nav a[aria-current="page"] { background: var(--fill); }
.bar nav a.get { background: var(--blue); color: #fff; font-weight: 600; }
.bar nav a.get:hover { background: color-mix(in srgb, var(--blue) 88%, #000); }
@media (max-width: 560px) { .bar nav a.text { display: none; } }

/* ---------- Shared pieces ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band + .band { padding-top: 0; }
.washed { background: linear-gradient(180deg, var(--wash) 0%, color-mix(in srgb, var(--wash) 35%, var(--ground)) 70%, var(--ground) 100%); }
.wash-blue { --wash: var(--wash-blue); }
.wash-green { --wash: var(--wash-green); }
.wash-orange { --wash: var(--wash-orange); }
.wash-purple { --wash: var(--wash-purple); }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.028em; }
.lede { font-size: clamp(19px, 2vw, 22px); line-height: 1.42; color: var(--secondary); margin: 16px 0 0; max-width: 34ch; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 17px/1 var(--text); cursor: pointer; text-decoration: none;
  background: var(--blue); color: #fff;
  transition: transform .12s ease, background-color .2s ease;
}
.button:hover { text-decoration: none; background: color-mix(in srgb, var(--blue) 88%, #000); }
.button:active { transform: scale(.97); }
.button[disabled] { background: var(--fill); color: var(--secondary); cursor: default; transform: none; }
.button.plain { background: var(--card); color: var(--label); box-shadow: inset 0 0 0 .5px var(--hairline), var(--shadow); }
.button.plain:hover { background: color-mix(in srgb, var(--card) 92%, var(--label)); }

.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); }

/* ---------- Gullu ---------- */
.gullu { overflow: visible; }
.gullu .g-shadow { fill: currentColor; opacity: .13; }
.gullu .ink { fill: var(--g-ink); }
.gullu .cream { fill: var(--g-cream); }
.gullu .white { fill: #fff; }
.gullu .spark { fill: var(--g-green); }
.gullu .stroke-white { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.gullu .stroke-ink { fill: none; stroke: var(--g-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gullu .ticks { fill: none; stroke: var(--g-green); stroke-width: 3.2; stroke-linecap: round; }
.gullu .blush { fill: #ff9eb0; opacity: .75; }
.gullu .mouth-dark { fill: #2b1717; }
.gullu .tongue { fill: #ff7d8f; }
.gullu .pupils { transition: transform .35s cubic-bezier(.3, .7, .3, 1); }
@media (prefers-color-scheme: dark) {
  .gullu .g-figure { filter: drop-shadow(0 0 .8px rgba(255, 255, 255, .9)) drop-shadow(0 0 .4px #fff); }
}
/* Moods: which parts show. Default is idle. */
.gullu .eyes-happy, .gullu .eyes-squint, .gullu .mouth-grin, .gullu .arms-up, .gullu .fx-ticks, .gullu .fx-blush, .gullu .fx-stars { display: none; }
.gullu[data-mood="tidy"] .eyes-open, .gullu[data-mood="cheer"] .eyes-open { display: none; }
.gullu[data-mood="tidy"] .eyes-happy, .gullu[data-mood="tidy"] .fx-blush { display: inline; }
.gullu[data-mood="cheer"] .eyes-squint, .gullu[data-mood="cheer"] .mouth-grin, .gullu[data-mood="cheer"] .arms-up,
.gullu[data-mood="cheer"] .fx-ticks, .gullu[data-mood="cheer"] .fx-stars { display: inline; }
.gullu[data-mood="cheer"] .mouth-smile { display: none; }

.gullu .g-breath { transform-box: view-box; transform-origin: 100px 188px; animation: g-breathe 4s ease-in-out infinite; }
.gullu .g-eyes { transform-box: view-box; transform-origin: 100px 101px; animation: g-blink 5.4s infinite; }
.gullu .ear-r { transform-box: view-box; transform-origin: 130px 78px; animation: g-ear 6.5s ease-in-out infinite; }
.gullu .g-spark { transform-box: view-box; transform-origin: 171px 44px; animation: g-spark 2.6s ease-in-out infinite; }
.gullu .fx-ticks { animation: g-ticks 1s ease-out infinite; }
.gullu .arms-up .arm-l { transform-box: view-box; transform-origin: 42px 116px; animation: g-wave-l 1.2s ease-in-out infinite; }
.gullu .arms-up .arm-r { transform-box: view-box; transform-origin: 158px 116px; animation: g-wave-r 1.2s ease-in-out infinite; }
.gullu .g-rig { transform-box: view-box; transform-origin: 100px 188px; }
.gullu.hop .g-rig { animation: g-hop .62s cubic-bezier(.3, .6, .4, 1); }
.gullu.hop-small .g-rig { animation: g-hop-small .42s ease-out; }
@keyframes g-breathe { 50% { transform: scale(1.012, 1.03); } }
@keyframes g-blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.08); } }
@keyframes g-ear { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(9deg); } 92% { transform: rotate(-3deg); } }
@keyframes g-spark { 50% { transform: rotate(20deg) scale(1.15); } }
@keyframes g-ticks { from { opacity: 1; } to { opacity: .35; } }
@keyframes g-wave-l { 50% { transform: rotate(-12deg); } }
@keyframes g-wave-r { 50% { transform: rotate(12deg); } }
@keyframes g-hop {
  0% { transform: translateY(0) scale(1.06, .9); }
  35% { transform: translateY(-34px) scale(.96, 1.06); }
  70% { transform: translateY(0) scale(1.07, .9); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes g-hop-small { 40% { transform: scale(1.05, .93); } 100% { transform: scale(1, 1); } }

/* The speech line, as on Home: Gullu on the left, a white bubble on the right. */
.says { display: flex; align-items: center; gap: 12px; }
.says .gullu { flex: 0 0 auto; width: 104px; height: 109px; color: var(--ink); }
.bubble {
  position: relative; flex: 1 1 auto;
  background: var(--card); color: var(--label);
  border-radius: var(--r-row); padding: 14px 18px;
  font-size: 19px; line-height: 1.35; min-height: 56px;
  box-shadow: var(--shadow);
}
.bubble b { font-weight: 700; }
.bubble.done b { color: var(--green-text); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 70px); line-height: 1; font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero .lede { max-width: 30ch; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.hero .needs { font-size: 15px; color: var(--secondary); }
.app-name { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--secondary); font-size: 15px; font-weight: 600; }
.app-name img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 .5px var(--hairline), 0 4px 12px rgba(16, 26, 46, .12); }
.app-name b { display: block; color: var(--label); font-size: 17px; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .actions, .app-name { justify-content: center; }
  .app-name { text-align: left; }
  .stage { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* ---------- The demo: Select, as in the app ---------- */
.stage { display: grid; gap: 14px; }
.select { padding: 16px 16px 14px; }
.select-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 2px; }
.select-head h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; font-family: var(--text); color: var(--label); }
.select-head button { font: 500 15px/1 var(--text); color: var(--blue-text); background: none; border: 0; padding: 6px 4px; cursor: pointer; border-radius: 8px; }
.select-head button[hidden] { display: none; }
.tally { margin: 10px 2px 12px; font-size: 14px; line-height: 1.4; color: var(--secondary); min-height: 40px; }
.tally .del { color: var(--red); font-weight: 600; }
.tally .shr { color: var(--green-text); font-weight: 600; }
.tally .free { display: block; color: var(--green-text); font-weight: 600; font-size: 16px; }
.tally .hint { display: block; color: var(--secondary); font-size: 16px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; border-radius: var(--r-tile); overflow: hidden; }
.tile {
  position: relative; aspect-ratio: 1; padding: 0; border: 0; margin: 0; cursor: pointer;
  background: var(--fill); overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease, opacity .3s ease, filter .3s ease; }
.tile::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .15s ease; pointer-events: none; }
.tile .badge {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.4);
  transition: opacity .15s ease, transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.tile .badge svg { width: 14px; height: 14px; }
.tile .dur { position: absolute; left: 6px; bottom: 5px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.tile .size { position: absolute; right: 6px; bottom: 5px; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .65); font-variant-numeric: tabular-nums; }
.tile[data-mark="shrink"]::after { box-shadow: inset 0 0 0 3px var(--green); }
.tile[data-mark="delete"]::after { box-shadow: inset 0 0 0 3px var(--red); }
.tile[data-mark="shrink"] .b-shrink, .tile[data-mark="delete"] .b-delete { opacity: 1; transform: scale(1); }
.tile .b-shrink { background: var(--green); }
.tile .b-delete { background: var(--red); }
.tile[data-mark="delete"] img { filter: saturate(.7) brightness(.92); }
.tile.gone img { transform: scale(.6); opacity: 0; }
.tile.gone::after, .tile.gone .badge, .tile.gone .dur, .tile.gone .size { opacity: 0; }
.tile.shrunk .size { color: #b8ffcb; }
.tile:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 0; z-index: 1; }
.select .button { width: 100%; margin-top: 14px; }
.demo-note { font-size: 13px; line-height: 1.45; color: var(--secondary); margin: 10px 4px 0; text-align: center; }

/* ---------- Steps: nothing goes without your OK ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.phone { width: min(100%, 360px); margin: 0 auto; filter: drop-shadow(0 24px 48px rgba(16, 26, 46, .16)); }
.phone img { border-radius: 32px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-top: .5px solid var(--hairline); }
.steps li:first-child { border-top: 0; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px/1 var(--display); color: #fff; background: var(--orange);
}
.steps b { font-size: 19px; color: var(--label); font-weight: 600; }
.steps span { color: var(--secondary); }

/* ---------- Screenshot shelf, like the App Store ---------- */
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.shelf-head p { color: var(--secondary); margin: 0; max-width: 40ch; }
.shelf {
  --shelf-pad: var(--gutter);
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 32px var(--shelf-pad) 24px; scroll-padding-inline: var(--shelf-pad);
  margin: 0 calc(var(--shelf-pad) * -1);
  scrollbar-width: thin;
}
@media (min-width: 1160px) { .shelf { --shelf-pad: calc((100vw - 1120px) / 2 + var(--gutter)); } }
.shelf figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.shelf img { width: clamp(220px, 24vw, 270px); border-radius: 24px; box-shadow: 0 0 0 .5px var(--hairline), var(--shadow); }
.shelf figcaption { margin-top: 10px; font-size: 15px; color: var(--secondary); text-align: center; }

/* ---------- Private ---------- */
.list { list-style: none; margin: 28px 0 0; padding: 0; overflow: hidden; }
.list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; position: relative; }
.list li + li::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; border-top: .5px solid var(--hairline); }
.list .icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; margin-top: 1px; }
.list .icon svg { width: 18px; height: 18px; }
.list b { display: block; font-weight: 600; color: var(--label); }
.list span { color: var(--secondary); font-size: 15px; }
.i-purple { background: var(--purple); }
.i-blue { background: var(--blue); }
.i-green { background: var(--green); }
.i-gray { background: #8e8e93; }
.i-orange { background: var(--orange); }

/* ---------- Private by design: Settings rows ---------- */
.promise { text-align: center; }
.promise h2 { max-width: 16ch; margin: 0 auto; }
.promise .lede { margin-left: auto; margin-right: auto; }
.nots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 940px; margin: 40px auto 0; padding: 8px; gap: 0; }
.nots div { padding: 20px 8px; }
.nots div + div { border-left: .5px solid var(--hairline); }
.nots strong { display: block; white-space: nowrap; font: 800 clamp(19px, 2vw, 26px)/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.nots span { display: block; margin-top: 6px; font-size: 14px; color: var(--secondary); }
@media (max-width: 720px) {
  .nots { grid-template-columns: minmax(0, 1fr); text-align: left; padding: 0; }
  .nots div { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; }
  .nots div + div { border-left: 0; border-top: .5px solid var(--hairline); }
  .nots strong { font-size: 20px; min-width: 7.5em; }
  .nots span { margin: 0; }
}
.promise .more { margin-top: 24px; }

/* ---------- Free to try: the Home card ---------- */
.try { max-width: 640px; margin: 0 auto; padding: 22px; }
.try-head { display: flex; gap: 14px; align-items: flex-start; }
.try-head .icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--green); display: grid; place-items: center; color: #fff; }
.try-head .icon svg { width: 24px; height: 24px; }
.try-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.try-head p { margin: 4px 0 0; color: var(--secondary); }
.meter { height: 8px; border-radius: 99px; background: var(--fill); margin: 20px 0 18px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: var(--green); border-radius: inherit; }
.plans { list-style: none; margin: 0; padding: 0; border-top: .5px solid var(--hairline); }
.plans li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: .5px solid var(--hairline); }
.plans li span { color: var(--secondary); font-size: 15px; text-align: right; }
.try .fine { color: var(--secondary); font-size: 15px; margin: 16px 0 0; }
.try-wrap h2 { text-align: center; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 calc(48px + env(safe-area-inset-bottom, 0px)); border-top: .5px solid var(--hairline); font-size: 15px; color: var(--secondary); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--label); }
.foot p { margin: 0; }
.foot details { margin-top: 18px; }
.foot summary { cursor: pointer; width: max-content; max-width: 100%; }
.foot details p { margin-top: 8px; max-width: 80ch; font-size: 13px; line-height: 1.6; }

/* ---------- Reading pages: Privacy Policy and Support ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 72px; }
.doc-head { display: flex; align-items: center; gap: 18px; padding: 24px 0 32px; }
.doc-head .gullu { flex: 0 0 auto; width: 88px; height: 92px; color: var(--ink); }
.doc-head h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.doc-head p { margin: 6px 0 0; color: var(--secondary); font-size: 15px; }
.doc .group { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 22px 24px 8px; margin: 0 0 16px; }
.doc .group h2 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; margin: 0 0 10px; }
.doc .group.lead { background: color-mix(in srgb, var(--wash-green) 70%, var(--card)); }
.doc .group.lead li::marker { color: var(--green-text); }
.doc p, .doc ul, .doc ol { margin: 0 0 14px; max-width: 68ch; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .group > h3 { font-size: 18px; font-family: var(--text); margin: 18px 0 6px; }
.doc details { border-top: .5px solid var(--hairline); margin: 0 -24px; padding: 0 24px; }
.doc details:first-of-type { margin-top: 6px; }
.doc .group > details:last-child { margin-bottom: 8px; }
.doc summary {
  list-style: none; cursor: pointer; padding: 15px 28px 15px 0; position: relative;
  font-weight: 600; color: var(--label);
}
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2.2px solid #c4c4c9; border-bottom: 2.2px solid #c4c4c9; transform: rotate(-45deg);
  transition: transform .2s ease;
}
.doc details[open] summary::after { transform: rotate(45deg); margin-top: -8px; }
.doc details > :not(summary) { color: var(--label); }
.doc details[open] { padding-bottom: 6px; }
.doc .contact { background: color-mix(in srgb, var(--wash-blue) 75%, var(--card)); }
.doc .contact .button { margin: 4px 0 14px; }
.doc .back { margin: 8px 0 0; font-size: 15px; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.lost .gullu { width: 150px; height: 158px; margin: 0 auto 12px; color: var(--ink); }
.lost h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.lost p { color: var(--secondary); margin: 10px 0 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.doc .intro { font-size: 19px; line-height: 1.45; color: var(--secondary); margin: -8px 0 24px; max-width: 60ch; }
@media (max-width: 480px) {
  .tile .size { display: none; }
}
@media (max-width: 720px) {
  .shelf-head { flex-direction: column; align-items: flex-start; }
}
