:root {
  --navy: #071b36;
  --navy-2: #0f2d4d;
  --navy-3: #173f66;
  --gold: #b87920;
  --gold-soft: #d7a451;
  --cream: #f7f3ec;
  --paper: #fffdfa;
  --ink: #162033;
  --muted: #5e6774;
  --line: #dcd6cc;
  --success: #225b45;
  --shadow: 0 16px 42px rgba(7,27,54,.11);
  --radius: 16px;
  --wrap: min(1500px, calc(100% - 2rem));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: .18em; }
a:hover { color: var(--gold); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 9999; background: #fff; color: #000; padding: .75rem 1rem; border: 2px solid #000; }
.skip-link:focus { left: .5rem; }
.wrap { width: var(--wrap); margin-inline: auto; }
.topbar { background: var(--navy); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,253,250,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-row { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; color: var(--navy); text-decoration: none; min-width: 260px; }
.brand img { width: 78px; height: 52px; }
.brand-copy strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.2vw, 2.1rem); line-height: 1; letter-spacing: .015em; }
.brand-copy span { display: block; margin-top: .35rem; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .2rem; padding: 0; margin: 0; }
.primary-nav a { display: block; padding: .72rem .72rem; color: var(--navy); text-decoration: none; font-size: .88rem; font-weight: 750; text-transform: uppercase; letter-spacing: .02em; border-bottom: 3px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.hero { background: linear-gradient(90deg, var(--cream) 0 46%, #e9e3da 46% 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 530px; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 58%); }
.hero-copy { padding: clamp(3rem, 7vw, 6.8rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem) 0; align-self: center; }
.eyebrow { margin: 0 0 .55rem; color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
h1,h2,h3,h4 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 5vw, 5rem); margin-bottom: 1.1rem; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); margin-bottom: .55rem; }
.hero-copy .lead { max-width: 620px; font-size: clamp(1.04rem, 1.35vw, 1.25rem); color: #30394a; }
.hero-photo { min-height: 530px; background: #111; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: center; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .7rem 1.2rem; border-radius: 7px; border: 1px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; font-weight: 800; text-transform: uppercase; letter-spacing: .025em; font-size: .84rem; }
.button:hover { color: #fff; background: var(--navy-3); }
.button.secondary { background: transparent; color: var(--navy); border-color: var(--gold); }
.button.secondary:hover { background: #fff; color: var(--gold); }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: grid; grid-template-columns: 52px 1fr; gap: .75rem; align-items: center; padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 46px; height: 46px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-weight: 900; }
.trust-item strong { display: block; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: .9rem; }
.section { padding: clamp(3.4rem, 7vw, 6.5rem) 0; }
.section.alt { background: var(--cream); border-block: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 1.25rem; }
.grid.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(7,27,54,.06); }
.card-body { padding: 1.25rem; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); }
.card .text-link { font-weight: 800; text-decoration: none; }
.card-image { width: 100%; aspect-ratio: 12/7; object-fit: cover; }
.topic-card { position: relative; background: var(--navy); color: #fff; }
.topic-card .card-body { background: linear-gradient(180deg,var(--navy-2),var(--navy)); }
.topic-card h3, .topic-card a { color: #fff; }
.topic-card p { color: #e3eaf2; }
.topic-card a:hover { color: var(--gold-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.panel.navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel.navy h2,.panel.navy h3,.panel.navy a { color: #fff; }
.panel.navy p,.panel.navy li { color: #e2e9f1; }
.notice { border-left: 5px solid var(--gold); background: #fff8e9; padding: 1rem 1.15rem; margin: 1.4rem 0; border-radius: 0 10px 10px 0; }
.notice strong { color: var(--navy); }
.breadcrumbs { font-size: .9rem; color: var(--muted); padding: 1rem 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.page-hero { padding: clamp(3rem, 6vw, 5.5rem) 0; background: radial-gradient(circle at 85% 20%, rgba(184,121,32,.18), transparent 28%), linear-gradient(135deg,var(--cream),#fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; font-size: clamp(2.45rem, 5vw, 4.7rem); }
.page-hero .lead { max-width: 850px; font-size: 1.15rem; color: #3f4857; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-body { max-width: 900px; }
.article-body p, .article-body li { font-size: 1.02rem; }
.article-body h2 { margin-top: 2.5rem; padding-top: .2rem; }
.article-body h3 { margin-top: 1.7rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: #fff; }
th,td { padding: .9rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--cream); color: var(--navy); }
.table-scroll { overflow-x: auto; margin: 1.5rem 0; }
.sidebar { position: sticky; top: 125px; }
.sidebar nav,.sidebar .side-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; margin-bottom: 1rem; }
.sidebar h2,.sidebar h3 { font-size: 1.15rem; }
.sidebar ul { padding-left: 1.1rem; margin-bottom: 0; }
.sidebar a { text-decoration: none; }
.key-points { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin: 1.6rem 0; }
.key-point { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.key-point strong { display:block; color: var(--navy); margin-bottom:.3rem; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 1rem 1rem 1rem 4rem; margin: 0 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.steps > li::before { content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 900; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.8rem; margin: .55rem 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.quiz-form label { display: block; color: var(--navy); font-weight: 800; margin: 1rem 0 .35rem; }
.quiz-form select,.quiz-form input { width: 100%; min-height: 48px; border: 1px solid #bfc5cc; border-radius: 8px; padding: .65rem .75rem; background: #fff; }
.result-box { margin-top: 1.2rem; padding: 1.15rem; background: #edf6f1; border: 1px solid #a7cdbd; border-radius: 12px; }
.knot-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0; }
.bow-diagram { min-height: 260px; display: grid; place-items: center; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.bow-diagram svg { width: min(380px,90%); }
.knot-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.knot-controls button { border: 0; border-radius: 8px; background: var(--navy); color: #fff; padding: .7rem 1rem; font-weight: 800; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; margin: .75rem 0; }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 850; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.tag { padding: .35rem .65rem; border-radius: 999px; background: #efe7d7; color: var(--navy); font-size: .82rem; font-weight: 800; }
.site-footer { background: var(--navy); color: #e8edf4; margin-top: 4rem; }
.footer-main { padding: 3rem 0 2rem; display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 2rem; }
.site-footer h2,.site-footer h3 { color: #fff; font-size: 1.15rem; }
.site-footer a { color: #e8edf4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .4rem 0; }
.footer-note { border-top: 1px solid rgba(255,255,255,.16); padding: 1rem 0 1.5rem; font-size: .87rem; color: #c7d1df; display: flex; justify-content: space-between; gap: 1rem; }
.print-only { display: none; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 94px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: block; width: var(--wrap); margin: 0 auto; padding: .5rem 0 1rem; }
  .primary-nav a { padding: .85rem .25rem; }
  .grid.cards-5 { grid-template-columns: repeat(3,1fr); }
  .grid.cards-4 { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 850px) {
  .topbar .wrap { min-height: 44px; }
  .topbar p:last-child { display: none; }
  .header-row { min-height: 78px; }
  .brand img { width: 58px; height: 40px; }
  .brand-copy span { display: none; }
  .primary-nav { top: 78px; }
  .hero { background: var(--cream); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.2rem 0; }
  .hero-photo { min-height: 390px; order: -1; }
  .hero-photo img { min-height: 390px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid.cards-3,.grid.cards-5 { grid-template-columns: repeat(2,1fr); }
  .split,.article-layout,.knot-demo { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .key-points { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --wrap: min(100% - 1.2rem, 1500px); }
  .brand { min-width: 0; }
  .brand-copy strong { font-size: 1.22rem; }
  .hero-photo { min-height: 285px; }
  .hero-photo img { min-height: 285px; }
  .trust-grid,.grid.cards-3,.grid.cards-4,.grid.cards-5,.footer-main { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .actions .button { width: 100%; }
  .footer-note { display: block; }
  th,td { padding: .7rem; }
}
@media print {
  .topbar,.site-header,.site-footer,.sidebar,.actions,.breadcrumbs,.nav-toggle { display:none !important; }
  body { color:#000; background:#fff; font-size:11pt; }
  .wrap { width:100%; }
  .page-hero { padding:1rem 0; background:#fff; border:0; }
  .section { padding:1rem 0; }
  a { color:#000; text-decoration:none; }
  .print-only { display:block; }
}
