/* Product site styles from the Sixagentic kit. Swap the tokens on :root for the product's identity, not the rules below. */
:root {
  /* Crown of Sand - Marketing's tokens (Marketing\workshop\brand\BRAND.md, assets\brand.css, 1 Nov 2026). Dark only. */
  --cos-night: #1a120e;
  --cos-umber: #2b1810;
  --cos-stone-dark: #5a463a;
  --cos-sandstone: #d6a666;
  --cos-sand-light: #efcf98;
  --cos-parchment: #f5ead6;
  --cos-gold: #eeb243;
  --cos-gold-bright: #f4d572;
  --cos-gold-deep: #bd751d;
  --cos-crimson: #a3141c;
  --cos-crimson-deep: #6e0a0f;
  --cos-font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --cos-font-ui: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --c-paper: var(--cos-night);
  --c-ink: var(--cos-parchment);
  --c-muted: var(--cos-sand-light);
  --c-line: var(--cos-stone-dark);
  --c-accent: var(--cos-gold);
  --c-on-accent: var(--cos-umber);
  --c-font: var(--cos-font-ui);
  --c-weight-body: 400;
  --c-weight-heading: 700;
  --c-radius: 10px;
  color-scheme: dark;

  --font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --measure: 40rem;
  --page: 66rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--c-font);
  font-weight: var(--c-weight-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: var(--c-accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--space-2); }
.prose { max-width: var(--measure); }

.skip {
  position: absolute; left: var(--space-2); top: -3rem; z-index: 10;
  background: var(--c-accent); color: var(--c-on-accent); padding: var(--space-1) var(--space-2);
  border-radius: var(--c-radius);
}
.skip:focus { top: var(--space-1); }

.site-header { border-bottom: 1px solid var(--c-line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-1) var(--space-3); padding-top: var(--space-2); padding-bottom: var(--space-2);
}
.wordmark { color: var(--c-ink); display: inline-flex; padding: 0.25rem 0; margin-right: auto; }
.wordmark svg { height: 1.375rem; width: auto; display: block; }
.wordmark span { font-weight: var(--c-weight-heading); font-size: 1.25rem; letter-spacing: -0.01em; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--c-ink); text-decoration: none; padding: 0.25rem 0; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { text-decoration: underline; }

h1, h2, h3 { font-weight: var(--c-weight-heading); line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); margin: 0 0 var(--space-2); }
h2 { font-size: 1.5rem; margin: var(--space-4) 0 var(--space-2); }
h3 { font-size: 1.125rem; margin: 0 0 var(--space-1); }
p, ul, ol { margin: 0 0 var(--space-2); }
strong { font-weight: var(--c-weight-heading); }
.lead { font-size: 1.25rem; color: var(--c-muted); }
.eyebrow { font-size: 0.875rem; font-weight: var(--c-weight-heading); letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--space-1); }
.small { font-size: 0.9375rem; color: var(--c-muted); }

.hero { padding: var(--space-5) 0 var(--space-3); }
section { padding-bottom: var(--space-2); }

.grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 0; padding: 0; list-style: none; }
.card {
  border: 1px solid var(--c-line); border-radius: var(--c-radius);
  padding: var(--space-3); display: flex; flex-direction: column;
}
.card p { color: var(--c-muted); }
.card .eyebrow { margin-bottom: var(--space-1); }
.card .actions { margin-top: auto; }
.block p { color: var(--c-muted); margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); align-items: center; margin-bottom: var(--space-2); }
.actions p { margin: 0; }
.button {
  display: inline-block; background: var(--c-accent); color: var(--c-on-accent); border: 2px solid var(--c-accent);
  font-weight: var(--c-weight-heading); text-decoration: none; padding: 0.6rem 1.1rem; border-radius: var(--c-radius);
}
.button:hover { text-decoration: underline; }
.button.secondary { background: transparent; color: var(--c-accent); }

.steps { padding-left: 1.25rem; }
.steps li, .prose li { margin-bottom: var(--space-1); }
dl { margin: 0 0 var(--space-2); }
dt { font-weight: var(--c-weight-heading); margin-top: var(--space-2); }
dd { margin: 0.25rem 0 0; }
code { font-family: var(--font-mono); font-size: 0.95em; }

