/* astraian.com. Built from the Astraian design system (tokens.json and components/bundle.css). Edit the system, then rebuild; do not edit values here. */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Variable.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-Variable.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/CormorantGaramond-Italic-Variable.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-Italic-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
:root, [data-theme="dark"] {
  --night: #0e1230;
  --night-raised: #181d45;
  --night-line: #2c3261;
  --paper: #f4f5f9;
  --paper-line: #d5d8e6;
  --white: #ffffff;
  --mist: #b4b9d3;
  --slate: #4a5075;
  --dusk: #737a9f;
  --gold: #e9b949;
  --gold-deep: #8a6200;
  --surface: var(--night);
  --surface-raised: var(--night-raised);
  --line: var(--night-line);
  --control-border: var(--dusk);
  --ink: var(--paper);
  --ink-muted: var(--mist);
  --accent: var(--gold);
  --focus: var(--gold);
  --fill: var(--paper);
  --fill-hover: #ffffff;
  --on-fill: var(--night);
  --danger: #ffa08f;
  --success: #7ccbe6;
}
[data-theme="light"] {
  --surface: var(--paper);
  --surface-raised: var(--white);
  --line: var(--paper-line);
  --ink: var(--night);
  --ink-muted: var(--slate);
  --accent: var(--gold-deep);
  --focus: var(--gold-deep);
  --fill: var(--night);
  --fill-hover: #262b52;
  --on-fill: var(--paper);
  --danger: #a3301c;
  --success: #12607a;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-tile: 22%;
  --measure: 680px;
  --page-max: 1120px;
  --control-height: 44px;
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.display { font-family: var(--font-serif); font-size: 48px; line-height: 1.1; font-weight: 600; }
.title { font-family: var(--font-serif); font-size: 36px; line-height: 1.15; font-weight: 600; }
.heading { font-family: var(--font-serif); font-size: 27px; line-height: 1.2; font-weight: 600; }
.subhead { font-family: var(--font-serif); font-size: 24px; line-height: 1.25; font-weight: 600; }
.lede { font-family: var(--font-serif); font-size: 28px; line-height: 1.25; font-weight: 500; font-style: italic; }
.eyebrow { font-family: var(--font-display); font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.14em; }
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 1.6; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 1.5; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 1.45; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 15px; line-height: 1.2; font-weight: 600; }
.figures { font-family: var(--font-sans); font-size: 15px; line-height: 1.5; font-weight: 400; }
/* Astraian components. Every colour, space and radius is a token from tokens.css. */

body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }

/* Headings are Cormorant Garamond in true upper and lowercase. Only the small label is Cinzel, whose lowercase is small capitals, so it is set in full capitals. */
.eyebrow { text-transform: uppercase; }
/* Cormorant Garamond's default figures are old-style, and its 1 reads as a capital I. Headings use lining figures. */
.display, .title, .heading, .subhead, .as-legal-body h2 { font-variant-numeric: lining-nums; }

/* ---------- Ground: a theme scope that paints its own surface ---------- */
.as-ground { background: var(--surface); color: var(--ink); font-family: var(--font-sans); }

