/* The Apron design system's colours and lips, from the "Plook website" canvas. Links are sky-700, because sky-600 text on
   paper is 4.46:1. Focus is always a solid 3px ring, 3px out. */
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url("/fonts/baloo2-700.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url("/fonts/baloo2-800.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("/fonts/figtree-500.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("/fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 600; font-display: swap; src: url("/fonts/martian-mono-600.woff2") format("woff2"); }

:root {
    --ink-900: #172033;
    --ink-700: #33405e;
    --ink-500: #586583;
    --ink-300: #b7bfd1;
    --paper-50: #fcfaf6;
    --paper-100: #f5f1e7;
    --paper-300: #d8cfba;
    --sky-700: #1e4fa8;
    --sky-600: #2b6bd6;
    --sky-200: #bfd9fb;
    --sky-100: #e4f0fe;
    --display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
    --text: "Figtree", system-ui, sans-serif;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper-100); color: var(--ink-900); font: 500 17px/1.5 var(--text); overflow-wrap: break-word; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; }
h1 { margin: 0 0 12px; font-size: 52px; line-height: 1.05; }
h2 { margin: 0 0 14px; font-size: 36px; line-height: 1.15; }
h3 { margin: 0 0 6px; font-size: 26px; font-weight: 700; line-height: 1.2; }
main:focus { outline: none; }

a { color: var(--sky-700); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink-900); text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible, input:focus-visible { outline: 3px solid var(--sky-600); outline-offset: 3px; border-radius: 10px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -96px; z-index: 30; padding: 12px 20px; border-radius: 12px; background: var(--ink-900); color: var(--paper-50); font-weight: 700; }
.skip:focus { top: 12px; color: var(--paper-50); }
.overline { display: block; margin: 0 0 8px; color: var(--ink-500); font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.mono { color: var(--ink-900); font: 600 0.9em "Martian Mono", ui-monospace, monospace; letter-spacing: 0.08em; }
.flag { width: 1.35em; height: 0.9em; vertical-align: -0.08em; border-radius: 2px; }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper-50); border-bottom: 2px solid var(--paper-300); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; min-height: 76px; margin: 0 auto; padding: 12px 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink-900); font: 800 30px/1 var(--display); text-decoration: none; }
.logo img { border-radius: 11px; }
.top nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; color: var(--ink-900); font-weight: 700; text-decoration: none; }
.top nav a:hover { background: var(--sky-100); text-decoration: underline; }
.top nav a:active { background: var(--sky-200); }
.top nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; }

footer { background: var(--ink-900); color: var(--paper-50); }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
footer p { margin: 0; }
footer a { display: inline-block; padding: 11px 0; color: var(--sky-200); }
footer a:hover { color: var(--paper-50); }
footer a[aria-current] { color: var(--paper-50); font-weight: 700; }
footer a:focus-visible { outline-color: var(--sky-200); }
footer ul { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; gap: 0 48px; margin: 0; padding: 0; list-style: none; }
footer .wordmark { margin-bottom: 6px; font: 800 28px/1 var(--display); }
footer .by, footer .made, footer .legal { color: var(--ink-300); }
footer .made { flex-basis: 100%; padding-top: 24px; border-top: 2px solid var(--ink-700); font-size: 15px; }
footer .made svg { vertical-align: -2px; }
footer .legal { flex-basis: 100%; margin-top: -24px; font-size: 15px; }

