/* =====================================================================
   TRADE CAPITAL MARKET — CORE STYLESHEET
   ---------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons & badges
   5.  Header / navigation
   6.  Hero
   7.  Section headers & market categories
   8.  Account cards
   9.  How it works
   10. Why choose us
   11. Provider strip
   12. Footer
   13. Inner page hero, FAQ, forms, tables
   14. Checkout & modal
   15. Utilities
   16. Responsive
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* colour */
  --bg:               #050B12;
  --bg-2:             #08131D;
  --bg-3:             #061019;
  --card:             #0D1822;
  --card-2:           #0A141D;
  --green:            #19F59A;
  --green-bright:     #35FFAE;
  --green-dim:        #0F9E66;
  --white:            #F5F7FA;
  --muted:            #9AA8B5;
  --muted-2:          #6F7E8C;

  /* borders */
  --border:           rgba(25, 245, 154, 0.25);
  --border-soft:      rgba(154, 168, 181, 0.14);
  --border-strong:    rgba(25, 245, 154, 0.45);

  /* surfaces */
  --glass:            rgba(13, 24, 34, 0.72);
  --tint:             rgba(25, 245, 154, 0.06);
  --tint-2:           rgba(25, 245, 154, 0.12);

  /* shadows & glow */
  --shadow-sm:        0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow:           0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg:        0 30px 80px rgba(0, 0, 0, 0.55);
  --glow:             0 0 0 1px rgba(25, 245, 154, 0.22), 0 18px 50px rgba(25, 245, 154, 0.12);
  --glow-strong:      0 0 0 1px rgba(25, 245, 154, 0.5), 0 22px 60px rgba(25, 245, 154, 0.22);
  --glow-text:        0 0 26px rgba(25, 245, 154, 0.45);

  /* spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --section-y: 96px;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;

  /* layout */
  --container: 1240px;
  --header-h: 76px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.3s var(--ease);
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.02rem; font-weight: 700; }

p { margin: 0; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--green); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--green); color: #04160F; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #16303f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: 72px; }
.section--alt { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--border-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-4);
}

.lead {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 46ch;
}

.grid { display: grid; gap: var(--sp-5); }

/* ambient green glow blobs */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  background: rgba(25, 245, 154, 0.16);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------------------
   4. BUTTONS & BADGES
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: var(--btn-bg);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
}
.btn:hover { transform: translateY(-2px); color: var(--white); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 17px; height: 17px; transition: transform var(--t-fast); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  border-color: transparent;
  color: #032015;
  box-shadow: 0 10px 30px rgba(25, 245, 154, 0.25);
}
.btn--primary:hover {
  color: #032015;
  box-shadow: 0 16px 40px rgba(25, 245, 154, 0.38);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(245, 247, 250, 0.18);
}
.btn--ghost:hover { border-color: var(--border-strong); background: var(--tint); }

.btn--outline {
  border-color: var(--border);
  color: var(--green);
  background: transparent;
}
.btn--outline:hover {
  color: #032015;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(25, 245, 154, 0.28);
}

