﻿/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── TOKENS ── */
:root {
  --nav-h: 64px;
  --paper: #F7FAFD;
  --paper-2: #EEF4FA;
  --paper-3: #E4EDF5;
  --ink: #0A1A2C;
  --ink-2: #18324C;
  --ink-3: #4A6B89;
  --ink-4: #8AA2BA;
  --ink-deep: #0F2D4A;
  --rule: rgba(15, 95, 150, 0.18);
  --brand: #137DC5;
  --brand-deep: #0F5F96;
  --brand-bright: #2199EA;
  --brand-light: #50AEEE;
  --brand-tint: #E4F1FA;
  --sans: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --label: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── LAYOUT ── */
.inner { max-width: 1320px; margin: 0 auto; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--rule);
  padding: 0 clamp(20px,4vw,56px); height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(24px,3vw,40px); list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 600; color: var(--ink-3);
  text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--brand); }
.nav-subscribe {
  background: var(--brand-deep); color: var(--paper);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 10px 20px; transition: background 0.2s; flex-shrink: 0;
}
.nav-subscribe:hover { background: var(--brand); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: 0.3s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,26,44,0.97);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 24px; color: var(--paper); cursor: pointer; line-height: 1;
}
.mobile-nav-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 32px; }
.mobile-nav-links a {
  font-size: 22px; font-weight: 300; letter-spacing: 0.04em;
  color: rgba(247,250,253,0.85); text-decoration: none; transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--brand-light); }
.mobile-nav-cta {
  margin-top: 44px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper);
  text-decoration: none; border: 1px solid var(--brand); padding: 14px 32px; transition: background 0.2s;
}
.mobile-nav-cta:hover { background: var(--brand); }

/* ── FOOTER ── */
footer {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-deep) 100%);
  color: rgba(247,250,253,0.7);
  padding: clamp(60px,8vh,100px) clamp(20px,5vw,56px) 36px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px,4vw,64px);
  padding-bottom: clamp(40px,6vh,64px);
  border-bottom: 1px solid rgba(80,174,238,0.12); margin-bottom: 28px;
}
.footer-logo { height: 44px; width: auto; mix-blend-mode: screen; display: block; margin-bottom: 16px; }
.footer-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: rgba(247,250,253,0.45); line-height: 1.8; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(247,250,253,0.35); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 17px; font-weight: 300; color: rgba(247,250,253,0.7); text-decoration: none; letter-spacing: -0.01em; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-light); }
.footer-award { background: var(--paper); padding: 14px; display: inline-block; max-width: 150px; }
.footer-award img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--label); font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,250,253,0.3);
}
.footer-privacy { color: rgba(247,250,253,0.45); text-decoration: none; border-bottom: 1px solid rgba(247,250,253,0.2); padding-bottom: 1px; transition: color 0.2s; }

/* ── IMG PLACEHOLDER ── */
.img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0px, transparent 28px, color-mix(in srgb, var(--brand) 8%, transparent) 28px, color-mix(in srgb, var(--brand) 8%, transparent) 29px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-subscribe { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr !important; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
