/* Sortka pages: neutrals, with turquoise used only as water. */
:root {
  --bg: #F2F2F3; --surface: #FFFFFF; --ink: #0E0E10; --ink2: #57575C; --ink3: #8A8A90; --hairline: #DDDDE0;
  --water: #14BFB0; --on-water: #06211F; --on-ink: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0B0B0C; --surface: #1B1B1D; --ink: #F4F4F5; --ink2: #A9A9AF; --ink3: #77777D; --hairline: #2C2C2F; --water: #2ED3C4; --on-ink: #0B0B0C; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55;
}
main { max-width: 720px; margin: 0 auto; padding: 28px 24px 56px; }
a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand img.wordmark { width: auto; height: 26px; border-radius: 0; display: block; }
.top nav { display: flex; gap: 20px; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--ink2); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

h1 { font-size: clamp(36px, 9vw, 54px); line-height: 1.05; letter-spacing: -0.02em; margin: 48px 0 12px; }
h1.small { font-size: 34px; line-height: 1.15; margin-top: 36px; }
h2 { font-size: 26px; line-height: 1.2; margin: 56px 0 8px; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 4px; }
p, ul { margin: 0 0 12px; color: var(--ink2); }
.lead { font-size: 21px; line-height: 1.45; color: var(--ink2); max-width: 34em; }
ul { padding-left: 22px; }
li { margin-bottom: 4px; }
strong { color: var(--ink); }

.pill {
  display: inline-block; margin-top: 12px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font-weight: 700; text-decoration: none;
}
.pill.quiet { background: transparent; color: var(--ink2); border: 1.5px solid var(--hairline); }
.small-note { font-size: 15px; color: var(--ink3); margin-top: 10px; }

/* The picture at the top: a little stack of photos over rising water. */
.scene {
  position: relative; height: 300px; margin: 36px 0 0; border-radius: 28px; overflow: hidden;
  background: var(--surface);
}
.scene .photo {
  position: absolute; left: 50%; top: 28px; width: 150px; height: 196px; margin-left: -75px;
  border-radius: 18px; background: var(--hairline); border: 5px solid var(--surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.scene .photo.back { transform: translateX(-34px) rotate(-9deg); opacity: 0.75; }
.scene .photo.mid { transform: translateX(18px) rotate(5deg); background: var(--ink3); opacity: 0.85; }
.scene .photo.front { transform: translateX(64px) rotate(13deg); background: var(--ink2); }
.scene .photo svg { display: block; width: 100%; height: 100%; border-radius: 13px; }
.scene .photo svg circle, .scene .photo svg path { fill: var(--surface); opacity: 0.55; }
.scene .hint {
  position: absolute; top: 118px; font-weight: 700; font-size: 15px; color: var(--ink2);
  display: flex; align-items: center; gap: 6px; z-index: 1;
}
.scene .hint.left { left: 22px; }
.scene .hint.right { right: 22px; }
.scene svg.water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58px; }
.scene svg.water path { fill: var(--water); }
.scene .cleared {
  position: absolute; left: 24px; bottom: 14px; color: var(--on-water); font-weight: 700; font-size: 15px;
}
@media (max-width: 460px) {
  /* On a phone the two hints sit on the water, where there is room for them. */
  .scene svg.water { height: 52px; }
  .scene .hint { top: auto; bottom: 9px; color: var(--on-water); }
  .scene .hint.left { left: 18px; }
  .scene .hint.right { right: 18px; }
  .scene .cleared { display: none; }
}

.grid { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 620px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border-radius: 20px; padding: 20px 22px; }
.card > :last-child { margin-bottom: 0; }
.card .step { font-weight: 700; color: var(--ink3); font-size: 15px; margin-bottom: 6px; }
.card .tag {
  display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  border: 1.5px solid var(--hairline); color: var(--ink2); margin-bottom: 10px;
}
.promise { font-size: clamp(26px, 6vw, 34px); line-height: 1.2; font-weight: 700; color: var(--ink); margin: 56px 0 8px; letter-spacing: -0.01em; }

details { background: var(--surface); border-radius: 16px; margin-top: 10px; }
summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; position: relative; color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 22px; font-weight: 500; color: var(--ink3); }
details[open] summary::after { content: "\2212"; }
details .answer { padding: 0 20px 16px; }
details .answer > :last-child { margin-bottom: 0; }

footer { background: var(--water); color: var(--on-water); margin-top: 8px; }
footer svg { display: block; width: 100%; height: 22px; background: var(--bg); }
footer svg path { fill: var(--water); }
footer div { max-width: 720px; margin: 0 auto; padding: 16px 24px 36px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 22px; }
footer a { color: var(--on-water); }
footer span { margin-right: auto; }
