:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --surface: #18181f;
  --border: #2b2b38;
  --text: #f4f4f5;
  --muted: #adadb6;
  --soft: #81818b;
  --violet-border: rgba(108, 92, 255, .38);
  --lime: #b8ff3d;
  --radius-card: 18px;
  --space-paragraph: 18px;
  --space-heading: 22px;
  --space-section: clamp(32px, 4vw, 44px);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 84% -12%, rgba(108, 92, 255, .18), transparent 32rem),
    radial-gradient(circle at -12% 76%, rgba(184, 255, 61, .035), transparent 25rem);
}
.page-shell { width: min(100% - 32px, 860px); margin: 0 auto; padding: 24px 0 72px; }
.site-header { display: flex; align-items: center; margin-bottom: 28px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.back-arrow { color: #fff; font-size: 26px; font-weight: 700; line-height: 1; transform: translateY(-1px); }
.back-link:hover { color: #c9c4ff; }
.back-link:focus-visible, .intro a:focus-visible {
  outline: 3px solid rgba(108, 92, 255, .5);
  outline-offset: 4px;
  border-radius: 4px;
}

h1, h2 { letter-spacing: -.065em; line-height: 1.03; }
h1 { max-width: 760px; margin-bottom: var(--space-heading); font-size: clamp(36px, 6vw, 54px); font-weight: 700; }
h2 { max-width: 720px; margin-bottom: var(--space-heading); font-size: clamp(30px, 5vw, 45px); }
h3 { margin-bottom: 10px; font-size: 19px; letter-spacing: -.035em; line-height: 1.2; }
.intro, .section, .final-section { max-width: 760px; margin-bottom: var(--space-section); }
.intro p, .section-heading p:not(.eyebrow), .prose p, .tips p, .final-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}
.intro p + p, .section-heading p + p, .prose p + p, .tips p + p, .final-section p + p {
  margin-top: var(--space-paragraph);
}
.intro a { color: #c9c4ff; text-underline-offset: 3px; }
.intro a:hover { color: #fff; }
.eyebrow { margin-bottom: 12px; color: #a99fff; font-size: 11px; font-weight: 850; letter-spacing: .13em; line-height: 1.3; }
.section-heading { margin-bottom: 28px; }
.prose, .tips { max-width: 720px; }
.prose h3 { margin-top: 32px; }
.prose h3 + p { margin-top: 0; }
.key-thought, .final-thought {
  padding-left: 22px;
  border-left: 2px solid var(--lime);
  color: var(--text) !important;
  font-size: 19px !important;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.38 !important;
}

.weight-example {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 30px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.weight-example__plate {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 4px solid #3a3a49;
  border-radius: 50%;
  background: var(--surface);
}
.weight-example__plate span {
  display: block;
  width: 53px;
  height: 53px;
  border: 1px solid #57576a;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #858497, #555466 72%);
}
.weight-example figcaption { display: flex; flex-direction: column; gap: 1px; }
.weight-example figcaption span { color: var(--muted); font-size: 14px; font-weight: 650; }
.weight-example figcaption strong { color: var(--lime); font-size: 24px; letter-spacing: -.04em; line-height: 1.15; }

.tips-title { margin: 0 0 20px; }
.tips { display: grid; gap: 0; border-top: 1px solid var(--border); }
.tips p { padding: 16px 0; border-bottom: 1px solid var(--border); }
.tips p + p { margin-top: 0; }
.tips strong { color: var(--text); }
.final-section {
  margin-bottom: 0;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--violet-border);
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(108, 92, 255, .12), var(--surface) 58%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.final-section .final-thought { margin-top: 28px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 4px 7px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--soft); font-size: 12px; line-height: 1.45; }
.site-footer a { color: var(--muted); text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--text); }

@media (max-width: 700px) {
  :root { --space-paragraph: 16px; --space-heading: 18px; --space-section: 32px; }
  .page-shell { width: min(100% - 24px, 600px); padding-top: 20px; padding-bottom: 46px; }
  .site-header { margin-bottom: 24px; }
  .intro p, .section-heading p:not(.eyebrow), .prose p, .tips p, .final-section p { font-size: 16px; }
  .section-heading { margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .page-shell { width: min(100% - 20px, 460px); }
  .back-arrow { transform: translateY(-2px); }
  h1 { font-size: 36px; }
  h2 { font-size: clamp(29px, 8.8vw, 38px); }
  .weight-example { gap: 16px; }
  .weight-example__plate { flex-basis: 64px; width: 64px; height: 64px; }
  .weight-example__plate span { width: 45px; height: 45px; }
  .key-thought, .final-thought { padding-left: 18px; font-size: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
