/* SnapCircle 360 — product page and operator guides
   Shared by /spincam, /spincam/blog/ and every guide under it.
   Palette is sampled from the app artwork: night background, amber orbit,
   violet/teal lens. The orbit ring is the recurring motif. */

/* Original font families, self-hosted to avoid third-party font requests.
   Licensed under OFL; licenses are in /fonts/snapcircle/. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal;
  font-weight: 600 800; font-display: swap;
  src: url("/fonts/snapcircle/bricolage-grotesque-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal;
  font-weight: 400 700; font-display: swap;
  src: url("/fonts/snapcircle/instrument-sans-latin.woff2") format("woff2");
}

:root {
  --night: #0c0910;
  --night-2: #151019;
  --night-3: #1f1825;
  --night-4: #2a2131;
  --cream: #f7efe3;
  --cream-2: #d9cebf;
  --muted: #b3a797;
  --amber: #ffa53d;
  --amber-hi: #ffc070;
  --amber-deep: #e9751c;
  --violet: #9b82ff;
  --teal: #4fd1df;
  --on-amber: #1c1006;

  --paper: #faf6f0;
  --paper-2: #f1eae0;
  --ink: #1d1720;
  --ink-2: #4a4150;
  --rule: #ddd3c6;
  --link: #a8480b;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
button { font: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus: one visible style everywhere */
:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible { outline-color: var(--amber-deep); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--on-amber); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Navigation ---------- */
.sc-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 9, 16, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(247, 239, 227, .07);
}
.sc-nav__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.sc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.sc-brand img { width: 40px; height: auto; }
.sc-brand span b { color: var(--amber); font-weight: 700; }
.sc-nav__links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.sc-nav__links a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--cream-2); font-size: 15px; font-weight: 500; }
.sc-nav__links a:hover { color: var(--cream); background: rgba(247, 239, 227, .06); }
.sc-nav__links a[aria-current="page"] { color: var(--cream); }
.sc-nav__cta { margin-left: 8px; }
.sc-menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--cream); padding: 10px; border-radius: 10px; cursor: pointer; }
.sc-menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .sc-menu-btn { display: inline-flex; }
  .sc-nav__cta { display: none; }
  .sc-nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; margin: 0;
    background: var(--night-2); border-bottom: 1px solid rgba(247, 239, 227, .08);
    display: none;
  }
  .sc-nav[data-open="true"] .sc-nav__links { display: flex; }
  .sc-nav__links a { padding: 13px 12px; font-size: 17px; }
  .sc-nav__links .sc-nav__mobile-cta { display: block; margin-top: 8px; }
}
@media (min-width: 901px) { .sc-nav__mobile-cta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s;
}
.btn--amber { background: var(--amber); color: var(--on-amber); }
.btn--amber:hover { background: var(--amber-hi); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

.badge-link { display: inline-block; border-radius: 12px; line-height: 0; }
.badge-link img { height: 56px; width: auto; }
.text-link { color: var(--amber-hi); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--cream); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-hi); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.accent { color: var(--amber); }
.fineprint { color: var(--muted); font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(155, 130, 255, .16), rgba(79, 209, 223, .05) 55%, transparent 72%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.3vw, 70px); margin: 18px 0 22px; letter-spacing: -0.035em; text-wrap: balance; }
.hero__lede { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--cream-2); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14.5px; }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* Orbit stage: real Events screen inside a phone frame, ringed by the logo's orbit */
.orbit-stage { position: relative; aspect-ratio: 1 / 1.08; width: min(100%, 520px); margin-inline: auto; }
.orbit-stage__rings { position: absolute; inset: 0; }
.orbit-stage__rings svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke-linecap: round; }
.orbit-spin { transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit-spin { animation: orbit 38s linear infinite; }
  .orbit-spin--rev { animation-duration: 54s; animation-direction: reverse; }
}
@keyframes orbit { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: 50%; margin-inline: auto; top: 9%;
  border-radius: 34px; padding: 8px; background: #050406;
  box-shadow: 0 0 0 1.5px #3a3040, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(255, 165, 61, .25);
}
.phone img { border-radius: 27px; width: 100%; }
.orbit-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; background: rgba(31, 24, 37, .92);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8);
  font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--cream);
}
.orbit-chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.orbit-chip--1 { left: -2%; top: 22%; } .orbit-chip--1 i { background: var(--amber); }
.orbit-chip--2 { right: -4%; top: 46%; } .orbit-chip--2 i { background: var(--violet); }
.orbit-chip--3 { left: 4%; bottom: 8%; } .orbit-chip--3 i { background: var(--teal); }
.orbit-mark { position: absolute; width: 22%; right: 6%; top: 2%; filter: drop-shadow(0 10px 30px rgba(255, 165, 61, .35)); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .orbit-stage { width: min(100%, 420px); }
}
@media (max-width: 480px) {
  .orbit-chip { font-size: 12.5px; padding: 7px 11px; }
  .orbit-chip--2 { right: -1%; }
  .badge-link img { height: 52px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--raised { background: var(--night-2); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 14px 0 16px; }
.section__head p { color: var(--cream-2); font-size: 18.5px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }

/* Two jobs: operator vs guest */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.duo__col { background: var(--night-3); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); }
.duo__col h3 { font-size: 26px; margin-bottom: 6px; }
.duo__col > p { color: var(--muted); margin-bottom: 22px; }
.duo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.duo__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--cream-2); }
.duo__list li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 6px; border-radius: 50%; border: 2px solid var(--amber); }
.duo__col--guest .duo__list li::before { border-color: var(--teal); }
.duo__list strong { color: var(--cream); font-weight: 600; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* Workflow */
.flow { display: grid; gap: clamp(20px, 3vw, 28px); counter-reset: step; }
.flow__step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px);
  align-items: center; background: var(--night-3); border-radius: var(--radius); padding: clamp(22px, 3.6vw, 44px);
}
.flow__step:nth-child(even) .flow__media { order: -1; }
.flow__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font: 700 17px var(--display); }
.flow__step h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 16px 0 12px; }
.flow__step p { color: var(--cream-2); }
.flow__step ul { margin: 14px 0 0; padding-left: 20px; color: var(--cream-2); }
.flow__step li + li { margin-top: 6px; }
.flow__media { display: flex; justify-content: center; }
.flow__media figure { margin: 0; width: 100%; }
.flow__media figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); text-align: center; }
.screen-crop { border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgba(247, 239, 227, .08), 0 30px 60px -30px #000; }
.screen-crop--narrow { max-width: 380px; margin-inline: auto; }
.tag { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(79, 209, 223, .12); color: var(--teal); }
@media (max-width: 820px) {
  .flow__step { grid-template-columns: 1fr; }
  .flow__step:nth-child(even) .flow__media { order: 0; }
}

/* Delivery diagram (illustrative, not app UI) */
.delivery-diagram { width: 100%; max-width: 520px; }
.delivery-diagram text { font-family: var(--body); }

/* Playback modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mode { background: var(--night-3); border-radius: var(--radius-sm); padding: 22px 22px 20px; }
.mode h3 { font-size: 20px; margin-bottom: 6px; }
.mode p { color: var(--muted); font-size: 15px; min-height: 3.2em; }
.mode__curve { margin: 14px 0 12px; height: 64px; width: 100%; }
.mode__curve .base { stroke: rgba(247, 239, 227, .18); stroke-dasharray: 3 5; }
.mode__curve .line { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.mode__curve .fill { fill: url(#modeFill); }
.mode__out { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--cream-2); border-top: 1px solid rgba(247, 239, 227, .08); padding-top: 12px; }
.mode__out output { font: 700 22px var(--display); color: var(--cream); }
.length-control { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 22px; padding: 18px 22px; background: var(--night-3); border-radius: var(--radius-sm); }
.length-control label { font-weight: 600; }
.length-control input[type="range"] { flex: 1 1 220px; accent-color: var(--amber); min-height: 32px; }
.length-control output { font: 700 22px var(--display); color: var(--amber); min-width: 3.2ch; }
@media (max-width: 900px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .modes { grid-template-columns: 1fr; } .mode p { min-height: 0; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); }
.feature h3 { font-size: 21px; margin: 16px 0 8px; }
.feature p { color: var(--cream-2); font-size: 16px; }
.feature__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--night-4); color: var(--amber); }
.feature__icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Requirements */
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.needs li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; background: var(--night-3); border-radius: var(--radius-sm); padding: 20px; color: var(--cream-2); }
.needs li strong { display: block; color: var(--cream); font-weight: 600; margin-bottom: 2px; }
.needs svg { width: 26px; height: 26px; color: var(--amber); margin-top: 2px; }
.needs li.is-note svg { color: var(--violet); }
@media (max-width: 760px) { .needs { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { background: var(--night-3); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.plan h3 { font-size: 18px; font-family: var(--body); font-weight: 600; color: var(--cream-2); letter-spacing: 0; }
.plan__price { font: 700 40px/1.1 var(--display); letter-spacing: -0.03em; }
.plan__per { color: var(--muted); font-size: 15px; }
.plan--feature { background: linear-gradient(160deg, #3a2414, var(--night-3) 70%); box-shadow: inset 0 0 0 1.5px rgba(255, 165, 61, .55); }
.plan__flag { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--on-amber); background: var(--amber); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.pricing-notes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; margin-top: 32px; color: var(--cream-2); }
.pricing-notes ul { margin: 0; padding-left: 20px; }
.pricing-notes li + li { margin-top: 8px; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pricing-notes { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .plans { grid-template-columns: 1fr; } }

/* Guide cards */
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  background: var(--night-3); border-radius: var(--radius); padding: 26px; min-height: 220px;
  transition: background-color .2s;
}
.guide-card:hover { background: var(--night-4); }
.guide-card .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.guide-card h3 { font-size: 22px; }
.guide-card p { color: var(--muted); font-size: 15.5px; }
.guide-card .more { margin-top: auto; font-weight: 600; color: var(--amber-hi); }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; } .guide-card { min-height: 0; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(247, 239, 227, .1); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 4px; font: 600 19px/1.35 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); color: var(--amber); font: 600 22px/1 var(--body); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 4px 24px; color: var(--cream-2); max-width: 70ch; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--amber-hi); }

/* Closing CTA */
.closer { text-align: center; padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: clip; }
.closer img.mark { width: 120px; margin: 0 auto 22px; }
.closer h2 { font-size: clamp(34px, 5vw, 60px); max-width: 16ch; margin: 0 auto 18px; }
.closer p { color: var(--cream-2); max-width: 40em; margin: 0 auto 30px; }

/* Footer */
.sc-footer { background: #08060b; padding: 56px 0 40px; color: var(--muted); font-size: 15px; }
.sc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.sc-footer h2 { font: 600 14px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 14px; }
.sc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sc-footer a { color: var(--muted); text-decoration: none; }
.sc-footer a:hover { color: var(--cream); text-decoration: underline; }
.sc-footer__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(247, 239, 227, .08); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; }
@media (max-width: 760px) { .sc-footer__grid { grid-template-columns: 1fr 1fr; } .sc-footer__grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll (JS adds .is-ready to <html>; no-JS and reduced motion show everything) */
@media (prefers-reduced-motion: no-preference) {
  .is-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .is-ready .reveal.is-in { opacity: 1; transform: none; }
}

/* =========================================================
   Guides: index and article layout (light reading surface)
   ========================================================= */
.paper { background: var(--paper); color: var(--ink); }

.guide-hero { background: var(--night); padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 64px); }
.guide-hero h1 { font-size: clamp(34px, 5vw, 58px); max-width: 20ch; margin: 16px 0 18px; letter-spacing: -0.03em; }
.guide-hero .lede { color: var(--cream-2); font-size: clamp(17.5px, 1.6vw, 20px); max-width: 44em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--cream-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }

/* Index */
.guide-list { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.guide-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--night-2); color: var(--cream); text-decoration: none; margin-bottom: 40px;
}
.guide-feature__body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 12px; }
.guide-feature__body h2 { font-size: clamp(26px, 3vw, 36px); }
.guide-feature__body p { color: var(--cream-2); }
.guide-feature__art { background: radial-gradient(closest-side at 50% 55%, rgba(155, 130, 255, .25), transparent 70%), var(--night-3); display: grid; place-items: center; padding: 32px; }
.guide-feature__art svg { width: min(100%, 360px); }
.guide-feature:hover .more { text-decoration: underline; }
@media (max-width: 820px) { .guide-feature { grid-template-columns: 1fr; } .guide-feature__art { order: -1; padding: 24px; } }

