/* ============================================================
   RefNet — landing styles
   Finnish lake & forest palette · Lora + Raleway
   ============================================================ */

:root {
  /* forest */
  --pine-900: #0E2A20;
  --pine-800: #143B2C;
  --pine-700: #1B5E44;
  --pine-600: #247a59;
  --pine-500: #2E8A66;
  /* lake */
  --lake-700: #0E5C66;
  --lake-600: #128393;
  --lake-500: #2AA3B0;
  --lake-100: #E2F0EF;
  /* sun / amber (warm CTA) */
  --sun-600: #D9742B;
  --sun-500: #EFA13C;
  --sun-400: #F6BC63;
  --sun-100: #FBEBCF;
  /* lingonberry accent */
  --berry: #B0402F;
  /* neutrals */
  --cream: #FBF8F1;
  --paper: #FFFFFF;
  --sand: #F1EBDD;
  --ink: #14241D;
  --muted: #50635A;
  --line: #E6E0D2;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 36, 29, .06), 0 2px 8px rgba(20, 36, 29, .05);
  --shadow-md: 0 8px 30px rgba(20, 36, 29, .10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 32, .18);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Lora", Georgia, serif; line-height: 1.12; font-weight: 600; color: var(--pine-900); letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.fi { font-style: italic; color: var(--pine-600); }
.muted { color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--pine-800); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--lake-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--pine-700);
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: "Raleway", sans-serif; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }

.btn-primary { background: var(--sun-500); color: var(--pine-900); box-shadow: 0 6px 18px rgba(217, 116, 43, .28); }
.btn-primary:hover { background: var(--sun-400); box-shadow: 0 10px 24px rgba(217, 116, 43, .34); }

.btn-outline { background: transparent; border-color: var(--pine-700); color: var(--pine-800); }
.btn-outline:hover { background: var(--pine-700); color: #fff; }

.btn-ghost { background: transparent; color: var(--pine-800); }
.btn-ghost:hover { background: rgba(27, 94, 68, .08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .8);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--pine-800); font-weight: 700; }
.brand-mark { color: var(--pine-700); display: inline-flex; }
.brand-name { font-family: "Lora", serif; font-size: 21px; letter-spacing: -.02em; }
.brand-net { color: var(--sun-600); }

.nav-links { display: flex; gap: 26px; margin-left: 14px; margin-right: auto; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--sun-500); transition: width .25s var(--ease); }
.nav-links a:hover { color: var(--pine-800); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--pine-800); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 8px 22px 22px; background: var(--cream); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 8px; font-weight: 500; color: var(--pine-800); border-radius: 8px; }
.mobile-menu a:hover { background: rgba(27,94,68,.06); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.landscape { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; opacity: .9; }
.hero::after { /* fade scene into page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 1;
  background: linear-gradient(to top, var(--cream), rgba(251,248,241,0));
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding-top: 36px; padding-bottom: 320px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-700); background: rgba(255,255,255,.7); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); margin: 22px 0 0; }
.ink-underline { position: relative; color: var(--pine-700); white-space: nowrap; }
.ink-underline::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .28em; background: var(--sun-400); opacity: .5; border-radius: 4px; z-index: -1; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); margin-top: 22px; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.pill { background: var(--pine-800); color: #fff; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; }

/* ---------- stat strip ---------- */
.stats { position: relative; z-index: 3; margin-top: -110px; padding-bottom: 10px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.stat { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: "Lora", serif; font-size: 2.3rem; font-weight: 700; color: var(--pine-700); line-height: 1; }
.stat-label { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---------- section base ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-600); margin-bottom: 12px; }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* ---------- how it works ---------- */
.how { background: linear-gradient(180deg, var(--cream), var(--sand)); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--pine-500); }
.step-num { position: absolute; top: 18px; right: 22px; font-family: "Lora", serif; font-size: 14px; font-weight: 600; color: var(--sun-600); letter-spacing: .04em; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--lake-100); color: var(--pine-700); margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.aud-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.aud-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.aud-card.featured { background: linear-gradient(165deg, var(--pine-800), var(--pine-900)); color: #EAF1EC; border-color: var(--pine-800); }
.aud-card.featured h3, .aud-card.featured .aud-lead { color: #fff; }
.aud-card.featured .ticks li { color: #CFE0D6; }
.aud-card.featured .aud-icon { background: rgba(255,255,255,.12); color: var(--sun-400); }
.aud-card.featured .aud-link { color: var(--sun-400); }
.aud-card.featured .ticks li::before { color: var(--sun-400); }
.aud-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.aud-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sun-100); color: var(--sun-600); flex: none; }
.aud-card h3 { font-size: 1.3rem; }
.aud-lead { font-size: 1.02rem; color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; flex: 1; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--pine-600); font-weight: 700; }
.ticks.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 18px; }
.aud-link { font-weight: 600; color: var(--sun-600); font-size: 15px; transition: gap .2s var(--ease); display: inline-flex; gap: 6px; }
.aud-link:hover { gap: 11px; }
.ribbon { position: absolute; top: 18px; right: 18px; background: var(--sun-500); color: var(--pine-900); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }

