/* =========================================================
   Invest Strategy Way — main stylesheet
   Palette: deep teal + emerald + gold on warm cream
   ========================================================= */

:root {
  --teal-950: #04231f;
  --teal-900: #073029;
  --teal-800: #0b423b;
  --teal-700: #0e5c55;
  --teal-600: #12776b;
  --teal-500: #158f7e;
  --teal-300: #7cc3b5;
  --gold-600: #b8842f;
  --gold-500: #d9a44c;
  --gold-300: #eec98a;
  --gold-100: #f8ecd6;
  --cream: #f7f2e8;
  --cream-dark: #efe6d5;
  --paper: #fffdf9;
  --ink: #122624;
  --body: #46605d;
  --muted: #7a908d;
  --line: rgba(14, 92, 85, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(7, 48, 41, 0.07);
  --shadow: 0 22px 45px -22px rgba(7, 48, 41, 0.35);
  --font-head: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold-600);
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.35rem, 4.6vw, 3.65rem); }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.12rem; }

p { margin-bottom: 1rem; }

::selection {
  background: var(--gold-300);
  color: var(--teal-900);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 52px 0; }
.bg-paper { background-color: var(--paper); }
.bg-cream { background-color: var(--cream); }
.bg-teal { background-color: var(--teal-900); color: rgba(255, 255, 255, 0.82); }
.bg-teal h2, .bg-teal h3, .bg-teal h4, .bg-teal .text-ink { color: #fff; }
.bg-gold-soft { background: linear-gradient(180deg, #fbf4e6, #f6e9d2); }

.text-ink { color: var(--ink); }
.text-muted-2 { color: var(--muted); }
.text-gold { color: var(--gold-600); }
.text-teal { color: var(--teal-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.eyebrow-light { color: var(--gold-300); }
.eyebrow-light::before { background: var(--gold-300); }

.lead-text {
  font-size: 1.12rem;
  color: var(--body);
  max-width: 62ch;
}
.center-col { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--teal-900);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 800;
  z-index: 2000;
}
.skip-link:focus { left: 0; color: var(--teal-900); }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-padding-y: 0.72rem;
  --bs-btn-padding-x: 1.55rem;
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.btn-pill-group { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-primary {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--teal-900);
  box-shadow: 0 14px 26px -14px rgba(217, 164, 76, 0.9);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--gold-600);
  border-color: var(--gold-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--teal-800);
}

.btn-outline-teal {
  border: 1.5px solid var(--teal-700);
  color: var(--teal-800);
  background: transparent;
}
.btn-outline-teal:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

.btn-link-teal {
  font-weight: 700;
  color: var(--teal-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-link-teal i { transition: transform 0.25s ease; }
.btn-link-teal:hover { color: var(--gold-600); }
.btn-link-teal:hover i { transform: translateX(5px); }

/* ---------- Navbar ---------- */
.navbar-isw {
  background: rgba(247, 242, 232, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding-block: 14px;
  transition: box-shadow 0.3s ease, background 0.3s ease, padding 0.3s ease;
}
.navbar-isw.is-stuck {
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 10px 30px -20px rgba(7, 48, 41, 0.5);
  border-bottom-color: var(--line);
  padding-block: 8px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(238, 201, 138, 0.4);
  flex: 0 0 auto;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  display: block;
}
.brand-text span { color: var(--gold-600); }
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.navbar-isw .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 8px 15px !important;
  border-radius: 999px;
}
.navbar-isw .nav-link:hover { color: var(--teal-600); background: rgba(21, 143, 126, 0.09); }
.navbar-isw .nav-link.active { color: var(--teal-800); background: rgba(21, 143, 126, 0.14); }
.navbar-isw .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  background: var(--paper);
}
.navbar-isw .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 9px 12px;
  color: var(--ink);
}
.navbar-isw .dropdown-item:hover { background: rgba(21, 143, 126, 0.12); color: var(--teal-800); }
.navbar-isw .dropdown-item i { color: var(--gold-600); margin-right: 8px; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow);
  }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 130% at 85% -20%, rgba(21, 143, 126, 0.55), transparent 60%),
              linear-gradient(150deg, var(--teal-800), var(--teal-950));
  color: rgba(255, 255, 255, 0.86);
  padding: 74px 0 68px;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(238, 201, 138, 0.28);
  border-radius: 50%;
}
.page-head::before {
  content: "";
  position: absolute;
  left: -80px;
  top: -120px;
  width: 240px;
  height: 240px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}
