@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --bg: #ffffff;
  --ink: #1b1b1f;
  --muted: #66666f;
  --soft: #f5f4f1;
  --line: #e5e4e0;
  --accent: #3a3cf0;
  --accent-ink: #ffffff;
  --accent-text: #3a3cf0;   /* blue text; white on dark backgrounds */
  --link-line: none;        /* dark mode underlines links in blue instead */
  --draw: #b4b3bb;
  --dim: #b9b9c1;
  --blue: #3a3cf0;
  --on-blue: #ffffff;
  --note: #d0245e;
  --serif: "Figtree", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 73.75rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f12; --ink: #f2f2f4; --muted: #a3a3ac; --soft: #18181d; --line: #2a2a31;
    --accent-text: #f2f2f4; --link-line: underline; --draw: #4c4c55; --dim: #4a4a52; --note: #ff7aa5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f12; --ink: #f2f2f4; --muted: #a3a3ac; --soft: #18181d; --line: #2a2a31;
  --accent-text: #f2f2f4; --link-line: underline; --draw: #4c4c55; --dim: #4a4a52; --note: #ff7aa5; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.15rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 850; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 750; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-right, 0px)); }   /* side margin grows with the screen: 20px phones, ~37px iPad portrait, ~53px landscape, 64px desktop */