.topic { margin-top: 44px; }
.topic h2 { font-size: 24px; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.topic h2::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(29, 23, 32, .06), 0 10px 30px -18px rgba(29, 23, 32, .25);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.card:hover { box-shadow: 0 1px 2px rgba(29, 23, 32, .08), 0 16px 34px -18px rgba(29, 23, 32, .4); }
@media (prefers-reduced-motion: no-preference) { .card:hover { transform: translateY(-2px); } }
.card .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.card h3 { font-size: 20px; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .meta { margin-top: auto; font-size: 13.5px; color: #6b6070; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Article */
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.article-aside { position: relative; }
.article-aside__sticky { position: sticky; top: 92px; display: grid; gap: 18px; }
.toc { font-size: 14.5px; }
.toc h2 { font: 700 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #6b6070; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--amber-deep); }
.aside-cta { background: var(--night); color: var(--cream); border-radius: var(--radius-sm); padding: 20px; }
.aside-cta img { width: 56px; border-radius: 13px; margin-bottom: 12px; }
.aside-cta p { font-size: 14.5px; color: var(--cream-2); margin: 6px 0 14px; }
.aside-cta strong { font-family: var(--display); font-size: 18px; }
@media (max-width: 1000px) {
  .article-shell { grid-template-columns: minmax(0, 1fr); }
  .article-aside { order: -1; }
  .article-aside__sticky { position: static; }
  .aside-cta { display: none; }
  .toc details summary { cursor: pointer; font-weight: 700; padding: 12px 16px; background: #fff; border-radius: 12px; list-style: none; }
  .toc details[open] summary { margin-bottom: 10px; }
}
@media (min-width: 1001px) { .toc details > summary { display: none; } }

.prose { min-width: 0; font-size: 18.5px; line-height: 1.72; color: #2a2230; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 33px); color: var(--ink); margin-top: 2.2em; scroll-margin-top: 92px; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.8em; scroll-margin-top: 92px; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--amber-deep); font-style: italic; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14.5px; color: #6b6070; margin-top: 10px; line-height: 1.5; }
.prose code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose .lead { font-size: 21px; line-height: 1.6; color: var(--ink); }

/* Callouts */
.note { border-radius: var(--radius-sm); padding: 20px 22px; background: #fff; box-shadow: 0 0 0 1px var(--rule); font-size: 17px; }
.note > * + * { margin-top: .6em; }
.note__label { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.note--product { background: var(--night-2); color: var(--cream-2); box-shadow: none; }
.note--product .note__label { color: var(--amber-hi); }
.note--product strong { color: var(--cream); }
.note--product a { color: var(--amber-hi); }
.note--verify { background: #fff7e8; box-shadow: 0 0 0 1px #f0d3a2; }
.note--verify .note__label { color: #8a4a00; }
.note--general .note__label { color: #3c6f78; }
.prose .note ul { margin-top: .6em; }

.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 14px; }
.steps > li { counter-increment: s; position: relative; padding: 18px 20px 18px 66px; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--rule); margin: 0 !important; }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--amber); display: grid; place-items: center; font: 700 15px var(--display); }
.steps > li > strong:first-child { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 4px; }
.steps .ui { font-weight: 600; background: var(--paper-2); padding: 1px 7px; border-radius: 6px; white-space: nowrap; }

.trouble { display: grid; gap: 12px; }
.trouble details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--rule); }
.trouble summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.trouble details > div { padding: 0 20px 18px; }
.trouble details > div > * + * { margin-top: .6em; }

.article-cta {
  margin-top: 3em; display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center;
  background: var(--night); color: var(--cream); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px);
}
.article-cta img.icon { width: 72px; border-radius: 17px; }
.article-cta h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--cream); margin: 0 0 6px !important; }
.article-cta p { color: var(--cream-2); font-size: 16px; }
.article-cta .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.article-cta .actions .badge-link img { height: 50px; }
.article-cta .text-link { font-size: 16px; }
@media (max-width: 520px) { .article-cta { grid-template-columns: 1fr; } }

.related { border-top: 1px solid var(--rule); padding: 48px 0 72px; }
.related h2 { font-size: 26px; color: var(--ink); margin-bottom: 20px; }

.updated-note { font-size: 14.5px; color: #6b6070; border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 3em !important; }

/* Product page: per-event settings summary and processing list */
.settings-card { background: var(--night-2); border-radius: 18px; padding: 22px 24px; width: 100%; max-width: 440px; }
.flow .steps { width: 100%; max-width: 440px; margin: 0; }
.flow .steps > li { background: var(--night-2); box-shadow: none; color: var(--cream-2); }

/* Marks a section as general advice (vs SnapCircle-specific) */
.prose .scope-tag { display: inline-block; margin-top: .4em; font: 700 12.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: #3c6f78; background: #e4f1f2; padding: 4px 10px; border-radius: 999px; }
.prose .scope-tag + * { margin-top: .8em; }

/* Delivery path diagram (HTML, readable at every width) */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; width: 100%; counter-reset: none; }
.path li { position: relative; background: var(--night-4); border-radius: 16px; padding: 16px 14px; text-align: center; display: grid; gap: 4px; align-content: start; color: var(--cream); }
.path li b { font: 700 14px var(--display); color: var(--amber); }
.path li.is-guest b { color: var(--teal); }
.path li strong { font: 700 16px/1.25 var(--display); }
.path li span { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.path li + li::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--amber-hi); font-weight: 700; }
.path__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.flow__media .path, .flow__media .path__note { max-width: 520px; }
.flow__media:has(.path) { flex-direction: column; align-items: center; }
.path-figure { background: var(--night-2); border-radius: 18px; padding: 22px; }
.prose .path-figure figcaption { color: var(--muted); text-align: center; }
.prose .path { margin-top: 0; padding-left: 0; }
.prose .path li + li { margin-top: 0; }
@media (max-width: 640px) {
  .path { grid-auto-flow: row; gap: 26px; }
  .path li + li::before { content: "↓"; left: 50%; top: -22px; transform: translateX(-50%); }
}
.prose .path li strong { color: var(--cream); }
@media (max-width: 1000px) { .toc details h2 { display: none; } }
