:root {
  --ink: #18131f;
  --ink-soft: #534c5a;
  --night: #100c1a;
  --night-soft: #1b1429;
  --ivory: #f6f0e4;
  --ivory-deep: #eee4d3;
  --paper: #fffaf0;
  --violet: #8e6fbc;
  --violet-soft: #c7addd;
  --gold: #c9a96b;
  --line: rgba(32, 24, 41, 0.14);
  --night-line: rgba(255, 250, 240, 0.15);
  --serif: "Gowun Batang", Georgia, serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --latin: "Manrope", var(--sans);
  --shell: min(1180px, calc(100% - 48px));
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: #d9c5ea;
  color: #160f22;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--night);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.content-shell {
  width: var(--shell);
  margin-inline: auto;
}

.guide-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid var(--night-line);
  color: var(--paper);
}

.guide-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.guide-brand svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
}

.guide-brand strong {
  font-family: var(--latin);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.guide-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.guide-nav a {
  color: rgba(255, 250, 240, 0.72);
  text-decoration: none;
  transition: color 180ms ease;
}

.guide-nav a:hover,
.guide-nav a:focus-visible {
  color: var(--paper);
}

.guide-nav .header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 250, 240, 0.26);
  border-radius: 999px;
  color: var(--paper);
}

.guide-hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, rgba(125, 84, 174, 0.28), transparent 24%),
    radial-gradient(circle at 18% 76%, rgba(81, 61, 127, 0.18), transparent 28%),
    linear-gradient(145deg, #0e0a17, #171022 60%, #100c1a);
  color: var(--paper);
}

.guide-hero::before,
.guide-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(240, 224, 255, 0.12);
  border-radius: 50%;
}

.guide-hero::before {
  width: 590px;
  height: 590px;
  right: -160px;
  top: 80px;
}

.guide-hero::after {
  width: 390px;
  height: 390px;
  right: -60px;
  top: 180px;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(255, 248, 229, 0.86) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(213, 183, 237, 0.64) 0 1px, transparent 1.4px);
  background-position: 9% 29%, 68% 18%;
  background-size: 163px 149px, 211px 197px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.guide-hero-grid {
  min-height: 600px;
  padding-top: 150px;
  padding-bottom: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 72px;
}

.breadcrumbs {
  margin: 0 0 27px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: rgba(255, 250, 240, 0.58);
  font-size: 13px;
  font-weight: 600;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.45;
}

.breadcrumbs a {
  text-decoration: none;
}

.hero-kicker {
  margin: 0 0 17px;
  color: var(--violet-soft);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.guide-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5.2vw, 70px);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 400;
  text-wrap: balance;
}

.guide-hero h1 em {
  color: #d7c1e9;
  font-style: normal;
}

.hero-summary {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.7);
  font-size: 18px;
  line-height: 1.75;
}

.article-meta {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: rgba(255, 250, 240, 0.52);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px 3px 0;
  border-radius: 50%;
  background: var(--gold);
}

.article-byline {
  margin: 14px 0 0;
  color: rgba(255, 250, 240, 0.66);
  font-size: 13px;
  line-height: 1.65;
}

.article-byline strong {
  color: var(--paper);
  font-weight: 700;
}

.article-byline a {
  color: var(--violet-soft);
  text-underline-offset: 0.22em;
}

.hero-oracle {
  position: relative;
  justify-self: center;
  width: 226px;
  aspect-ratio: 0.64;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 229, 255, 0.29);
  border-radius: 116px 116px 24px 24px;
  background: linear-gradient(155deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34), inset 0 0 60px rgba(151, 108, 187, 0.08);
  animation: oracle-float 7s ease-in-out infinite;
}

.hero-oracle::before,
.hero-oracle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 212, 248, 0.21);
}

.hero-oracle::before {
  width: 150px;
  height: 150px;
}

.hero-oracle::after {
  width: 100px;
  height: 100px;
}

.hero-oracle span {
  position: relative;
  z-index: 1;
  color: #e1cbed;
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(207, 170, 235, 0.38);
}

.hero-oracle small {
  position: absolute;
  bottom: 31px;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.46);
}

@keyframes oracle-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.article-layout {
  width: var(--shell);
  margin: 0 auto;
  padding: 100px 0 128px;
  display: grid;
  grid-template-columns: 210px minmax(0, var(--reading));
  justify-content: center;
  gap: 72px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 30px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-toc strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--latin);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
}

.article-toc a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.article-toc a::before {
  content: "0" counter(toc);
  color: #9e899b;
  font-family: var(--latin);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--ink);
}

.article-body {
  min-width: 0;
}

