/* ============================================================
   TRASE — monochrome editorial v2
   Black · cream · warm grey · Archivo 800
   ============================================================ */

:root {
  /* === Core palette === */
  --bg:        #0b0b0c;
  --bg-2:      #18181b;
  --paper:     #f1efe9;
  --paper-2:   #e8e5dd;
  --white:     #ffffff;
  --cream:     #efe9db;
  --cream-dim: #b9b3a6;
  --grey:      #8c8c90;
  --grey-2:    #6a6a6e;
  --ink-dark:  #0b0b0c;
  --ink-soft:  #3c3c41;

  /* Line colours */
  --line-d:    rgba(255,255,255,0.14);
  --line-d2:   rgba(255,255,255,0.07);
  --line-l:    rgba(11,11,12,0.12);
  --line-l2:   rgba(11,11,12,0.06);

  /* === Context-sensitive vars (default = dark context) === */
  /* .section.light overrides these to light-bg values.     */
  /* Internal auth pages (always dark bg) use these as-is.  */
  --ink:     #efe9db;   /* primary text on dark bg = cream */
  --panel:   #18181b;   /* card/panel bg on dark bg */
  --glass:   rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.07);
  --line:    rgba(255,255,255,0.14);
  --line-2:  rgba(255,255,255,0.07);
  --muted:   #b9b3a6;
  --muted-2: #8c8c90;
  --blue:    #efe9db;   /* monochrome accent (cream) */
  --cyan:    #b9b3a6;
  --grad:    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  --grad-soft: rgba(255,255,255,0.06);
  --glow-blue: none;
  --shadow:    0 24px 60px -28px rgba(0,0,0,0.5);
  --shadow-lg: 0 50px 120px -40px rgba(0,0,0,0.75);

  /* Geometry */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  /* Layout */
  --maxw: 1280px;
  --pad:  clamp(20px, 5vw, 72px);

  --ff: "Archivo", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* .section.light overrides context vars for light bg */
.section.light {
  --ink:     #0b0b0c;
  --panel:   #ffffff;
  --glass:   rgba(0,0,0,0.04);
  --glass-2: rgba(0,0,0,0.08);
  --line:    rgba(11,11,12,0.12);
  --line-2:  rgba(11,11,12,0.06);
  --muted:   #3c3c41;
  --muted-2: #6a6a6e;
  --blue:    #0b0b0c;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.45;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(84px, 12vw, 168px); position: relative; overflow: clip; }
.section.light { background: var(--paper); color: var(--ink-dark); }
.section.dark  { background: var(--bg);    color: var(--cream); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-weight: 800; line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { display: none; }
.section.light .eyebrow { color: var(--ink-soft); }
.section.dark  .eyebrow, .eyebrow { color: var(--cream-dim); }

.h-xl { font-size: clamp(40px, 6.6vw, 92px); }
.h-lg { font-size: clamp(34px, 5vw, 68px); }
.h-md { font-size: clamp(26px, 3vw, 40px); }

.lead {
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55;
  max-width: 56ch; text-wrap: pretty; font-weight: 500;
}
.section.light .lead { color: var(--ink-soft); }
.section.dark  .lead, .lead { color: var(--cream-dim); }

/* Utility */
.muted { color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff); font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: var(--pill); border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s,
              border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

/* Landing page buttons */
.btn-solid    { background: var(--ink-dark); color: var(--paper); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-invert   { background: var(--paper); color: var(--ink-dark); }
.btn-invert:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.section.dark .btn-outline,
.btn-outline { border-color: var(--line-d); color: var(--cream); }
.section.dark .btn-outline:hover,
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.section.light .btn-outline { border-color: var(--line-l); color: var(--ink-dark); }
.section.light .btn-outline:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.3); transform: translateY(-2px); }

/* Compat for internal/auth pages (dark bg context) */
.btn-primary { background: var(--cream); color: #0b0b0c; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-d); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

/* Sizes */
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   BRAND MARK
   ============================================================ */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .tmark { width: 26px; height: 26px; flex-shrink: 0; }
.brand .word { font-size: 21px; font-weight: 600; letter-spacing: 0.22em; padding-left: 2px; }
.brand .word .tm { font-size: 0.5em; vertical-align: super; letter-spacing: 0; opacity: 0.7; }

/* ============================================================
   STORE BADGES
   ============================================================ */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px; border-radius: 13px; border: 1.5px solid var(--line-d);
  transition: border-color .2s, background .2s, transform .2s;
}
.store:hover { transform: translateY(-2px); }
.section.dark  .store { border-color: var(--line-d); }
.section.dark  .store:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.3); }
.section.light .store { border-color: var(--line-l); }
.section.light .store:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.28); }
.store svg { width: 22px; height: 22px; flex-shrink: 0; }
.store > span { display: flex; flex-direction: column; gap: 1px; }
.store .s-small { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; line-height: 1; white-space: nowrap; }
.store .s-big { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; gap: 26px;
  height: 76px; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad);
}
.nav .brand .tmark { color: var(--cream); transition: color .35s; }
.nav .brand .word  { color: var(--cream); transition: color .35s; }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a {
  font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px;
  color: var(--cream-dim); transition: color .2s, background .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--cream); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { display: flex; align-items: center; padding: 3px; gap: 2px; border: 1.5px solid var(--line-d); border-radius: var(--pill); transition: border-color .35s; }