.narrow { max-width: 47.5rem; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sub { font-size: 1.25rem; color: var(--muted); }
.sec { padding-block: clamp(4rem, 10vw, 8rem); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.75rem 1.6rem; border-radius: 999px; font: 600 1.08rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.2s ease, background 0.2s ease; }
.pill:hover { transform: translateY(-1px); }
.pill-blue { background: var(--accent); color: var(--accent-ink); }
.pill-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill-white { background: #ffffff; color: #1b1b1f; }
.pill-sm { min-height: 2.625rem; padding: 0.55rem 1.1rem; font-size: 0.98rem; }
.link { font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link, .tile .more, .legal a, .status .fine a { text-decoration-line: var(--link-line); text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link::after { content: " \203A"; }
.link:hover { text-decoration: underline; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; color: var(--ink); background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.home.at-top .site-header { background: transparent; color: #ffffff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.25rem; gap: 1rem; }
.h-left { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.h-left a { text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: 0.5rem; white-space: nowrap; }
.h-left a:hover, .h-left a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.burger { display: block; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.burger span + span { margin-top: 6px; }
.wordmark { font: 850 1.55rem/1 var(--serif); text-transform: lowercase; text-decoration: none; letter-spacing: -0.04em; white-space: nowrap; }
.h-right { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.h-phone { font-weight: 600; font-size: 1rem; white-space: nowrap; }
.home.at-top .site-header .pill-blue { background: #ffffff; color: #1b1b1f; }
/* the iPad header on every screen size: menu button, centred logo; the links live in the menu */
.h-left a { display: none; }
@media (max-width: 760px) {
  .h-phone { display: none; }
  .wordmark { font-size: 1.4rem; }
}
@media (max-width: 420px) { .wordmark { font-size: 1.2rem; } .h-right .pill { padding-inline: 0.9rem; } }
.drawer { position: fixed; inset: 0; z-index: 40; background: var(--bg); color: var(--ink); padding: calc(env(safe-area-inset-top, 0px) + 1rem) max(20px, env(safe-area-inset-right, 0px)) 2rem max(20px, env(safe-area-inset-left, 0px)); display: grid; align-content: start; gap: 0.25rem; }
.drawer[hidden] { display: none; }
.drawer .close { justify-self: end; font: 600 1rem var(--sans); background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 0.5rem 1rem; min-height: 2.75rem; cursor: pointer; margin-bottom: 1rem; }
.drawer a { font: 750 1.9rem/1.3 var(--serif); text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }

/* hero: photo (Oscar) */
.hero-photo { position: relative; margin-top: -4.25rem; }
.hp-frame { position: relative; height: min(84vh, 46.25rem); min-height: 33.75rem; overflow: hidden; background: #0e0e11; }
.hp-frame img { position: absolute; top: 0; right: 0; width: min(60%, 880px); height: 100%; object-fit: cover; object-position: 50% 8%; }
.hp-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0e0e11 0%, #0e0e11 40%, rgba(14,14,17,0.55) 52%, rgba(14,14,17,0) 68%), linear-gradient(180deg, rgba(14,14,17,0.55) 0%, rgba(14,14,17,0) 18%); }
.hp-copy { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; color: #ffffff; padding-top: 4.25rem; }
.hp-inner { display: grid; gap: 1.4rem; justify-items: start; width: 100%; }
.hp-copy h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 12ch; }
.hp-copy .hp-sub { font-size: 1.25rem; color: rgba(255,255,255,0.78); max-width: 26rem; }
.hp-copy .btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hp-copy .pill-line { color: #ffffff; border-color: transparent; box-shadow: inset 0 0 0 1.5px #ffffff; }  /* outline as a shadow: Firefox draws a real border in broken pieces while the hero scales on scroll */
@media (max-width: 760px) {
  .hp-frame { height: auto; min-height: 0; }
  .hp-frame img { position: relative; width: 100%; height: auto; aspect-ratio: 1; }
  .hp-frame::before { bottom: auto; height: 100vw; background: linear-gradient(180deg, rgba(14,14,17,0.55) 0%, rgba(14,14,17,0) 18%, rgba(14,14,17,0) 58%, #0e0e11 100%); }
  .hp-copy { position: relative; padding: 0 0 2.75rem; margin-top: -3.5rem; }
}

/* trust strip: each item carries its own check (same pattern as .facts), so wrapping never strands a separator */
.credentials { padding-block: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem 1.6rem; color: var(--muted); font-size: 1.02rem; }
.credentials span { white-space: nowrap; }
.credentials span::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 0.4em; }


/* service tiles (Apple-like) */
.tiles { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--soft); border-radius: 28px; padding: 2.2rem 2rem 2rem; display: grid; gap: 0.6rem; align-content: start; text-decoration: none; min-height: 18.75rem; position: relative; overflow: hidden; transition: transform 0.35s ease; }
.tile:hover { transform: scale(1.01); }
.tile .price { font-weight: 600; color: var(--muted); }
.tile .more { position: absolute; left: 2rem; bottom: 2rem; font-weight: 600; color: var(--accent-text); }  /* shows the card is a link (the whole card is the one link) */
#help { scroll-margin-top: 4rem; }
.tile p { color: var(--muted); max-width: 26rem; }
.tile svg { width: 120px; height: 90px; margin-top: auto; justify-self: end; }
.tile svg * { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile svg .acc { stroke: var(--accent); stroke-width: 2; }

/* Dia-blue remote section */
.blue { background: var(--blue); color: var(--on-blue); overflow: hidden; }
.blue .sec { padding-bottom: clamp(4rem, 9vw, 7rem); }
.blue h2 { color: var(--on-blue); }
.blue .sub { color: rgba(255,255,255,0.82); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-top: 1.75rem; font-weight: 600; }
.facts span::before { content: "\2713  "; }
.rsteps { list-style: none; margin: 3.5rem auto 3rem; padding: 0; max-width: 62.5rem; display: grid; gap: 2rem; grid-template-columns: 1fr; counter-reset: r; text-align: left; }
@media (min-width: 820px) { .rsteps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.rsteps li { counter-increment: r; display: grid; gap: 0.5rem; align-content: start; border-top: 1px solid rgba(255, 255, 255, 0.35); padding-top: 1.5rem; }
@media (max-width: 819px) { .rsteps li:first-child { border-top: 0; padding-top: 0; } }
.rsteps li::before { content: counter(r); font: 850 3.6rem/1 var(--serif); letter-spacing: -0.04em; color: #ffffff; margin-bottom: 0.5rem; }
.rsteps h3 { color: #ffffff; font-size: 1.6rem; }
.rsteps p { color: rgba(255, 255, 255, 0.8); font-size: 1.15rem; }

/* meet card */
.meet { padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 5vw, 3rem); }
.meet-card { background: #16161a; color: #ffffff; border-radius: 28px; padding: clamp(2rem, 5vw, 4rem); display: grid; gap: 2.5rem; max-width: 68.75rem; margin: 0 auto; }
@media (min-width: 860px) { .meet-card { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.meet-copy { display: grid; gap: 1.25rem; align-content: start; }
.meet-copy h2 { color: #ffffff; }
.meet-copy p { color: rgba(255,255,255,0.78); font-size: 1.2rem; }
.meet-copy .link { color: #ffffff; text-decoration-line: underline; }
.promises { list-style: none; margin: 0; padding: 0; }
.promises li { padding: 1.15rem 0; display: grid; gap: 0.2rem; }
.promises li:first-child { padding-top: 0.35rem; }
.promises li:last-child { padding-bottom: 0; }
.promises li + li { border-top: 1px solid rgba(255,255,255,0.16); }
.promises strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.promises span { color: rgba(255,255,255,0.7); }

/* FAQ */
.faq { max-width: 51.25rem; margin: 2.5rem auto 0; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font: 700 1.3rem/1.3 var(--serif); min-height: 4rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 2rem/1 var(--sans); color: var(--accent); transition: transform 0.25s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 0 1.4rem; color: var(--muted); max-width: 40rem; }

/* rise-in (starts visible, just lower) */
.motion .rise { transform: translateY(28px); opacity: 0.55; transition: transform 0.9s cubic-bezier(.2,.7,.2,1), opacity 0.9s ease; }
.motion .rise.in { transform: none; opacity: 1; }

/* inner pages */
.page-top { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3rem); text-align: center; display: grid; gap: 1rem; justify-items: center; }
.rates { max-width: 51.25rem; margin: 0 auto; }
.rate + .rate { border-top: 1px solid var(--line); }
.rate { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 2rem; padding: 1.4rem 0; align-items: baseline; }
.rate h3 { font-size: 1.45rem; }
.rate p { grid-column: 1; color: var(--muted); }
.rate .amt { grid-row: 1 / span 2; grid-column: 2; font: 800 1.8rem/1 var(--serif); text-align: right; font-variant-numeric: tabular-nums; }
.rate .amt small { display: block; font: 500 0.88rem/1.4 var(--sans); color: var(--muted); }
.rate .amt.prop { color: var(--muted); }
.svc-rows { max-width: 56.25rem; margin: 0 auto; display: grid; gap: 1.1rem; }
.svc-row { background: var(--soft); border-radius: 24px; padding: 2rem; display: grid; gap: 0.75rem 2rem; scroll-margin-top: 6rem; }  /* home page tiles link to each row */
@media (min-width: 760px) { .svc-row { grid-template-columns: 1fr 8rem; align-items: baseline; } .svc-row .from { text-align: right; } }
.svc-row ul { margin: 0.3rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.svc-row .from { font: 800 1.7rem/1 var(--serif); white-space: nowrap; }
.svc-row .from small { display: block; font: 500 0.88rem/1.4 var(--sans); color: var(--muted); }
.towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.6rem; font: 750 clamp(1.4rem, 2.8vw, 2rem)/1.4 var(--serif); max-width: 56.25rem; margin: 0 auto; }
.towns.fee { color: var(--muted); font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.about { display: grid; gap: 3rem; align-items: center; max-width: 62.5rem; margin: 0 auto; }
@media (min-width: 860px) { .about { grid-template-columns: 0.9fr 1.1fr; } }
.about img { border-radius: 28px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 6%; }
.prose { display: grid; gap: 1.1rem; }
.prose .big { font: 700 1.6rem/1.3 var(--serif); letter-spacing: -0.02em; }
.texts { display: grid; gap: 2.5rem; max-width: 56.25rem; margin: 0 auto; }
@media (min-width: 800px) { .texts { grid-template-columns: 1fr 1fr; } }
.texts > div { display: grid; gap: 0.75rem; align-content: start; }
.texts .from { font-size: 0.95rem; color: var(--muted); }
.ios { max-width: 22rem; padding: 0.7rem 1rem; border-radius: 20px; font: 400 1.05rem/1.4 -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.ios.them { background: #e9e9eb; color: #1b1b1f; border-bottom-left-radius: 6px; }
.ios.me { background: #1f7aec; color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.verdict { font: 700 1.25rem/1.3 var(--serif); }
.verdict.bad { color: var(--note); }
.never { max-width: 51.25rem; margin: 3.5rem auto 0; list-style: none; padding: 0; }
.never li + li { border-top: 1px solid var(--line); }
.never li { font: 750 clamp(1.3rem, 2.4vw, 1.7rem)/1.3 var(--serif); letter-spacing: -0.02em; padding: 1.2rem 0; }
.never li small { display: block; font: 400 1.05rem/1.5 var(--sans); color: var(--muted); margin-top: 0.25rem; }
.contact { display: grid; gap: 3rem; max-width: 62.5rem; margin: 0 auto; align-items: start; }
@media (min-width: 880px) { .contact { grid-template-columns: 1fr 1.1fr; } }
.reach { display: grid; gap: 0; }
.reach div + div { border-top: 1px solid var(--line); }
.reach div { padding: 1.1rem 0; display: grid; gap: 0.25rem; }
.reach dt { color: var(--muted); font-size: 0.95rem; }
.reach dd { margin: 0; font: 700 1.45rem/1.25 var(--serif); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; overflow-wrap: anywhere; }
.copy { font: 600 0.92rem/1 var(--sans); color: var(--accent-text); background: none; border: 1.5px solid var(--accent); border-radius: 999px; padding: 0.5rem 0.9rem; min-height: 2.5rem; cursor: pointer; }
form { background: var(--soft); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 0.85rem 1rem; min-height: 3.375rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.fine { font-size: 0.95rem; color: var(--muted); }
.sent { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 0.9rem 1rem; font-weight: 600; }
.tips { max-width: 56.25rem; margin: 0 auto; list-style: none; padding: 0; }
.tips > li + li { border-top: 1px solid var(--line); }
.tips > li { padding: 1.6rem 0; display: grid; gap: 0.35rem; }
.tips > li:first-child { padding-top: 0; }
.tips .topic { font-weight: 600; color: var(--accent-text); font-size: 0.95rem; }

.zone { font-weight: 700; color: var(--muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
.fit { display: grid; gap: 3rem; max-width: 62.5rem; margin: 0 auto; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.fitlist { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.fitlist li + li { border-top: 1px solid var(--line); }
.fitlist li { padding: 0.95rem 0; font-size: 1.2rem; }
.fitlist li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 0.75rem; }
.dim-list li { color: var(--muted); }
.dim-list li::before { content: "\2192"; color: var(--muted); }
.price-callout { margin-top: 2.5rem; font: 850 2.6rem/1 var(--serif); letter-spacing: -0.03em; }
.price-callout span { font: 500 1.1rem var(--sans); color: var(--muted); letter-spacing: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; font-size: 1rem; }
.foot { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.foot h4 { margin: 0 0 0.5rem; font: 600 0.95rem var(--sans); color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 0.45rem 0; text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }

/* forms */
.hp { position: absolute; left: -9999px; }
.skip:focus { position: fixed; left: 1rem; top: calc(env(safe-area-inset-top, 0px) + 0.75rem); z-index: 50; background: var(--bg); color: var(--ink); padding: 0.6rem 1rem; border-radius: 10px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }

/* legal pages */
.legal { max-width: 47.5rem; margin: 0 auto; padding-bottom: 6rem; }
.legal h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin-top: 2.5rem; margin-bottom: 0.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0.5rem 0 0; }
.legal li { margin-bottom: 0.5rem; }
.legal a { color: var(--accent-text); }
.updated { color: var(--muted); }


/* quirky status pages */
.status { min-height: 66vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.4rem; padding-block: 3.5rem 5rem; }
.bigcode { font-weight: 900; font-size: clamp(6.5rem, 24vw, 13rem); line-height: 0.85; letter-spacing: -0.07em; color: var(--accent); margin: 0; }
.status .code { font-weight: 700; color: var(--accent-text); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; margin: 0; }
.status h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; }
.diag { margin: 0.5rem 0 0; width: min(100%, 34rem); background: var(--soft); border-radius: 24px; padding: 0.4rem 1.5rem; text-align: left; }
.diag > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.25rem 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.diag > div:last-child { border-bottom: 0; }
.diag dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding-top: 0.2rem; }
.diag dd { margin: 0; font-weight: 600; }
.status .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.status .fine { font-size: 0.95rem; color: var(--muted); max-width: 30rem; }
.status .fine a { color: var(--accent-text); }
@media (max-width: 480px) { .diag > div { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .bigcode { display: inline-block; transform-origin: 50% 90%; animation: wobble 1.1s cubic-bezier(.3,1.6,.5,1) 0.15s both; }
  .bigcode:hover { animation: wobble 0.9s cubic-bezier(.3,1.6,.5,1) both; }
  @keyframes wobble { 0% { transform: rotate(-9deg) scale(0.92); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } 100% { transform: none; } }
}

.foot .email { display: inline-block; margin-top: 0.6rem; text-decoration: none; padding-block: 0.25rem; }
.foot .email:hover { text-decoration: underline; }

/* brand marks */
.mark { display: inline-block; width: 1.55em; height: auto; vertical-align: -0.02em; margin-right: 0.38em; flex: none; }
.mascot { width: 139px; height: auto; display: block; margin: 0 auto -0.3rem; }

/* tips articles and price notes */
.tip-body { margin-top: 0.8rem; max-width: 44rem; display: grid; gap: 1rem; }
.tip-body ol { padding-left: 1.3rem; display: grid; gap: 0.6rem; }
.tip-body li { display: list-item; }
.tip-body strong { color: var(--ink); }
.price-notes { max-width: 51.25rem; margin: 2rem auto 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--muted); }

/* page motion: transitions between pages, staggered entrances, menu, questions */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* cross-page transition (Chrome, Edge, Safari 18.2+; others just load normally) */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: page-out 0.22s ease both; }
  ::view-transition-new(root) { animation: page-in 0.45s cubic-bezier(.2,.7,.2,1) 0.08s both; }
  ::view-transition-group(site-header) { animation-duration: 0.35s; }
  @keyframes page-out { to { opacity: 0; translate: 0 -10px; } }
  @keyframes page-in { from { opacity: 0; translate: 0 14px; } }

  /* staggered entrance on every page load (uses translate, so existing transforms keep working) */
  @keyframes enter { from { opacity: 0; translate: 0 22px; } }
  .page-top > *, main > :not(.page-top), .hp-inner > * { animation: enter 0.7s cubic-bezier(.2,.7,.2,1) both; }
  .page-top > :nth-child(2) { animation-delay: 0.08s; }
  .page-top > :nth-child(n+3) { animation-delay: 0.14s; }
  main > :nth-child(2) { animation-delay: 0.18s; }
  main > :nth-child(n+3) { animation-delay: 0.26s; }
  .hp-inner > :nth-child(1) { animation-delay: 0.1s; }
  .hp-inner > :nth-child(2) { animation-delay: 0.22s; }
  .hp-inner > :nth-child(3) { animation-delay: 0.34s; }
  main > .hero-photo { animation: none; }
  .hp-frame img { animation: photo-in 1.2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes photo-in { from { opacity: 0; scale: 1.06; } }

  /* menu drawer */
  .drawer:not([hidden]) { animation: drawer-in 0.32s cubic-bezier(.2,.7,.2,1) both; }
  .drawer:not([hidden]) a { animation: enter 0.5s cubic-bezier(.2,.7,.2,1) both; }
  .drawer a:nth-of-type(1) { animation-delay: 0.05s; } .drawer a:nth-of-type(2) { animation-delay: 0.08s; }
  .drawer a:nth-of-type(3) { animation-delay: 0.11s; } .drawer a:nth-of-type(4) { animation-delay: 0.14s; }
  .drawer a:nth-of-type(5) { animation-delay: 0.17s; } .drawer a:nth-of-type(6) { animation-delay: 0.2s; }
  .drawer a:nth-of-type(7) { animation-delay: 0.23s; } .drawer a:nth-of-type(8) { animation-delay: 0.26s; }
  .drawer a:nth-of-type(9) { animation-delay: 0.29s; } .drawer a:nth-of-type(n+10) { animation-delay: 0.32s; }
  .drawer.closing { animation: drawer-out 0.22s ease both; }
  .drawer.closing a { animation: none; }
  @keyframes drawer-in { from { opacity: 0; translate: 0 -12px; } }
  @keyframes drawer-out { to { opacity: 0; translate: 0 -12px; } }

  /* questions: summary nudges on hover, answer fades up as it opens (height is animated in site.js) */
  .faq summary { transition: color 0.2s ease; }
  .faq summary:hover { color: var(--accent-text); }
  .faq details[open] > p { animation: enter 0.4s cubic-bezier(.2,.7,.2,1) both; transition: opacity 0.2s ease; }
  .faq details.closing > p { opacity: 0; }
  /* the + / x turns in step with the card: same start, duration, and easing as the height animation in site.js */
  .faq summary::after { transition: transform 0.38s cubic-bezier(.2,.7,.2,1); }
  .faq details.closing summary::after { transform: none; transition-duration: 0.26s; }

  /* links and buttons get a little life */
  .pill:hover { transform: translateY(-2px); }
  .pill:active { transform: translateY(0) scale(0.97); }
}

/* "starting at $400": label reads before the number, on the same line */
.rate .amt small.pre, .svc-row .from small.pre { display: inline; margin-right: 0.35em; }
@media (min-width: 760px) { .svc-row { grid-template-columns: 1fr 10rem; } }

/* logo hover: the anime glasses glint (push up, lenses flash, glare streaks, sparkle) */
:root { --glint-lens: #3a3cf0; --glint-streak: #ffffff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --glint-lens: #ffffff; --glint-streak: #3a3cf0; } }
:root[data-theme="dark"], .home.at-top .site-header { --glint-lens: #ffffff; --glint-streak: #3a3cf0; }
.mark { overflow: visible; }
.mark .glare { stroke: var(--glint-streak); stroke-dasharray: 12; stroke-dashoffset: 12; opacity: 0; }
.mark .sparkle { fill: var(--glint-lens); opacity: 0; transform-box: fill-box; transform-origin: center; }
html:not(.glint-hold) .wordmark:hover .mark rect, .wordmark:focus-visible .mark rect { fill: var(--glint-lens); fill-opacity: 1; }
html:not(.glint-hold) .wordmark:hover .mark .glare, .wordmark:focus-visible .mark .glare { opacity: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* hover away: lens colour fades back and the glare retracts (transitions reverse smoothly mid-way) */
  .mark rect { transition: fill 0.4s ease, fill-opacity 0.4s ease; }
  .mark .glare { transition: stroke-dashoffset 0.35s ease-in, opacity 0.2s ease 0.25s; }
  .mark { transition: translate 0.35s ease, rotate 0.35s ease; }
  /* hover in: same glint timing as before, via delayed transitions */
  html:not(.glint-hold) .wordmark:hover .mark rect, .wordmark:focus-visible .mark rect { transition: fill 0.15s ease 0.25s, fill-opacity 0.15s ease 0.25s; }
  html:not(.glint-hold) .wordmark:hover .mark .glare, .wordmark:focus-visible .mark .glare { transition: stroke-dashoffset 0.28s ease-out 0.3s, opacity 0s linear 0.3s; }
  html:not(.glint-hold) .wordmark:hover .mark, .wordmark:focus-visible .mark { animation: glasses-push 0.9s cubic-bezier(.3,1.4,.5,1) both; }
  html:not(.glint-hold) .wordmark:hover .mark .sparkle, .wordmark:focus-visible .mark .sparkle { animation: sparkle-pop 0.9s ease both; }
  @keyframes glasses-push { 0% { translate: 0 0; rotate: 0deg; } 22% { translate: 0 -3px; rotate: -4deg; } 40% { translate: 0 -2px; rotate: 0deg; } 100% { translate: 0 0; rotate: 0deg; } }
  .mark.glint-off { animation: glasses-settle 0.4s cubic-bezier(.3,1.4,.5,1); }
  @keyframes glasses-settle { 0% { translate: 0 0; rotate: 0deg; } 35% { translate: 0 1.5px; rotate: 2deg; } 100% { translate: 0 0; rotate: 0deg; } }
  @keyframes sparkle-pop { 0%, 42% { opacity: 0; scale: 0; rotate: 0deg; } 62% { opacity: 1; scale: 1.7; rotate: 45deg; } 80% { opacity: 1; scale: 1.2; rotate: 70deg; } 100% { opacity: 0; scale: 0; rotate: 90deg; } }
}
.foot .phone { margin-top: 0; }

/* section separation: full-width tinted bands (no wrapper divs needed) and section titles */
.band { background: var(--soft); box-shadow: 0 0 0 100vmax var(--soft); clip-path: inset(0 -100vmax); }
.credentials.band { padding-block: 1.4rem; }
/* blue strip between the hero and the grey section below it */
.credentials.band { --soft: var(--blue); color: rgba(255,255,255,0.92); font-weight: 600; }
.credentials.band span::before { color: #ffffff; }
.sec-title { margin-bottom: 2.5rem; }
.band .tile { background: var(--bg); }

/* light/dark toggle in the footer */
:root[data-theme="light"] { color-scheme: light; }
.theme-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; width: 76px; height: 40px; margin: 2.5rem 0 0; padding: 0 9px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft); cursor: pointer; }
.theme-toggle svg { position: relative; z-index: 1; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease, fill 0.25s ease; }
.theme-toggle .knob { position: absolute; top: 3px; left: 3px; width: 31px; height: 31px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,0.18); transition: translate 0.3s cubic-bezier(.3,1.3,.5,1); }
.theme-toggle[aria-checked="true"] .knob { translate: 36px 0; }
.theme-toggle[aria-checked="false"] .sun { stroke: var(--accent); }
.theme-toggle[aria-checked="true"] .moon { stroke: var(--accent); fill: var(--accent); }
.theme-toggle:hover { border-color: var(--muted); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle + .copyright { margin-top: 1.5rem; }
/* theme switch animation: circular reveal (see site.js) with a colour-fade fallback */
html.theme-anim .site-header { view-transition-name: none; }
html.theme-anim::view-transition-old(root), html.theme-anim::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-fade, html.theme-fade * { transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease, stroke 0.4s ease !important; }
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle svg { transition: stroke 0.25s ease, fill 0.25s ease; }
}

/* phones (touch, no hover): no motion anywhere except the menu drawer */
@media (hover: none) and (pointer: coarse) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  :not(.drawer, .drawer *), :not(.drawer, .drawer *)::before, :not(.drawer, .drawer *)::after { animation: none !important; transition: none !important; }
  .pill:hover, .pill:active, .tile:hover { transform: none; }
  .mark rect { fill: #3a3cf0 !important; fill-opacity: 0.3 !important; }
  .mark .glare, .mark .sparkle { display: none; }
}

/* error and thank-you pages on wider screens: mascot on the left, the details on the right, sized to fit without scrolling */
@media (min-width: 760px) {
  .status, main.center:has(> .mascot) { grid-template-columns: minmax(200px, 1fr) minmax(0, 36rem); justify-content: stretch; justify-items: start; align-content: center; text-align: left; column-gap: clamp(2.5rem, 6vw, 5rem); row-gap: 1.05rem; padding-block: 2rem 2.5rem; }
  .status { grid-template-rows: repeat(5, auto); }
  main.center:has(> .mascot) { grid-template-rows: repeat(4, auto); max-width: 62.5rem; }
  .status > .mascot, main.center > .mascot { grid-column: 1; grid-row: 1 / -1; align-self: center; justify-self: center; width: clamp(180px, 26vw, 330px); max-width: 100%; margin: 0; }
  .status > :not(.mascot), main.center:has(> .mascot) > :not(.mascot) { grid-column: 2; }
  .status .bigcode { font-size: clamp(5rem, 10vw, 8rem); }
  .status h1 { max-width: 20ch; }
  .status .diag { width: 100%; margin-top: 0.25rem; }
  .status .btns { justify-content: flex-start; margin-top: 0.25rem; }
  main.center:has(> .mascot) .btn { justify-self: start; }
}

/* launch-list signup on the join page, and the "Opening soon" line in the home hero (coming-soon site; built by tools/build_coming_soon.py) */
.hp-eyebrow { font-weight: 600; color: rgba(255,255,255,0.74); }
.hp-eyebrow b { color: #ffffff; font-weight: 700; }
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; width: 100%; background: none; border-radius: 0; padding: 0; }  /* not the boxed contact-form look */
.signup label { position: absolute; left: -9999px; }
.signup input[type="email"] { flex: 1 1 14rem; min-width: 0; min-height: 3.25rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); color: #ffffff; font: inherit; font-size: 1.1rem; padding: 0 1.3rem; }
.signup input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.signup input[type="email"]:focus { outline: none; border-color: #ffffff; background: rgba(255,255,255,0.14); }
.hp-fine { font-size: 0.95rem; color: rgba(255,255,255,0.55); }
.hp-fine a { color: rgba(255,255,255,0.8); }
.join-card { max-width: 34rem; margin-inline: auto; display: grid; gap: 1.4rem; background: #0e0e11; color: #ffffff; border: 1px solid rgba(255,255,255,0.12); border-radius: 28px; padding: clamp(1.5rem, 5vw, 2.5rem); }
.join-perks { display: grid; gap: 0.6rem; margin: 0; padding-left: 1.2rem; font-size: 1.1rem; color: rgba(255,255,255,0.85); }

/* wide screens: scale the whole layout up in proportion (like a bigger iPad) instead of leaving empty margins.
   1rem grows with the screen from 16px up to a 20px cap (125%), limited by both width and height. */
@media (min-width: 1181px) { html { font-size: clamp(16px, min(calc(100vw / 73.75), calc(100vh / 48)), 20px); } }   /* also limited by screen height, so short laptop screens don't overflow */

/* hero headline two-tone, matching the flyers and ads (the hero is always dark) */
.hp-copy h1 .hl { color: #ffffff; background: var(--blue); padding: 0 0.12em; border-radius: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* heading set as two fixed lines (no wrapping); shrinks on narrow phones so the longer line still fits */
.two-line span { display: block; white-space: nowrap; }
.two-line { font-size: min(clamp(2rem, 4.2vw, 3.3rem), 6.6vw); }

/* tips: the list on tips.html and each post in tips/ */
.tips h2, .tips h3 { font-size: 1.45rem; }
.tips h2 a, .tips h3 a { color: inherit; text-decoration: none; }
.tips h2 a:hover, .tips h3 a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 0.15em; }
.tip-list > li { padding-block: 1.4rem; }
.post { max-width: 47.5rem; padding-bottom: 3rem; }
.post .topic { font-weight: 600; color: var(--accent-text); font-size: 0.95rem; margin-bottom: 0.6rem; }
.post .topic a { color: inherit; }
.post h1 { margin-bottom: 0.6rem; }
.post-date { color: var(--muted); font-size: 0.9rem; margin-top: 0.75rem; }
.post-body { margin-top: 2rem; font-size: 1.12rem; text-align: left; margin-inline: auto; }
.post-more { max-width: 47.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.post-more h2 { font-size: 1.1rem; color: var(--muted); margin-bottom: 1rem; }
.post-video { display: block; width: min(80%, 18rem); aspect-ratio: 9 / 16; margin: 2rem auto 0; border-radius: 22px; background: #000; }
.post-video-wide { display: none; width: 100%; aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .post-video-tall { display: none; } .post-video-wide { display: block; } }

/* help.html: starting a remote session */
.help { max-width: 47.5rem; display: grid; gap: 1rem; }
.help-detected { color: var(--muted); }
.device { border: 1px solid var(--line); border-radius: 22px; padding: 0 1.5rem; }
.device summary { cursor: pointer; list-style: none; padding: 1.25rem 0; display: grid; gap: 0.15rem; }
.device summary::-webkit-details-marker { display: none; }
.device .dev-name { font-weight: 750; font-size: 1.35rem; }
.device .dev-tool { color: var(--muted); }
.device[open] { border-color: var(--accent-text); }
.device ol { padding: 0 0 0 1.3rem; margin: 0 0 1.25rem; display: grid; gap: 0.8rem; font-size: 1.1rem; }
.device .muted { margin: 0 0 1.25rem; }
.device .url { font-weight: 650; word-break: break-all; }
.help-safe { margin-top: 1.5rem; background: var(--soft); border-radius: 22px; padding: 1.5rem; display: grid; gap: 0.75rem; }
.help-safe h2 { font-size: 1.35rem; }
.help-safe ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; }

/* coming-soon launch bar with the countdown (tools/build_coming_soon.py, js/countdown.js) */
.launch-bar { background: #3a3cf0; color: #ffffff; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 0.9rem; padding: 0.55rem 1rem; font-size: 0.92rem; text-align: center; }
.launch-bar a { color: #ffffff; font-weight: 700; text-decoration: underline; text-underline-offset: 0.15em; }
.launch-bar .countdown { display: inline-flex; gap: 0.5rem; opacity: 0.92; font-variant-numeric: tabular-nums; }
.launch-bar .countdown[hidden] { display: none; }
.cd-unit b { font-weight: 750; }
.launch-bar .lb-short { display: none; }
@media (max-width: 600px) {
  .launch-bar { flex-wrap: nowrap; gap: 0.7rem; font-size: 0.86rem; padding: 0.5rem 0.75rem; white-space: nowrap; }
  .launch-bar .lb-long, .launch-bar .lb-join { display: none; }
  .launch-bar .lb-short { display: inline; }
}
@media (max-width: 359px) { .launch-bar .countdown .cd-min { display: none; } }
