/* ============================================================
   AssociatesMD × Claude — Onboarding Guide
   Aesthetic: clinical luxury. Navy depth, lime accent, paper calm.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Plus+Jakarta+Sans:ital,wght@0,400..700;1,400..500&display=swap');

:root {
  /* AMD brand */
  --navy: #0d2f4c;
  --navy-900: #081f33;
  --navy-700: #14405f;
  --green: #99cc00;
  --green-soft: #b5e030;
  --gray: #48494a;

  /* surfaces */
  --paper: #f6f5f0;
  --paper-2: #efeee7;
  --card: #ffffff;
  --ink: #16202b;
  --ink-soft: #4d5a66;
  --line: #e3e1d8;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13,47,76,.05), 0 4px 14px rgba(13,47,76,.06);
  --shadow-md: 0 10px 40px rgba(13,47,76,.10);
  --shadow-lg: 0 30px 80px rgba(8,31,51,.22);

  --maxw: 1080px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--navy-900); }

a { color: inherit; }

/* ---------- top progress bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 100;
  background: rgba(13,47,76,.08);
}
.topbar__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--navy-700), var(--green));
  transition: width .5s var(--ease);
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.block { padding: clamp(56px, 9vw, 110px) 0; }
.block--tight { padding: clamp(40px, 6vw, 72px) 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gray);
  margin-bottom: 18px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px;
}
h2.title {
  font-family: var(--display);
  font-weight: 700; font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.04; letter-spacing: -0.02em; color: var(--navy);
  max-width: 18ch;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 60ch; margin-top: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #eaf1f6;
  padding: clamp(40px,7vw,64px) 0 clamp(64px,10vw,108px);
}
.hero__mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(40% 55% at 18% 12%, rgba(153,204,0,.32), transparent 60%),
    radial-gradient(45% 60% at 88% 22%, rgba(34,124,157,.55), transparent 62%),
    radial-gradient(60% 70% at 70% 95%, rgba(20,64,95,.9), transparent 70%);
  filter: blur(6px); opacity: .95; pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0; opacity: .06; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .wrap { position: relative; z-index: 2; }
.hero__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: clamp(48px, 9vw, 96px);
}
.hero__logo { height: 30px; width: auto; opacity: .96; }
.hero__cobrand { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(234,241,246,.6); font-weight: 600; }

.hero__role {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(153,204,0,.14); border: 1px solid rgba(153,204,0,.4);
  color: var(--green-soft); font-size: 13px; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 26px;
}
.hero__role .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero h1 {
  font-family: var(--display);
  font-weight: 700; font-size: clamp(40px, 8vw, 86px);
  line-height: .98; letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero h1 .accent { color: var(--green); }
.hero__sub { margin-top: 26px; max-width: 56ch; font-size: clamp(17px,2.1vw,21px); color: rgba(234,241,246,.82); }

.hero__meta {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 36px;
  padding-top: 28px; border-top: 1px solid rgba(234,241,246,.14);
}
.hero__meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero__meta .m b { font-family: var(--display); font-size: 22px; color: #fff; font-weight: 700; }
.hero__meta .m span { font-size: 12.5px; letter-spacing: .04em; color: rgba(234,241,246,.6); text-transform: uppercase; }

/* ============================================================
   CHAT VS CODE
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 46px; }
.duo__card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.duo__card--you { border-color: rgba(153,204,0,.55); box-shadow: 0 0 0 1px rgba(153,204,0,.25), var(--shadow-md); }
.duo__tag {
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.duo__tag--you { background: var(--green); color: var(--navy-900); }
.duo__tag--it { background: var(--navy); color: #fff; }
.duo__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 20px; font-size: 24px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy)); color: #fff;
}
.duo__card--you .duo__icon { background: linear-gradient(150deg, var(--green), #7da800); color: var(--navy-900); }
.duo__card h3 { font-family: var(--display); font-size: 25px; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 6px; }
.duo__card .role { font-size: 13px; font-weight: 700; color: var(--gray); letter-spacing: .04em; margin-bottom: 16px; }
.duo__card p { color: var(--ink-soft); font-size: 15.5px; }
.duo__list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.duo__list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink); }
.duo__list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--line); }
.duo__card--you .duo__list li::before { background: var(--green); }

.oneliner {
  margin-top: 30px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--navy); color: #eaf1f6; font-size: clamp(17px,2.2vw,21px);
  font-family: var(--display); font-weight: 500; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 16px;
}
.oneliner .q { font-size: 40px; line-height: 0; color: var(--green); font-family: var(--display); }

/* ============================================================
   SETUP CHECKLIST
   ============================================================ */