.page-head h1 { color: #fff; }
.page-head p { max-width: 68ch; }
.page-head .container { position: relative; z-index: 2; }
.breadcrumb-isw {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5);
  --bs-breadcrumb-item-active-color: var(--gold-300);
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}
.breadcrumb-isw a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb-isw a:hover { color: var(--gold-300); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(75% 105% at 8% 0%, rgba(21, 143, 126, 0.42), transparent 58%),
    radial-gradient(60% 90% at 100% 10%, rgba(217, 164, 76, 0.28), transparent 55%),
    linear-gradient(160deg, #08352e 0%, #04231f 65%);
  color: rgba(255, 255, 255, 0.85);
  padding: 84px 0 96px;
}
.hero .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero h1 { color: #fff; }
.hero h1 em {
  font-style: italic;
  color: var(--gold-300);
}
.hero .hero-copy { position: relative; z-index: 3; }
.hero-visual { position: relative; z-index: 2; }
.hero-art {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(160deg, #fbf6ec, #f0e3cb);
  padding: 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
  transform: rotate(-1.2deg);
}
.hero-art img { border-radius: 18px; display: block; }
.hero-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: var(--shadow);
}
.hero-chip i { font-size: 1.15rem; color: var(--teal-600); }
.hero-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; }
.chip-1 { top: -18px; left: -12px; }
.chip-2 { bottom: 34px; right: -14px; }
.chip-3 { bottom: -22px; left: 34px; }
@media (max-width: 575.98px) {
  .chip-1 { top: -12px; left: 0; }
  .chip-2 { bottom: 6px; right: 0; }
  .chip-3 { display: none; }
}

/* ---------- Stats ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -58px;
  position: relative;
  z-index: 6;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-cell { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat-cell:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1;
}
.stat-num small { font-size: 1.1rem; color: var(--gold-600); }
.stat-label { font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-top: 6px; }
@media (max-width: 767.98px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card-isw {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  overflow: hidden;
}
.card-isw:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 55px -30px rgba(7, 48, 41, 0.42);
  border-color: rgba(217, 164, 76, 0.55);
}

/* Service card: image + heading + description + button */
.svc-card { display: flex; flex-direction: column; }
.svc-card .svc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-dark);
}
.svc-card .svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(4, 35, 31, 0.85);
  color: var(--gold-300);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-body h3 { margin-bottom: 10px; }
.svc-list { list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.94rem; }
.svc-list li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.svc-list li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--teal-500);
  font-size: 0.85rem;
}
.svc-card .btn { margin-top: auto; align-self: flex-start; }

/* Feature / value cards */
.feature-card { padding: 28px; }
.icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(145deg, rgba(21, 143, 126, 0.16), rgba(217, 164, 76, 0.2));
  color: var(--teal-700);
  border: 1px solid rgba(21, 143, 126, 0.22);
  margin-bottom: 16px;
}
.bg-teal .icon-bubble { background: rgba(255, 255, 255, 0.1); color: var(--gold-300); border-color: rgba(238, 201, 138, 0.3); }

/* ---------- Steps / process ---------- */
.step-wrap { position: relative; }
.step-num {
  font-family: var(--font-head);
  font-size: 2.9rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(238, 201, 138, 0.85);
  display: block;
  margin-bottom: 14px;
}
.step-card { padding: 30px 26px; height: 100%; }
.step-card h3 { font-size: 1.24rem; }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testi::before {
  content: "\F6B0";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.6rem;
  color: rgba(217, 164, 76, 0.25);
}
.stars { color: var(--gold-500); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi p { font-size: 1rem; color: var(--ink); }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.86rem;
  color: #fff;
  background: linear-gradient(145deg, var(--teal-600), var(--teal-900));
  flex: 0 0 auto;
}
.testi-person strong { display: block; color: var(--ink); font-size: 0.97rem; line-height: 1.3; }
.testi-person span { font-size: 0.76rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- Blog ---------- */
.blog-card .blog-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream-dark); }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-meta-line a { color: var(--teal-600); }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-body { max-width: 74ch; margin-inline: auto; }
.article-body > p:first-of-type { font-size: 1.17rem; color: var(--ink); }
.article-body p { margin-bottom: 1.35rem; }
.article-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); margin: 2.4rem 0 0.9rem; }
.article-body h2 .h-num { color: var(--gold-600); font-size: 0.7em; margin-right: 8px; }
.pull-quote {
  border-left: 4px solid var(--gold-500);
  background: var(--paper);
  border-radius: 0 16px 16px 0;
  padding: 22px 26px;
  margin: 2rem 0;
  font-family: var(--font-head);
  font-size: 1.24rem;
  line-height: 1.5;
  color: var(--teal-800);
  box-shadow: var(--shadow-sm);
}
.key-points {
  background: linear-gradient(160deg, var(--teal-800), var(--teal-950));
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 30px 32px;
  margin: 2.2rem 0;
}
.key-points h3 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.key-points ul { margin: 0; padding-left: 1.1rem; }
.key-points li { margin-bottom: 8px; }
.author-line { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-block: 1px solid var(--line); }

/* ---------- News / highlights ticker ---------- */
.highlight-band {
  background: linear-gradient(90deg, var(--gold-500), #e8bd75 45%, var(--gold-500));
  color: var(--teal-950);
  padding: 16px 0;
}
.highlight-band .row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 4px 10px;
}
.highlight-band i { font-size: 1.15rem; }
@media (min-width: 992px) {
  .highlight-band .row > div + div { border-left: 1px solid rgba(4, 35, 31, 0.22); }
}

