/* Shedload website. Same colours as the app (src/lib/ui.tsx), light and dark. No web fonts: SF Pro Rounded
   on Apple devices for headings, the system font elsewhere, so nothing loads from another site. */
:root {
  color-scheme: light dark;
  --bg: #F6F5F1; --card: #FFFFFF; --sunk: #EFEDE6; --text: #1B1B18; --sub: #6B6A63; --line: #E6E4DC;
  --accent: #0C7354; --accent-ink: #0B6A4C; --accent-soft: #E3F2EC; --on-accent: #FFFFFF; --warn: #9A5B00; --warn-soft: #FDF1DC;
  --band: #0B5E45; --on-band: #F6F5F1; --on-band-sub: #BFE3D4;
  --shadow: 0 1px 2px rgb(27 27 24 / 6%), 0 8px 24px -8px rgb(27 27 24 / 12%);
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-card: 20px; --r-small: 12px;
  --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211; --card: #1E1E1B; --sunk: #2A2A26; --text: #EDECE6; --sub: #A3A29A; --line: #33332E;
    --accent: #4CC59A; --accent-ink: #4CC59A; --accent-soft: #17352A; --on-accent: #062419; --warn: #E9B25C; --warn-soft: #3A2C14;
    --band: #17352A; --on-band: #EDECE6; --on-band-sub: #A8D9C4;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px -12px rgb(0 0 0 / 60%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--sub); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
@media (max-width: 420px) { .nav a { padding: 0 9px; } .brand span { display: none; } }

/* Buttons and the App Store badge */
.badge { display: inline-block; border-radius: 10px; }
.badge img { height: 52px; width: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
/* Text on the pale green uses a slightly deeper green, so it passes 4.5:1 contrast. */
.btn-quiet { background: var(--accent-soft); color: var(--accent-ink); }

/* Home: hero */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, var(--accent-soft), transparent 70%); opacity: 0.9; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.08fr 0.92fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--sub); font-size: 14px; font-weight: 500; }
.eyebrow b { color: var(--accent); }
.eyebrow svg { width: 20px; height: 20px; color: var(--accent); }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin: 0 0 28px; max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--sub); }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.get p { margin: 0; color: var(--sub); font-size: 15px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--sub); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Home: the phone. A drawing of the app's Home tab, built from the app's own colours. */
.stage { position: relative; display: grid; place-items: center; padding: 8px 0; }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 620; border-radius: 48px; padding: 10px; background: #1B1B18; box-shadow: 0 0 0 1.5px #3a3a35, 0 30px 60px -20px rgb(11 94 69 / 35%), 0 18px 36px -18px rgb(0 0 0 / 45%); }
.screen { height: 100%; border-radius: 39px; overflow: hidden; background: var(--bg); padding: 14px 14px 0; font-size: 11px; line-height: 1.35; }
.status { display: flex; justify-content: space-between; align-items: center; height: 22px; padding: 0 14px; font-weight: 600; font-size: 12px; }
.island { width: 76px; height: 22px; border-radius: 999px; background: #000; }
.status i { width: 22px; height: 10px; border-radius: 3px; background: currentColor; opacity: 0.85; }
.app-title { margin: 12px 0 10px; text-align: center; font: 600 13px/1 var(--body); }
.p-card { background: var(--card); border-radius: 16px; padding: 12px; }
.p-card small { color: var(--sub); font-size: 10.5px; }
.p-total { display: block; margin: 2px 0 2px; font: 800 34px/1 var(--display); letter-spacing: -0.03em; color: var(--accent); }
.p-bar { height: 5px; margin: 10px 0 6px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; }
.p-bar span { display: block; width: 22%; height: 100%; border-radius: inherit; background: var(--accent); }
.p-row { display: flex; justify-content: space-between; gap: 8px; }
.p-row b { color: var(--accent); font-weight: 600; }
.p-btns { display: grid; grid-template-columns: 1.7fr 1fr; gap: 6px; margin-top: 10px; }
.p-btns span { display: grid; place-items: center; height: 30px; border-radius: 10px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.p-btns span:first-child { background: var(--accent); color: var(--on-accent); }
.p-head { margin: 14px 2px 6px; color: var(--sub); font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.p-list { background: var(--card); border-radius: 16px; overflow: hidden; }
.p-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; padding: 8px 10px; }
.p-item + .p-item { border-top: 1px solid var(--line); }
.p-item .tile { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.p-item .tile svg { width: 16px; height: 16px; }
.p-item b { display: block; font-weight: 500; font-size: 11px; }
.p-item small { color: var(--sub); font-size: 9.5px; }
.p-item .price { font-weight: 600; font-size: 11px; }

.p-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.p-rooms span { background: var(--card); border-radius: 12px; padding: 8px 9px; font-weight: 700; font-size: 13px; }
.p-rooms small { display: block; color: var(--sub); font-weight: 500; font-size: 9.5px; }
.screen { position: relative; }
.p-tabs { position: absolute; left: 22px; right: 22px; bottom: 16px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); box-shadow: var(--shadow); font-size: 9.5px; font-weight: 500; text-align: center; color: var(--sub); }
.p-tabs span { padding: 7px 0; border-radius: 999px; }
.p-tabs .on { background: var(--sunk); color: var(--accent); font-weight: 600; }

/* Price tags floating around the phone */
.tag { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 22px; background: var(--card); color: var(--text); box-shadow: var(--shadow); font: 700 15px/1.1 var(--display); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); border-radius: 0 10px 10px 0; white-space: nowrap; }
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--line); }
.tag small { display: block; color: var(--sub); font: 500 11px/1.2 var(--body); }
.tag b { color: var(--accent); }
.tag.t1 { top: 12%; left: -4%; rotate: -6deg; }
.tag.t2 { top: 46%; right: -6%; rotate: 5deg; }
.tag.t3 { bottom: 16%; right: -2%; rotate: -4deg; }
@media (max-width: 899px) { .tag.t1 { left: 0; } .tag.t2, .tag.t3 { right: 0; } }
@media (max-width: 520px) { .tag { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: bob 7s ease-in-out infinite; }
  .tag.t2 { animation-delay: -2.3s; } .tag.t3 { animation-delay: -4.6s; }
  @keyframes bob { 50% { translate: 0 -8px; } }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2, .split h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.section-head p, .split .lead { margin: 0; color: var(--sub); font-size: 1.1rem; max-width: 52ch; }
.kicker, .section-head .kicker { margin: 0 0 10px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.card { background: var(--card); border-radius: var(--r-card); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) and (max-width: 1023px) { .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-6 { grid-template-columns: repeat(3, 1fr); } }

.step h3 { margin: 14px 0 6px; font-size: 1.3rem; }
.step p { margin: 0; color: var(--sub); }
.step .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font: 800 20px/1 var(--display); }

.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split .lead { margin-bottom: 20px; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.facts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.facts svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

/* The "What this price is based on" card, as it looks in the app */
.basis { max-width: 440px; justify-self: center; width: 100%; margin: 0; }
.basis .label { margin: 0 0 4px; color: var(--sub); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.basis .item { margin: 0 0 14px; font: 700 1.25rem/1.2 var(--display); }
.basis dl { margin: 0; }
.basis dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.basis dt, .basis dd { margin: 0; }
.basis s { color: var(--sub); }
.basis .total { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; align-items: baseline; }
.basis .total dt { font-weight: 600; }
.basis .total dd { font: 800 2rem/1 var(--display); color: var(--accent); }
.basis .why { margin: 12px 0 16px; color: var(--sub); font-size: 15px; }
.basis .btn { width: 100%; }

.site h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 1.2rem; }
.site p { margin: 0; color: var(--sub); font-size: 15.5px; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12px/1.4 var(--body); letter-spacing: 0; white-space: nowrap; }
.note-line { margin: 20px 0 0; color: var(--sub); font-size: 15px; }

.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--sub); font-size: 15.5px; }