.article-body .lead {
  margin: 0 0 72px;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.7;
  letter-spacing: -0.025em;
}

.article-body section {
  scroll-margin-top: 28px;
  margin: 0 0 82px;
}

.section-number {
  display: inline-block;
  margin-bottom: 12px;
  color: #90789d;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-body h2 {
  margin: 0 0 25px;
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article-body h3 {
  margin: 40px 0 13px;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.article-body p {
  margin: 0 0 20px;
  color: #403945;
}

.article-body strong {
  color: var(--ink);
}

.article-body ul,
.article-body ol:not(.question-steps) {
  margin: 20px 0 28px;
  padding-left: 1.25em;
}

.article-body li {
  margin: 8px 0;
  padding-left: 5px;
  color: #403945;
}

.article-body li::marker {
  color: #92789e;
}

.note-box,
.reflection-box,
.formula-box {
  margin: 34px 0;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.58);
}

.note-box strong,
.reflection-box strong,
.formula-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.note-box p:last-child,
.reflection-box p:last-child,
.formula-box p:last-child {
  margin-bottom: 0;
}

.formula-box {
  border-color: rgba(114, 84, 143, 0.28);
  background: linear-gradient(135deg, rgba(221, 205, 234, 0.42), rgba(255, 250, 240, 0.7));
}

.formula {
  margin: 12px 0 0 !important;
  color: #302339 !important;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.6;
}

.example-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.example-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 250, 240, 0.52);
}

.example-card .before,
.example-card .after {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: baseline;
}

.example-card .before {
  margin-bottom: 9px;
  color: #7a717c;
}

.example-card .after {
  color: #302438;
  font-weight: 650;
}

.example-card b {
  font-family: var(--latin);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.question-steps {
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
  counter-reset: steps;
}

.question-steps li {
  counter-increment: steps;
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 68px;
  border-top: 1px solid var(--line);
}

.question-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 13px;
  top: 17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109, 79, 135, 0.3);
  border-radius: 50%;
  color: #705680;
  font-family: var(--serif);
  font-size: 15px;
}

.question-steps strong {
  display: block;
  margin-bottom: 3px;
}

.checklist {
  margin: 27px 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "✦";
  position: absolute;
  left: 3px;
  color: #826592;
  font-size: 12px;
}

.arcana-group {
  margin: 32px 0 50px;
}

.arcana-group > h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 25px;
}

.arcana-group > p {
  color: #6a616c;
  font-size: 15px;
}

.arcana-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.arcana-card {
  min-height: 202px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 250, 240, 0.54);
}

.arcana-card:nth-child(3n + 2) {
  background: rgba(235, 225, 241, 0.42);
}

.arcana-card .card-number {
  display: inline-block;
  margin-bottom: 15px;
  color: #8b7198;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.arcana-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.arcana-card h3 small {
  display: block;
  margin-top: 2px;
  color: #877f88;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.arcana-card p {
  margin: 0 0 10px;
  color: #554e57;
  font-size: 14px;
  line-height: 1.65;
}

.arcana-card .prompt {
  color: #392c41;
  font-weight: 650;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.compare-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.58);
}

.compare-card:nth-child(even) {
  background: rgba(229, 218, 237, 0.42);
}

.compare-card dt {
  margin-bottom: 8px;
  color: #836c90;
  font-size: 13px;
  font-weight: 750;
}

.compare-card dd {
  margin: 0;
  color: #433b46;
}

.choice-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.choice-panel {
  padding: 26px;
  border-radius: 18px;
  background: #191224;
  color: var(--paper);
}

.choice-panel:last-child {
  background: #e8ddec;
  color: var(--ink);
}

.choice-panel h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 23px;
}

.choice-panel ul {
  margin: 0;
  padding-left: 18px;
}

.choice-panel li {
  color: inherit;
  font-size: 15px;
}

.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 21px 42px 21px 0;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 17px;
  color: #816c8b;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 42px 21px 0;
}

.article-end {
  margin-top: 96px;
  padding: 44px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 10%, rgba(141, 96, 175, 0.28), transparent 34%),
    var(--night);
  color: var(--paper);
}

.article-end .eyebrow {
  margin: 0 0 12px;
  color: var(--violet-soft);
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.article-end h2 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 31px;
}

.article-end p {
  color: rgba(255, 250, 240, 0.68);
}

.article-end-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-end a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-end a:first-child {
  background: var(--paper);
  color: var(--night);
}

.guide-footer {
  padding: 58px 0 40px;
  background: #0d0914;
  color: var(--paper);
}

.guide-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--night-line);
}

.guide-footer .guide-brand {
  margin-bottom: 14px;
}