/* ---------- Contact ---------- */
.info-tile {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  height: 100%;
}
.info-tile .icon-bubble { width: 46px; height: 46px; font-size: 1.25rem; border-radius: 14px; margin: 0; flex: 0 0 auto; }
.info-tile h4 { margin-bottom: 4px; font-size: 1.02rem; }
.info-tile p { margin: 0; font-size: 0.95rem; }
.info-tile a { font-weight: 700; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 38px;
  box-shadow: var(--shadow);
}
@media (max-width: 575.98px) { .form-card { padding: 24px 18px; } }
.form-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal-800); margin-bottom: 6px; }
.form-control, .form-select {
  background: #fdfbf6;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  color: var(--ink);
  font-size: 0.98rem;
}
.form-control:focus, .form-select:focus {
  background: #fff;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(21, 143, 126, 0.14);
}
.form-control::placeholder { color: #a8b8b6; }
.is-valid { border-color: var(--teal-500) !important; }
.is-invalid { border-color: #c0563e !important; }
.invalid-feedback { color: #b04a34; font-size: 0.84rem; font-weight: 600; }
.input-hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

.form-alert {
  display: none;
  border: 0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  font-weight: 600;
  align-items: flex-start;
  gap: 12px;
}
.form-alert.show { display: flex; }
.form-alert i { font-size: 1.35rem; flex: 0 0 auto; margin-top: 2px; }
.form-alert-success { background: rgba(21, 143, 126, 0.14); color: var(--teal-800); border: 1px solid rgba(21, 143, 126, 0.4); }
.form-alert-danger { background: rgba(192, 86, 62, 0.12); color: #8f3a26; border: 1px solid rgba(192, 86, 62, 0.35); }
.form-alert-info { background: rgba(217, 164, 76, 0.16); color: #7a5512; border: 1px solid rgba(217, 164, 76, 0.45); }
.btn-loading { pointer-events: none; opacity: 0.75; }
.btn-loading .spinner-border { width: 1rem; height: 1rem; border-width: 0.15em; margin-right: 8px; vertical-align: -0.12rem; }

.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 20px;
  filter: saturate(0.9);
}
.map-shell { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; }

/* ---------- Newsletter CTA ---------- */
.newsletter-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 46px;
  background: radial-gradient(80% 130% at 90% 10%, rgba(217, 164, 76, 0.32), transparent 60%),
              linear-gradient(140deg, var(--teal-700), var(--teal-950));
  color: rgba(255, 255, 255, 0.86);
}
.newsletter-band h2 { color: #fff; }
.newsletter-band::after {
  content: "";
  position: absolute;
  inset: auto -60px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(238, 201, 138, 0.3);
}
@media (max-width: 575.98px) { .newsletter-band { padding: 30px 22px; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.inline-form .form-control { flex: 1 1 240px; background: rgba(255, 255, 255, 0.96); border-color: transparent; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 80ch; }
.legal-body h2 { font-size: 1.5rem; margin: 2.3rem 0 0.8rem; }
.legal-body h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--teal-700); letter-spacing: 0; }
.legal-body ul { padding-left: 1.15rem; }
.legal-body li { margin-bottom: 7px; }
.toc-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  position: sticky;
  top: 104px;
}
.toc-box h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 800; }
.toc-box ol { margin: 0; padding-left: 1.1rem; font-size: 0.93rem; font-weight: 600; }
.toc-box li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--teal-900), var(--teal-950));
  color: rgba(255, 255, 255, 0.72);
  padding-top: 74px;
  margin-top: 0;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer a { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; }
.footer a:hover { color: var(--gold-300); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links i { color: var(--gold-500); margin-right: 8px; font-size: 0.8rem; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.96rem; }
.footer-contact i { color: var(--gold-500); font-size: 1.1rem; margin-top: 4px; flex: 0 0 auto; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 46px;
  padding: 22px 0;
  font-size: 0.86rem;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(238, 201, 138, 0.22);
  color: var(--gold-300);
  font-size: 1rem;
}
.social-row a:hover { background: var(--gold-500); color: var(--teal-950); transform: translateY(-3px); }
.disclaimer {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(217, 164, 76, 0.6);
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
}

/* ---------- Misc ---------- */
.badge-pill {
  display: inline-block;
  background: rgba(21, 143, 126, 0.12);
  color: var(--teal-700);
  border: 1px solid rgba(21, 143, 126, 0.25);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}
.divider-dot::before { content: "•"; margin: 0 8px; color: var(--gold-600); }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }
.no-js [data-reveal], .no-io [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Utility */
.rounded-art { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.maxw-60 { max-width: 60ch; }
.fs-7 { font-size: 0.93rem; }
.fs-8 { font-size: 0.84rem; }
.fw-800 { font-weight: 800; }
.ul-plain { list-style: none; padding: 0; margin: 0; }
