/* Shared production shell: current Atomic design, native Django forms. */
@font-face { font-family: "Familjen Grotesk"; src: url("../fonts/familjen-grotesk-variable.0f61085123b1.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
:root { --ink: #171d19; --muted: #555e56; --yellow: #f6ce2b; --coral: #e0443e; --canvas: #f4f5f2; --rule: #cdd2cb; --ease: cubic-bezier(.22,1,.36,1); --layer-navigation: 30; color-scheme: light; scroll-padding-top: 84px; }
* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; font-family: "Familjen Grotesk", sans-serif; font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-weight: 500; line-height: 1.15; text-wrap: balance; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
button svg,a svg { flex-shrink: 0; }
[hidden] { display: none !important; }
summary { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 50%; top: 12px; z-index: 100; padding: 14px 22px; border-radius: 8px; background: var(--ink); color: var(--canvas); font-weight: 500; white-space: nowrap; transform: translate(-50%, -200%); }
.skip-link:focus { transform: translateX(-50%); }
@media (max-width: 760px) { .skip-link { left: 12px; right: 12px; text-align: center; transform: translateY(-200%); } .skip-link:focus { transform: none; } }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
main[tabindex="-1"]:focus { outline: none; }
.errorlist { padding: 0; margin: 8px 0; list-style: none; color: #a02e26; font-size: 15px; }
.helptext { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.site-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }
.site-icon--small { width: 14px; height: 14px; }

/* Current customer routes share the Atomic homepage palette. Archives retain their own shell. */
:root:has(.customer-site) { background: #f4f5f2; color-scheme: light; scroll-padding-top: 104px; scroll-behavior: auto; accent-color: #171d19; caret-color: #171d19; scrollbar-color: #9aa39a transparent; }
.customer-site ::selection { color: #171d19; background: #f6ce2b; }
.customer-site {
  --cs-canvas: #f4f5f2;
  --cs-ink: #171d19;
  --cs-muted: #555e56;
  --cs-rule: #cdd2cb;
  --cs-yellow: #f6ce2b;
  --cs-dark: #181d19;
  --cs-gutter: clamp(24px, 4vw, 64px);
  --cs-wide: 1320px;
  --cs-error: #a02e26;
  --cs-radius: 8px;
  --cs-card-radius: 24px;
  --cs-surface: #fbfbf9;
  --cs-tint: #e8ebe3;
  --cs-card-shadow: 0 1px 2px rgb(23 29 25 / .05), 0 24px 44px -34px rgb(23 29 25 / .22);
  --cs-stage: radial-gradient(90% 70% at 50% 0%, #ffe46d 0%, rgb(255 228 109 / 0) 70%), linear-gradient(180deg, #f8d335 0%, #efc21a 100%);
  --cs-stage-shadow: 0 1px 0 rgb(255 255 255 / .16) inset, 0 2px 6px rgb(62 51 6 / .2), 0 30px 60px -20px rgb(62 51 6 / .5);
  --muted: var(--cs-muted);
  --rule: var(--cs-rule);
  --focus: var(--cs-ink);
  background: var(--cs-canvas); color: var(--cs-ink); color-scheme: light; min-height: 100svh;
}
.customer-site * { min-width: 0; }
.customer-site :is(h1,h2,h3) { text-wrap: balance; }
.customer-site h1 { font-size: clamp(48px, 5.2vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.customer-site h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.customer-site h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
/* Atomic's composed sections own their text measures; this cap is for customer pages. */
.customer-site:where(:not(.aop-page)) p { max-width: 70ch; }
/* One focus system: a 2 px ink ring that follows the shape of what is focused. Links and summaries get rounded corners while focused (no specificity, so pills and buttons keep their own); fields draw the ring on their own edge instead of around it; links inside running text sit closer. */
.customer-site :is(a,button,summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:where(.customer-site) :where(a, summary):focus-visible { border-radius: 6px; }
.customer-site :is(p, li, dd) > a:focus-visible { outline-offset: 2px; }
.customer-site :is(input, select, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: -1px; }
.customer-site input:is([type="checkbox"], [type="radio"]):focus-visible { outline-offset: 2px; }
.customer-site .cs-faq-item summary:focus-visible { outline-offset: 2px; border-radius: 12px; }
.customer-site :is(main,section,header,h1,h2,h3)[tabindex="-1"]:focus { outline: none; }
.customer-site:not(.aop-page) [id] { scroll-margin-top: 104px; }
.customer-site a { text-underline-offset: 5px; }
.customer-site a:hover { text-decoration-thickness: 1px; }
.customer-site summary:hover { color: var(--cs-ink); }
.customer-page, .cs-header-inner, .cs-footer { width: min(calc(100% - var(--cs-gutter) * 2), var(--cs-wide)); margin-inline: auto; }
.customer-page { padding-bottom: clamp(64px, 8vw, 112px); }
.cs-header { position: sticky; top: 0; z-index: var(--layer-navigation); background: var(--cs-canvas); }
.cs-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: #d9ded6; }
.cs-header-inner { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.cs-brand { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.cs-brand img { width: 124px; height: auto; }
.cs-desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.cs-desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cs-muted); font-size: 17px; }
.cs-desktop-nav a[aria-current], .cs-desktop-nav a:hover { color: var(--cs-ink); text-decoration: underline; }
.customer-site .cs-button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px;
  padding: 13px 24px; border: 1px solid var(--cs-ink); border-radius: var(--cs-radius);
  background: var(--cs-ink); color: var(--cs-canvas); font-size: 17px; font-weight: 500; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.customer-site .cs-button:hover { background: #343e36; border-color: #343e36; text-decoration: none; }
.customer-site .cs-button:active { transform: translateY(1px); }
.customer-site .cs-button--outline { border-color: #818a82; background: transparent; color: var(--cs-ink); }
.customer-site .cs-button--outline:hover { background: #e5e9e2; border-color: var(--cs-ink); }
.cs-header-buy { margin-left: 12px; }

.cs-breadcrumb { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 32px 0 0; color: var(--cs-muted); font-size: 14px; }
.cs-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.cs-breadcrumb a:hover { color: var(--cs-ink); text-decoration: underline; }
.cs-breadcrumb > span[aria-current] { color: var(--cs-ink); }
.cs-intro { display: grid; justify-items: center; gap: 24px; padding: 48px 0 88px; text-align: center; }
.cs-intro > div { display: grid; justify-items: center; gap: 12px; max-width: 52ch; }
.customer-site .cs-intro p { max-width: 52ch; color: var(--cs-muted); font-size: 22px; line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }
.customer-site .cs-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; border: 0; padding: 0; background: none; color: var(--cs-ink); font-size: 16px; text-align: left; }
.customer-site .cs-text-link:hover { text-decoration: underline; }
.cs-field { display: grid; gap: 9px; font-size: 16px; }
.customer-site :where(input:not([type="hidden"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea) { background: #fbfcf9; color: var(--cs-ink); border-color: #818a82; color-scheme: light; }
.customer-site :is(.cs-field input,.cs-field select,.cs-field textarea) { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid #818a82; border-radius: var(--cs-radius); background: var(--cs-surface); color: var(--cs-ink); line-height: 1.35; }
.customer-site :is(.cs-field input,.cs-field textarea)::placeholder { color: #626b63; opacity: 1; }
.customer-site :is(.cs-field input,.cs-field select,.cs-field textarea)[aria-invalid="true"] { border-color: var(--cs-error); }
.cs-footer { border-top: 1px solid var(--cs-rule); }
.cs-footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 48px 0; }
.cs-footer-signature p { margin-top: 12px; font-size: 20px; letter-spacing: -.02em; }
.cs-footer-main nav { display: grid; align-content: start; justify-items: start; gap: 0; }
.cs-footer a:not(.cs-brand) { display: inline-flex; align-items: center; min-height: 44px; color: var(--cs-muted); }
.cs-footer a:hover, .cs-footer a[aria-current] { color: var(--cs-ink); text-decoration: underline; }
.cs-footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px 0; border-top: 1px solid var(--cs-rule); color: var(--cs-muted); font-size: 14px; }
.cs-footer-meta > :last-child { margin-left: auto; }
.customer-site .dialog { color: var(--cs-ink); background: var(--cs-canvas); color-scheme: light; border-color: var(--cs-rule); --muted: var(--cs-muted); }
@media (max-width: 760px) {
  .cs-header-inner { gap: 16px; }
  .cs-brand img { width: 108px; }
  .cs-desktop-nav { display: none; }
  .cs-header-buy { margin-left: 0; }
  .cs-breadcrumb { margin-top: 14px; }
  .cs-intro { gap: 16px; padding: 24px 0 48px; }
  .customer-site .cs-intro p { font-size: 18px; }
  .cs-footer-main { grid-template-columns: 1.25fr 1fr; gap: 28px 20px; padding: 36px 0; }
  .cs-footer-signature { grid-column: 1 / -1; }
  .cs-footer-meta > :last-child { margin-left: 0; }
  .cs-footer-meta { align-items: start; flex-direction: column; gap: 6px; }
}
@media (max-width: 360px) {
  .cs-header-inner { gap: 8px; }
  .cs-brand img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  :root:has(.customer-site) { scroll-behavior: auto; }
  .customer-site *, .customer-site *::before, .customer-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Shared finish for homepage and customer-route navigation. */
.atomic-site-header {
  --header-canvas: #f4f5f2;
  --header-ink: #171d19;
  --header-muted: #555e56;
  --header-yellow: #f6ce2b;
  --header-gutter: clamp(24px, 4vw, 64px);
}
.atomic-site-header .site-header-buy {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  min-height: 44px; padding: 5px 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--header-ink); white-space: nowrap;
  font-size: 14px; line-height: 18px; font-weight: 500; letter-spacing: 0;
  text-decoration: none; transition: none;
}
.site-header-buy-label {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 8px 18px; border-radius: inherit;
  background: var(--header-yellow); color: var(--header-ink);
  transition: background-color 160ms cubic-bezier(.22, 1, .36, 1);
}
.atomic-site-header .site-menu-trigger {
  display: none; align-items: center; justify-content: center; flex: 0 0 44px;
  min-width: 44px; min-height: 44px; margin-left: auto; padding: 0;
  border: 0; background: transparent; color: var(--header-muted);
  font: inherit; font-size: 14px; cursor: pointer; pointer-events: auto;
}
.site-menu-panel {
  width: min(280px, calc(100vw - var(--header-gutter) * 2));
  max-height: calc(100dvh - 96px); overflow: auto; margin: 0; padding: 8px;
  border: 1px solid #d9ded6; border-radius: 14px;
  background: var(--header-canvas); color: var(--header-ink);
}
.site-menu-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  font-size: 16px; line-height: 24px; text-decoration: none;
}
.site-menu-panel a { border-radius: 8px; }
.site-menu-panel a[aria-current="page"] { background: #e9ece6; font-weight: 500; }
@media (hover: hover) {
  .atomic-site-header .site-header-buy:hover { background: transparent; text-decoration: none; }
  .site-header-buy:hover .site-header-buy-label { background: #e8be13; }
  .site-menu-trigger:hover { color: var(--header-ink); }
  .site-menu-panel a:hover { background: #e9ece6; }
}
.atomic-site-header .site-header-buy:active { background: transparent; transform: none; }
.site-header-buy:active .site-header-buy-label { background: #dcb20e; }
.atomic-site-header :is(.site-header-buy,.site-menu-trigger,.site-menu-panel a):focus-visible {
  outline: 2px solid var(--header-ink); outline-offset: 4px;
}
@media (max-width: 760px) {
  .atomic-site-header .site-menu-trigger { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header-buy-label { transition: none; }
}

.cs-breadcrumb ol { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; }
.cs-breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.cs-breadcrumb li:not(:last-child)::after { content: "/"; color: var(--cs-muted); }
.cs-breadcrumb [aria-current] { color: var(--cs-ink); }
.cs-faq-item { border-bottom: 1px solid var(--rule); }
.cs-faq-item:first-child { border-top: 1px solid var(--rule); }
.cs-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; list-style: none; font-size: 21px; cursor: pointer; }
.cs-faq-item summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.cs-faq-item summary::-webkit-details-marker { display: none; }
.cs-faq-symbol { flex-shrink: 0; width: 20px; height: 20px; transition: transform 180ms ease; }
.cs-faq-item[open] .cs-faq-symbol { transform: rotate(45deg); }
.cs-faq-answer { padding: 0 40px 24px 0; max-width: 70ch; color: var(--muted); font-size: 18px; }
.cs-faq-answer p + p { margin-top: 12px; }
.cs-faq-answer a { color: var(--ink); text-decoration: underline; }
.cs-footer nav .footer-title { font-weight: 500; font-size: 16px; margin-bottom: 8px; }
.cs-footer-main ul { list-style: none; padding: 0; margin: 0; }
.site-orbit { fill: none; stroke: currentColor; stroke-width: 9.5; }
.customer-site .site-menu-panel { right: var(--cs-gutter); top: 80px; }
@media (max-width:760px) { .cs-header-inner { min-height: 72px; } .customer-site .site-menu-panel { top: 72px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.customer-site .site-menu-panel { left: auto; bottom: auto; }
@supports (animation-timeline: scroll()) {
  .cs-header::after { opacity: 0; animation: cs-header-rule linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
  @keyframes cs-header-rule { to { opacity: 1; } }
}