.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }
.btn--danger { border-color: rgba(255, 93, 93, 0.4); color: #FF8080; }
.btn--danger:hover { background: rgba(255, 93, 93, 0.14); color: #FF8080; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--green);
  background: var(--tint);
}
.badge--muted { color: var(--muted); border-color: var(--border-soft); background: rgba(255,255,255,0.03); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok    { color: var(--green);  background: rgba(25, 245, 154, 0.1); }
.status--warn  { color: #FFC55C;       background: rgba(255, 197, 92, 0.1); }
.status--bad   { color: #FF7A7A;       background: rgba(255, 122, 122, 0.1); }
.status--muted { color: var(--muted);  background: rgba(154, 168, 181, 0.1); }

/* ---------------------------------------------------------------------
   5. HEADER / NAVIGATION
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 11, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t), border-color var(--t);
}
.header.is-scrolled {
  background: rgba(5, 11, 18, 0.93);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  width: 100%;
}

/* logo */
.logo { display: flex; align-items: center; gap: 11px; }
.logo:hover { color: inherit; }
.logo__mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(25,245,154,0.16), rgba(25,245,154,0.02));
  color: var(--green);
  box-shadow: inset 0 0 18px rgba(25, 245, 154, 0.14);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.12;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.logo__text span { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.16em; }

/* nav */
.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: block;
  padding: 8px 13px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--green); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: var(--glow-text);
}

.header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  color: var(--white);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle.is-open .icon--menu { display: none; }
.nav-toggle.is-open .icon--close { display: block; }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(5, 11, 18, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--sp-6) 24px var(--sp-8);
  transform: translateX(100%);
  transition: transform var(--t);
  overflow-y: auto;
  display: none;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__list { display: grid; gap: 2px; margin-bottom: var(--sp-6); }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
  color: var(--white);
}
.mobile-nav__list a.is-active { color: var(--green); }
.mobile-nav__list a .icon { width: 16px; height: 16px; color: var(--muted-2); }
.mobile-nav__actions { display: grid; gap: 12px; }

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 84px 72px;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(25, 245, 154, 0.11), transparent 62%),
    radial-gradient(700px 420px at 4% 84%, rgba(25, 245, 154, 0.06), transparent 60%),
    var(--bg);
}
.hero::after {
  /* faint grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,168,181,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,168,181,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--sp-8);
  align-items: center;
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-5);
}
.hero__eyebrow span:not(:last-child)::after {
  content: '|';
  margin-left: 10px;
  color: rgba(25, 245, 154, 0.35);
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .accent {
  color: var(--green);
  text-shadow: var(--glow-text);
}

.hero__copy {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 47ch;
  margin-bottom: var(--sp-6);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--sp-7); }

/* trust points */
.trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item + .trust__item { padding-left: var(--sp-5); border-left: 1px solid var(--border-soft); }
.trust__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green);
  background: var(--tint);
}
.trust__icon .icon { width: 18px; height: 18px; }
.trust__title { font-size: 0.83rem; font-weight: 700; line-height: 1.3; }
.trust__sub { font-size: 0.75rem; color: var(--muted-2); line-height: 1.3; }

/* hero visual */
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: auto; }
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 12% -8% 8% 6%;
  background: radial-gradient(circle, rgba(25, 245, 154, 0.2), transparent 68%);
  filter: blur(70px);
  z-index: -1;
}
.hero__caption {
  position: absolute;
  right: 4%;
  bottom: 6%;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.hero__caption::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 6px;
  margin-left: auto;
  width: 70%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--green));
}

/* ---------------------------------------------------------------------
   7. SECTION HEADERS & MARKET CATEGORIES
   --------------------------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--sp-7);
  align-items: center;
  margin-bottom: var(--sp-7);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
}
.section-head--center .lead { max-width: 60ch; }
.section-head h2 { margin-bottom: var(--sp-4); }

.categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4);
  text-align: center;
}
.category__icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green);
  background: radial-gradient(circle at 50% 30%, rgba(25,245,154,0.16), rgba(25,245,154,0.02));
  transition: transform var(--t), box-shadow var(--t);
}
.category:hover .category__icon { transform: translateY(-4px); box-shadow: var(--glow); }
.category__icon .icon { width: 23px; height: 23px; }
.category__title { font-size: 0.85rem; font-weight: 700; }
.category__sub { font-size: 0.72rem; color: var(--muted-2); line-height: 1.35; }

/* ---------------------------------------------------------------------
   8. ACCOUNT CARDS
   --------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-4);
}
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(160deg, rgba(25, 245, 154, 0.05), transparent 46%),
    var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.card::before {
  /* corner accent */
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 78px; height: 78px;
  background: linear-gradient(225deg, rgba(25, 245, 154, 0.16), transparent 68%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--glow);
}
.card.is-featured { border-color: var(--border); box-shadow: var(--glow); }

.card__tier {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--border);
  background: var(--tint);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.card__size {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.card__label { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }

.card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.card__price-only { font-size: 0.6rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; }
.card__price-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  text-shadow: 0 0 22px rgba(25, 245, 154, 0.3);
}