/* ---------- guest wallet ---------- */
.wallet { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.wallet-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.wallet-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; margin: 26px 0 30px; }
.wallet-list li { position: relative; padding-left: 26px; }
.wallet-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--lake-500); box-shadow: 0 0 0 4px var(--lake-100); }
.wallet-list strong { display: block; font-size: 1.05rem; color: var(--pine-900); }
.wallet-list span { color: var(--muted); font-size: 14.5px; }

.wallet-phone { display: flex; justify-content: center; }
.phone {
  width: 300px; background: #11231C; border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06); position: relative;
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #11231C; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { background: linear-gradient(180deg, #FFFDF8, #F4F0E6); border-radius: 30px; padding: 40px 16px 20px; min-height: 540px; }
.phone-head { padding: 4px 6px 18px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.phone-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lake-600); }
.phone-title { display: block; font-family: "Lora", serif; font-size: 1.35rem; color: var(--pine-900); margin-top: 4px; }
.phone-sub { font-size: 13px; color: var(--muted); }
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px; margin-bottom: 11px; position: relative;
}
.coupon::before, .coupon::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #F4F0E6; top: 50%; transform: translateY(-50%); }
.coupon::before { left: -8px; }
.coupon::after { right: 78px; }
.coupon.muted { opacity: .72; }
.coupon-info { display: flex; flex-direction: column; }
.coupon-biz { font-weight: 700; font-size: 14px; color: var(--pine-900); }
.coupon-deal { font-size: 12.5px; color: var(--muted); }
.coupon-code { font-family: "Lora", serif; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--sun-600); border: 1.5px dashed var(--sun-500); border-radius: 8px; padding: 5px 8px; background: var(--sun-100); flex: none; }