.site-footer { border-top: 1px solid var(--c-line); margin-top: var(--space-5); color: var(--c-muted); font-size: 0.9375rem; }
.site-footer .wrap { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.site-footer p { margin: 0 0 var(--space-1); }
.site-footer strong { color: var(--c-ink); }
.site-footer a { color: var(--c-muted); }

/* ---- Crown of Sand (Marketing's design, site\public\index.html, 1 Nov 2026) ---- */
html { background: var(--cos-night); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--cos-font-display); color: var(--cos-gold); letter-spacing: 0.06em; }
.wordmark { text-decoration: none; }
.wordmark span { font-family: var(--cos-font-display); font-weight: 700; color: var(--cos-gold); letter-spacing: 0.06em; }
.site-footer { margin-top: 0; }

.cos-start {
  display: inline-block; text-decoration: none;
  font: 900 1.5rem/1 var(--cos-font-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cos-umber);
  background: linear-gradient(180deg, var(--cos-gold-bright), var(--cos-gold) 55%, var(--cos-gold-deep));
  border: 2px solid var(--cos-gold-deep); border-radius: 10px; padding: 0.9em 2.6em;
  box-shadow: 0 4px 0 var(--cos-umber), 0 10px 30px rgb(0 0 0 / 0.45);
}
.cos-start:hover { filter: brightness(1.08); }
.cos-start:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cos-umber), 0 6px 18px rgb(0 0 0 / 0.45); }
.cos-start:focus-visible { outline: 3px solid var(--cos-parchment); outline-offset: 4px; }

.cos-home .wrap { max-width: 1120px; padding: 0 20px; }
.cos-home section { padding: 72px 0; }
.cos-home h2 { font: 700 clamp(1.5rem, 3.5vw, 2.25rem)/1.2 var(--cos-font-display); margin: 0 0 16px; }
.cos-home h3 { font: 700 1.25rem/1.25 var(--cos-font-display); letter-spacing: 0.05em; margin: 20px 0 8px; }

.cos-home .cos-hero { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 0; }
.cos-hero picture, .cos-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cos-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(26 18 14 / 0.15) 0%, rgb(26 18 14 / 0.25) 45%, rgb(26 18 14 / 0.92) 100%); }
.cos-hero-inner { position: relative; z-index: 1; padding: 12vh 20px 8vh; }
.cos-hero h1 { margin: 0; }
.cos-wordmark { width: min(88vw, 900px); margin: 0 auto; filter: drop-shadow(0 8px 24px rgb(0 0 0 / 0.55)); }
.cos-tagline { font: 700 clamp(1.05rem, 2.6vw, 1.5rem)/1.3 var(--cos-font-display); letter-spacing: 0.08em; color: var(--cos-parchment);
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.7); margin: 18px 0 30px; }
.cos-note { margin: 16px 0 0; font-size: 0.95rem; color: var(--cos-sand-light); text-shadow: 0 1px 4px rgb(0 0 0 / 0.8); }

.cos-lead { max-width: 720px; font-size: 1.15rem; }
.cos-world { text-align: center; }
.cos-world .cos-lead { margin: 0 auto; }
.cos-emblem { width: 96px; margin: 0 auto 18px; }

.cos-features { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.cos-card { background: var(--cos-umber); border: 1px solid var(--cos-stone-dark); border-radius: 14px; overflow: hidden; }
.cos-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.cos-card div { padding: 4px 22px 24px; }
.cos-card p { margin: 0; }

.cos-home .cos-facts { background: linear-gradient(180deg, var(--cos-night), var(--cos-umber)); }
.cos-facts ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(2, 1fr); }
.cos-facts li { padding-left: 28px; position: relative; }
.cos-facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--cos-gold); box-shadow: 0 0 0 3px rgb(238 178 67 / 0.2); }

.cos-cta { text-align: center; }
.cos-cta-button { margin-top: 26px; }

@media (max-width: 860px) {
  .cos-features { grid-template-columns: 1fr; }
  .cos-facts ul { grid-template-columns: 1fr; }
  .cos-home section { padding: 56px 0; }
}
