/* getting-started — this page's own styles; the tokens are tokens.css, the header, footer and buttons site.css */
/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink) var(--grain-dark); color: var(--bone); font-family: var(--f-body); font-size: var(--t-body); line-height: 1.7; overflow-x: hidden; }
/* Parchment ground — light mode only */
html:not([data-theme="dark"]) body {
  background-color: var(--ink);
  background-image:
  radial-gradient(125% 90% at 50% -8%, rgba(255,251,238,.28), transparent 58%),
  radial-gradient(110% 120% at 50% 118%, rgba(74,54,22,.045), transparent 55%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='pm' filterUnits='userSpaceOnUse' x='0' y='0' width='600' height='600'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.01' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .30 0 0 0 0 .20 0 0 0 0 .08 0 0 0 .08 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='gamma' amplitude='1.1' exponent='.8'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pm)'/%3E%3C/svg%3E"),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='pg' filterUnits='userSpaceOnUse' x='0' y='0' width='200' height='200'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .10 0 0 0 .022 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pg)'/%3E%3C/svg%3E");
  background-size: cover, cover, 600px 600px, 200px 200px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-attachment: fixed, fixed, scroll, scroll;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
/* ============ Page hero ============ */
.page-hero { position: relative; isolation: isolate; min-height: 60vh; min-height: 60svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--header-h) + var(--s5)) 0 var(--s5); overflow: hidden; }
.page-hero-art { position: absolute; inset: 0; z-index: -2; }
.page-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: var(--grade); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain-dark); background-color: rgba(11, 10, 9, .5); }
.page-hero-inner { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.page-hero .sub { font-family: var(--f-title); font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-shadow: 0 2px 16px rgba(0,0,0,.7); margin-bottom: var(--s2); }
.page-hero h1 { font-family: var(--f-hero); font-size: clamp(2.75rem, 1.6rem + 4.5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: .01em; color: var(--on-dark); text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.page-hero .lead { margin-top: var(--s3); max-width: 50ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--on-dark); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: var(--s4); }
/* Hero divider — gilded rampart with a banner valance hung from it */
.hero-divider { position: relative; z-index: 3; margin-top: -16px; pointer-events: none; }
.hero-divider .merlons {
  height: 16px; background: linear-gradient(180deg, var(--btn-rule-color), var(--gold-hi));
  -webkit-mask: linear-gradient(#000 0 0) bottom / 100% 6px no-repeat, repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 32px) top / 100% 10px no-repeat;
  mask: linear-gradient(#000 0 0) bottom / 100% 6px no-repeat, repeating-linear-gradient(90deg, #000 0 16px, transparent 16px 32px) top / 100% 10px no-repeat;
}
.hero-divider .valance {
  height: 34px; background: var(--grain-dark), linear-gradient(180deg, var(--btn-red), var(--btn-red-deep)); border-top: 2px solid var(--btn-rule-color);
  -webkit-mask: radial-gradient(circle 14px at 16px 100%, transparent 96%, #000 100%) 0 0 / 32px 100% repeat-x;
  mask: radial-gradient(circle 14px at 16px 100%, transparent 96%, #000 100%) 0 0 / 32px 100% repeat-x;
}
/* ============ Section scaffold ============ */
.section { padding-block: clamp(var(--s6), 10vw, var(--s7)); scroll-margin-top: var(--header-h); }
.section-head { max-width: 62ch; }
.section-title { font-family: var(--f-hero); font-weight: 400; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); letter-spacing: .01em; color: var(--bone); }
.section-standfirst { margin-top: var(--s1); font-size: 1.1875rem; line-height: 1.55; color: var(--muted); }
/* ============ What you'll need ============ */
.need-grid { margin-top: var(--s5); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.need-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: var(--s3); display: flex; flex-direction: column; gap: 10px; }
.need-card .n { font-family: var(--f-title); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--btn-red); }
.need-card h3 { font-family: var(--f-title); font-weight: 700; font-size: 1.25rem; color: var(--bone); }
.need-card p { color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
/* ============ Steps ============ */
.steps { margin-top: var(--s5); list-style: none; counter-reset: step; padding: 0; display: flex; flex-direction: column; gap: var(--s3); }
.step { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--s2); align-items: start; padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before { content: counter(step); font-family: var(--f-title); font-weight: 700; font-size: 1.25rem; color: var(--btn-on-red); width: 50px; height: 50px; flex: none; display: grid; place-items: center; background: var(--btn-cloth), linear-gradient(to bottom, var(--btn-red), var(--btn-red-deep)); border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.3); text-shadow: 0 1px 2px rgba(20,4,2,.7); }
.step h3 { font-family: var(--f-title); font-weight: 700; font-size: 1.375rem; color: var(--bone); }
.step p { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; max-width: 64ch; }
.inline-code { font-family: var(--f-title); font-size: .9em; font-weight: 600; letter-spacing: .02em; color: var(--btn-red); background: var(--surface); padding: 1px 7px; border-radius: 4px; }
/* ============ First hour ============ */
.firsthour { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
.firsthour ul { margin: var(--s3) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.firsthour li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.firsthour li b { color: var(--bone); font-family: var(--f-title); font-weight: 600; font-size: 1.0625rem; }
.firsthour li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--btn-red); margin-top: 9px; }
/* ============ FAQ ============ */
.faq-list { margin-top: var(--s5); border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: var(--s3) 44px var(--s3) 0; font-family: var(--f-title); font-weight: 600; font-size: 1.1875rem; color: var(--bone); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-family: var(--f-title); font-size: 1.5rem; line-height: 1; color: var(--btn-red); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-a { padding: 0 44px var(--s3) 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.6; max-width: 74ch; }
.faq-list .faq-a code { font-family: var(--f-title); font-size: .9em; color: var(--btn-red); background: var(--surface); padding: 1px 7px; border-radius: 4px; }
/* ============ Reveal ============ */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-l) var(--ease-out), transform var(--dur-l) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
/* ============ Responsive ============ */
@media (max-width: 920px) {
  .need-grid { grid-template-columns: 1fr; }
  .firsthour { grid-template-columns: 1fr; gap: var(--s3); }
}
@media (max-width: 767px) {
  .page-hero .actions .btn-primary, .page-hero .actions .btn-secondary { width: 100%; }
  .step::before { width: 42px; height: 42px; font-size: 1.125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