/* Language switcher — JS-built flag dropdown (.lang-switcher) */
.lang-switcher, .lang-dropdown { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--pill);
  border: 1.5px solid var(--line-d); background: transparent;
  color: var(--cream-dim); font-family: inherit; font-weight: 700; font-size: 12px;
  cursor: pointer; white-space: nowrap;
  transition: color .2s, border-color .35s, background .2s;
}
.lang-current:hover { color: var(--cream); }
.lang-chevron { transition: transform .25s; }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 184px; padding: 6px;
  background: var(--paper); border: 1.5px solid var(--line-l); border-radius: 14px;
  box-shadow: var(--shadow);
  display: none; flex-direction: column; gap: 2px; z-index: 1200;
}
.lang-dropdown.open .lang-dropdown-menu { display: flex; }
.lang-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border: none; border-radius: 10px;
  background: transparent; color: var(--ink-dark);
  font-family: inherit; font-weight: 600; font-size: 13px; text-align: left; width: 100%;
  cursor: pointer; transition: background .15s, color .15s;
}
.lang-dropdown-item:hover { background: var(--paper-2); }
.lang-dropdown-item.active { background: var(--ink-dark); color: var(--paper); }
/* Scrolled (light) nav variant */
.nav.scrolled .lang-current { border-color: var(--line-l); color: var(--grey-2); }
.nav.scrolled .lang-current:hover { color: var(--ink-dark); }
/* Mobile drawer: open the menu upward to avoid clipping at the bottom */
.drawer-lang { margin-top: 20px; }
.drawer-lang .lang-dropdown-menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }

.lang button { border: none; background: transparent; color: var(--cream-dim); font-family: inherit; font-weight: 700; font-size: 12px; padding: 6px 11px; border-radius: var(--pill); transition: color .2s, background .2s; }
.lang button.on { color: var(--ink-dark); background: var(--cream); }

/* nav CTA button */
.nav .btn-nav { background: var(--cream); color: var(--ink-dark); border-color: transparent; }
.nav .btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
/* nav secondary (outline on dark) */
.nav .btn-nav-out { background: transparent; color: var(--cream); border-color: var(--line-d); }
.nav .btn-nav-out:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

.burger {
  display: none; background: transparent; border: 1.5px solid var(--line-d);
  border-radius: 10px; width: 42px; height: 42px; color: var(--cream);
  place-items: center;
}