.guide-footer-copy {
  margin: 0;
  color: rgba(255, 250, 240, 0.5);
  font-size: 14px;
}

.guide-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  align-content: flex-start;
  font-size: 13px;
}

.guide-footer-nav a {
  color: rgba(255, 250, 240, 0.65);
  text-decoration: none;
}

.guide-footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 250, 240, 0.52);
  font-size: 12px;
}

.guide-footer-bottom p {
  margin: 0;
}

.article-sources {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.5);
}

.article-sources > p {
  color: var(--ink-soft);
}

.source-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 13px 0 13px 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.source-list li::before {
  content: "↗";
  float: left;
  margin-left: -22px;
  color: var(--violet);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 700;
}

.source-list a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(242, 229, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.guide-index-hero .guide-hero-grid,
.intent-hero .guide-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.collection-main {
  padding: 92px 0 112px;
  background: var(--ivory);
}

.collection-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.collection-intro .section-number {
  display: block;
  margin-bottom: 13px;
  color: var(--violet);
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-intro h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.collection-intro p {
  margin: 0;
  color: var(--ink-soft);
}

.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-card-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 16px 50px rgba(29, 20, 39, 0.055);
}

.guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--night);
}

.guide-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.guide-card small {
  color: var(--violet);
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-card h2,
.guide-card h3 {
  margin: 13px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.guide-card p {
  margin: 0 0 21px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.guide-card-link {
  margin-top: auto;
  color: #735393;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.editorial-strip {
  margin-top: 68px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: 22px;
  background: var(--night);
  color: var(--paper);
}

.editorial-strip h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
}

.editorial-strip p {
  margin: 0;
  color: rgba(255, 250, 240, 0.68);
  font-size: 15px;
}

.editorial-strip a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 999px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid #c7a9df;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .guide-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-oracle {
    display: none;
  }

  .article-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  .article-toc {
    position: static;
    margin-bottom: 10px;
  }

  .article-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .guide-index-hero .guide-hero-grid,
  .intent-hero .guide-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 36px;
  }

  .guide-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 36px);
  }

  body {
    font-size: 16px;
    line-height: 1.78;
  }

  .guide-header-inner {
    min-height: 66px;
  }

  .guide-nav > a:not(.header-cta) {
    display: none;
  }

  .guide-nav .header-cta {
    padding: 8px 13px;
    font-size: 12px;
  }

  .guide-hero,
  .guide-hero-grid {
    min-height: 570px;
  }

  .guide-index-hero .guide-hero-grid,
  .intent-hero .guide-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .guide-hero-grid {
    padding-top: 124px;
    padding-bottom: 68px;
  }

  .guide-hero::before {
    width: 360px;
    height: 360px;
    right: -200px;
  }

  .guide-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.2;
  }

  .guide-hero .reunion-title {
    font-size: clamp(34px, 9.2vw, 42px);
    letter-spacing: -0.06em;
  }

  .hero-summary {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.7;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-meta {
    display: grid;
    gap: 3px;
  }

  .article-layout {
    padding: 68px 0 88px;
    gap: 48px;
  }

  .article-toc ol {
    grid-template-columns: 1fr;
  }

  .article-body .lead {
    margin-bottom: 58px;
    font-size: 21px;
  }

  .article-body section {
    margin-bottom: 65px;
  }

  .article-body h2 {
    font-size: 31px;
  }

  .article-body h3 {
    margin-top: 34px;
    font-size: 20px;
  }

  .note-box,
  .reflection-box,
  .formula-box {
    margin: 28px 0;
    padding: 22px 20px;
    border-radius: 15px;
  }

  .formula {
    font-size: 20px;
  }

  .example-card {
    padding: 20px;
  }

  .example-card .before,
  .example-card .after {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .checklist,
  .arcana-grid,
  .compare-grid,
  .choice-panels {
    grid-template-columns: 1fr;
  }

  .arcana-card {
    min-height: 0;
  }

  .question-steps li {
    padding-right: 4px;
  }

  .article-end {
    margin-top: 72px;
    padding: 30px 24px;
  }

  .article-end h2 {
    font-size: 27px;
  }

  .article-end-actions {
    display: grid;
  }

  .article-end a {
    justify-content: center;
  }

  .guide-footer-top,
  .guide-footer-bottom {
    display: grid;
  }

  .guide-footer-bottom {
    gap: 10px;
  }

  .collection-main {
    padding: 68px 0 88px;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .guide-card-copy {
    padding: 22px;
  }

  .editorial-strip {
    margin-top: 48px;
    padding: 26px 22px;
    grid-template-columns: 1fr;
  }

  .editorial-strip a {
    width: 100%;
  }

  .article-sources {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