.setup { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.steps { margin-top: 44px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--green), var(--line)); border-radius: 2px;
}
.step {
  position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px;
  padding: 0 0 26px 0;
}
.step__num {
  position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; cursor: pointer;
  background: var(--card); border: 2px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gray);
  transition: all .35s var(--ease); user-select: none;
}
.step__num:hover { border-color: var(--green); transform: scale(1.05); }
.step__check { display: none; }
.step.done .step__num { background: var(--green); border-color: var(--green); color: var(--navy-900); }
.step.done .step__num .n { display: none; }
.step.done .step__num::after { content: "✓"; font-size: 24px; }
.step__body {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm); transition: opacity .35s var(--ease), border-color .35s;
}
.step.done .step__body { border-color: rgba(153,204,0,.4); }
.step.done .step__body h4 { text-decoration: line-through; text-decoration-color: rgba(72,73,74,.35); color: var(--gray); }
.step__body h4 { font-family: var(--display); font-size: 19px; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 5px; }
.step__body p { font-size: 15px; color: var(--ink-soft); }
.step__body .tip { margin-top: 10px; font-size: 13.5px; color: var(--gray); display: flex; gap: 8px; align-items: flex-start; }
.step__body .tip b { color: var(--navy); font-weight: 700; }
.step__body code { background: var(--paper-2); padding: 2px 7px; border-radius: 6px; font-size: 13.5px; color: var(--navy); font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.optional { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); background: var(--paper-2); padding: 3px 8px; border-radius: 6px; margin-left: 8px; vertical-align: middle; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 46px; }
.proj {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.proj::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--green), var(--navy-700)); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.proj:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.proj:hover::after { transform: scaleY(1); }
.proj__n { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: .05em; }
.proj h4 { font-family: var(--display); font-size: 21px; color: var(--navy); letter-spacing: -0.015em; margin: 10px 0 8px; line-height: 1.15; }
.proj p { font-size: 15px; color: var(--ink-soft); }
.proj .how { margin-top: 14px; font-size: 13.5px; color: var(--gray); padding-top: 13px; border-top: 1px dashed var(--line); }
.proj .how b { color: var(--navy); }

/* ============================================================
   GROUND RULES
   ============================================================ */
