:root {
  --ink: #26374b;
  --forest: #2f4058;
  --lavender: #6877c8;
  --lavender-soft: #dfe4f5;
  --rose: #ad4f5d;
  --rose-soft: #f8e4e5;
  --apricot: #efb287;
  --cream: #fbf6ed;
  --paper: #fffdf8;
  --muted: #5f6c82;
  --line: rgba(47,64,88,.16);
  --shadow: 0 20px 52px rgba(47,64,88,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 2%, rgba(239,178,135,.28), transparent 28rem),
    radial-gradient(circle at 3% 24%, rgba(104,119,200,.13), transparent 30rem),
    var(--cream);
  font: 17px/1.68 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,253,248,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--forest); font-weight: 900; text-decoration: none; letter-spacing: -.025em; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,var(--forest),var(--lavender)); }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 750; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--rose); }
.nav-cta { padding: 10px 15px; color: #fff !important; background: var(--rose); border-radius: 999px; }

.guide-hero { padding: 74px 0 54px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 13px; font-weight: 750; }
.breadcrumbs a { color: var(--rose); text-underline-offset: 3px; }
.kicker { color: var(--rose); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--forest); font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.06; letter-spacing: -.04em; }
h1 { max-width: 920px; margin: 16px 0 20px; font-size: clamp(48px, 7vw, 82px); }
.lede { max-width: 790px; margin: 0; color: var(--muted); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 25px; color: var(--muted); font-size: 13px; font-weight: 700; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 42px; align-items: start; padding-bottom: 96px; }
.article-card { padding: clamp(26px,5vw,54px); background: rgba(255,253,248,.97); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); }
.article-card h2 { margin: 52px 0 15px; font-size: clamp(31px,4vw,44px); }
.article-card h2:first-child { margin-top: 0; }
.article-card h3 { margin: 31px 0 8px; font-size: 24px; }
.article-card p { margin: 0 0 18px; }
.article-card ul, .article-card ol { display: grid; gap: 11px; padding-left: 24px; }
.article-card li::marker { color: var(--rose); font-weight: 900; }
.callout { margin: 30px 0; padding: 22px 24px; color: var(--forest); background: linear-gradient(135deg,var(--lavender-soft),#f8e4e5); border-left: 5px solid var(--rose); border-radius: 18px; }
.callout strong { display: block; margin-bottom: 4px; }
.quick-list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.quick-list li { position: relative; padding: 16px 18px 16px 50px; background: #f4f2fa; border: 1px solid var(--line); border-radius: 15px; }
.quick-list li::before { content: "✓"; position: absolute; left: 17px; top: 15px; width: 23px; height: 23px; display: grid; place-items: center; color: #fff; background: var(--lavender); border-radius: 50%; font-size: 12px; font-weight: 900; }
.template { position: relative; margin: 22px 0; padding: 24px; color: var(--forest); background: #f7f0e8; border: 1px dashed rgba(173,79,93,.48); border-radius: 19px; white-space: pre-line; }
.copy-button { margin-top: 10px; padding: 10px 14px; color: #fff; background: var(--rose); border: 0; border-radius: 12px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.copy-button:hover { background: #923f4d; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-row a, .print-button { padding: 10px 14px; color: var(--forest); background: var(--lavender-soft); border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }

.side-card { position: sticky; top: 94px; padding: 25px; color: #fff; background: linear-gradient(145deg,var(--forest),var(--lavender)); border-radius: 25px; box-shadow: var(--shadow); }
.side-card h2 { margin: 0; color: #fff; font-size: 28px; }
.side-card p { color: #edf0fb; font-size: 15px; }
.side-card a { min-height: 48px; display: flex; align-items: center; justify-content: center; margin-top: 16px; padding: 0 16px; color: #fff; background: var(--rose); border-radius: 14px; font-weight: 850; text-decoration: none; text-align: center; }
.side-card small { display: block; margin-top: 13px; color: #dfe4f5; line-height: 1.4; }

.guide-index { padding: 74px 0 96px; }
.guide-index h1 { margin-top: 15px; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 42px; }
.guide-card { display: flex; flex-direction: column; min-height: 330px; padding: 28px; color: var(--forest); background: var(--paper); border: 1px solid var(--line); border-radius: 27px; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s ease; }
.guide-card:hover { transform: translateY(-5px); }
.guide-card span { width: fit-content; padding: 7px 10px; color: #fff; background: var(--rose); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.guide-card strong { margin-top: 34px; font: 850 28px/1.08 "Avenir Next",Avenir,sans-serif; letter-spacing: -.035em; }
.guide-card p { color: var(--muted); font-size: 15px; }
.guide-card b { margin-top: auto; color: var(--rose); font-size: 14px; }
.index-cta { margin-top: 54px; padding: clamp(28px,5vw,50px); color: #fff; background: linear-gradient(145deg,var(--forest),var(--lavender)); border-radius: 30px; text-align: center; }
.index-cta h2 { margin: 0; color: #fff; font-size: clamp(34px,5vw,52px); }
.index-cta p { color: #edf0fb; }
.index-cta a { min-height: 50px; display: inline-flex; align-items: center; padding: 0 18px; color: #fff; background: var(--rose); border-radius: 14px; font-weight: 850; text-decoration: none; }

footer { padding: 30px 0; color: #e3e7f5; background: var(--forest); font-size: 13px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 250px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 26px, 1120px); }
  .nav { min-height: 66px; }
  .brand-mark { width: 40px; height: 40px; }
  .nav-cta { padding: 9px 12px; font-size: 12px; }
  .guide-hero, .guide-index { padding-top: 50px; }
  h1 { font-size: clamp(42px,13vw,58px); }
  .article-card { border-radius: 24px; }
}

@media print {
  .site-header, .side-card, .share-row, footer, .copy-button { display: none !important; }
  body { background: #fff; color: #000; }
  .guide-hero { padding: 20px 0; }
  .article-layout { display: block; padding: 0; }
  .article-card { padding: 0; border: 0; box-shadow: none; }
}