/* ---------- widget / embed ---------- */
.widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.browser { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--sand); border-bottom: 1px solid var(--line); }
.b-dot { width: 11px; height: 11px; border-radius: 50%; background: #D8CFB9; }
.b-dot:nth-child(1){ background:#E5897E; } .b-dot:nth-child(2){ background:#F0C375; } .b-dot:nth-child(3){ background:#A8C9A0; }
.browser-url { margin-left: 12px; font-size: 12.5px; color: var(--muted); background: var(--paper); padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); }
.browser-body { padding: 24px; }
.ghost { background: linear-gradient(90deg, var(--sand), #EFE9DA, var(--sand)); border-radius: 6px; }
.ghost-title { height: 18px; width: 55%; margin-bottom: 16px; }
.ghost-line { height: 10px; width: 100%; margin-bottom: 9px; }
.ghost-line.short { width: 70%; margin-bottom: 22px; }
.embed-widget { border: 1.5px solid var(--pine-500); border-radius: 14px; padding: 16px; background: linear-gradient(180deg, #fff, var(--lake-100)); }
.embed-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--pine-800); margin-bottom: 14px; }
.embed-badge { background: var(--pine-700); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: .03em; }
.embed-offers { display: flex; flex-direction: column; gap: 9px; }
.embed-offer { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.embed-offer span { font-size: 20px; line-height: 1; }
.embed-offer b { font-size: 13.5px; color: var(--pine-900); display: block; }
.embed-offer small { font-size: 12px; color: var(--sun-600); font-weight: 600; }

.code-block { background: var(--pine-900); border-radius: 14px; overflow: hidden; margin: 24px 0; box-shadow: var(--shadow-md); }
.code-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.08); }
.code-bar span { font-size: 12px; color: #9FB8AC; font-family: "Lora", serif; }
.copy-btn { background: rgba(255,255,255,.1); color: #DCE9E2; border: 0; padding: 5px 13px; border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: "Raleway", sans-serif; transition: background-color .2s var(--ease); }
.copy-btn:hover { background: rgba(255,255,255,.2); }
.copy-btn.copied { background: var(--pine-500); color: #fff; }
.code-block pre { margin: 0; padding: 18px 16px; overflow-x: auto; }
.code-block code { font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #CFE0D6; white-space: pre; }
.tok-tag { color: #F6BC63; } .tok-attr { color: #7FD4C5; } .tok-str { color: #B7E29A; } .tok-punc { color: #6E8C80; }

/* ---------- himos region ---------- */
.himos { background: var(--pine-900); color: #DCE9E2; position: relative; overflow: hidden; }
.himos::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% -10%, rgba(239,161,60,.16), transparent 60%); pointer-events: none; }
.himos .kicker { color: var(--sun-400); }
.himos h2, .himos .section-sub { color: #fff; }
.himos .section-sub { color: #B6CDC1; }
.himos-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; position: relative; }
.region-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.region-banner { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; background: linear-gradient(120deg, var(--pine-700), var(--lake-700)); }
.region-name { font-family: "Lora", serif; font-size: 1.5rem; font-weight: 700; color: #fff; }
.region-tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; color: #fff; }
.region-body { padding: 26px; }
.region-body p { color: #B6CDC1; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #DCE9E2; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.chip:hover { background: var(--sun-500); color: var(--pine-900); transform: translateY(-2px); }
.region-side { display: flex; flex-direction: column; gap: 18px; }
.next-up { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 26px; flex: 1; }
.next-up h3 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.region-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.region-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.region-list li:last-child { border-bottom: 0; }
.region-list span { font-weight: 600; color: #fff; }
.region-list em { font-style: normal; font-size: 13.5px; color: #94B0A4; }
.himos .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.himos .btn-outline:hover { background: #fff; color: var(--pine-900); border-color: #fff; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(180deg, var(--cream), var(--lake-100)); }
.cta-inner { max-width: 700px; margin-inline: auto; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px 44px; box-shadow: var(--shadow-md); }
.cta-inner h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-inner > p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.cta-form { margin-top: 30px; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; background: var(--sand); border-radius: 999px; margin-bottom: 18px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg label:hover { color: var(--pine-800); }
.seg input:checked + label { background: var(--pine-700); color: #fff; box-shadow: var(--shadow-sm); }
.field-row { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.field { flex: 1; }
.field input {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  font-family: "Raleway", sans-serif; font-size: 16px; color: var(--ink); background: var(--cream);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: #9AA89F; }
.field input:focus { outline: none; border-color: var(--pine-500); box-shadow: 0 0 0 4px var(--lake-100); }
.field input.invalid { border-color: var(--berry); box-shadow: 0 0 0 4px rgba(176,64,47,.12); }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.form-note.success { color: var(--pine-600); font-weight: 600; }
.form-note.error { color: var(--berry); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-900); color: #B6CDC1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { color: var(--sun-400); }
.footer-brand .brand-net { color: var(--sun-400); }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 280px; }
.footer-brand .fi { color: var(--sun-400); display: block; margin-top: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { color: #fff; font-family: "Raleway", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: #B6CDC1; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--sun-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13.5px; color: #88A498; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* anchor offset so sticky header never hides section headings */
section[id], #top { scroll-margin-top: 84px; }

/* ============================================================
   Responsive
   ============================================================ */
/* mobile menu only ever exists below the breakpoint */
@media (min-width: 981px) { .mobile-menu { display: none !important; } }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .aud-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .wallet-grid { grid-template-columns: 1fr; gap: 40px; }
  .wallet-phone { order: -1; }
  .widget-grid { grid-template-columns: 1fr; gap: 36px; }
  .himos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero-inner { padding-bottom: 280px; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ticks.two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .cta-inner { padding: 40px 22px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .ink-underline { white-space: normal; }
}
