/* =============================================================
   FOFOBK — Premium fintech landing page
   Design system: dark navy hero, clean light sections, single
   accent (electric blue/cyan), generous whitespace, Inter type.
   ============================================================= */

:root{
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-dark: #05070d;
  --bg-dark-soft: #0a0e1a;
  --ink: #0b0f19;
  --ink-soft: #5b6472;
  --ink-faint: #8a91a0;
  --line: #e7e9ef;
  --line-dark: #1b2130;
  --accent: #2f6bff;
  --accent-2: #34e0e0;
  --accent-soft: #eef3ff;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px -25px rgba(11,15,25,0.25);
  --shadow-md: 0 18px 40px -20px rgba(11,15,25,0.18);
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  transition: opacity .4s ease;
}
body.ready{ opacity: 1; }

h1,h2,h3,h4,p{ margin:0; }
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12.5px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:"";
  width:7px;height:7px;
  border-radius:50%;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  display:inline-block;
}
.section-head{
  max-width: 640px;
  margin: 0 auto 56px;
  text-align:center;
}
.section-head.left{ margin: 0 0 56px; text-align:left; }
.section-title{
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing:-0.02em;
  line-height:1.15;
  color: var(--ink);
}
.section-title.on-dark{ color: #fff; }
.section-subtitle{
  margin-top: 16px;
  font-size: 16.5px;
  line-height:1.7;
  color: var(--ink-soft);
}
.section-subtitle.on-dark{ color: rgba(255,255,255,.68); }

section{ position: relative; }
.section-pad{ padding: 118px 0; }

/* ---------- Reveal on scroll ----------
   Content is ALWAYS fully opaque and readable — opacity never depends
   on JavaScript, timing, or IntersectionObserver firing (this matters
   for screen readers, crawlers, and any automated rendering). The
   animation only offsets position slightly and settles to 0, so a
   screenshot taken at any point still shows fully legible text. */
.reveal{
  transform: translateY(16px);
  transition: transform .8s var(--ease);
}
.reveal.in-view{ transform: translateY(0); }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }
.reveal-delay-5{ transition-delay: .4s; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing:.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), #1c4fd6);
  color:#fff;
  box-shadow: 0 14px 30px -12px rgba(47,107,255,.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(47,107,255,.65); }