/* scrolled → light paper bar */
.nav.scrolled { background: rgba(241,239,233,0.88); backdrop-filter: blur(20px) saturate(1.3); border-bottom-color: var(--line-l); }
.nav.scrolled .brand .tmark { color: var(--ink-dark); }
.nav.scrolled .brand .word  { color: var(--ink-dark); }
.nav.scrolled .nav-links a  { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink-dark); background: rgba(0,0,0,0.05); }
.nav.scrolled .lang { border-color: var(--line-l); }
.nav.scrolled .lang button { color: var(--grey-2); }
.nav.scrolled .lang button.on { color: var(--paper); background: var(--ink-dark); }
.nav.scrolled .btn-nav { background: var(--ink-dark); color: var(--paper); }
.nav.scrolled .btn-nav:hover { box-shadow: none; }
.nav.scrolled .btn-nav-out { color: var(--ink-dark); border-color: var(--line-l); }
.nav.scrolled .btn-nav-out:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.3); }
.nav.scrolled .burger { border-color: var(--line-l); color: var(--ink-dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px;
  background: var(--bg); overflow: clip;
}
.hero-rocks {
  position: absolute; inset: -10% -5% -5% -5%; z-index: 0;
  background: url("img/rocks-bg.png") center/cover no-repeat;
  will-change: transform; opacity: 0.88;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 40%, rgba(11,11,12,0.9), rgba(11,11,12,0.4) 55%, transparent 80%),
    linear-gradient(180deg, rgba(11,11,12,0.55), transparent 30%, rgba(11,11,12,0.65));
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; width: 100%;
}
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); color: var(--cream); }
.hero h1 .stack { display: block; }
.hero .kicker { color: var(--cream-dim); margin-bottom: 22px; }
.hero .lead { color: var(--cream-dim); margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero .stores { margin-top: 26px; }

.hero-stats { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .st b { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--cream); display: block; }
.hero-stats .st span { font-size: 13px; color: var(--grey); font-weight: 500; }
.hero-stats .vr { width: 1px; background: var(--line-d); }

.hero-phones { position: relative; display: grid; place-items: center; min-height: 540px; }
.hero-phones img { width: min(560px, 105%); filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6)); will-change: transform; }

/* ============================================================
   MARQUEE
   ============================================================ */
.strip {
  background: var(--bg);
  border-top: 1px solid var(--line-d2); border-bottom: 1px solid var(--line-d2);
  padding-block: 26px; overflow: hidden;
}
.marq { display: flex; gap: 0; width: max-content; animation: marq 34s linear infinite; }
.marq .mi {
  display: inline-flex; align-items: center; gap: 22px;
  padding-inline: 28px; font-size: clamp(18px, 2vw, 26px);
  font-weight: 700; letter-spacing: -0.02em; color: var(--cream); white-space: nowrap;
}
.marq .mi::after {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--cream-dim); display: inline-block;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 60px; border-top: 1px solid var(--line-l);
}
.step { padding: 40px 32px 0 0; position: relative; }
.step:not(:last-child) { border-right: 1px solid var(--line-l); padding-right: 36px; }
.step:not(:first-child) { padding-left: 36px; }
.step .num { display: flex; flex-direction: column; }
.step .num .n {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--ink-dark);
  display: grid; place-items: center; margin-bottom: 22px;
  font-size: 15px; font-weight: 800; color: var(--ink-dark);
}
.step h3 { font-size: 23px; }
.step p { color: var(--ink-soft); margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.55; }
.step .dots {
  position: absolute; top: 22px; left: 70px; right: 36px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink-dark) 0 4px, transparent 4px 10px);
  opacity: 0.2;
}
.step:last-child .dots { display: none; }

/* ============================================================
   EXCHANGE / KOERS (fx-grid)
   ============================================================ */
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fx-card {
  background: var(--white); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 30px 70px -36px rgba(0,0,0,0.3); border: 1px solid var(--line-l2);
}
.fx-field {
  background: var(--paper); border: 1px solid var(--line-l);
  border-radius: var(--r); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.fx-field + .fx-field { margin-top: 12px; }
.fx-field .flag {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
  color: #fff; flex-shrink: 0; letter-spacing: 0.02em;
}
.flag-eur { background: var(--ink-dark); }
.flag-srd { background: #5a5a5e; }
.fx-field .cc { font-weight: 700; font-size: 14px; color: var(--ink-dark); }
.fx-field .cn { font-size: 12px; color: var(--grey-2); }
.fx-field input {
  margin-left: auto; width: 150px; text-align: right; background: transparent;
  border: none; color: var(--ink-dark); font-family: inherit;
  font-weight: 800; font-size: 30px; letter-spacing: -0.03em; outline: none;
}
.fx-field .out { margin-left: auto; font-weight: 800; font-size: 30px; letter-spacing: -0.03em; color: var(--ink-dark); }
.fx-swap { display: grid; place-items: center; margin: -8px 0; position: relative; z-index: 2; }
.fx-swap span {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink-dark); color: var(--paper); display: grid; place-items: center;
}
.fx-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 13px; color: var(--grey-2); }
.fx-meta b { color: var(--ink-dark); font-weight: 700; }
.fx-rate-line { display: inline-flex; align-items: center; gap: 8px; }
.fx-rate-line .live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-dark);
  box-shadow: 0 0 0 0 rgba(11,11,12,0.4); animation: pulse 2.2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(11,11,12,0); } 100% { box-shadow: 0 0 0 0 rgba(11,11,12,0); } }
