@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

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

:root {
  --ink:        #1a1a2e;
  --ink-mid:    #2d2d44;
  --ink-soft:   #4a4a6a;
  --ink-muted:  #7a7a9a;
  --indigo:     #3730a3;
  --indigo-hi:  #4f46e5;
  --indigo-lo:  #e0e7ff;
  --paper:      #fafaf8;
  --paper-warm: #f4f4f0;
  --rule:       #dddde8;
  --white:      #ffffff;
  --shadow-sm:  0 1px 4px rgba(26,26,46,0.08);
  --shadow-md:  0 4px 20px rgba(26,26,46,0.12);
  --shadow-lg:  0 12px 48px rgba(26,26,46,0.16);
  --r-sm:       4px;
  --r-md:       8px;
  --r-lg:       16px;
  --sp-1:       clamp(0.25rem, 0.5vw, 0.5rem);
  --sp-2:       clamp(0.5rem,  1vw,   1rem);
  --sp-3:       clamp(0.75rem, 1.5vw, 1.5rem);
  --sp-4:       clamp(1rem,    2vw,   2rem);
  --sp-5:       clamp(1.5rem,  3vw,   3rem);
  --sp-6:       clamp(2rem,    4vw,   4rem);
  --sp-7:       clamp(2.5rem,  5vw,   5rem);
  --sp-8:       clamp(3rem,    7vw,   7rem);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

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

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--indigo-hi);
}

ul, ol {
  list-style: none;
}

/* ── TYPOGRAPHY ── */

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
h5 { font-size: clamp(0.9rem, 1.2vw, 1rem); }

p {
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 68ch;
}

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-mid);
  font-weight: 400;
  line-height: 1.75;
}

strong { font-weight: 600; color: var(--ink); }

small {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
}

/* ── EYEBROW ── */

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-lo);
  padding: 0.3em 0.8em;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75em 1.6em;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.btn-primary:hover {
  background: var(--indigo-hi);
  border-color: var(--indigo-hi);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(55,48,163,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-lo);
}

.btn-white {
  background: var(--white);
  color: var(--indigo);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--indigo-lo);
  border-color: var(--indigo-lo);
  color: var(--indigo-hi);
}

/* ── TOP ALERT BAR ── */

.top-bar {
  background: var(--indigo);
  color: var(--white);
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.top-bar__text {
  color: rgba(255,255,255,0.92);
}

.top-bar__cta {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.top-bar__cta:hover {
  background: rgba(255,255,255,0.28);
  color: var(--white);
}

/* ── HEADER / NAV ── */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand__logo {
  width: 32px;
  height: 32px;
}

.nav-brand__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-brand__name span {
  color: var(--indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--indigo);
  border-bottom-color: var(--indigo);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── FOOTER ── */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-5);
  margin-top: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand__logo-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--sp-3);
}

.footer-brand__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-brand__name span {
  color: #818cf8;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 28ch;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  max-width: none;
}

.footer-bottom__links {
  display: flex;
  gap: var(--sp-3);
}

.footer-bottom__links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s ease;
}

.footer-bottom__links a:hover {
  color: rgba(255,255,255,0.75);
}

/* ── DIVIDER / RULE ── */

.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: var(--sp-6) 0;
}

/* ── HERO ── */

.hero-section {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-7);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(55,48,163,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(55,48,163,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.hero-content {}

.hero-content h1 {
  margin-bottom: var(--sp-3);
  font-weight: 900;
  font-style: italic;
}

.hero-content .lead {
  margin-bottom: var(--sp-4);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hero-image-slot {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
}

.hero-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── CONTENT SECTION ── */

.content-section {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.content-section--alt {
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-header {
  margin-bottom: var(--sp-5);
  max-width: 64ch;
}

.section-header h2 {
  margin-bottom: var(--sp-2);
}

.section-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

.section-body--wide {
  grid-template-columns: 1fr;
}

/* ── CARD GRID ── */

.cards-section {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-4) var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--indigo);
}

.card__icon {
  width: 40px;
  height: 40px;
  background: var(--indigo-lo);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-1);
}

.card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--indigo);
  stroke: var(--indigo);
}

.card h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: var(--sp-1);
}

.card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: none;
}

/* ── STATS ROW ── */

.stats-section {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
  background: var(--ink);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  text-align: center;
  padding: var(--sp-3) var(--sp-2);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3em;
  display: block;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── CTA BAND ── */

.cta-section {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.cta-band {
  background: var(--indigo);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: 15%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-band__text {}

.cta-band__text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: var(--sp-2);
}

.cta-band__text p {
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
  font-size: 0.95rem;
}

.cta-band__actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── FAQ ── */

.faq-section {
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
  background: var(--paper-warm);
}

.faq-list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item details {
  width: 100%;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3) 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  gap: var(--sp-3);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--indigo);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item details[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  padding-bottom: var(--sp-3);
}

.faq-item__body p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 72ch;
}

/* ── FORM ── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.form-control {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 0.7em 1em;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(55,48,163,0.12);
}

.form-control::placeholder {
  color: var(--ink-muted);
}

/* ── INLINE SUBSCRIBE FORM ── */

.subscribe-inline {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}

.subscribe-inline .form-control {
  flex: 1;
  min-width: 200px;
}

/* ── ARTICLE CARD (blog) ── */

.article-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card__img {
  aspect-ratio: 16/9;
  background: var(--paper-warm);
  overflow: hidden;
}

.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.article-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
}

.article-card h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.35;
  margin-top: 0.2em;
}

.article-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin-top: 0.4em;
  max-width: none;
}

.article-card__meta {
  margin-top: auto;
  padding-top: var(--sp-2);
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  gap: 1em;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-slot {
    order: -1;
    max-width: 480px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) { border-right: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-body {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    align-items: flex-start;
  }

  .cta-band__text p { max-width: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-2);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.4em 0;
    width: 100%;
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .site-header {
    position: relative;
  }

  .site-header .nav-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-band {
    padding: var(--sp-4);
  }

  .cta-band__text h2 { text-align: left; }

  .top-bar__text {
    font-size: 0.75rem;
  }
} img,svg,video{max-width:100%;height:auto} html{-webkit-text-size-adjust:100%} *{box-sizing:border-box} 