.card__specs {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
  margin-bottom: 18px;
}
.card__spec {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.79rem;
}
.card__spec dt { color: var(--muted); }
.card__spec dd { margin: 0; font-weight: 700; }

.card__cta { margin-top: auto; }

.card__flag {
  position: absolute;
  top: 14px; right: -30px;
  transform: rotate(38deg);
  background: var(--green);
  color: #032015;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 34px;
}

/* horizontal scroll variant used on small screens */
.cards-scroll { overflow: visible; }

/* ---------------------------------------------------------------------
   9. HOW IT WORKS
   --------------------------------------------------------------------- */
.howto {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 2.1fr);
  gap: var(--sp-8);
  align-items: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.step { position: relative; text-align: center; padding-inline: 8px; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 34px;
  right: -14px;
  width: 28px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='10' fill='none' stroke='%2319F59A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' opacity='0.55'><path d='M1 5h22M19 1l4 4-4 4'/></svg>") no-repeat center;
}
.step__num {
  width: 26px; height: 26px;
  margin: 0 auto 10px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--tint);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
}
.step__icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green);
  background: radial-gradient(circle at 50% 25%, rgba(25,245,154,0.15), rgba(25,245,154,0.02));
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover .step__icon { transform: translateY(-4px); box-shadow: var(--glow); }
.step__icon .icon { width: 24px; height: 24px; }
.step__title { font-size: 0.88rem; font-weight: 700; margin-bottom: 5px; }
.step__text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------------
   10. WHY CHOOSE US
   --------------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  background: var(--bg-2);
  position: relative;
}
.why__media { position: relative; min-height: 420px; overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,11,18,0.35) 0%, rgba(5,11,18,0.1) 45%, var(--bg-2) 99%);
}
.why__caption {
  position: absolute;
  left: 7%;
  bottom: 10%;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--white);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
}
.why__caption::after {
  content: '';
  display: block;
  height: 2px;
  width: 78%;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.why__body { padding: var(--sp-8) var(--sp-7) var(--sp-8) var(--sp-7); display: flex; flex-direction: column; justify-content: center; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  text-align: center;
}
.benefit__icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--green);
  background: var(--tint);
  transition: transform var(--t), box-shadow var(--t);
}
.benefit:hover .benefit__icon { transform: translateY(-4px); box-shadow: var(--glow); }
.benefit__icon .icon { width: 21px; height: 21px; }
.benefit__title { font-size: 0.83rem; font-weight: 700; margin-bottom: 4px; }
.benefit__text { font-size: 0.73rem; color: var(--muted-2); line-height: 1.45; }

/* ---------------------------------------------------------------------
   11. PROVIDER STRIP
   --------------------------------------------------------------------- */
.providers { background: var(--bg); padding-block: var(--sp-6) var(--sp-7); }
.providers__label {
  text-align: center;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-4);
}
.providers__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: 18px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(13,24,34,0.9), rgba(8,19,29,0.9));
}
.providers__bar span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 250, 0.7);
  transition: color var(--t), opacity var(--t);
}
.providers__bar span:hover { color: var(--white); }
.providers__bar .more { font-family: var(--font); font-size: 0.8rem; font-weight: 500; color: var(--muted-2); }

/* ---------------------------------------------------------------------
   12. FOOTER
   --------------------------------------------------------------------- */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border-soft);
  padding-block: var(--sp-8) var(--sp-5);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.5fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}
.footer__about { max-width: 34ch; font-size: 0.8rem; color: var(--muted-2); margin-top: var(--sp-4); }
.footer__title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.02em;
}
.footer__links { display: grid; gap: 9px; font-size: 0.8rem; color: var(--muted); }
.footer__links--2col { grid-template-columns: 1fr 1fr; gap: 9px var(--sp-5); }
.footer__links a.is-active { color: var(--green); }

.footer__social { display: flex; gap: 12px; margin-top: var(--sp-5); }
.footer__social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  transition: all var(--t-fast);
}
.footer__social a:hover { color: var(--green); border-color: var(--border); background: var(--tint); transform: translateY(-2px); }
.footer__social .icon { width: 16px; height: 16px; }

