/* Index Shield Advisors — shared design system
   Draft site · Not published · No external fonts or scripts
   Navy/gold palette from the approved logo. Local image assets in ../assets/. */
:root {
  --navy: #002048;
  --gold: #d2a44b;
  --gold-dark: #8a6414;
  --gold-light: #e8c98a;
  --gold-wash: #f3ead6;
  --cream: #f5f5ef;
  --ink: #1a2e44;
  --muted: #526675;
  --line: #e4ddd0;
  --focus: #d2a44b;
  --footer-link: #d2a44b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: white;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { letter-spacing: -0.045em; line-height: 1.08; }
h1 { font-size: clamp(36px, 4.8vw, 64px); font-weight: 650; color: var(--navy); }
h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 650; color: var(--navy); }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy); }
h4 { font-size: 17px; font-weight: 650; color: var(--navy); }
a { color: var(--gold-dark); }
a:hover { color: var(--navy); }

.wrap { max-width: 1160px; margin: auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: auto; padding: 0 32px; }

.draft {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: white;
  color: var(--navy);
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 650;
}
.skip-link:focus { top: 12px; }

header { border-bottom: 1px solid var(--line); background: white; position: sticky; top: 0; z-index: 15; }
nav.site-nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand small {
  font-size: 10px;
  letter-spacing: 0.27em;
  font-weight: 600;
  display: block;
}
.mark { width: auto; height: 44px; display: block; flex-shrink: 0; object-fit: contain; }

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.navlinks > a:not(.button) {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
  white-space: nowrap;
}
.navlinks > a:not(.button):hover,
.navlinks > a:not(.button)[aria-current="page"] {
  color: var(--gold-dark);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 14px 22px;
  border-radius: 5px;
  border: 1px solid var(--gold);
  font: 650 14px/1.4 inherit;
  min-height: 44px;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { background: var(--navy); border-color: var(--gold); color: var(--gold) !important; }
.button.secondary {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.button.secondary:hover { background: var(--navy); color: var(--gold) !important; border-color: var(--gold); }
.button:disabled,
.button.is-disabled {
  background: #526675;
  border-color: #526675;
  color: white !important;
  opacity: 1;
  cursor: not-allowed;
}
.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 750;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  margin: 20px 0 0;
  color: var(--muted);
  max-width: 560px;
}
.subnote, .fine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.placeholder {
  font-size: 13px !important;
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  background: #ffffffb0;
  margin-top: 18px !important;
  color: var(--muted);
}
.note {
  font-size: 13px;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  background: var(--gold-wash);
  margin-top: 20px;
  color: var(--ink);
}

/* Page hero */
.page-hero {
  background: var(--cream);
  padding: 64px 0 48px;
}
.page-hero.compact { padding: 48px 0 36px; }
.page-hero h1 em { font-style: normal; color: var(--gold-dark); }
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 8px; color: var(--line); }

