/* VEYRANTA public website. Brand tokens from brand/VEYRANTA/03-digital/tokens.css.
   Fonts are self-hosted (SIL OFL 1.1), copied into assets/fonts by Dockerfile.web. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('fonts/sora-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #101D36;
  --navy-2: #182A4A;
  --cobalt: #2457C5;
  --cobalt-hover: #1D4AA8;
  --silver: #AAB6C8;
  --pale: #EAF0FA;
  --bg: #F7F9FC;
  --border: #DCE3EF;
  --muted: #4E5D75;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 24px rgb(16 29 54 / 8%);
  --gutter: clamp(16px, 6vw, 88px);
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 64px; }
body {
  margin: 0;
  font: 16px/1.65 var(--body);
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cobalt); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #8FB0F0; outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 16px; z-index: 10; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgb(16 29 54 / 96%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #22355A;
}
.brand { display: flex; align-items: center; color: var(--white); text-decoration: none; }
.brand svg { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #D3DCEA; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--white); }
.nav .lang { font-size: 13px; letter-spacing: .08em; border: 1px solid #3A4E73; border-radius: 6px; padding: 4px 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cobalt); color: var(--white) !important;
  padding: 11px 18px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--cobalt);
}
.btn:hover { background: var(--cobalt-hover); border-color: var(--cobalt-hover); }
.btn-ghost { background: transparent; border-color: #5A6D8F; }
.btn-ghost:hover { background: rgb(255 255 255 / 6%); border-color: #8696B2; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: clamp(72px, 11vw, 132px) var(--gutter) clamp(80px, 11vw, 128px);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid #2C416A;
}
.hero::before { width: 560px; height: 560px; right: -120px; top: -140px; }
.hero::after { width: 340px; height: 340px; right: 140px; top: 170px; border-color: #24385E; }
.hero-inner { position: relative; max-width: 820px; }
.eyebrow {
  margin: 0; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 600; color: var(--silver);
}
.hero h1 {
  font: 600 clamp(36px, 5.6vw, 68px)/1.08 var(--display);
  letter-spacing: -0.01em; margin: 18px 0 22px;
}
.hero p.lead { color: #C9D4E6; font-size: clamp(17px, 1.6vw, 19px); max-width: 640px; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 46px 0 0; padding: 0; list-style: none;
  color: #AFBDD4; font-size: 14px;
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5B86E0; }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) var(--gutter); }
.section.alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; }
.section-head .eyebrow { color: var(--cobalt); }
.section h2 { font: 600 clamp(28px, 3.4vw, 40px)/1.15 var(--display); margin: 12px 0 14px; letter-spacing: -0.005em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.section.alt .card { background: var(--bg); box-shadow: none; }
.card .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--pale);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font: 600 18px/1.3 var(--display); margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.audience { padding: 32px 30px; }
.audience h3 { font-size: 21px; margin-bottom: 12px; }
.audience ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.audience li { margin: 6px 0; }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.principle { border-top: 2px solid var(--cobalt); padding-top: 16px; }
.principle h3 { font: 600 16px/1.35 var(--display); margin: 0 0 6px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

.cta {
  margin: 0 var(--gutter) clamp(64px, 8vw, 104px);
  background: var(--navy); color: var(--white); border-radius: 20px;
  padding: clamp(36px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta h2 { font: 600 clamp(24px, 2.8vw, 32px)/1.2 var(--display); margin: 0 0 6px; }
.cta p { margin: 0; color: #C9D4E6; }

/* Footer */
.foot {
  background: var(--pale); color: var(--muted); font-size: 14px;
  padding: 36px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--navy); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* Legal pages */
.page { max-width: 760px; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.page h1 { font: 600 clamp(30px, 4vw, 42px)/1.15 var(--display); margin: 10px 0 18px; }
.page h2 { font: 600 20px/1.3 var(--display); margin: 34px 0 8px; }
.page p, .page li { color: #2E3D57; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav a:not(.btn):not(.lang) { display: none; }
  .nav { gap: 10px; }
  .brand svg { height: 28px; }
  .btn { padding: 10px 14px; }
  .grid, .split, .principles { grid-template-columns: 1fr; }
  .hero::before { width: 380px; height: 380px; right: -200px; top: -120px; }
  .hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
