/* Art Unboxed website. Hand-written, no frameworks: nothing is loaded
   from anywhere else, so visitors are not tracked by anyone. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant_garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant_garamond_italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source_sans_3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf5ea;
  --paper: #fffdf8;
  --sand: #f3e7d2;
  --ink: #1b2238;
  --ink-soft: #4b5269;
  --muted: #7a7f90;
  --gold: #b8892c;
  --gold-deep: #94691a;
  --gold-soft: #ecd9ae;
  --plum: #6a35c6;
  --plum-soft: #efe7fb;
  --navy: #121a2e;
  --navy-2: #1b2540;
  --line: rgba(27, 34, 56, 0.1);
  --shadow: 0 1px 2px rgba(27, 34, 56, 0.06), 0 12px 32px -12px rgba(27, 34, 56, 0.18);
  --shadow-lg: 0 2px 4px rgba(27, 34, 56, 0.06), 0 30px 60px -20px rgba(27, 34, 56, 0.35);
  --rainbow: linear-gradient(90deg, #e8524a, #f39a3b, #f6cf3f, #6cc24a, #3fa3e0, #8b5cd6);
  --radius: 22px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
em.script { font-style: italic; font-weight: 500; color: var(--plum); }

/* A crayon-like rainbow line under a word. */
.crayon { position: relative; white-space: nowrap; }
.crayon::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.14em;
  background: var(--rainbow); border-radius: 99px; opacity: 0.85; z-index: -1;
  transform: rotate(-1deg);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 234, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(27, 34, 56, 0.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px -4px rgba(106, 53, 198, 0.5); }