.newsletter { display: flex; gap: 8px; margin-top: var(--sp-4); }
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem;
}
.newsletter input::placeholder { color: var(--muted-2); }
.newsletter input:focus { outline: none; border-color: var(--border-strong); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: flex-end;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-soft);
  font-size: 0.72rem;
  color: var(--muted-2);
}
.footer__disclaimer { text-align: right; max-width: 52ch; line-height: 1.6; }

/* ---------------------------------------------------------------------
   13. INNER PAGE HERO, FAQ, FORMS, TABLES
   --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 56px;
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(760px 380px at 70% 0%, rgba(25, 245, 154, 0.1), transparent 62%),
    var(--bg-2);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: var(--sp-4); }
.page-hero .lead { max-width: 62ch; font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--muted-2); margin-bottom: var(--sp-4); }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb a { color: var(--muted); }

/* panel */
.panel {
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: var(--card);
  padding: var(--sp-6);
}
.panel--tint { background: linear-gradient(160deg, rgba(25,245,154,0.06), transparent 50%), var(--card); border-color: var(--border); }
.panel__title { font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-4); display: flex; align-items: center; gap: 10px; }
.panel__title .icon { color: var(--green); width: 18px; height: 18px; }

/* feature list */
.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 11px; font-size: 0.86rem; color: var(--muted); }
.feature-list .icon { width: 17px; height: 17px; color: var(--green); margin-top: 3px; }

/* FAQ accordion */
.faq { display: grid; gap: 10px; max-width: 840px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq__item.is-open { border-color: var(--border); box-shadow: var(--glow); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 17px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.faq__q .icon { width: 17px; height: 17px; color: var(--green); transition: transform var(--t); }
.faq__item.is-open .faq__q .icon { transform: rotate(90deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 18px; font-size: 0.85rem; color: var(--muted); }

/* forms */
.field { display: grid; gap: 7px; margin-bottom: var(--sp-4); }
.field > label { font-size: 0.79rem; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 0.72rem; color: var(--muted-2); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.87rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(25, 245, 154, 0.1);
}
.textarea { resize: vertical; min-height: 110px; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239AA8B5' stroke-width='2' stroke-linecap='round'><path d='M3 5l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.checkline input { accent-color: var(--green); width: 16px; height: 16px; margin-top: 2px; }

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px dashed var(--border);
  background: var(--tint);
  text-align: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.file-drop:hover, .file-drop.is-drag { background: var(--tint-2); border-color: var(--border-strong); }
.file-drop .icon { width: 24px; height: 24px; color: var(--green); }
.file-drop strong { font-size: 0.85rem; }
.file-drop span { font-size: 0.74rem; color: var(--muted-2); }
.file-drop input { display: none; }
.file-preview { margin-top: 10px; display: none; }
.file-preview.is-visible { display: block; }
.file-preview img { max-height: 160px; border-radius: var(--r-sm); border: 1px solid var(--border-soft); }
.file-preview p { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border-soft); background: var(--card); }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td { padding: 13px 16px; text-align: left; font-size: 0.82rem; white-space: nowrap; }
.table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-soft);
}
.table tbody tr { border-bottom: 1px solid var(--border-soft); transition: background var(--t-fast); }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: var(--tint); }
.table .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.78rem; }

.empty-state { padding: var(--sp-8) var(--sp-5); text-align: center; color: var(--muted-2); }
.empty-state .icon { width: 34px; height: 34px; margin: 0 auto var(--sp-3); color: var(--muted-2); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(25,245,154,0.12), rgba(13,24,34,0.6) 55%), var(--card);
  padding: var(--sp-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--glow);
}
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { color: var(--muted); font-size: 0.9rem; max-width: 52ch; }

