:root {
  --ink: #14213d;
  --ink-2: #24324f;
  --muted: #687084;
  --paper: #fbf8f1;
  --paper-2: #fffdf8;
  --sand: #eadcc4;
  --sand-2: #f3eadb;
  --blue: #183b73;
  --blue-2: #2457a6;
  --green: #2e7d64;
  --green-2: #e6f1ed;
  --gold: #c99d48;
  --border: rgba(20,33,61,.13);
  --shadow: 0 24px 60px rgba(20,33,61,.10);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { 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.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(860px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,248,241,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: .02em;
}
.brand-mark {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand-subtitle {
  margin-top: 5px;
  font-size: .72rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .94rem;
  color: var(--ink-2);
}
.nav-links a:hover,
.nav-links a.active { background: rgba(24,59,115,.08); color: var(--blue); }
.nav-cta { display: inline-flex; }
.menu-button {
  display: none;
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: white; box-shadow: 0 12px 30px rgba(20,33,61,.16); }
.btn-primary:hover { transform: translateY(-1px); background: #0f1930; }
.btn-secondary { background: var(--paper-2); color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { transform: translateY(-1px); border-color: rgba(20,33,61,.25); }
.btn-text { padding: 0; color: var(--blue); font-weight: 800; }
.btn-text:hover { color: var(--blue-2); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 74px;
  background:
    radial-gradient(circle at 86% 16%, rgba(46,125,100,.22), transparent 30%),
    radial-gradient(circle at 15% 10%, rgba(201,157,72,.20), transparent 24%),
    linear-gradient(135deg, #fbf8f1 0%, #f4ebd8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -160px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 85px solid rgba(24,59,115,.07);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.52);
  border-radius: 999px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  margin: 22px 0 18px;
  line-height: .98;
  letter-spacing: -.055em;
  font-size: clamp(2.85rem, 7vw, 5.9rem);
}
.lede {
  max-width: 710px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  color: var(--ink-2);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .96rem; }
.hero-panel {
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(20,33,61,.12);
  border-radius: 34px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel-title { margin: 0 0 14px; font-size: 1rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.moment-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.moment-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 1px solid var(--border);
}
.dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
}

.section { padding: 84px 0; }
.section-tight { padding: 58px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { max-width: 820px; margin-bottom: 36px; }
.section-header.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--gold); font-weight: 850; text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; }
h2 { margin: 10px 0 14px; line-height: 1.05; letter-spacing: -.035em; font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { margin: 0 0 12px; line-height: 1.15; letter-spacing: -.018em; font-size: 1.35rem; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.big { font-size: 1.15rem; color: var(--ink-2); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 42px rgba(20,33,61,.06);
}
.card.soft { background: #fffaf1; }
.card.green { background: var(--green-2); }
.card.dark { background: var(--ink); color: white; }
.card.dark .muted, .card.dark p { color: rgba(255,255,255,.78); }
.card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(24,59,115,.10);
  color: var(--blue);
  font-weight: 850;
}
.card.dark .number { background: rgba(255,255,255,.14); color: white; }
.card-link { margin-top: 18px; display: inline-flex; color: var(--blue); font-weight: 850; }
.card-link::after { content: "→"; margin-left: 8px; }

.solution-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.solution-card .tag {
  align-self: flex-start;
  background: rgba(24,59,115,.08);
  color: var(--blue);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: .78rem;
  margin-bottom: 18px;
}
.solution-card .result {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}
.check-list, .plain-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li, .plain-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list li::before {
  content: "✓";
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  font-size: .82rem;
  font-weight: 900;
}
.x-list li::before {
  content: "×";
  background: #8e3b38;
}

.band {
  padding: 48px;
  border-radius: 34px;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.band::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 70px solid rgba(255,255,255,.06);
}
.band > * { position: relative; z-index: 1; }
.band h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 3rem); }
.band p { color: rgba(255,255,255,.80); max-width: 740px; }
.band .btn-primary { background: white; color: var(--ink); }

.page-hero {
  padding: 70px 0 46px;
  background: linear-gradient(135deg, #fbf8f1, #f4ebd8);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--blue); font-weight: 700; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 950px; }
.page-hero .lede { max-width: 850px; }

.feature-list { display: grid; gap: 16px; }
.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(24,59,115,.09);
  color: var(--blue);
  font-weight: 900;
}

.article-card time { display: block; color: var(--muted); font-size: .86rem; margin-bottom: 8px; }
.article-card h3 { margin-bottom: 10px; }

.form {
  display: grid;
  gap: 14px;
}
.form label { font-weight: 750; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--ink);
  font: inherit;
}
.form textarea { min-height: 140px; resize: vertical; }
.form small { color: var(--muted); }

.site-footer {
  padding: 56px 0 30px;
  background: #111a2e;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .8fr);
  gap: 32px;
}
.footer-grid a { color: rgba(255,255,255,.76); display: block; margin: 9px 0; }
.footer-grid a:hover { color: white; }
.footer-title { font-weight: 850; margin-bottom: 12px; }
.footer-note { color: rgba(255,255,255,.68); max-width: 430px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.64);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .menu-button { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 20px;
    background: var(--paper);
    border-top: 1px solid var(--border);
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 14px; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .split, .footer-grid, .band { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.7rem); }
  .band { padding: 30px; }
}

@media (max-width: 640px) {
  .container, .container-narrow { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .hero-panel { padding: 20px; border-radius: 24px; }
  .card { padding: 22px; }
  .feature { grid-template-columns: 1fr; }
  .brand-subtitle { display: none; }
}

/* Warm visual system */
.hero-visual { position: relative; }
.visual-frame {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,33,61,.12);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.visual-frame img {
  width: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7ead7, #fdfbf5);
}
.floating-pill {
  position: absolute;
  right: -8px;
  top: 18px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(20,33,61,.10);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 16px 35px rgba(20,33,61,.10);
  max-width: 220px;
}
.floating-pill.bottom {
  right: auto;
  left: -10px;
  top: auto;
  bottom: 20px;
}
.floating-pill strong {
  display: block;
  margin-bottom: 4px;
  font-size: .95rem;
}
.floating-pill span { color: var(--muted); font-size: .92rem; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 650;
  font-size: .92rem;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.image-card {
  padding: 0;
  overflow: hidden;
}
.image-card .card-media {
  padding: 14px 14px 0;
}
.image-card .card-media img {
  width: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7ead7, #fbf8f1);
}
.image-card .card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 14px);
}
.image-card .card-body p:last-of-type { margin-bottom: 0; }
.section-image, .inline-image {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(20,33,61,.12);
  border-radius: 30px;
  padding: 14px;
  box-shadow: 0 16px 42px rgba(20,33,61,.08);
}
.section-image img, .inline-image img {
  width: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7ead7, #fbf8f1);
}
.section-image figcaption {
  padding: 14px 6px 4px;
  color: var(--muted);
  font-size: .95rem;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 44px;
  align-items: center;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 24px;
}
.metric {
  background: rgba(255,255,255,.80);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}
.metric strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.metric span { color: var(--muted); font-size: .95rem; }
.quote-card {
  background: #fffaf3;
  border: 1px solid #eadcc4;
  border-radius: var(--radius);
  padding: 24px;
}
.quote-card p:last-child { margin-bottom: 0; }
.soft-panel {
  background: rgba(255,255,255,.65);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px 22px;
}
@media (max-width: 980px) {
  .page-hero-grid, .metric-strip { grid-template-columns: 1fr; }
  .floating-pill, .floating-pill.bottom {
    position: static;
    max-width: none;
    margin-top: 14px;
  }
}