/* Home hero */
.hero { background: var(--cream); padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 em { font-style: normal; color: var(--gold-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art {
  height: 400px;
  position: relative;
  background: var(--navy);
  border-radius: 140px 140px 12px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  pointer-events: none;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  top: 150px;
  left: -170px;
}
.hero-art:after { top: -130px; left: 160px; }
.hero-logo { height: 210px; width: auto; max-width: 78%; z-index: 1; position: relative; background: #fff; border-radius: 18px; padding: 14px 16px; box-sizing: border-box; object-fit: contain; }
.art-title, .art-sub { position: relative; z-index: 1; }
.art-title { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; margin-top: 22px; z-index: 1; }
.art-sub { font-size: 12px; color: var(--gold-light); letter-spacing: 0.1em; margin-top: 8px; z-index: 1; }
.hero-foot {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero-foot span:before {
  content: "✓";
  color: var(--gold-dark);
  margin-right: 9px;
  font-weight: bold;
}

section { padding: 80px 0; }
section[id] { scroll-margin-top: 110px; }
.tinted { background: var(--cream); }
.navy-band { background: var(--navy); color: white; }
.navy-band h2, .navy-band h3 { color: white; }
.navy-band .eyebrow { color: var(--gold); }
.navy-band p { color: #c4c7d0; }
.navy-band .card { border-color: var(--line); }
.navy-band .card h3 { color: var(--navy); }
.navy-band .card p { color: var(--muted); }
.navy-band .number { color: var(--gold-dark); }

.intro { max-width: 660px; }
.intro p { color: var(--muted); margin-top: 18px; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
}
.card a.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
.card a.card-link:hover h3 { color: var(--gold-dark); }
.number {
  font-size: 12px;
  color: var(--gold-dark);
  margin-bottom: 22px;
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card p { font-size: 14px; color: var(--muted); margin-top: 12px; }
.card .meta { font-size: 12px; color: var(--gold-dark); margin-top: 16px; font-weight: 650; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split.uneven { grid-template-columns: 0.9fr 1.1fr; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
}
.checks li:before {
  content: "↗";
  font-size: 20px;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.checks strong { font-weight: 650; display: block; color: var(--navy); }
.checks p { font-size: 14px; color: var(--muted); margin-top: 4px; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.pros-cons .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
}
.pros-cons h3 { margin-bottom: 16px; }
.pros-cons ul { margin: 0; padding-left: 18px; color: var(--muted); }
.pros-cons li { margin-top: 10px; font-size: 14px; }
.panel.pros { border-top: 3px solid var(--gold-dark); }
.panel.cons { border-top: 3px solid #8a6a4a; }

.about-card {
  padding: 32px;
  background: var(--gold-wash);
  border-radius: 8px;
}
.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.term {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
}
.term h3 { font-size: 18px; margin-bottom: 10px; }
.term p { font-size: 14px; color: var(--muted); }

.cta-band {
  background: var(--navy);
  color: white;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: white; }
.cta-band p { color: #c4c7d0; max-width: 560px; margin: 16px auto 0; }
.cta-band .button { margin-top: 28px; }

/* Article / prose */
.prose { padding: 48px 0 80px; }
.prose h2 { margin-top: 42px; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--muted); margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 8px 0 0; }
.prose li { margin-top: 8px; }
.prose .lead { max-width: none; }
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.resource-list { margin-top: 36px; }
.resource-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 16px;
  background: white;
  transition: border-color 0.15s ease;
}
.resource-item:hover { border-color: var(--gold-dark); }
.resource-item h3 { margin-bottom: 8px; }
.resource-item p { font-size: 14px; color: var(--muted); margin: 0; }
.resource-item .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

/* FAQ */
.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-weight: 650;
  cursor: pointer;
  font-size: 17px;
  color: var(--navy);
}
.faq summary .faq-q {
  display: inline;
  font: inherit;
  color: inherit;
  margin: 0;
  letter-spacing: inherit;
  text-transform: none;
}
.faq details p {
  font-size: 14px;
  color: var(--muted);
  padding-top: 12px;
  max-width: 720px;
}

/* Contact form */
.formbox {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px;
}
.formbox fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.formbox legend { font-size: 18px; font-weight: 650; margin-bottom: 8px; color: var(--navy); }
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}
label { display: block; font-size: 12px; font-weight: 650; color: var(--ink); }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #c5bba8;
  border-radius: 4px;
  padding: 12px;
  background: white;
  color: var(--ink);
  font: 14px system-ui, sans-serif;
  min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
input:disabled, select:disabled, textarea:disabled {
  background: var(--cream);
  color: #526675;
  -webkit-text-fill-color: #526675;
}
.full { grid-column: 1 / -1; }
.consent {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 20px 0;
}
.consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}
.consent input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  flex-shrink: 0;
}
.preview-warning {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-note {
  font-size: 12px;
  color: var(--gold-dark);
  margin-top: 12px;
  text-align: center;
}
.contact-details {
  margin-top: 24px;
  line-height: 2;
  font-size: 14px;
  color: var(--muted);
}
.contact-details strong { color: var(--navy); }

.schedule-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 48px 40px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}
.schedule-box .button { min-width: 240px; }
.schedule-box .lead-cta {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 28px;
}

/* Two-option booking chooser */
.booking-chooser { margin-top: 8px; }
.booking-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
  text-align: left;
}
.booking-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 28px;
  background: white;
  height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.booking-card:hover {
  border-color: var(--gold-dark);
  border-top-color: var(--gold-dark);
  color: inherit;
  box-shadow: 0 8px 24px #00204814;
}
.booking-card:hover h3 { color: var(--gold-dark); }
.booking-card .number { margin-bottom: 16px; }
.booking-card h3 { font-size: 20px; }
.booking-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.booking-card .meta {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-dark);
  margin-top: 16px;
  font-weight: 650;
}

.booking-chooser.compact { margin-top: 28px; }
.booking-chooser.compact .booking-cards { margin-top: 0; gap: 14px; }
.booking-chooser.compact .booking-card { padding: 20px 18px; }
.booking-chooser.compact .booking-card h3 { font-size: 17px; }
.booking-chooser.compact .booking-card .number { margin-bottom: 12px; }

.cta-band .booking-chooser { margin-top: 8px; }
.cta-band .booking-cards { text-align: left; }
.cta-band .booking-card p {
  color: var(--muted);
  max-width: none;
  margin: 12px 0 0;
  text-align: left;
}

.prose .booking-chooser { margin-top: 36px; }
.prose .booking-card p { margin-top: 12px; }

/* Footer */
footer {
  background: var(--navy);
  color: #c4c7d0;
  padding: 48px 0 28px;
  font-size: 11px;
  line-height: 1.8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  color: white;
}
.footer-grid strong {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer-grid a {
  display: block;
  color: #c4c7d0;
  text-decoration: none;
  font-size: 13px;
  margin-top: 8px;
}
.footer-grid a:hover { color: var(--footer-link); }
.footer-brand {
  font-size: 18px !important;
  margin-bottom: 8px !important;
}
.footer-loc { font-size: 13px; color: #c4c7d0; font-weight: 400; }
.compliance {
  color: #e6e0d4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  margin-bottom: 14px;
}
footer p + p { margin-top: 12px; }
footer a { color: var(--footer-link); }
.bottom {
  border-top: 1px solid #ffffff25;
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 100px 0 120px;
}
.error-page .code {
  font-size: 72px;
  font-weight: 650;
  color: var(--gold-dark);
  letter-spacing: -0.06em;
  line-height: 1;
}
.error-page h1 { margin-top: 12px; }
.error-page .lead { margin-left: auto; margin-right: auto; }
.error-page .hero-actions { justify-content: center; }

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

@media (max-width: 980px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navlinks > a:not(.button):nth-child(n+5) { display: none; }
}

@media (max-width: 760px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  nav.site-nav { height: auto; min-height: 82px; padding: 14px 0; flex-wrap: wrap; }
  .brand { font-size: 14px; }
  .navlinks { width: 100%; gap: 8px 14px; justify-content: flex-start; }
  .navlinks > a:not(.button) { display: none; }
  .navlinks .button { font-size: 12px; padding: 10px 13px; }
  .hero { padding-top: 48px; }
  .page-hero { padding: 40px 0 32px; }
  .hero-grid, .split, .pros-cons, .term-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { height: 270px; border-radius: 100px 100px 8px 8px; }
  .hero-logo { height: 118px; padding: 8px 10px; border-radius: 14px; }
  .hero-foot { gap: 12px; margin-top: 28px; flex-direction: column; }
  .lead { font-size: 16px; }
  section { padding: 56px 0; }
  .cards, .cards.two, .cards.four { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .card { padding: 22px; }
  .formbox { padding: 22px; }
  .schedule-box { padding: 32px 22px; }
  .schedule-box .button { width: 100%; min-width: 0; }
  .booking-cards,
  .booking-chooser.compact .booking-cards { grid-template-columns: 1fr; gap: 14px; }
  .formgrid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .bottom { flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(32px, 9vw, 42px); }
  .contact-details { overflow-wrap: anywhere; }
  .cta-band { padding: 48px 0; }
  .prose { padding: 36px 0 56px; }
}
