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

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

:root {
  --navy:       #0f1f38;
  --navy-light: #172d51;
  --blue:       #1d4fa8;
  --blue-h:     #163d8a;
  --blue-pale:  #eef3fb;
  --ink:        #0a0a0a;
  --text:       #3a3f4a;
  --muted:      #697280;
  --subtle:     #9aa0ac;
  --border:     #e6e8ed;
  --bg:         #f8f8f6;
  --bg-warm:    #f4f3f0;
  --white:      #ffffff;
  --green:      #15803d;
  --green-pale: #dcfce7;
  --red:        #dc2626;
  --radius:     8px;
  --radius-sm:  5px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-md:  0 8px 32px rgba(0,0,0,.09), 0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.07);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.display-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(34px, 5vw, 54px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 17px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; letter-spacing: .01em; }

p { color: var(--text); font-size: 15.5px; line-height: 1.8; }
p + p { margin-top: 14px; }

/* ── LAYOUT ── */
.wrap    { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.wrap-sm { max-width: 760px;  margin: 0 auto; padding: 0 40px; }

section { padding: 88px 0; }
section.alt { background: var(--bg); }
section + section { border-top: 1px solid var(--border); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-head { margin-bottom: 56px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); max-width: 520px; font-size: 16px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
  transition: box-shadow .2s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ── LOGO ── */
.site-logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
  line-height: 1;
}

.logo-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color .2s;
}

.logo-suffix {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--subtle);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: 2px;
}

.site-logo:hover .logo-wordmark { color: var(--blue); }

/* ── NAVIGATION ── */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.active { color: var(--ink); font-weight: 500; }
.site-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  margin-left: 10px;
  background: var(--navy) !important;
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 8px 20px !important;
  border-radius: var(--radius) !important;
  letter-spacing: .01em;
  transition: background .2s, transform .15s, box-shadow .2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--navy-light) !important;
  box-shadow: 0 4px 16px rgba(15,31,56,.25) !important;
  transform: translateY(-1px) !important;
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .22s;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-wordmark { color: var(--white); }
.footer-brand .logo-suffix   { color: rgba(255,255,255,.3); }

.footer-tagline {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.42);
  max-width: 240px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }

.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}

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

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.28); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(29, 79, 168, .3);
}

.btn-primary:hover {
  background: var(--blue-h);
  border-color: var(--blue-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 79, 168, .35);
}

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

.btn-outline:hover { background: var(--bg); border-color: #d1d5db; }

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

.btn-ghost:hover { color: var(--ink); background: var(--bg); }

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, transform .25s ease;
}

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

.card-accent { border-top: 2.5px solid var(--blue); }

.card-flat {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
}

.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 16px; max-width: 520px; line-height: 1.75; }

/* ── DATA TABLE (info rows) ── */
.info-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:first-child { padding-top: 0; }
.info-row:last-child  { border-bottom: none; }

.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--subtle);
}

.info-value { font-size: 15px; color: var(--ink); }
.info-value a { color: var(--blue); }
.info-value a:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }

/* ── FORM ── */
.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field-input {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  display: block;
  appearance: none;
}

.field-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(29, 79, 168, .1);
}

.field-input.invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3.5px rgba(220, 38, 38, .08);
}

.field-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 5px;
  display: none;
}

.field-error.show { display: block; }

.field-group { margin-bottom: 18px; }

/* ── FORM SUCCESS ── */
.form-success {
  text-align: center;
  padding: 56px 24px;
}

.form-success-icon {
  width: 60px;
  height: 60px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: var(--green);
}

.form-success h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--muted);
  font-size: 15px;
  max-width: 320px;
  margin: 0 auto 28px;
}

/* ── LEGAL ── */
.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 44px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type { border-top: none; margin-top: 0; }

.legal-content h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--ink);
}

.legal-content p { font-size: 15px; color: var(--text); margin-bottom: 14px; }
.legal-content a { color: var(--blue); text-decoration: underline; }

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.65;
}

.effective-date {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 36px;
}

.toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 44px;
}

.toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.toc ol { padding-left: 18px; }
.toc ol li { font-size: 14px; margin-bottom: 8px; line-height: 1.5; }
.toc ol li a { color: var(--blue); text-decoration: none; }
.toc ol li a:hover { text-decoration: underline; }

/* ── COOKIE TABLE ── */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.cookie-table th, .cookie-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.cookie-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
}

.cookie-table tr:last-child td { border-bottom: none; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0,0,0,.1);
  padding: 22px 40px;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.22,1,.36,1);
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cookie-banner-text { flex: 1; min-width: 260px; }

.cookie-banner-text p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.cookie-banner-text strong { color: var(--ink); }
.cookie-banner-text a { color: var(--blue); text-decoration: underline; }

.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-split { gap: 48px; }
}

@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .wrap, .wrap-sm { padding: 0 20px; }
  section { padding: 60px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .site-nav { display: none; }
  .hamburger { display: flex; }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px 20px;
    gap: 2px;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    z-index: 199;
  }

  .site-nav.open a {
    font-size: 16px;
    padding: 13px 16px;
    border-radius: var(--radius);
  }

  .site-nav.open a::after { display: none; }

  .nav-cta { margin-left: 0 !important; margin-top: 8px !important; }

  #cookie-banner { padding: 16px 20px; }
  .cookie-banner-inner { gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }

  .page-hero { padding: 52px 0 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card { padding: 24px; }
}