/* Shared pieces */
.card { padding: 28px; background: var(--paper-50); border: 2px solid var(--paper-300); border-radius: 28px; box-shadow: 0 4px 0 var(--paper-300); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 28px; border-radius: 20px; background: var(--sky-600); color: #fff; font: 800 18px/22px var(--display); text-decoration: none; box-shadow: 0 5px 0 var(--sky-700); transition: transform 120ms cubic-bezier(0.2, 0, 0, 1), box-shadow 120ms cubic-bezier(0.2, 0, 0, 1); }
button.btn { border: 0; cursor: pointer; }
.btn svg { flex: none; }
.btn:hover { background: var(--sky-700); color: #fff; box-shadow: 0 5px 0 var(--ink-900); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--sky-700); }
.btn:focus-visible { border-radius: 20px; }
.waitlist { max-width: 520px; margin-top: 20px; }
.waitlist label { display: block; margin-bottom: 8px; font-weight: 700; }
.waitlist .row { display: flex; flex-wrap: wrap; gap: 14px; }
.waitlist input { flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 12px 18px; border: 2px solid var(--ink-500); border-radius: 20px; background: var(--paper-50); color: var(--ink-900); font: inherit; }
.waitlist input::placeholder { color: var(--ink-500); opacity: 1; }
.waitlist input:focus-visible { border-radius: 20px; }
.waitlist .trap { position: absolute; left: -9999px; }
.waitlist p { margin: 18px 0 0; color: var(--ink-700); font-size: 16px; }
/* The artwork carries its own clear space, so it is pulled left to line up with the text. */
.badge { display: inline-block; flex: none; margin: -8px 0 -8px -14px; }
.badge img { display: block; }
.phone { flex: none; width: 280px; padding: 10px; border-radius: 44px; background: var(--ink-900); box-shadow: 0 6px 0 #080e20; }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.faq { display: flex; flex-direction: column; gap: 14px; }
details { background: var(--paper-50); border: 2px solid var(--paper-300); border-radius: 22px; box-shadow: 0 3px 0 var(--paper-300); }
details[open] { border-color: var(--ink-500); }
summary { min-height: 56px; margin-left: 20px; padding: 14px 20px 14px 4px; font: 700 19px/1.3 var(--display); cursor: pointer; }
summary:hover { text-decoration: underline; }
.faq details > div { padding: 0 24px 20px; color: var(--ink-700); }
.faq p { margin: 8px 0 0; }
.faq p:first-child { margin-top: 0; }
.faq ul { margin: 8px 0 0; padding-left: 20px; }
.crumbs { margin-bottom: 24px; font-size: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs a { display: inline-block; padding: 12px 0; }
.crumbs [aria-hidden] { color: var(--ink-500); }
.crumbs [aria-current] { color: var(--ink-900); text-decoration: none; }
.wide, .narrow, .medium { margin: 0 auto; padding: 48px 24px; }
.wide { max-width: 1200px; }
.medium { max-width: 900px; padding-bottom: 96px; padding-top: 32px; }
.narrow { max-width: 860px; }
.narrow h2 { margin-bottom: 24px; }

/* Home */
.hero { position: relative; overflow: hidden; background: var(--sky-200); }
.hero .clouds { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .cloud-edge { position: absolute; left: 0; bottom: -1px; display: block; width: 100%; height: 40px; }
.hero .inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 72px 24px 120px; }
.hero .words { flex: 1 1 520px; min-width: 0; }
.hero h1 { max-width: 14ch; margin-bottom: 20px; font-size: 56px; letter-spacing: -0.01em; }
.hero p { margin: 14px 0 0; }
.hero .lead { max-width: 32em; margin: 0 0 28px; font-size: 20px; }
.ways-in { padding-top: 72px; }
.sub { max-width: 40em; margin: 0 0 32px; color: var(--ink-700); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; }
/* Each card shows the top of its screen: the phone runs off the card's bottom edge. */
.feature { display: flex; flex-direction: column; align-items: center; height: 660px; overflow: hidden; }
.feature h3, .feature > p { align-self: stretch; }
.feature > p { margin: 0 0 28px; color: var(--ink-700); }
.feature .phone { width: 300px; max-width: 100%; box-shadow: none; }
.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.split .words { flex: 1 1 400px; min-width: 0; }
.split .words p { margin: 0 0 16px; color: var(--ink-700); }
.split .phone { margin: 0 auto; }
.airfield { flex: 1 1 360px; min-width: 0; max-width: 560px; height: auto; }
.tiers { display: flex; flex-direction: column; gap: 14px; max-width: 520px; margin: 24px 0 0; list-style: none; }
.tiers li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pill { display: inline-flex; flex: none; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0.06em; }
.common { background: var(--ink-500); color: var(--paper-50); }
.rare { background: var(--sky-600); color: #fff; }
.legendary { background: #ffb627; color: var(--ink-900); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; padding: 48px; background: var(--sky-100); border-color: var(--sky-200); box-shadow: 0 4px 0 var(--sky-200); }
.cta h2 { margin-bottom: 8px; font-size: 40px; }
.cta p { margin: 0; color: var(--ink-700); }

/* Support */
.support-head { background: var(--sky-100); border-bottom: 2px solid var(--sky-200); }
.support-head .inner { max-width: 860px; margin: 0 auto; padding: 32px 24px 56px; }
.support-head p { max-width: 34em; margin: 0; color: var(--ink-700); font-size: 20px; }
.support-head h1 { font-size: 56px; }
.stack { display: flex; flex-direction: column; gap: 56px; padding: 56px 24px 96px; }
.stack h2 { font-size: 32px; }
.stack .card { padding: 32px; }
.stack .card h2 { margin-bottom: 14px; }
.stack .card > p { margin: 0 0 20px; color: var(--ink-700); }
.stack .card > .strong { margin-bottom: 6px; color: var(--ink-900); font-weight: 700; }
.stack .card > ul { margin: 0; padding-left: 20px; color: var(--ink-700); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 24px; }
.copy { margin: 0; }
.copy .overline { margin-bottom: 2px; }
.address { font-weight: 700; user-select: all; }
.legal-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.legal-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 20px; background: var(--paper-50); border: 2px solid var(--paper-300); border-radius: 22px; box-shadow: 0 3px 0 var(--paper-300); font-weight: 700; }
.legal-links a:hover { border-color: var(--ink-500); }

/* Delete account */
.app-by { margin: 0 0 24px; color: var(--ink-700); font-weight: 700; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.ways h2 { margin-bottom: 10px; font-size: 26px; line-height: 1.2; }
.ways p { margin: 0 0 12px; color: var(--ink-700); }
.ways .primary { border-color: var(--sky-600); }
.ways .btn { margin: 8px 0 20px; }
.ways .copy { margin: 0; color: var(--ink-900); }
.ways .path { color: var(--ink-900); font-size: 19px; font-weight: 700; }
.warning { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding: 16px 20px; background: #fbe0e4; border: 2px solid #bc3347; border-radius: 18px; }
.warning svg { flex: none; margin-top: 1px; }
.prose { max-width: 36em; }
.prose h2 { margin: 40px 0 12px; font-size: 28px; line-height: 1.2; }
.prose ul { margin: 0; padding-left: 22px; color: var(--ink-700); }
.prose > p { margin: 40px 0 0; color: var(--ink-700); }
.prose dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; color: var(--ink-700); }
.prose dt { color: var(--ink-900); font-weight: 700; }
.prose dd { margin: 0; }

/* Privacy policy and terms */
.legal-head { background: var(--paper-50); border-bottom: 2px solid var(--paper-300); }
.legal-head .inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px 40px; }
.legal-head p { max-width: 36em; margin: 0 0 6px; color: var(--ink-700); }
.legal-head .updated { margin: 0; color: var(--ink-500); font-size: 16px; }
.legal-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; max-width: 1200px; margin: 0 auto; padding: 40px 24px 96px; }
.toc { position: sticky; top: 104px; flex: 0 0 280px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc ol, .toc-small ol { margin: 0; padding-left: 28px; }
.toc a, .toc-small a { display: inline-block; padding: 8px 0; font-size: 16px; }
.toc-small { display: none; flex-basis: 100%; }
.toc-small nav { padding: 0 24px 16px; }
.toc-small a { padding: 11px 0; }
article { min-width: 0; }
.legal-body article { flex: 1 1 560px; max-width: 36em; }
.legal-body article h2 { margin: 48px 0 12px; font-size: 28px; line-height: 1.2; }
.legal-body article p, .legal-body article ul { margin: 0 0 16px; color: var(--ink-700); }
.legal-body article ul { padding-left: 22px; }
.legal-body article li { margin-bottom: 10px; }

.not-found, .result { min-height: 50vh; padding-top: 96px; }

@media (max-width: 900px) {
    .toc { display: none; }
    .toc-small { display: block; }
    .legal-body { gap: 24px; }
    .legal-body article { flex-basis: 100%; }
}
@media (max-width: 760px) {
    h1, .hero h1, .support-head h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    .hero .words, .split .words { flex-basis: 100%; }
    .hero .inner { padding-top: 48px; }
    .hero .phone { margin: 0 auto; }
    .cta { padding: 28px; }
    .cta h2 { font-size: 32px; }
}
@media (max-width: 400px) {
    .bar, .hero .inner, .wide, .narrow, .medium, .legal-body, .legal-head .inner, .support-head .inner, footer .inner { padding-left: 16px; padding-right: 16px; }
    h1, .hero h1, .support-head h1 { font-size: 34px; }
    .logo { font-size: 26px; }
    .card, .stack .card { padding: 22px; }
    .btn { padding: 12px 20px; }
    .phone { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
@media (forced-colors: active) {
    .btn, .card, details, .badge, .legal-links a, .pill { border: 2px solid CanvasText; }
    a:focus-visible, summary:focus-visible, .btn:focus-visible, input:focus-visible { outline-color: Highlight; }
}
@media print {
    .top, .toc, .toc-small, .skip { display: none; }
}