.brand span { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--paper); }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px -10px rgba(27, 34, 56, 0.7); }
.btn-primary:hover { color: var(--paper); background: #262f4d; }
.btn-ghost { border-color: rgba(27, 34, 56, 0.22); color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-gold { background: linear-gradient(180deg, #d4a849, var(--gold)); color: #2a1c02; box-shadow: 0 10px 24px -10px rgba(184, 137, 44, 0.9); }
.btn-gold:hover { color: #2a1c02; }
.btn small { font-weight: 600; opacity: 0.7; font-size: 0.82rem; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.play-mark { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.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(246, 207, 63, 0.35), rgba(246, 207, 63, 0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 33em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-art .frame {
  position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden;
  border: 10px solid var(--paper); box-shadow: var(--shadow-lg);
  aspect-ratio: 9 / 14; background: var(--sand);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-art .sticker {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 0.92rem; line-height: 1.25;
}
.hero-art .sticker small { display: block; font-weight: 600; color: var(--muted); font-size: 0.8rem; }
.hero-art .sticker .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.sticker.one { left: -48px; top: 18%; }
.sticker.two { right: -40px; bottom: 14%; }
.sticker.one .dot { background: var(--plum-soft); color: var(--plum); }
.sticker.two .dot { background: #fdf1d3; color: var(--gold-deep); }
.sticker svg { width: 18px; height: 18px; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 30px; }
  .sticker.one { left: -10px; }
  .sticker.two { right: -10px; }
}

/* Sections */
section { padding: 110px 0; }
.section-head { max-width: 740px; margin: 0 auto 60px; }
.section-head h2 { margin-bottom: 18px; }
.paper { background: var(--paper); }
.rule { height: 6px; background: var(--rainbow); opacity: 0.8; }

/* The story */
.story { text-align: center; }
.story blockquote {
  margin: 0 auto; max-width: 880px;
  font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.2; font-weight: 500;
}
.story blockquote em { color: var(--plum); }
.story p { max-width: 640px; margin: 28px auto 0; color: var(--ink-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius); padding: 38px 32px 34px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--serif); font-size: 4.4rem; font-weight: 600; line-height: 1; color: var(--gold-soft);
  position: absolute; top: 20px; right: 28px;
}
.step .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); margin: 0; }
.ico.c1 { background: #fde6e3; color: #c8423a; }
.ico.c2 { background: #fdf1d3; color: #a8771a; }
.ico.c3 { background: #e3f3dc; color: #3f8a2a; }
.ico.c4 { background: #e0eefa; color: #2b78b5; }
.ico.c5 { background: var(--plum-soft); color: var(--plum); }
.ico.c6 { background: #fbe7d6; color: #c46b1f; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.ticks li strong { color: var(--ink); }
.ticks svg { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: 2px; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.flip > :first-child { order: 0; } }

/* Seasons */
.seasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 460px; justify-self: center; width: 100%; }
.season { margin: 0; }
.season .pic {
  border-radius: 140px 140px 18px 18px; overflow: hidden; aspect-ratio: 9 / 15;
  border: 6px solid var(--paper); box-shadow: var(--shadow); background: var(--sand);
}
.season img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.season:hover img { transform: scale(1.04); }
.season figcaption { text-align: center; margin-top: 12px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }


/* Gallery */
.gallery-band { background: var(--navy); color: #eef0f6; position: relative; overflow: hidden; }
.gallery-band::before {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%;
  background: radial-gradient(closest-side, rgba(184, 137, 44, 0.25), transparent 70%); pointer-events: none;
}
.gallery-band h2 { color: #fff; }
.gallery-band .lead { color: #b8bfd3; }
.gallery-band .eyebrow { color: #e2be6f; }
.gallery-band .eyebrow::before { background: #e2be6f; }
.gallery-main {
  position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-main .label, .gallery-thumbs .label {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px;
  background: rgba(18, 26, 46, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-weight: 700; font-size: 0.9rem; border: 1px solid rgba(226, 190, 111, 0.45);
}
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.gallery-thumbs figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); }
.gallery-thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.mode { border-top: 1px solid rgba(226, 190, 111, 0.35); padding-top: 22px; }
.mode h3 { color: #fff; font-size: 1.55rem; margin-bottom: 8px; }
.mode p { color: #b8bfd3; margin: 0; }
@media (max-width: 760px) { .gallery-thumbs, .modes { grid-template-columns: 1fr; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.25s, box-shadow 0.25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.45rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Family card mock */
.comment-stack { display: grid; gap: 16px; max-width: 460px; margin-inline: auto; }
.bubble {
  background: var(--paper); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; border: 1px solid var(--line);
}
.bubble:nth-child(2) { margin-left: 40px; }
.bubble:nth-child(3) { margin-left: 12px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: #fff; }
.bubble b { display: block; font-size: 0.98rem; }
.bubble span { color: var(--ink-soft); font-size: 0.98rem; }
.bubble .meta { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.wave { display: inline-flex; gap: 3px; align-items: center; height: 22px; margin-top: 4px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--plum); opacity: 0.75; }

/* Privacy band */
.privacy-band { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #eef0f6; }
.privacy-band h2 { color: #fff; }
.privacy-band .lead { color: #b8bfd3; }
.privacy-band .eyebrow { color: #e2be6f; }
.privacy-band .eyebrow::before { background: #e2be6f; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 10px; }
.promise { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 20px; padding: 26px; }
.promise svg { width: 28px; height: 28px; color: #e2be6f; margin-bottom: 14px; }
.promise h3 { color: #fff; font-size: 1.4rem; margin-bottom: 8px; }
.promise p { color: #b8bfd3; margin: 0; font-size: 0.98rem; }
.google-use { margin-top: 56px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 22px; padding: 34px; }
.google-use h3 { color: #fff; margin-bottom: 8px; }
.google-use > p { color: #b8bfd3; }
.google-use dl { display: grid; grid-template-columns: minmax(180px, 0.6fr) 1.4fr; gap: 0; margin: 18px 0 0; }
.google-use dt, .google-use dd { margin: 0; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.google-use dt { color: #fff; font-weight: 700; padding-right: 20px; }
.google-use dd { color: #b8bfd3; }
.google-use a { color: #e2be6f; }
.google-use .fine { margin: 22px 0 0; font-size: 0.9rem; color: #8f97ad; }
.privacy-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.privacy-band .btn-ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 960px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .promises { grid-template-columns: 1fr; } .google-use dl { grid-template-columns: 1fr; } .google-use dd { border-top: 0; padding-top: 0; } }

/* Pricing */
.price-card {
  position: relative; max-width: 880px; margin: 0 auto; background: var(--paper); border-radius: 30px;
  box-shadow: var(--shadow-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line);
}
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rainbow); }
.price-side { padding: 48px 44px; }
.price-side + .price-side { background: linear-gradient(180deg, #fdf6e6, #f8ecd2); border-left: 1px solid var(--line); }
.price-side .tag { font-weight: 700; color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; }
.price { font-family: var(--serif); font-size: 4.6rem; font-weight: 600; line-height: 1; margin: 14px 0 6px; }
.price small { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }
.price-side > p { color: var(--ink-soft); }
.price-side > p.frame-note { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--plum); margin-bottom: 8px; }
.price-side .ticks { margin-top: 22px; }
.price-note { text-align: center; color: var(--muted); font-size: 0.95rem; margin-top: 26px; }
@media (max-width: 760px) { .price-card { grid-template-columns: 1fr; } .price-side + .price-side { border-left: 0; border-top: 1px solid var(--line); } .price-side { padding: 38px 28px; } }

/* No catches */
.nopes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nope { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.nope .x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fde6e3; color: #c8423a; }
.nope .x svg { width: 18px; height: 18px; }
.nope h3 { font-size: 1.4rem; margin: 6px 0 6px; }
.nope p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 960px) { .nopes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .nopes { grid-template-columns: 1fr; } }

/* Schools */
.schools {
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
  background: var(--plum-soft); border-radius: 28px; padding: 40px 44px; border: 1px solid rgba(106, 53, 198, 0.14);
}
.schools .badge { width: 84px; height: 84px; border-radius: 24px; background: var(--plum); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(106, 53, 198, 0.8); }
.schools .badge svg { width: 40px; height: 40px; }
.schools h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.schools p { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .schools { grid-template-columns: 1fr; padding: 34px 28px; } }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; transition: box-shadow 0.2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 34px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--ink-soft); padding-bottom: 6px; }

/* Final call */
.cta { text-align: center; }
.cta img.icon { width: 104px; height: 104px; border-radius: 28px; margin: 0 auto 26px; box-shadow: 0 20px 40px -16px rgba(106, 53, 198, 0.6); }
.cta h2 { margin-bottom: 16px; }
.cta .lead { max-width: 560px; margin: 0 auto 32px; }

/* Footer */
.site-footer { background: var(--navy); color: #b8bfd3; padding: 60px 0 40px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer .brand span { color: #fff; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 6px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e2be6f; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #f1d494; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8790a8; font-size: 0.88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Privacy policy page */
.doc-hero { padding: 70px 0 30px; }
.doc-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 14px; }
.doc-hero p { color: var(--ink-soft); }
.summary-card { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 18px; padding: 24px 28px; margin: 10px 0 40px; box-shadow: var(--shadow); }
.summary-card p:last-child { margin: 0; }
.doc { padding: 0 0 100px; }
.doc h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 56px 0 16px; padding-top: 10px; scroll-margin-top: 90px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 0.6em; color: var(--ink-soft); }
.doc li strong, .doc p strong { color: var(--ink); }
.doc p { color: var(--ink-soft); }
.doc .table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); margin: 20px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.98rem; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--sand); font-weight: 700; }
.doc td:first-child { font-weight: 600; width: 36%; }
.doc tr:last-child td { border-bottom: 0; }
.doc code { font-size: 0.86em; background: var(--sand); padding: 1px 6px; border-radius: 6px; }
.doc .callout { background: var(--plum-soft); border-radius: 16px; padding: 20px 24px; color: var(--ink); font-weight: 600; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px; columns: 2; column-gap: 30px; }
.toc a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-soft); font-weight: 600; break-inside: avoid; }
.toc a:hover { color: var(--plum); }
@media (max-width: 600px) { .toc { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
