/* base.css — Reset, page defaults, layout helpers and type. */

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 1.5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem; line-height: 1.6; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
img, video { display: block; max-width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--sel-bg); color: var(--sel-fg); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1rem; height: 1rem; flex: none; }

.wrap { width: 100%; max-width: 85rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) { .wrap { padding-inline: 2rem; } }
@media (min-width: 1024px) { .wrap { padding-inline: 3rem; } }
.section { padding-block: 6rem; }
@media (min-width: 1024px) { .section { padding-block: 9rem; } }
.pt-0 { padding-top: 0 !important; }
.rule { display: block; height: 1px; background: var(--line); }

/* ---------- Type ---------- */
.brand-name { font-family: Sarina, "Brush Script MT", "Segoe Script", cursive; font-weight: 400; letter-spacing: 0; }
.label { display: block; margin-bottom: 1.25rem; font-size: .8125rem; line-height: 1.25rem; font-weight: 500; color: var(--fg-muted); }
.page-title { max-width: 15ch; margin-bottom: 2rem; font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 500; line-height: .98; letter-spacing: -0.05em; color: var(--fg-strong); }
.section-title { max-width: 17ch; font-size: clamp(2rem, 4.2vw, 3.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; color: var(--fg-strong); }
.page-title:has(.hl), .section-title:has(.hl), .cta2__title:has(.hl) { color: var(--fg-muted); }
.hl { color: var(--fg-strong); }
.lead { max-width: 38rem; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--fg-soft); }
.prose p { max-width: 38rem; font-size: 1.0625rem; line-height: 1.75; color: var(--fg-soft); }
.prose p + p { margin-top: 1.25rem; }
.small { font-size: .8125rem; color: var(--fg-muted); }
.section-title--spaced { margin-bottom: 3rem; }
.label--tight { margin-bottom: .375rem; }
.page-head .lead + .tags { margin-top: 2rem; }
.field legend { margin-bottom: .5rem; }
.wtile__link { display: grid; gap: 1rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: 3rem; }
