/* IF — International Friendly */

/* Jost (SIL Open Font License), self-hosted so no visitor data goes to third parties */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("assets/fonts/jost-latin-ext.woff2") format("woff2");
  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: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("assets/fonts/jost-latin.woff2") format("woff2");
  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;
}

:root {
  --ink: #111111;
  --ink-soft: #3d3a35;
  --muted: #5f5a52;
  --paper: #fbf9f5;
  --cream: #f4f0e9;
  --sand: #efeae1;
  --line: #e2ddd3;
  --gold: #b8894d;
  --gold-deep: #9c7038;
  --gold-light: #e9cf9b;
  --night: #0f0f0f;

  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 7.5vw, 112px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 16px; }

/* ---------- Shared type ---------- */

.eyebrow {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.eyebrow i { font-style: normal; margin: 0 .5em; color: var(--gold); }
.eyebrow-wide { letter-spacing: .42em; line-height: 1.7; }

h2 {
  font-weight: 300;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 28px;
}

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .45s var(--ease), color .25s;
}
.text-link:hover { background-size: 35% 1px; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.button:hover { transform: translateY(-1px); }
.button .dash { opacity: .7; }
.button-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.button-dark:hover { background: #2a2825; }
.button-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 30px -14px rgba(156,112,56,.8); }
.button-gold:hover { background: var(--gold-deep); }
.button-small { padding: 13px 22px; font-size: 11.5px; }
.soon {
  padding: 3px 8px; margin-right: -6px;
  border-radius: 999px; background: rgba(255,255,255,.22);
  font-size: 11px; letter-spacing: .12em;
}
.cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-note { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); padding-left: 30px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  transition: height .35s var(--ease), background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(251, 249, 245, .86);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(17,17,17,.07);
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark { width: 54px; height: 54px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.12)); transition: width .35s var(--ease), height .35s var(--ease); }
.is-scrolled .brand-mark { width: 44px; height: 44px; }
.brand-name {
  font-size: 13.5px; font-weight: 500; line-height: 1.3;
  letter-spacing: .3em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); margin-left: auto; }
.nav a:not(.button) {
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.button):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.lang {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .12em;
}
.lang svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lang .chev { width: 12px; height: 12px; stroke-width: 2; }

/* Language menu */
.lang-switch { position: relative; }
.lang .chev { transition: transform .25s var(--ease); }
.lang-switch.is-open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: -10px; top: calc(100% + 12px); z-index: 60;
  min-width: 184px; margin: 0; padding: 6px;
  background: rgba(251,249,245,.98); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 44px -20px rgba(0,0,0,.4);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: menu-in .2s var(--ease);
}
.lang-menu[hidden] { display: none; }
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: 9px; font-size: 15px;
  transition: background-color .2s;
}
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--cream); outline: none; }
.lang-menu a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

/* Hide the page for a moment while it switches to the visitor's language */
.i18n-pending body { opacity: 0; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; position: relative; z-index: 2; }
.menu-toggle span {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  min-height: max(640px, min(100svh, 980px));
  display: flex; align-items: center;
  overflow: hidden;
  background: #e9d6b8;
  isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 50%; animation: settle 2.4s var(--ease) both; }
