:root {
  --navy: #14284b;
  --navy-2: #1d3a66;
  --teal: #0b7a75;
  --teal-dark: #08605c;
  --teal-soft: #e3f3f1;
  --sand: #f7f2e9;
  --sand-2: #efe6d6;
  --gold: #c9a45c;
  --ink: #26303d;
  --muted: #5b6573;
  --card: #ffffff;
  --line: #e6dccb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 40, 75, .06), 0 8px 24px rgba(20, 40, 75, .08);
  --shadow-hover: 0 2px 4px rgba(20, 40, 75, .08), 0 14px 34px rgba(20, 40, 75, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 233, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand:hover { color: var(--navy); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: .85rem;
  letter-spacing: .04em;
}
.nav-link {
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}
.nav-link:hover { border-color: var(--teal); }

/* Hero */
.hero {
  background: var(--navy);
  color: #e9eef6;
  padding: 56px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, .25);
  box-shadow: 0 0 0 40px rgba(201, 164, 92, .05), 0 0 0 80px rgba(201, 164, 92, .03);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-home { padding-bottom: 104px; }
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: .82rem;
}
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: .03em;
}
.chip-soft { background: rgba(255, 255, 255, .1); color: #f3e7cf; font-weight: 600; }
.meta { color: #b9c5d8; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
.hero h1 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 2.7rem);
  letter-spacing: -.01em;
  margin: 0 0 16px;
}
.standfirst { font-size: 1.15rem; color: #d5deeb; margin: 0; max-width: 680px; }

/* Article content */
.content { padding-bottom: 56px; }
.quick-answer {
  position: relative;
  margin: -64px 0 40px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 22px;
  border-top: 5px solid var(--teal);
}
.qa-label {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.quick-answer p:last-child { margin-bottom: 0; }

.content section { margin: 0 0 40px; }
.content h2 {
  font-size: clamp(1.35rem, 3.4vw, 1.65rem);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand-2);
  position: relative;
}
.content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--teal);
}
.content p { margin: 0 0 16px; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 16px; }
.content li { margin-bottom: 8px; }
.content ol li::marker { color: var(--teal); font-weight: 700; }
strong { color: var(--navy); }
.aura-link {
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(11, 122, 117, .4);
}

/* Planning tips checklist */
.content .tips {
  background: var(--teal-soft);
  border: 1px solid #c4e4e0;
  border-radius: var(--radius);
  padding: 26px 28px 10px;
}
.content .tips h2 { border-bottom-color: #c4e4e0; }
.content .tips ul { list-style: none; padding: 0; }
.content .tips li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
}
.content .tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* FAQ accordion */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 20px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--teal); color: #fff; }
.faq-item summary h3 { margin: 0; font-size: 1.04rem; display: inline; }
.faq-body { padding: 0 20px 6px; color: var(--ink); }

/* Related + other stacks */
.related-list, .stack-list { list-style: none; padding: 0 !important; }
.related-list { display: grid; gap: 10px; }
.related-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.related-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; color: var(--navy); }
.rel-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: .95rem;
}
.stack-list { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-list li { margin: 0 !important; }
.stack-list a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.stack-list a:hover { background: var(--teal); color: #fff; }

/* Hub cards */
.cards {
  list-style: none;
  padding: 0;
  margin: -64px 0 64px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  position: relative;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--sand-2);
  line-height: 1;
}
.card-kw {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-right: 48px;
}
.card-title { font-size: 1.2rem; margin: 0 0 10px; }
.card-text { color: var(--muted); font-size: .97rem; margin: 0 0 18px; flex: 1; }
.card-link {
  align-self: flex-start;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-size: .93rem;
}
.card-link:hover { background: var(--teal-dark); color: #fff; }
.card-link::after { content: " \2192"; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c5d0e0;
  padding: 36px 0;
  font-size: .93rem;
}
.site-footer p { margin: 0 0 8px; }
.footer-brand { color: #fff; font-weight: 700; font-family: var(--serif); font-size: 1.1rem; }
.footer-note { color: #93a3ba; font-size: .85rem; }

/* Mobile */
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 16px; }
  .wrap, .wrap-wide { padding: 0 16px; }
  .hero { padding: 36px 0 84px; }
  .standfirst { font-size: 1.05rem; }
  .quick-answer, .content .tips { padding: 20px 18px 8px; }
  .quick-answer { padding-bottom: 16px; }
  .cards { grid-template-columns: 1fr; }
  .faq-item summary { padding: 14px 48px 14px 16px; }
  .faq-body { padding: 0 16px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