.plan { display: flex; flex-direction: column; }
.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plan .price { margin: 6px 0 2px; font: 800 2.4rem/1 var(--display); letter-spacing: -0.03em; }
.plan .per { margin: 0 0 16px; color: var(--sub); font-size: 15px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.plan.featured { outline: 2px solid var(--accent); outline-offset: -2px; }

.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--sub); border-bottom: 2px solid var(--sub); rotate: 45deg; translate: 0 -3px; transition: rotate 0.2s ease, translate 0.2s ease; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--sub); }

.band { margin: 0 var(--gutter); border-radius: 32px; background: var(--band); color: var(--on-band); padding: clamp(40px, 7vw, 80px) var(--gutter); text-align: center; }
.band h2 { margin: 0 auto 12px; max-width: 18ch; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.band p { margin: 0 auto 28px; max-width: 44ch; color: var(--on-band-sub); font-size: 1.1rem; }
.band .badge { margin-inline: auto; }
/* A light button on the green band, so it stands out from it. */
.band .btn { background: var(--on-band); color: var(--band); }

/* Help, privacy and terms */
.page-head { padding: clamp(28px, 5vw, 56px) 0 8px; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.page-head .sub { max-width: 60ch; font-size: 1.1rem; }
.prose { max-width: 720px; padding-bottom: clamp(48px, 7vw, 88px); }
.prose h2 { margin: 52px 0 6px; padding-top: 4px; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; }
.prose h3 { margin: 28px 0 6px; font: 600 1.15rem/1.3 var(--body); letter-spacing: -0.01em; }
.prose p, .prose li { margin: 8px 0; }
.prose ul { padding-left: 1.3em; }
.prose li::marker { color: var(--accent); }
.sub { color: var(--sub); }
.note { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 4px 0 0 var(--accent), var(--shadow); color: var(--text); }
.toc { display: grid; gap: 8px; margin: 24px 0 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.toc a { display: flex; align-items: center; min-height: 52px; padding: 10px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); color: var(--text); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* 404 */
.lost { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 8px; padding: 48px 0; }
.lost h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.lost p { margin: 0 0 16px; color: var(--sub); }

/* Footer */
.foot { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--sub); font-size: 14.5px; }
.foot .wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.foot nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); text-decoration: none; font-weight: 500; }
.foot nav a:hover { color: var(--accent); }
.foot p { margin: 0 0 8px; max-width: 70ch; }
.foot .fine { font-size: 13px; }
.facts.card { padding: 24px; }