.fx-note { font-size: 12px; color: var(--grey-2); margin-top: 16px; line-height: 1.5; }

/* ============================================================
   CARD SHOWCASE (dark + rocks)
   ============================================================ */
.card-show { background: var(--bg); position: relative; }
.card-rocks {
  position: absolute; inset: 0; z-index: 0;
  background: url("img/rocks-bg.png") center/cover no-repeat;
  opacity: 0.5; will-change: transform;
}
.card-show::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(90% 90% at 50% 50%, transparent 30%, rgba(11,11,12,0.7));
  pointer-events: none;
}
.card-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.card-copy h2 { color: var(--cream); }
.card-copy .lead { color: var(--cream-dim); margin-top: 22px; }
.card-feats { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.card-feat { display: flex; gap: 14px; align-items: flex-start; }
.card-feat .ck {
  width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--line-d);
  display: grid; place-items: center; flex-shrink: 0; color: var(--cream);
}
.card-feat .ck svg { width: 14px; height: 14px; }
.card-feat div b { font-weight: 700; font-size: 15.5px; color: var(--cream); }
.card-feat div p  { font-size: 13.5px; color: var(--grey); margin-top: 1px; }
.card-stage { display: grid; place-items: center; min-height: 420px; perspective: 1400px; }

/* CSS credit card recreation */
.tcard {
  width: min(420px, 86%); aspect-ratio: 1.585 / 1; border-radius: 20px;
  background: radial-gradient(120% 140% at 85% 0%, #2a2a2d 0%, #131315 45%, #0a0a0b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative; padding: 26px 28px; color: #f2f2f2;
  will-change: transform; transform-style: preserve-3d;
}
.tcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(125deg, transparent 30%, rgba(255,255,255,0.07) 48%, transparent 60%);
  pointer-events: none;
}
.tcard .tc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tcard .tc-brand { font-weight: 600; letter-spacing: 0.2em; font-size: 17px; }
.tcard .tc-wifi { width: 22px; height: 22px; opacity: 0.85; }
.tcard .tc-chip {
  width: 44px; height: 34px; border-radius: 7px; margin-top: 26px;
  background: linear-gradient(135deg, #d8d8da, #a7a7ab 45%, #cfcfd2);
  position: relative; overflow: hidden;
}
.tcard .tc-chip::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(0,0,0,0.25) 1px, transparent 1px),
                    linear-gradient(0deg, rgba(0,0,0,0.25) 1px, transparent 1px);
  background-size: 14px 11px;
}
.tcard .tc-num { display: flex; gap: 14px; margin-top: 24px; font-size: clamp(13px,1.5vw,17px); font-weight: 500; letter-spacing: 0.06em; }
.tcard .tc-bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 14px; }
.tcard .tc-name  { font-size: 10px; letter-spacing: 0.08em; opacity: 0.85; }
.tcard .tc-valid { font-size: 9px; opacity: 0.7; letter-spacing: 0.06em; }
.tcard .tc-valid b { font-size: 11px; opacity: 1; font-weight: 600; }
.tcard .tc-mc { display: flex; align-items: center; }
.tcard .tc-mc i { width: 26px; height: 26px; border-radius: 50%; display: block; }
.tcard .tc-mc i:first-child { background: #eb001b; }
.tcard .tc-mc i:last-child { background: #f79e1b; margin-left: -11px; mix-blend-mode: screen; }

/* ============================================================
   PARTNERS (loyalty)
   ============================================================ */
.partners-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.logo-cell {
  background: var(--white); border: 1px solid var(--line-l2); border-radius: var(--r);
  min-height: 130px; display: grid; place-items: center;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.logo-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-cell span { font-size: clamp(20px, 2.2vw, 27px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink-dark); }
.logo-cell span.thin { font-weight: 500; letter-spacing: 0.04em; }
.partner-note { margin-top: 22px; font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   FEATURES (light bento)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 56px; }
.feat {
  background: var(--white); border: 1px solid var(--line-l2); border-radius: var(--r-lg);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat .ficon {
  width: 48px; height: 48px; border-radius: 13px; border: 1.5px solid var(--line-l);
  display: grid; place-items: center; color: var(--ink-dark); margin-bottom: 22px;
}
.feat .ficon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 22px; }
.feat p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; font-weight: 500; line-height: 1.55; }
.feat.s6 { grid-column: span 6; }
.feat.s4 { grid-column: span 4; }
.feat.s8 { grid-column: span 8; }
.feat.dark { background: var(--bg); border-color: var(--line-d2); color: var(--cream); }
.feat.dark .ficon { border-color: var(--line-d); color: var(--cream); }
.feat.dark p { color: var(--grey); }
.feat.dark h3 { color: var(--cream); }
.feat .big-num { font-size: clamp(48px, 6vw, 84px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; margin-top: auto; }

/* ============================================================
   SECURITY (dark)
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.sec-copy h2 { color: var(--cream); }
.sec-copy .lead { color: var(--cream-dim); margin-top: 20px; }
.sec-list { display: grid; gap: 0; margin-top: 34px; }
.sec-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-d2); }
.sec-item:last-child { border-bottom: 1px solid var(--line-d2); }
.sec-item .ck { width: 30px; height: 30px; flex-shrink: 0; color: var(--cream); }
.sec-item h4 { font-size: 18px; font-weight: 700; color: var(--cream); }
.sec-item p  { color: var(--grey); font-size: 14px; margin-top: 4px; font-weight: 500; }
.sec-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.sec-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.sec-rings i { position: absolute; border: 1px solid var(--line-d2); border-radius: 50%; will-change: transform; }
.sec-rings i:nth-child(1) { width: 280px; height: 280px; }
.sec-rings i:nth-child(2) { width: 400px; height: 400px; border-style: dashed; opacity: 0.5; }

/* ============================================================
   DOWNLOAD CTA (dark + rocks)
   ============================================================ */
.cta-sec { background: var(--bg); position: relative; overflow: clip; }
.cta-rocks {
  position: absolute; inset: 0; z-index: 0;
  background: url("img/rocks-bg.png") center/cover no-repeat;
  opacity: 0.55; transform: scaleX(-1); will-change: transform;
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.cta-inner h2 { color: var(--cream); }
.cta-inner .lead { color: var(--cream-dim); margin: 22px auto 0; }
.cta-inner .stores { justify-content: center; margin-top: 36px; }

/* ============================================================
   FAQ (light)
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.qa { border-top: 1px solid var(--line-l); overflow: hidden; }
.qa:last-child { border-bottom: 1px solid var(--line-l); }
.qa summary {
  list-style: none; cursor: pointer; padding: 24px 4px;
  display: flex; align-items: center; gap: 18px;
  font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-dark);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { margin-left: auto; width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.qa summary .pm::before,
.qa summary .pm::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); background: var(--ink-dark);
}
.qa summary .pm::before { width: 14px; height: 2px; }
.qa summary .pm::after  { width: 2px; height: 14px; transition: transform .3s var(--ease); }
.qa[open] summary .pm::after { transform: translate(-50%,-50%) scaleY(0); }
.qa .qa-body { padding: 0 4px 26px; color: var(--ink-soft); font-size: 15.5px; font-weight: 500; line-height: 1.6; max-width: 64ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); color: var(--cream); padding-block: 72px 40px; border-top: 1px solid var(--line-d2); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand .tmark { color: var(--cream); }
.foot-brand .brand .word  { color: var(--cream); }
.foot-brand p { color: var(--grey); font-size: 14px; max-width: 32ch; font-weight: 500; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-d); color: var(--cream-dim);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.foot-social a:hover { color: var(--bg); background: var(--cream); border-color: var(--cream); transform: translateY(-2px); }
.foot-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 18px; font-weight: 700; }
.foot-col a { display: block; color: var(--grey); font-size: 14.5px; padding: 6px 0; font-weight: 500; transition: color .2s; }
.foot-col a:hover { color: var(--cream); }
.legal { margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line-d2); color: var(--grey-2); font-size: 11.5px; line-height: 1.7; letter-spacing: 0.01em; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.foot-bottom .cr { color: var(--grey-2); font-size: 12.5px; }
.foot-bottom .paystate { display: inline-flex; align-items: center; gap: 9px; color: var(--cream-dim); font-size: 12px; letter-spacing: 0.1em; }
.foot-bottom .paystate svg { width: 26px; height: 14px; }

/* ============================================================
   REVEAL + DRAWER
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,11,12,0.97); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; padding: 24px var(--pad);
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.drawer-top .brand .tmark { color: var(--cream); }
.drawer-top .brand .word  { color: var(--cream); }
.drawer a.dl {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  padding: 16px 0; border-bottom: 1px solid var(--line-d2); color: var(--cream);
  display: block;
}
.drawer .x {
  background: transparent; border: 1.5px solid var(--line-d);
  border-radius: 10px; width: 42px; height: 42px; color: var(--cream);
  display: grid; place-items: center;
}
.drawer .btn { margin-top: 28px; }

/* ============================================================
   AUTH-PAGE LEGACY COMPONENTS
   (login, register — run on dark body background)
   ============================================================ */
.calculator-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--glass);
  color: var(--ink); font-size: 15px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.social-btn:hover { border-color: var(--cream-dim); background: var(--glass-2); }
.divider {
  display: flex; align-items: center; gap: 12px; margin: 8px 0;
  color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.field-label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.05em; text-transform: uppercase; }
.field-input {
  display: block; width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 16px; color: var(--ink);
  font-family: var(--ff); font-size: 15px; outline: none;
  transition: border-color .2s;
}
.field-input:focus { border-color: var(--cream-dim); }
.field-input::placeholder { color: var(--muted-2); }

/* Tracker page */
.tracker-panel { max-width: 520px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tracker-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-left: 2px solid var(--line); margin-left: 12px; padding-left: 20px; }
.tracker-step.done   { border-left-color: var(--cream); }
.tracker-step.active { border-left-color: var(--cream-dim); }
.tracker-step:last-child { border-left-color: transparent; }
.step-icon { font-size: 18px; width: 26px; flex-shrink: 0; }
.step-text strong { display: block; font-size: 14px; }
.step-time { font-size: 12px; color: var(--muted); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 1000;
  background: var(--bg-2); border: 1px solid var(--line-d); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex; gap: 24px; align-items: center; padding: 20px 24px; flex-wrap: wrap;
  transition: transform .4s var(--ease), opacity .4s;
}
.cookie-banner.hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-inner { display: flex; align-items: center; gap: 20px; width: 100%; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { font-weight: 700; font-size: 15px; color: var(--cream); }
.cookie-text p { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legacy heading style (if any template uses it) */
.grad-text { color: var(--cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phones { min-height: 460px; order: 2; }
  .fx-grid, .card-grid, .sec-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .feat.s6, .feat.s4, .feat.s8 { grid-column: span 6; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  /* Burger appears → header shows only logo + burger; everything else
     (language switcher, auth/dashboard buttons, logout) lives in the drawer. */
  .nav-right > * { display: none; }
  .nav-right > .burger { display: grid; }
  .steps { grid-template-columns: 1fr; border-top: none; }
  .step { padding: 30px 0 !important; border-right: none !important; border-top: 1px solid var(--line-l); }
  .step .dots { display: none; }
}
@media (max-width: 620px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .feat.s6, .feat.s4, .feat.s8 { grid-column: span 6; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .fx-field input { width: 120px; font-size: 24px; }
  .fx-field .out  { font-size: 24px; }
  .hero-stats { gap: 22px; }
  .hero-stats .vr { display: none; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