/* notice / disclaimer */
.notice {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 197, 92, 0.06);
  font-size: 0.79rem;
  color: var(--muted);
  line-height: 1.55;
}
.notice .icon { width: 18px; height: 18px; color: #FFC55C; flex: none; margin-top: 2px; }
.notice--green { background: var(--tint); }
.notice--green .icon { color: var(--green); }

/* ---------------------------------------------------------------------
   14. CHECKOUT & MODAL
   --------------------------------------------------------------------- */
.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: var(--sp-6);
  align-items: start;
}
.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-soft);
}
.summary__row dt { color: var(--muted); }
.summary__row dd { margin: 0; font-weight: 600; text-align: right; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: var(--sp-4);
  margin-top: var(--sp-2);
}
.summary__total span { font-size: 0.85rem; color: var(--muted); }
.summary__total strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--green);
  text-shadow: 0 0 22px rgba(25,245,154,0.3);
}

.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--sp-5); }
.pay-method {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.pay-method:hover { border-color: var(--border); }
.pay-method.is-active { border-color: var(--green); color: var(--green); background: var(--tint); }

.pay-box {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--tint);
}
.pay-qr {
  width: 172px; height: 172px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: #fff;
  padding: 10px;
  overflow: hidden;
}
.pay-qr img { width: 100%; height: 100%; object-fit: contain; }
.pay-qr--missing { background: rgba(255,255,255,0.04); border: 1px dashed var(--border); color: var(--muted-2); font-size: 0.72rem; text-align: center; padding: 16px; }

.addr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: rgba(0,0,0,0.3);
  margin-top: 6px;
}
.addr code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--white);
}
.addr button { flex: none; }

.kv { display: grid; gap: 4px; margin-bottom: 12px; }
.kv dt { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.kv dd { margin: 0; font-size: 0.9rem; font-weight: 700; }

/* stepper */
.stepper { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.stepper__item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted-2); }
.stepper__item.is-active { color: var(--white); }
.stepper__item.is-done { color: var(--green); }
.stepper__dot {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 7, 12, 0.8);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__box {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  animation: pop 0.24s var(--ease);
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-soft);
}
.modal__body { padding: 22px; }
.modal__foot { padding: 0 22px 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.modal__close {
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  cursor: pointer;
  flex: none;
}
.modal__close:hover { border-color: var(--border); color: var(--green); }

@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* toast */
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: grid; gap: 10px; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 0.83rem;
  animation: pop 0.22s var(--ease);
}
.toast .icon { width: 17px; height: 17px; color: var(--green); }

/* order confirmation */
.confirm { max-width: 640px; margin-inline: auto; text-align: center; }
.confirm__mark {
  width: 84px; height: 84px;
  margin: 0 auto var(--sp-5);
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--tint);
  color: var(--green);
  box-shadow: var(--glow);
}
.confirm__mark .icon { width: 38px; height: 38px; }
.confirm__id {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
}

/* auth pages */
.auth {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding-block: var(--sp-8);
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(25,245,154,0.09), transparent 60%),
    var(--bg);
}
.auth__box { width: 100%; max-width: 440px; }

/* ---------------------------------------------------------------------
   14b. PHOTOGRAPHY
   ---------------------------------------------------------------------
   Every photo on the site goes through .media so that bright stock
   images sit correctly on the dark theme: fixed aspect ratio (no layout
   shift), a green-tinted gradient veil, and a slight contrast lift.
   --------------------------------------------------------------------- */
.media {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: var(--card-2);
  aspect-ratio: 16 / 10;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06) brightness(0.86);
  transition: transform 0.6s var(--ease), filter var(--t);
}
.media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 11, 18, 0.1) 0%, rgba(5, 11, 18, 0.72) 100%),
    linear-gradient(115deg, rgba(25, 245, 154, 0.14), transparent 55%);
}
.media:hover { border-color: var(--border); box-shadow: var(--glow); }
.media:hover img { transform: scale(1.05); filter: saturate(1) contrast(1.06) brightness(0.95); }

.media--21x9 { aspect-ratio: 21 / 9; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--1x1  { aspect-ratio: 1 / 1; }
.media--3x4  { aspect-ratio: 3 / 4; }
.media--tall { aspect-ratio: 4 / 5; }
.media--flat::after { background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 18, 0.55) 100%); }