.rules { background: var(--navy-900); color: #eaf1f6; }
.rules .title { color: #fff; }
.rules .lead { color: rgba(234,241,246,.72); }
.rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.rule {
  display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
}
.rule__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; font-weight: 800; }
.rule--ok .rule__ic { background: rgba(153,204,0,.18); color: var(--green-soft); }
.rule--no .rule__ic { background: rgba(255,107,107,.16); color: #ff9b9b; }
.rule h4 { font-family: var(--display); font-size: 17px; color: #fff; margin-bottom: 3px; letter-spacing: -0.01em; }
.rule p { font-size: 14px; color: rgba(234,241,246,.7); }

/* ============================================================
   STARTER PROMPT
   ============================================================ */
.prompt-card {
  margin-top: 40px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden;
}
.prompt-card__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.prompt-card__bar .lbl { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.copybtn {
  border: none; cursor: pointer; font-family: var(--body); font-weight: 700; font-size: 13px;
  padding: 8px 16px; border-radius: 9px; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; gap: 7px; transition: background .25s, transform .15s;
}
.copybtn:hover { background: var(--navy-700); }
.copybtn:active { transform: scale(.96); }
.copybtn.copied { background: var(--green); color: var(--navy-900); }
.prompt-card__body { padding: 24px 26px; font-size: 15.5px; color: var(--ink); white-space: pre-wrap; line-height: 1.7; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

/* ============================================================
   CONFIGURE (1:1 setup) — subheads, file list
   ============================================================ */
.subhead {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: clamp(21px,2.6vw,27px); color: var(--navy);
  letter-spacing: -0.02em; margin: 48px 0 12px;
}
.subhead .b {
  flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--navy); color: var(--green); font-size: 18px; font-weight: 700;
}
.subnote { color: var(--ink-soft); font-size: 16px; max-width: 72ch; margin-bottom: 18px; }
.subnote b { color: var(--navy); }
.subnote code { background: var(--paper-2); padding: 2px 7px; border-radius: 6px; font-size: 14px; color: var(--navy); font-family: ui-monospace,'SF Mono',Menlo,monospace; }

.files {
  margin-top: 16px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.files > b { display: block; font-family: var(--display); color: var(--navy); font-size: 15px; margin-bottom: 12px; letter-spacing: -0.01em; }
.files ul { list-style: none; display: grid; gap: 9px; }
.files li { display: flex; gap: 11px; font-size: 15px; color: var(--ink); }
.files li::before { content: "+"; flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(153,204,0,.18); color: #6a9000; font-weight: 800; display: grid; place-items: center; font-size: 13px; margin-top: 1px; }

/* features (built-in tools) */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.feature {
  display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.feature__ic {
  flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; background: linear-gradient(150deg, var(--navy-700), var(--navy)); color: #fff;
}
.feature h4 { font-family: var(--display); font-size: 18px; color: var(--navy); letter-spacing: -0.015em; margin-bottom: 5px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); }
.note-line {
  margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--green);
  background: rgba(153,204,0,.08); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15.5px; color: var(--gray);
}
.note-line b { color: var(--navy); }

/* pro moves */
.tips { list-style: none; counter-reset: tip; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.tips li {
  counter-increment: tip; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px 24px 26px; box-shadow: var(--shadow-sm);
}
.tips li::before {
  content: counter(tip); font-family: var(--display); font-weight: 700; font-size: 14px;
  color: var(--green); display: inline-block; margin-bottom: 8px;
  background: var(--navy); width: 30px; height: 30px; border-radius: 9px; text-align: center; line-height: 30px;
}
.tips h4 { font-family: var(--display); font-size: 18px; color: var(--navy); margin: 4px 0 5px; letter-spacing: -0.015em; }
.tips p { font-size: 14.5px; color: var(--ink-soft); }

@media (max-width: 820px) {
  .feat-grid, .tips { grid-template-columns: 1fr; }
}

/* ============================================================
   CTO RUNBOOK
   ============================================================ */
.run-steps { margin-top: 42px; position: relative; }
.run-steps::before { content: ""; position: absolute; left: 25px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--green), var(--line)); border-radius: 2px; }
.run-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 22px; }
.run-step__num { position: relative; z-index: 2; width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--green); font-family: var(--display); font-weight: 700; font-size: 20px; }
.run-step__body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.run-step__body h4 { font-family: var(--display); font-size: 19px; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.015em; }
.run-step__body p { font-size: 15px; color: var(--ink-soft); }
.run-step__body code { background: var(--paper-2); padding: 2px 7px; border-radius: 6px; font-size: 13.5px; color: var(--navy); font-family: ui-monospace,'SF Mono',Menlo,monospace; }
.run-step__confirm { margin-top: 12px; font-size: 14px; color: var(--gray); display: flex; gap: 10px; align-items: flex-start; padding-top: 12px; border-top: 1px dashed var(--line); }
.run-step__confirm .c { flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(153,204,0,.2); color: #5e8000; font-weight: 800; display: grid; place-items: center; font-size: 12px; }
.run-step__confirm b { color: var(--navy); }

.capbadge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; vertical-align: middle; margin-left: 8px; letter-spacing: .03em; }
.capbadge.pwr { background: rgba(153,204,0,.2); color: #5e8000; }
.capbadge.std { background: var(--paper-2); color: var(--gray); }
.tlink { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); }

.dod { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 32px; }
.dod ul { list-style: none; display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
.dod li { display: flex; gap: 12px; font-size: 15px; color: var(--ink); align-items: flex-start; }
.dod li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--green); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
@media (max-width: 700px) { .dod ul { grid-template-columns: 1fr; } }

.run-step__body .say { display: block; margin-top: 8px; font-size: 14px; color: var(--gray); font-style: italic; padding-left: 12px; border-left: 2px solid var(--green); }

/* ============================================================
   SPLIT (Spencer | Lucas joint page)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 44px; position: relative; }
.split::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: var(--line); transform: translateX(-50%); }
.split__col { min-width: 0; }
.split__person { margin-bottom: 6px; }
.pchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: 100px;
  background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.split__name { font-family: var(--display); font-size: 31px; color: var(--navy); letter-spacing: -0.02em; margin: 12px 0 0; line-height: 1; }
.split .subhead { font-size: 19px; margin: 32px 0 8px; }
.split .subhead .b { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; }
.split .subnote { font-size: 14.5px; margin-bottom: 14px; }
.split .prompt-card { box-shadow: var(--shadow-sm); margin-top: 0; }
.split .prompt-card__body, .split .ex__body { font-size: 13.5px; }
.split .files { margin-top: 14px; }
.split .ex-list { margin-top: 16px; gap: 14px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 52px; }
  .split::before { display: none; }
}

/* ============================================================
   REAL-LIFE EXAMPLES
   ============================================================ */
.ex-list { display: grid; gap: 16px; margin-top: 44px; }
.ex {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .35s var(--ease), border-color .35s;
}
.ex:hover { box-shadow: var(--shadow-md); border-color: rgba(153,204,0,.5); }
.ex__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px 14px 22px; background: var(--card); border-bottom: 1px solid var(--line);
}
.ex__head .t { font-family: var(--display); font-size: 16px; color: var(--navy); font-weight: 600; letter-spacing: -0.01em; }
.ex__head .copybtn { padding: 7px 14px; font-size: 12.5px; }
.ex__body {
  padding: 16px 22px; font-size: 14.5px; color: var(--ink); white-space: pre-wrap; line-height: 1.65;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace; background: var(--paper);
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot__logo { height: 26px; opacity: .8; }
.foot p { font-size: 14px; color: var(--gray); max-width: 46ch; }
.foot a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); }

/* ============================================================
   FLOATING PROGRESS RING
   ============================================================ */
.ring {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-lg); display: grid; place-items: center;
  opacity: 0; transform: translateY(20px) scale(.9); transition: all .5s var(--ease);
}
.ring.show { opacity: 1; transform: none; }
.ring svg { transform: rotate(-90deg); }
.ring__txt { position: absolute; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--navy); }
.ring.complete { background: var(--green); }
.ring.complete .ring__txt { color: var(--navy-900); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .duo, .proj-grid, .rule-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero__meta { gap: 12px 24px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step__num { width: 44px; height: 44px; font-size: 17px; }
  .steps::before { left: 21px; }
  .ring { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