.btn-ghost-dark{
  background: rgba(255,255,255,.06);
  color:#fff;
  border-color: rgba(255,255,255,.22);
}
.btn-ghost-dark:hover{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.btn-ghost-light{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-light:hover{ border-color: var(--ink); }
.btn[disabled], .btn.is-disabled{
  opacity:.55;
  cursor: default;
  pointer-events:none;
}
.btn-sm{ padding: 10px 20px; font-size: 13.5px; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.site-header.is-scrolled{
  background: rgba(5,7,13,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.4);
}
body.light-header .site-header{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.light-header .site-header.is-scrolled{
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-md);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color:#fff;
}
body.light-header .brand{ color: var(--ink); }
.brand-mark{
  width: 30px; height:30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:14px;
  box-shadow: 0 8px 18px -8px rgba(47,107,255,.7);
}

.main-nav{
  display:flex;
  align-items:center;
  gap: 34px;
}
.main-nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: color .2s;
  position:relative;
}
body.light-header .main-nav a{ color: var(--ink-soft); }
.main-nav a:hover{ color:#fff; }
body.light-header .main-nav a:hover{ color: var(--ink); }

.header-right{ display:flex; align-items:center; gap:18px; }

.lang-switch{
  display:flex;
  align-items:center;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 4px;
}
body.light-header .lang-switch{
  background: var(--bg-soft);
  border-color: var(--line);
}
.lang-switch button{
  border:none;
  background: transparent;
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 11px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
body.light-header .lang-switch button{ color: var(--ink-faint); }
.lang-switch button.active{
  background: #fff;
  color: var(--ink);
}
body.light-header .lang-switch button.active{
  background: var(--ink);
  color:#fff;
}

.menu-toggle{
  display:none;
  border:none;
  background: transparent;
  color:#fff;
  width: 40px; height:40px;
  border-radius: 10px;
  align-items:center;
  justify-content:center;
}
body.light-header .menu-toggle{ color: var(--ink); }
.menu-toggle span{
  display:block; width:20px; height:2px; background: currentColor;
  position:relative;
}
.menu-toggle span::before,.menu-toggle span::after{
  content:""; position:absolute; left:0; width:20px; height:2px; background: currentColor; transition: transform .2s;
}
.menu-toggle span::before{ top:-6px; }
.menu-toggle span::after{ top:6px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  /* Fills the viewport on normal screens, but never grows unbounded —
     some full-page rendering tools temporarily resize the viewport to
     the full document height before capturing; an unclamped 100vh
     would then inflate the hero and push every other section out of
     the captured frame. The clamp() caps that growth. */
  min-height: clamp(640px, 100vh, 980px);
  display:flex;
  align-items:center;
  background: var(--bg-dark);
  overflow:hidden;
  padding-top: 110px;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-bg img{
  width:100%; height:100%; object-fit:cover;
  opacity: .58;
  transform: scale(1.02);
}
.hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(60% 55% at 20% 30%, rgba(5,7,13,.15) 0%, rgba(5,7,13,.78) 62%, var(--bg-dark) 100%),
    linear-gradient(180deg, rgba(5,7,13,.15) 0%, rgba(5,7,13,.55) 70%, var(--bg-dark) 100%);
}
.hero-grid-overlay{
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
  z-index:1;
}
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 60px 0 90px;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing:.02em;
  margin-bottom: 28px;
}
.hero-badge .dot{
  width:7px;height:7px;border-radius:50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(52,224,224,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(52,224,224,.55); }
  70%{ box-shadow: 0 0 0 8px rgba(52,224,224,0); }
  100%{ box-shadow: 0 0 0 0 rgba(52,224,224,0); }
}
.hero-title{
  font-size: clamp(52px, 8.5vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .98;
  color: #fff;
  margin-bottom: 18px;
}
.hero-tagline{
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  background: linear-gradient(100deg,#fff 10%, var(--accent-2) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}
.hero-desc{
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.66);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-meta{
  display:flex;
  align-items:center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.hero-meta span{ display:flex; align-items:center; gap:8px; }
.hero-meta i{ color: var(--accent-2); }

.scroll-cue{
  position:absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,.4);
  font-size: 11.5px;
  letter-spacing:.14em;
  text-transform: uppercase;
}
.scroll-cue .line{
  width:1px; height:34px;
  background: linear-gradient(180deg, rgba(255,255,255,.7), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown{
  0%{ transform: scaleY(0); transform-origin: top; opacity:0; }
  40%{ transform: scaleY(1); transform-origin: top; opacity:1; }
  100%{ transform: scaleY(1); transform-origin: bottom; opacity:0; }
}

/* ---------- Platform cards ---------- */
.platform-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pillar-card{
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pillar-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,107,255,.25);
  background: #fff;
}
.pillar-icon{
  width: 50px; height:50px;
  border-radius: 13px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  color: var(--accent);
  font-size: 19px;
  margin-bottom: 22px;
  border: 1px solid rgba(47,107,255,.15);
}
.pillar-card h3{
  font-size: 18.5px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar-card p{
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Market data ---------- */
.market-section{ background: var(--bg-soft); }
.market-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.market-card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.market-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.market-icon{
  width:42px;height:42px;
  border-radius: 11px;
  background: var(--bg-dark);
  color: var(--accent-2);
  display:flex; align-items:center; justify-content:center;
  font-size: 16px;
}
.tag-planned{
  font-size: 11px;
  font-weight: 700;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 10px;
}
.market-card h3{ font-size: 16.5px; font-weight:700; }
.market-card p{ font-size: 13.8px; line-height:1.6; color: var(--ink-soft); }

/* ---------- Technology (dark) ---------- */
.tech-section{
  background: var(--bg-dark);
  position:relative;
  overflow:hidden;
}
.tech-section::before{
  content:"";
  position:absolute;
  top: -20%; right: -10%;
  width: 620px; height:620px;
  background: radial-gradient(circle, rgba(47,107,255,.28), transparent 70%);
  pointer-events:none;
}
.tech-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  position:relative;
  z-index:1;
}
.tech-item{
  display:flex;
  gap:18px;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.tech-item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-4px);
}
.tech-item .num{
  flex-shrink:0;
  width: 42px;height:42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(47,107,255,.25), rgba(52,224,224,.15));
  color: var(--accent-2);
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
  border: 1px solid rgba(255,255,255,.12);
}
.tech-item h3{ color:#fff; font-size:16.5px; font-weight:700; margin-bottom:8px; }
.tech-item p{ color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.65; }
.tech-item.wide{ grid-column: span 2; }

/* ---------- Security ---------- */
.security-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.security-card{
  text-align:center;
  padding: 32px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.security-icon{
  width:54px;height:54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: var(--bg-dark);
  color: var(--accent-2);
  font-size:19px;
}
.security-card h3{ font-size:16.5px; font-weight:700; margin-bottom:10px; }
.security-card p{ font-size: 13.8px; line-height:1.6; color: var(--ink-soft); }

/* ---------- Development ---------- */
.dev-section{ background: var(--bg-soft); }
.dev-box{
  max-width: 820px;
  margin: 0 auto;
  text-align:center;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 48px;
  position:relative;
  box-shadow: var(--shadow-md);
}
.dev-box::before{
  content:"";
  position:absolute; inset:0;
  border-radius: 24px;
  padding:1px;
  background: linear-gradient(135deg, rgba(47,107,255,.5), rgba(52,224,224,.4), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}
.dev-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 15px;
  border-radius:999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform: uppercase;
  margin-bottom:22px;
}
.dev-status .dot{ width:6px;height:6px;border-radius:50%; background: var(--accent); }
.dev-box h2{
  font-size: clamp(24px,3vw,32px);
  font-weight:700;
  letter-spacing:-0.02em;
  margin-bottom:18px;
}
.dev-box p{ font-size:16px; line-height:1.75; color: var(--ink-soft); }
.dev-box .dev-note{
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

/* ---------- Final CTA ---------- */
.final-cta{
  background: linear-gradient(160deg, var(--bg-dark) 0%, #0b1330 60%, #0d1b3d 100%);
  position:relative;
  overflow:hidden;
  text-align:center;
}
.final-cta::before{
  content:"";
  position:absolute; left:50%; top:-30%;
  width: 900px; height:900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52,224,224,.16), transparent 65%);
  pointer-events:none;
}
.final-cta-inner{ position:relative; z-index:1; max-width: 640px; margin:0 auto; }
.final-cta h2{
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight:800;
  letter-spacing:-0.02em;
  color:#fff;
  margin-bottom: 18px;
}
.final-cta p{
  font-size:17px;
  color: rgba(255,255,255,.68);
  line-height:1.7;
  margin-bottom: 38px;
}
.cta-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom: 36px;
}
.waitlist-form{
  display:flex;
  gap:10px;
  max-width: 460px;
  margin: 0 auto 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
}
.waitlist-form input{
  flex:1;
  border:none;
  background: transparent;
  color:#fff;
  font-size: 14.5px;
  outline:none;
}
.waitlist-form input::placeholder{ color: rgba(255,255,255,.42); }
.waitlist-form button{
  border:none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight:700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#05070d;
  transition: transform .25s var(--ease);
  white-space: nowrap;
}
.waitlist-form button:hover{ transform: translateY(-2px); }
.form-note{ font-size: 12.5px; color: rgba(255,255,255,.4); }
.form-feedback{
  min-height: 20px;
  font-size: 13px;
  margin-top: 10px;
  color: var(--accent-2);
}

/* ---------- Footer ---------- */
.site-footer{
  background: var(--bg-dark);
  color: rgba(255,255,255,.6);
  padding: 76px 0 34px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  max-width: 320px;
}
.footer-col h4{
  font-size: 13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 14px;
  padding-top: 30px;
  font-size: 12.5px;
}
.footer-legal-note{
  max-width: 760px;
  margin: 22px auto 0;
  text-align:center;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.34);
}

/* ---------- Simple pages (contact / privacy / terms) ---------- */
.page-hero{
  background: var(--bg-dark);
  padding: 190px 0 90px;
  text-align:center;
}
.page-hero h1{
  font-size: clamp(32px, 5vw, 48px);
  font-weight:800;
  color:#fff;
  letter-spacing:-0.02em;
  margin-bottom: 16px;
}
.page-hero p{
  font-size: 16px;
  color: rgba(255,255,255,.62);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-body{ padding: 80px 0 110px; }
.legal-doc{ max-width: 720px; margin: 0 auto; }
.legal-doc .updated{
  display:inline-block;
  font-size: 12.5px;
  font-weight:600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius:999px;
  padding:6px 14px;
  margin-bottom: 26px;
}
.legal-doc .intro{
  font-size: 16px;
  line-height:1.8;
  color: var(--ink-soft);
  margin-bottom: 46px;
}
.legal-doc section{ margin-bottom: 38px; }
.legal-doc h2{
  font-size: 19px;
  font-weight:700;
  margin-bottom: 12px;
  letter-spacing:-0.01em;
}
.legal-doc p{
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.legal-doc .placeholder{
  color: var(--accent);
  font-style: italic;
}

.contact-wrap{
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-row{ margin-bottom: 20px; }
.form-row label{
  display:block;
  font-size: 13px;
  font-weight:600;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-row input, .form-row textarea{
  width:100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background:#fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,107,255,.12);
}
.form-row textarea{ min-height: 140px; resize: vertical; }
.contact-note{
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 16px;
  text-align:center;
}
.contact-feedback{
  min-height: 20px;
  font-size: 13.5px;
  font-weight:600;
  margin-top: 6px;
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .platform-grid{ grid-template-columns: repeat(2,1fr); }
  .market-grid{ grid-template-columns: repeat(2,1fr); }
  .security-grid{ grid-template-columns: repeat(2,1fr); }
  .tech-grid{ grid-template-columns: 1fr; }
  .tech-item.wide{ grid-column: span 1; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed;
    top: 68px; left:16px; right:16px;
    background: rgba(6,9,18,.97);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    flex-direction:column;
    align-items:flex-start;
    gap: 4px;
    padding: 14px;
    display:none;
    z-index: 400;
  }
  body.light-header .main-nav{ background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding: 12px 10px; width:100%; border-radius: 10px; }
  .main-nav a:hover{ background: rgba(255,255,255,.06); }
  body.light-header .main-nav a:hover{ background: var(--bg-soft); }
  .menu-toggle{ display:flex; }
  .header-right .btn{ display:none; }

  .platform-grid{ grid-template-columns: 1fr; }
  .market-grid{ grid-template-columns: 1fr; }
  .security-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .section-pad{ padding: 84px 0; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
  .waitlist-form{ flex-direction:column; border-radius: 18px; padding: 14px; }
  .waitlist-form button{ width:100%; }
  .waitlist-form input{ padding: 8px 4px; }
  .dev-box{ padding: 40px 26px; }
  .contact-wrap{ padding: 30px 22px; }
}