/* label sitting on a photo */
.media__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.media__label small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.media__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(5, 11, 18, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

/* photo grids */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* image + text split band */
.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
}
.split-media--reverse > .media { order: 2; }
.split-media .media { aspect-ratio: 5 / 4; }

/* hero photo frame */
.hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow-strong), var(--shadow-lg);
  aspect-ratio: 16 / 11;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.08);
}
.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(25, 245, 154, 0.12), transparent 45%, rgba(5, 11, 18, 0.55));
  pointer-events: none;
}

/* floating stat chips over the hero photo */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(8, 19, 29, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__chip .icon { width: 18px; height: 18px; color: var(--green); }
.hero__chip strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.hero__chip span { font-size: 0.7rem; color: var(--muted-2); }
.hero__chip--tl { top: 8%; left: -4%; }
.hero__chip--br { bottom: 10%; right: -3%; animation-delay: -2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* photographic page hero */
.page-hero--img { border-bottom: 1px solid var(--border); }
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.42);
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 8%, rgba(5, 11, 18, 0.82) 48%, rgba(5, 11, 18, 0.45) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 45%);
}

/* image inside a panel */
.panel > .media:first-child { margin-bottom: var(--sp-4); }

/* auth pages: photo column beside the form */
.auth__split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: var(--sp-7);
  align-items: center;
  max-width: 1040px;
}
.auth__media { display: grid; gap: var(--sp-4); }
.auth__split .auth__box { max-width: 480px; width: 100%; }

@media (max-width: 900px) {
  .auth__split { grid-template-columns: 1fr; max-width: 480px; }
  .auth__media { display: none; }
}

@media (max-width: 1024px) {
  .split-media { grid-template-columns: 1fr; gap: var(--sp-5); }
  .split-media--reverse > .media { order: 0; }
  .hero__chip--tl { left: 4%; }
  .hero__chip--br { right: 4%; }
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gallery, .gallery--2, .gallery--3 { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .page-hero__bg::after { background: linear-gradient(0deg, var(--bg) 6%, rgba(5, 11, 18, 0.72) 100%); }
}

/* ---------------------------------------------------------------------
   15. UTILITIES
   --------------------------------------------------------------------- */
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.hidden { display: none !important; }
.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;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   16. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 10px; font-size: 0.82rem; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.3fr 1.4fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --section-y: 72px; }

  .nav, .header__actions { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero__visual { order: -1; }
  .hero__caption { position: static; text-align: left; margin-top: 12px; }
  .hero__caption::after { margin-left: 0; }

  .section-head { grid-template-columns: 1fr; gap: var(--sp-6); }
  .howto { grid-template-columns: 1fr; gap: var(--sp-6); }

  .why { grid-template-columns: 1fr; }
  .why__media { min-height: 280px; }
  .why__media::after { background: linear-gradient(180deg, rgba(5,11,18,0.25), var(--bg-2) 96%); }
  .why__body { padding: var(--sp-7) 24px; }

  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 860px) {
  .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }
  .step:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__disclaimer { text-align: left; }
  .pay-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pay-box .pay-box__info { width: 100%; text-align: left; }
}

@media (max-width: 720px) {
  /* account cards become a horizontal scroll carousel */
  .cards-scroll {
    display: flex;
    gap: var(--sp-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--sp-4);
    margin-inline: -24px;
    padding-inline: 24px;
  }
  .cards-scroll .card {
    flex: 0 0 265px;
    scroll-snap-align: center;
  }
  .cards { grid-template-columns: 1fr; }

  .hero__actions .btn { flex: 1 1 100%; }
  .trust { gap: var(--sp-4); }
  .trust__item { flex: 1 1 100%; }
  .trust__item + .trust__item { padding-left: 0; border-left: 0; }

  .cta-band { padding: var(--sp-6) var(--sp-5); }
  .field-row { grid-template-columns: 1fr; }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .cards-scroll { margin-inline: -16px; padding-inline: 16px; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__text { font-size: 0.78rem; }
  .panel { padding: var(--sp-5) var(--sp-4); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