.hero::before {
  /* Soft light wash on the left so type stays legible over the sky */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248,242,232,.7) 0, rgba(248,242,232,0) 150px),
    linear-gradient(90deg, rgba(248,241,229,.9) 0%, rgba(248,241,229,.72) 26%, rgba(248,241,229,.18) 46%, rgba(248,241,229,0) 58%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 48px) var(--gutter) 72px;
  max-width: calc(560px + var(--gutter));
}
.hero h1 {
  font-weight: 300;
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: .98;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero h1 span { display: block; }
/* Finnish has long words ("maailmalle"), so the headline runs a size smaller */
.hero h1:lang(fi) { font-size: clamp(40px, 10vw, 74px); }
.hero h1 .soft {
  background: linear-gradient(180deg, #1a1712 20%, rgba(26,23,18,.35) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-text { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 390px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- Benefits ---------- */

.benefits { background: var(--cream); padding: 56px clamp(20px, 5vw, 72px); }
.benefits ul { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1320px; margin: 0 auto; }
.benefits li {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center; padding: 8px 12px;
  border-left: 1px solid var(--line);
}
.benefits li:first-child { border-left: 0; }
.benefits svg {
  width: 38px; height: 38px;
  fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s, transform .4s var(--ease);
}
.benefits li:hover svg { stroke: var(--gold); transform: translateY(-3px); }
.benefits span { font-size: 11.5px; font-weight: 500; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- IF statements ---------- */

.if-word { color: var(--gold); font-weight: 400; }
.if-lines {
  background: var(--paper);
  padding: clamp(80px, 9vw, 130px) var(--gutter) clamp(72px, 8vw, 110px);
  text-align: center;
}
.if-lines .eyebrow { margin-bottom: 36px; }
.if-statement {
  display: flex; flex-direction: column; align-items: center; gap: .15em;
  font-size: clamp(30px, 4vw, 58px); font-weight: 300; line-height: 1.15; letter-spacing: -.015em;
  max-width: 1000px; margin: 0 auto;
}
.if-statement .if-word { letter-spacing: 0; }
.if-rotator { display: grid; width: 100%; justify-items: center; }
.if-phrase {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(.35em);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.if-phrase.is-active { opacity: 1; transform: none; }
.if-phrase.is-leaving { opacity: 0; transform: translateY(-.35em); }
.if-progress { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.if-progress i { width: 18px; height: 1px; background: var(--line); transition: background .5s, width .5s var(--ease); }
.if-progress i.is-active { width: 36px; background: var(--gold); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: 48% 52%; background: var(--paper); }
.about-media { position: relative; min-height: 560px; overflow: hidden; background: #1b1814; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; transition: transform 1.6s var(--ease); }
.about:hover .about-media img { transform: scale(1.025); }
.about-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 80px);
  max-width: 760px;
}
.about-copy h2 { font-size: clamp(36px, 3.6vw, 52px); }
.rule { width: 40px; height: 1px; background: var(--gold); margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 520px; margin-bottom: 40px; }
.about-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 24px 32px; }
.about-actions > .text-link { margin-top: 16px; }

/* ---------- Network ---------- */

.network {
  display: grid; grid-template-columns: 40% 60%; align-items: center;
  background: var(--sand);
  padding: clamp(72px, 8vw, 110px) clamp(20px, 5vw, 72px) clamp(72px, 8vw, 110px) var(--gutter);
  overflow: hidden;
}
.network-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 420px; margin-bottom: 30px; }
.map { position: relative; margin-right: -2vw; }
.map img { width: 100%; height: auto; opacity: .85; }
.map-pin {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,137,77,.2);
}
.map-pin::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--gold); animation: pulse 2.8s ease-out infinite;
}
.map-pin b {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); white-space: nowrap;
}
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }

/* ---------- Origin ---------- */

.origin { background: var(--paper); padding: clamp(88px, 10vw, 150px) var(--gutter); }
.origin-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.origin-inner::before { content: ""; display: block; width: 40px; height: 1px; background: var(--gold); margin: 0 auto 28px; }
.origin-text { font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; line-height: 1.75; color: var(--ink-soft); }
.origin-text a { white-space: nowrap; color: var(--ink); font-weight: 400; border-bottom: 1px solid var(--gold); transition: color .25s; }
.origin-text a:hover { color: var(--gold-deep); }

/* ---------- The IF Standard ---------- */

.standard {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
  background: var(--cream);
  padding: clamp(72px, 8vw, 110px) var(--gutter);
}
.standard h2 { margin: 0; }
.standard-body { border-left: 1px solid var(--gold); padding-left: clamp(20px, 3vw, 40px); max-width: 540px; }
.standard-body p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.standard-body p + p { margin-top: 14px; color: var(--ink-soft); }

/* ---------- How it works ---------- */