/* ---------- Logo: the colourway follows the nearest theme, or the ground it is told ---------- */
:root, [data-theme="dark"], .as-logo[data-ground="dark"] {
  --as-logo-ink: var(--paper, #f4f5f9); --as-logo-dot: var(--paper, #f4f5f9); --as-logo-star: var(--gold, #e9b949);
  --as-logo-line: var(--paper, #f4f5f9); --as-logo-line-strength: 0.55; --as-logo-line-width: 1.805;
}
[data-theme="light"], .as-logo[data-ground="light"] {
  --as-logo-ink: var(--night, #0e1230); --as-logo-dot: var(--slate, #4a5075); --as-logo-star: var(--gold-deep, #8a6200);
  --as-logo-line: var(--night, #0e1230); --as-logo-line-strength: 0.42; --as-logo-line-width: 2;
}
.as-logo { display: block; width: 240px; max-width: 100%; height: auto; }
.as-logo-plate { fill: var(--night, #0e1230); }
.as-logo-ltr { fill: var(--as-logo-ink); }
.as-logo-dots { fill: var(--as-logo-dot); }
.as-logo-star { fill: var(--as-logo-star); }
.as-logo-lines { fill: none; stroke: var(--as-logo-line); stroke-opacity: var(--as-logo-line-strength); stroke-width: var(--as-logo-line-width); stroke-linecap: round; }

/* ---------- Mark: always the night colourway ---------- */
.as-mark { display: block; flex: none; }
.as-mark-tile { fill: var(--night, #0e1230); }
.as-mark-dots { fill: var(--paper, #f4f5f9); }
.as-mark-star { fill: var(--gold, #e9b949); }
.as-mark-lines { fill: none; stroke: var(--paper, #f4f5f9); stroke-opacity: 0.85; stroke-linecap: round; }

/* ---------- Focus ---------- */
.as-btn:focus-visible, .as-link:focus-visible, .as-header-link:focus-visible, .as-header-home:focus-visible, .as-footer-link:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm);
}

/* ---------- Button ---------- */
.as-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  box-sizing: border-box; min-height: var(--control-height); padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-md);
  font-family: var(--font-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.as-btn:focus-visible { border-radius: var(--radius-md); }
.as-btn-sm { min-height: 36px; padding: 0 var(--space-4); }
.as-btn-primary { background: var(--fill); color: var(--on-fill); }
.as-btn-primary:hover { background: var(--fill-hover); }
.as-btn-secondary { background: transparent; color: var(--ink); border-color: var(--control-border); }
.as-btn-secondary:hover { background: var(--surface-raised); border-color: var(--ink-muted); }
.as-btn[disabled], .as-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ---------- TextLink ---------- */
.as-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.as-link:hover { color: var(--ink); }
.as-link-quiet { color: var(--ink); }
.as-link-quiet:hover { color: var(--accent); }

/* ---------- StarRule ---------- */
.as-rule { display: flex; align-items: center; gap: var(--space-4); }
.as-rule-line { flex: 1 1 0; height: 1px; background: var(--line); }
.as-rule-star { flex: none; width: 12px; height: 18px; fill: var(--accent); }

.as-rule-page { box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-5); }

/* ---------- SectionHeading ---------- */
.as-heading { display: flex; flex-direction: column; gap: var(--space-3); max-width: var(--measure); }
.as-heading-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.as-heading-eyebrow { margin: 0; color: var(--ink-muted); }
.as-heading-title { margin: 0; color: var(--ink); }
.as-heading-lede { margin: 0; color: var(--ink-muted); font-size: 22px; }

/* ---------- Section ---------- */
.as-section { box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-5); color: var(--ink); font-family: var(--font-sans); }
.as-section-in { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-7) 0; border-top: 1px solid transparent; }
.as-section + .as-section > .as-section-in { border-top-color: var(--line); }
@media (min-width: 880px) {
  .as-section-split > .as-section-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-7); align-items: start; }
}
.as-section-body { max-width: var(--measure); }
.as-section-body > :first-child { margin-top: 0; }
.as-section-body > :last-child { margin-bottom: 0; }
.as-section-body p { margin: 0 0 var(--space-4); }
.as-section-body address { margin: 0; font-style: normal; }
.as-section-grid { max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-5); }

/* ---------- ProductCard ---------- */
.as-card {
  display: flex; flex-direction: column; gap: var(--space-3); box-sizing: border-box;
  padding: var(--space-5); background: var(--surface-raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.as-card-eyebrow { margin: 0; color: var(--ink-muted); }
.as-card-name { margin: 0; font-family: var(--font-sans); font-size: 20px; line-height: 1.3; font-weight: 600; }
.as-card-body { color: var(--ink-muted); }
.as-card-body > :first-child { margin-top: 0; }
.as-card-body > :last-child { margin-bottom: 0; }
.as-card-link { margin: var(--space-1) 0 0; font-size: 15px; }

/* ---------- Notice ---------- */
.as-notice {
  display: flex; align-items: flex-start; gap: var(--space-3); box-sizing: border-box;
  padding: var(--space-3) var(--space-4); background: var(--surface-raised); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.as-notice-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--ink-muted); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.as-notice-text strong { font-weight: 600; }
.as-notice-success .as-notice-icon { stroke: var(--success); }
.as-notice-success strong { color: var(--success); }
.as-notice-danger .as-notice-icon { stroke: var(--danger); }
.as-notice-danger strong { color: var(--danger); }

/* ---------- SiteHeader (always on night) ---------- */
.as-header { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--font-sans); }
.as-header-in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: var(--space-4) var(--space-5);
}
.as-header-home { display: block; padding: var(--space-2) 0; }
.as-header-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
.as-header-link { display: inline-flex; align-items: center; min-height: var(--control-height); color: var(--ink-muted); text-decoration: none; }
.as-header-link:hover, .as-header-link[aria-current="page"] { color: var(--ink); }

/* ---------- Hero (always on night) ---------- */
.as-hero { background: var(--surface); color: var(--ink); font-family: var(--font-sans); overflow-x: clip; }
.as-hero-in {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5);
  box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: var(--space-8) var(--space-5) var(--space-9);
}
.as-hero-logo { margin: 0; width: 100%; display: flex; justify-content: center; }
.as-hero-logo .as-logo { width: min(560px, 100%); transform: translateX(6.5%); } /* centres the letters, not the box: the constellation overhangs to the right */
.as-hero-lede { margin: var(--space-3) 0 0; max-width: 620px; }
.as-hero-body { max-width: 600px; color: var(--ink-muted); }
.as-hero-body > :first-child { margin-top: 0; }
.as-hero-body > :last-child { margin-bottom: 0; }
.as-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }

/* ---------- SiteFooter ---------- */
.as-footer { background: var(--surface); color: var(--ink-muted); border-top: 1px solid var(--line); font-family: var(--font-sans); }
.as-footer-in { box-sizing: border-box; max-width: var(--page-max); margin: 0 auto; padding: var(--space-7) var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-6); }
.as-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4) var(--space-6); }
.as-footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); }
.as-footer-link { display: inline-flex; align-items: center; min-height: var(--control-height); color: var(--ink-muted); text-decoration: none; }
.as-footer-link:hover { color: var(--ink); }
.as-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.as-footer-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-4); color: var(--ink-muted); font-family: var(--font-sans); }
.as-footer-compact .as-footer-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- LegalDocument ---------- */
.as-legal { box-sizing: border-box; max-width: var(--measure); margin: 0 auto; padding: var(--space-8) var(--space-5); color: var(--ink); font-family: var(--font-sans); }
.as-legal-head { display: flex; flex-direction: column; gap: var(--space-2); padding-bottom: var(--space-5); margin-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.as-legal-title { margin: 0; }
.as-legal-updated { margin: 0; color: var(--ink-muted); }
.as-legal-body > :first-child { margin-top: 0; }
.as-legal-body h2 { margin: var(--space-7) 0 var(--space-3); font-family: var(--font-serif); font-size: 24px; line-height: 1.25; font-weight: 600; }
.as-legal-body h3 { margin: var(--space-5) 0 var(--space-2); font-family: var(--font-sans); font-size: 16px; line-height: 1.4; font-weight: 600; }
.as-legal-body p, .as-legal-body ul, .as-legal-body ol, .as-legal-body address { margin: 0 0 var(--space-4); }
.as-legal-body ul, .as-legal-body ol { padding-left: var(--space-5); }
.as-legal-body li { margin-bottom: var(--space-2); }
.as-legal-body li::marker { color: var(--ink-muted); }
.as-legal-body strong { font-weight: 600; }
.as-legal-body address { font-style: normal; }
.as-legal-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.as-legal-body a:hover { color: var(--ink); }
.as-legal-body a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.as-legal-body table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-5); font-size: 15px; line-height: 1.5; }
.as-legal-body th, .as-legal-body td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--line); }
.as-legal-body th { font-weight: 600; color: var(--ink-muted); }

@media (max-width: 560px) {
  .as-hero-in { padding: var(--space-7) var(--space-5) var(--space-8); }
  .as-hero-lede, .as-heading-lede { font-size: 22px; }
  .as-legal { padding: var(--space-7) var(--space-5); }
  .as-footer-top { flex-direction: column; align-items: flex-start; }
}
/* Page */
html { background: var(--night); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > .as-ground, body > div { flex: 1 0 auto; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