.how { background: var(--paper); padding: clamp(80px, 9vw, 130px) var(--gutter); }
.how-head { margin-bottom: 56px; }
.how-head h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); counter-reset: none; }
.steps li { background: var(--paper); padding: 40px 36px 44px 0; }
.steps li + li { padding-left: 36px; }
.step-no { display: block; font-size: 12px; letter-spacing: .24em; color: var(--gold); margin-bottom: 36px; }
.steps h3 { font-size: 14px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 340px; }
.how-cta { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.how-cta-title { font-size: clamp(28px, 3vw, 42px); font-weight: 300; line-height: 1.15; letter-spacing: -.015em; margin: 0; max-width: 640px; }
.how-cta .how-cta-sub { font-size: 15.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.how-cta-sub a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.how-cta-why { margin-top: 28px; padding-left: 20px; border-left: 1px solid var(--gold); max-width: 680px; }
.how-cta .how-cta-why p { font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.7; color: var(--muted); }
.how-cta .how-cta-why p + p { margin-top: 10px; }
.how-cta-why strong { font-weight: 500; color: var(--ink); }

.notify { width: min(100%, 460px); }
.notify-label { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.notify-field {
  display: flex; align-items: center; gap: 6px;
  padding: 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s;
}
.notify-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,137,77,.14); }
.notify-field input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  padding: 10px 8px 10px 18px; font: 400 16px var(--font); color: var(--ink);
}
.notify-field input::placeholder { color: #9d978d; }
.notify-field .button { padding: 14px 22px; box-shadow: none; }
.notify-field .button[disabled] { opacity: .6; cursor: progress; transform: none; }
.how-cta .notify-note { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin: 12px 0 0 18px; }
.notify-note a { color: var(--ink); border-bottom: 1px solid var(--gold); white-space: nowrap; }
.how-cta .notify-status { font-size: 15px; font-weight: 400; letter-spacing: 0; margin: 8px 0 0 18px; }
.notify-status:empty { display: none; }
.notify-status.is-error { color: #a13d2d; }
.notify.is-done .notify-field, .notify.is-done .notify-note { display: none; }
.notify.is-done .notify-status { display: flex; align-items: flex-start; margin-left: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.notify.is-done .notify-status::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; margin-right: 12px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 13px; }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Stats ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--night); color: #fff;
  padding: 56px clamp(20px, 5vw, 72px);
}
.stat {
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 6px clamp(20px, 3.5vw, 56px);
  border-left: 1px solid rgba(255,255,255,.14);
}
.stat:first-child { border-left: 0; }
.stat-label, .stat-sub { font-size: 11.5px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.stat strong { font-size: clamp(38px, 3.6vw, 52px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.stat .stat-word { white-space: nowrap; font-size: clamp(22px, 2vw, 30px); letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; }
.stat-link { align-items: center; text-align: center; }
.stat-arrow { font-size: 26px; line-height: 1; color: var(--gold-light); transition: transform .4s var(--ease); }
.stat-link:hover .stat-arrow { transform: translateX(8px); }
.stat-link:hover .stat-sub { color: #fff; }

/* ---------- Footer ---------- */

.footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  background: var(--night); color: rgba(255,255,255,.72);
  padding: 36px clamp(20px, 5vw, 72px) 44px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.brand-light { color: #fff; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-tagline { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.85); }
.footer-tagline .if-word { color: var(--gold-light); }
.brand-light .brand-mark { width: 44px; height: 44px; }
.brand-light .brand-name { font-size: 11.5px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a, .footer-meta { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a:hover, .footer-meta a:hover { color: var(--gold-light); }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.footer-meta a { text-transform: none; letter-spacing: .06em; font-size: 14px; color: #fff; }
.footer-meta .footer-credit { text-transform: none; letter-spacing: .04em; font-size: 12.5px; color: rgba(255,255,255,.6); }
.footer-meta .footer-credit a { white-space: nowrap; font-size: inherit; letter-spacing: inherit; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(233,207,155,.5); }

/* ---------- Legal pages ---------- */

.site-header.is-solid {
  position: sticky; height: 76px;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(17,17,17,.07);
}
.is-solid .brand-mark { width: 44px; height: 44px; }
.is-solid .header-actions { gap: 28px; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 20px clamp(80px, 10vw, 140px); }
.legal h1 { font-weight: 300; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 16px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal-summary { background: var(--cream); border-left: 2px solid var(--gold); padding: 24px 28px; margin-bottom: 56px; }
.legal-summary p { color: var(--ink-soft); }
.legal h2 { font-size: 22px; font-weight: 400; letter-spacing: 0; line-height: 1.3; margin: 48px 0 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 12px; }
.legal li { position: relative; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 1px; background: var(--gold); }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a:not(.text-link) { color: var(--ink); border-bottom: 1px solid var(--gold); }
.footer-links a[aria-current="page"] { color: var(--gold-light); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .benefits li.reveal:nth-child(2), .js .steps li:nth-child(2) { transition-delay: .08s; }
.js .benefits li.reveal:nth-child(3), .js .steps li:nth-child(3) { transition-delay: .16s; }
.js .benefits li.reveal:nth-child(4) { transition-delay: .24s; }
.js .benefits li.reveal:nth-child(5) { transition-delay: .32s; }
.js .benefits li.reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(248,242,232,.7) 0, rgba(248,242,232,0) 150px),
      linear-gradient(90deg, rgba(248,241,229,.93) 0%, rgba(248,241,229,.8) 36%, rgba(248,241,229,.3) 54%, rgba(248,241,229,0) 66%);
  }
}

@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header-actions .button-small { display: none; }
  .footer { grid-template-columns: auto 1fr; row-gap: 28px; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 12px; }
  .menu-toggle { display: block; }
  .header-actions .button-small { display: none; }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: 96px var(--gutter) 48px;
    background: rgba(251,249,245,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
  }
  .nav a:not(.button) { font-size: 30px; font-weight: 300; letter-spacing: .04em; }
  .nav-cta-mobile { display: inline-flex; margin-top: 18px; }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .menu-open .brand, .menu-open .lang-switch { position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }

  .hero { align-items: flex-end; min-height: max(680px, 100svh); }
  .hero-media img { object-position: 70% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(248,242,232,.65) 0, rgba(248,242,232,0) 120px),
      linear-gradient(0deg, rgba(248,241,229,.96) 0%, rgba(248,241,229,.85) 42%, rgba(248,241,229,0) 72%);
  }
  .hero-content { padding-bottom: 56px; }

  .benefits ul { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .benefits li:nth-child(4) { border-left: 0; }

  .about { grid-template-columns: 1fr; }
  .about-media { min-height: 0; aspect-ratio: 4 / 3; }
  .about-media img { object-position: 45% 30%; }
  .about-copy { padding: 72px var(--gutter); }

  .network { grid-template-columns: 1fr; gap: 48px; padding-right: var(--gutter); }
  .map { margin-right: 0; }

  .standard { grid-template-columns: 1fr; align-items: start; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 32px 0; }
  .step-no { margin-bottom: 16px; }

  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat-link { align-items: flex-start; text-align: left; }

  .footer { grid-template-columns: 1fr; justify-items: start; }
  .footer-links { flex-wrap: wrap; gap: 16px 28px; }
  .footer-meta { align-items: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 11px; letter-spacing: .24em; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .standard h2 br { display: none; }
  .hero .eyebrow { letter-spacing: .2em; line-height: 1.8; }
  .back-link { display: none; }
  .hero-text { font-size: 16px; }
  .button { padding: 16px 24px; letter-spacing: .14em; }
  .benefits { padding: 48px 16px; }
  .benefits ul { grid-template-columns: repeat(2, 1fr); }
  .benefits li:nth-child(odd) { border-left: 0; }
  .benefits li:nth-child(4) { border-left: 1px solid var(--line); }
  .benefits span { font-size: 11px; letter-spacing: .16em; }
  .stats { grid-template-columns: 1fr; padding: 48px var(--gutter); }
  .stat { border-left: 0; padding: 0 0 32px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 360px) {
  .button { padding: 15px 18px; gap: 8px; letter-spacing: .1em; }
  .button { white-space: normal; text-align: center; line-height: 1.35; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .brand-name { letter-spacing: .18em; }
}

@media (prefers-reduced-motion: reduce) {
  .if-statement { font-size: clamp(22px, 2.6vw, 34px); }
  .if-statement .if-word { display: none; }
  .if-rotator { display: flex; flex-direction: column; gap: .3em; }
  .if-phrase, .if-phrase.is-leaving { grid-area: auto; opacity: 1; transform: none; }
  .if-phrase::before { content: "IF "; color: var(--gold); font-weight: 400; }
  .if-progress { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.nowrap { white-space: nowrap; }
