/* ============================================================
   HitchPay - Global finance landing page
   Design system: deep purple #40196D · gold #FFC22F · mint #66CC99
   Type: Clash Display (headings) · Mulish (body)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,300..800;1,400&display=swap');

/* ---------- Tokens ---------- */
:root {
  --purple-900: #2C0F4E;
  --purple-800: #40196D;   /* brand primary */
  --purple-700: #522288;
  --purple-600: #6B34A8;
  --purple-100: #EDE7F6;
  --purple-50:  #F5F3FF;

  --gold:   #FFC22F;
  --gold-600: #E9A700;
  --mint:   #66CC99;
  --mint-600: #43B37E;

  --ink:    #16091F;   /* near-black text on light */
  --ink-2:  #4B3D57;   /* muted text */
  --ink-3:  #8A7E93;   /* faint text */
  --line:   #EDE9F2;   /* hairline borders */
  --surface: #FFFFFF;
  --bg:     #FBFAFD;
  --bg-tint: #F5F3FF;

  --on-dark:   #FFFFFF;
  --on-dark-2: #C9BEDA;
  --on-dark-3: #9A8BB0;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --shadow-sm: 0 1px 2px rgba(44, 15, 78, .06), 0 1px 3px rgba(44, 15, 78, .05);
  --shadow:    0 10px 30px -12px rgba(44, 15, 78, .18);
  --shadow-lg: 0 40px 80px -24px rgba(44, 15, 78, .28);

  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}
/* let grid/flex children shrink instead of forcing horizontal overflow */
.hero-grid > *, .split > *, .contact-grid > *, .security-grid > *,
.hero-form > *, .cta-form > *, .ac-cards > *, .mock-row > * { min-width: 0; }
h1, h2, h3, h4 {
  font-family: 'Clash Display', 'Mulish', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-700);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--gold); }

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 100px;
  font-weight: 700; font-size: 15.5px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple-800); color: #fff; box-shadow: 0 8px 20px -8px rgba(64,25,109,.55); }
.btn-primary:hover { background: var(--purple-700); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(64,25,109,.6); }
.btn-gold { background: var(--gold); color: var(--purple-900); box-shadow: 0 8px 20px -8px rgba(233,167,0,.55); }
.btn-gold:hover { background: #ffcf55; transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(233,167,0,.55); }
.btn-ghost { background: #fff; color: var(--purple-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple-800); transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16.5px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0; line-height: .8; user-select: none; }
.logo .mark {
  font-family: 'Clash Display', sans-serif; font-weight: 700;
  font-size: 27px; letter-spacing: -0.02em; color: var(--purple-800);
  position: relative;
}
.logo .mark .dot { color: var(--gold); }
.logo .sub {
  font-family: 'Clash Display', sans-serif; font-weight: 500;
  font-size: 16px; color: var(--purple-600); margin-left: 2px; align-self: flex-end; margin-bottom: 3px;
}
.logo--light .mark { color: #fff; }
.logo--light .sub { color: var(--on-dark-2); }

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 253, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 8px; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 40px; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 15px; border-radius: 100px; font-size: 15.5px; font-weight: 600; color: var(--ink-2);
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--purple-800); background: var(--purple-50); }
.nav-links a svg { width: 15px; height: 15px; opacity: .6; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 90px;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(102,204,153,.16), transparent 60%),
    radial-gradient(900px 500px at 8% 4%, rgba(64,25,109,.10), transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 600; letter-spacing: -0.03em; margin-top: 22px;
}
.hero h1 em { font-style: normal; color: var(--purple-700); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: var(--gold); opacity: .45; border-radius: 4px; z-index: -1;
}
.hero-sub { margin-top: 24px; font-size: 19.5px; color: var(--ink-2); max-width: 540px; }

.hero-form {
  margin-top: 34px; display: flex; gap: 10px; padding: 7px; max-width: 500px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px; box-shadow: var(--shadow);
}
.hero-form input {
  flex: 1; border: 0; outline: none; background: transparent; padding: 0 18px;
  font-size: 16px; font-family: inherit; color: var(--ink);
}
.hero-form input::placeholder { color: var(--ink-3); }
.hero-note { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint-600); }

.hero-metric { margin-top: 40px; display: flex; align-items: center; gap: 16px; }
.hero-metric .num {
  font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 30px; color: var(--purple-800);
  letter-spacing: -0.02em;
}
.hero-metric .txt { font-size: 15px; color: var(--ink-2); max-width: 260px; }

/* Hero visual - app card mock */
.hero-visual { position: relative; }
.app-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative; z-index: 2;
}
.app-card .ac-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ac-bal-label { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ac-bal { font-family: 'Clash Display', sans-serif; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.ac-chip { font-size: 12px; font-weight: 700; color: var(--mint-600); background: rgba(102,204,153,.15); padding: 5px 11px; border-radius: 100px; }
.ac-cards { display: flex; gap: 12px; margin-bottom: 20px; }
.fx-pill {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 13px;
  display: flex; align-items: center; gap: 10px;
}
.fx-pill .flag { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.fx-pill .code { font-weight: 700; font-size: 14px; }
.fx-pill .amt { font-size: 12.5px; color: var(--ink-3); }
.ac-rows { display: flex; flex-direction: column; gap: 4px; }
.ac-row { display: flex; align-items: center; gap: 13px; padding: 11px 6px; border-radius: 10px; }
.ac-row:hover { background: var(--purple-50); }
.ac-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.ac-ico svg { width: 20px; height: 20px; }
.ac-row .r-name { font-weight: 700; font-size: 14.5px; }
.ac-row .r-sub { font-size: 12.5px; color: var(--ink-3); }
.ac-row .r-amt { margin-left: auto; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ac-row .r-amt.pos { color: var(--mint-600); }

.float-badge {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px;
}
.float-badge .fb-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.float-badge .fb-ico svg { width: 18px; height: 18px; color: #fff; }
.float-badge .fb-title { font-size: 13.5px; font-weight: 700; }
.float-badge .fb-sub { font-size: 11.5px; color: var(--ink-3); }
.float-badge.b1 { top: -22px; left: -30px; }
.float-badge.b2 { bottom: 30px; right: -34px; }

/* ============================================================
   Logo marquee
   ============================================================ */
.trust { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust p { text-align: center; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 26px; }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-row .tlogo { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: 22px; color: var(--ink-3); opacity: .8; letter-spacing: -0.01em; transition: color .2s, opacity .2s; }
.trust-row .tlogo:hover { color: var(--purple-800); opacity: 1; }

/* ============================================================
   Feature cards / foundation
   ============================================================ */
.foundation { background: var(--bg); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--purple-100); }
.feat-card .f-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; }
.feat-card .f-ico svg { width: 26px; height: 26px; color: #fff; }
.feat-card h3 { font-size: 22px; margin-bottom: 10px; }
.feat-card p { color: var(--ink-2); font-size: 15.5px; }
.feat-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.feat-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.feat-card li svg { width: 18px; height: 18px; color: var(--mint-600); flex-shrink: 0; margin-top: 2px; }

.ico-purple { background: linear-gradient(140deg, var(--purple-700), var(--purple-900)); }
.ico-gold   { background: linear-gradient(140deg, var(--gold), var(--gold-600)); }
.ico-mint   { background: linear-gradient(140deg, var(--mint), var(--mint-600)); }

/* ============================================================
   Capabilities (dark band)
   ============================================================ */
.capabilities {
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(102,204,153,.14), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(255,194,47,.10), transparent 55%),
    var(--purple-900);
  color: #fff; border-radius: 40px; margin: 0 24px;
}
.capabilities .wrap { padding-block: 90px; }
.capabilities .section-head h2 { color: #fff; }
.capabilities .section-head p { color: var(--on-dark-2); }
.capabilities .eyebrow { color: var(--gold); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap-card {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 30px;
  background: rgba(255,255,255,.04); transition: background .3s, transform .3s var(--ease);
}
.cap-card:hover { background: rgba(255,255,255,.08); transform: translateY(-5px); }
.cap-card .c-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(255,255,255,.10); }
.cap-card .c-ico svg { width: 24px; height: 24px; color: var(--gold); }
.cap-card h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.cap-card p { color: var(--on-dark-2); font-size: 15px; }

/* ============================================================
   Metrics strip
   ============================================================ */
.metrics { padding: 70px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric { text-align: center; padding: 20px; }
.metric .m-num { font-family: 'Clash Display', sans-serif; font-weight: 600; font-size: clamp(34px, 4vw, 50px); color: var(--purple-800); letter-spacing: -0.02em; }
.metric .m-num span { color: var(--gold-600); }
.metric .m-label { margin-top: 6px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.metric + .metric { border-left: 1px solid var(--line); }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testi .quote { font-size: 17.5px; color: var(--ink); font-weight: 600; line-height: 1.5; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: 'Clash Display', sans-serif; font-size: 17px; }
.testi .who .n { font-weight: 700; font-size: 15px; }
.testi .who .t { font-size: 13px; color: var(--ink-3); }
.testi .stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--gold); }
.testi .stars svg { width: 17px; height: 17px; }

/* ============================================================
   Intelligent tools grid
   ============================================================ */
.tools { background: var(--bg-tint); }
.tools-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tool.span-3 { grid-column: span 3; }
.tool.span-2 { grid-column: span 2; }
.tool .t-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--purple-50); }
.tool .t-ico svg { width: 22px; height: 22px; color: var(--purple-800); }
.tool h3 { font-size: 18.5px; margin-bottom: 7px; }
.tool p { color: var(--ink-2); font-size: 14.5px; }

/* ============================================================
   Security
   ============================================================ */
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sec-list { display: flex; flex-direction: column; gap: 8px; }
.sec-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); transition: background .2s; }
.sec-item:hover { background: var(--purple-50); }
.sec-item .s-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-800); display: grid; place-items: center; flex-shrink: 0; }
.sec-item .s-ico svg { width: 22px; height: 22px; color: var(--gold); }
.sec-item h3 { font-size: 17px; margin-bottom: 3px; }
.sec-item p { font-size: 14.5px; color: var(--ink-2); }
.sec-visual {
  background: linear-gradient(160deg, var(--purple-800), var(--purple-900));
  border-radius: var(--radius-xl); padding: 44px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sec-visual::before { content:""; position:absolute; inset:0; background: radial-gradient(400px 300px at 80% 10%, rgba(102,204,153,.25), transparent 60%); }
.sec-shield { width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-bottom: 26px; position: relative; }
.sec-shield svg { width: 40px; height: 40px; color: var(--gold); }
.sec-visual h3 { color: #fff; font-size: 28px; margin-bottom: 14px; position: relative; }
.sec-visual p { color: var(--on-dark-2); font-size: 16px; position: relative; }
.sec-badges { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; position: relative; }
.sec-badge { font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 100px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--bg); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin-inline: auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--purple-800); box-shadow: var(--shadow); }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 36px;
  background: var(--gold); color: var(--purple-900); font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 100px;
}
.price-name { font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--purple-700); }
.price-val { font-family: 'Clash Display', sans-serif; font-size: 52px; font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 4px; }
.price-val span { font-family: 'Mulish'; font-size: 17px; font-weight: 600; color: var(--ink-3); }
.price-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }
.price-card .btn { width: 100%; margin-bottom: 26px; }
.price-feats { display: flex; flex-direction: column; gap: 13px; }
.price-feats li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); }
.price-feats svg { width: 19px; height: 19px; color: var(--mint-600); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 26px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: 'Clash Display', sans-serif; font-size: 19px; font-weight: 500; color: var(--ink); }
.faq-q .plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background .2s, border-color .2s; }
.faq-q .plus svg { width: 16px; height: 16px; color: var(--purple-800); }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); background: var(--purple-800); border-color: var(--purple-800); }
.faq-item[open] .faq-q .plus svg { color: #fff; }
.faq-a { padding: 0 4px 26px; color: var(--ink-2); font-size: 16px; max-width: 640px; }

/* ============================================================
   Final CTA
   ============================================================ */
.finalcta { padding: 40px 0 100px; }
.cta-box {
  background:
    radial-gradient(600px 400px at 85% 0%, rgba(102,204,153,.20), transparent 60%),
    radial-gradient(500px 400px at 5% 100%, rgba(255,194,47,.16), transparent 55%),
    linear-gradient(150deg, var(--purple-800), var(--purple-900));
  border-radius: 40px; padding: 72px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; font-size: clamp(30px, 4.5vw, 50px); max-width: 640px; margin-inline: auto; }
.cta-box p { color: var(--on-dark-2); font-size: 18px; margin-top: 16px; }
.cta-form { margin: 32px auto 0; display: flex; gap: 10px; padding: 7px; max-width: 480px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 100px; }
.cta-form input { flex: 1; border: 0; background: transparent; outline: none; padding: 0 18px; color: #fff; font-size: 16px; font-family: inherit; }
.cta-form input::placeholder { color: var(--on-dark-3); }
.cta-sub { margin-top: 18px; color: var(--on-dark-3); font-size: 14px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--purple-900); color: var(--on-dark-2); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 36px 28px; }
.footer-brand { grid-column: span 1; }
.footer-brand p { color: var(--on-dark-3); font-size: 14.5px; margin-top: 18px; max-width: 260px; }
.footer-address { margin-top: 20px; font-size: 13px; color: var(--on-dark-2); font-weight: 600; line-height: 1.5; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-social a:hover svg { color: var(--purple-900); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-family: 'Mulish'; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--on-dark-2); transition: color .18s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { margin-top: 54px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.10); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--on-dark-3); font-size: 13.5px; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { font-size: 13.5px; color: var(--on-dark-3); }
.footer-bottom .links a:hover { color: #fff; }
.footer-legal { margin-top: 20px; font-size: 12px; color: var(--on-dark-3); line-height: 1.6; max-width: 900px; }
.footer-legal-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; gap: 12px; }
.footer-legal-block p { color: var(--on-dark-3); font-size: 11.5px; line-height: 1.65; }
.footer-legal-block strong { color: var(--on-dark-2); font-weight: 700; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-badge.b1 { animation: floaty 5s ease-in-out infinite; }
.float-badge.b2 { animation: floaty 6s ease-in-out infinite .6s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .security-grid { grid-template-columns: 1fr; gap: 36px; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tool.span-3, .tool.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px 14px 16px; max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav-links.open .has-drop { width: 100%; }
  .nav-links.open .has-drop > a, .nav-links.open > a { padding: 13px 12px; font-size: 16.5px; font-weight: 700; color: var(--ink); justify-content: space-between; border-radius: 12px; }
  .nav-links.open .has-drop > a svg { opacity: .55; }
  /* force dropdowns open + inline on mobile (no hover on touch) */
  .nav-links.open .drop,
  .nav-links.open .drop.wide {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: flex; flex-direction: column; gap: 0;
    box-shadow: none; border: 0; min-width: 0; margin: 0 0 6px;
    padding: 0 0 0 8px; background: transparent;
  }
  .nav-links.open .drop::before { content: none; }
  .nav-links.open .drop-item { padding: 11px 12px; border-radius: 10px; }
  .nav-links.open .drop-item .di-ico { width: 32px; height: 32px; }
  body.menu-open { overflow: hidden; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 6px; }
  .nav-cta { gap: 8px; }
  .feat-grid, .cap-grid, .testi-grid, .price-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; }
  .metric + .metric { border-top: 1px solid var(--line); border-left: 0; }
  .metric:nth-child(2) { border-left: 1px solid var(--line); border-top: 0; }
  .capabilities, .cta-box { margin: 0 12px; border-radius: 28px; }
  .cta-box { padding: 48px 26px; }
  .float-badge.b1 { left: 0; top: -14px; }
  .float-badge.b2 { right: 0; }
  .hero-form, .cta-form { flex-direction: column; border-radius: 22px; padding: 12px; }
  .hero-form .btn, .cta-form .btn { width: 100%; }
  .hero-form input, .cta-form input { padding: 12px 14px; }
  /* keep hero visual + app card within the viewport */
  .hero-visual { max-width: 100%; }
  .app-card { padding: 16px; }
  .ac-bal { font-size: 30px; }
  .ac-cards { gap: 8px; }
  .fx-pill { padding: 10px 9px; gap: 7px; }
  .fx-pill .flag { width: 26px; height: 26px; }
  .fx-pill .amt { font-size: 11px; }
  .float-badge { max-width: 60%; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  /* free space in the top bar so the menu toggle is never clipped */
  .nav-cta a.btn-ghost { display: none; }
}
@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; }
  .metric:nth-child(2) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--purple-600); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ANNOUNCEMENT BAR  (mirrors Slash news bar)
   ============================================================ */
.announce {
  background: var(--purple-900); color: #fff; text-align: center;
  font-size: 14px; font-weight: 600; padding: 9px 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.announce .pill { background: var(--gold); color: var(--purple-900); font-weight: 800; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.announce a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; }
.announce a svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.announce a:hover svg { transform: translateX(3px); }
.announce .sep { opacity: .35; }
@media (max-width: 640px) { .announce .sep, .announce .txt-long { display: none; } }

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 120;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.drop.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: 11px; transition: background .16s; }
.drop-item:hover { background: var(--purple-50); }
.drop-item .di-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--purple-50); display: grid; place-items: center; flex-shrink: 0; }
.drop-item .di-ico svg { width: 19px; height: 19px; color: var(--purple-800); }
.drop-item .di-name { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.drop-item .di-sub { font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   DISCLAIMER STRIP  (mirrors Slash "not a bank")
   ============================================================ */
.disclaimer {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-2);
}
.disclaimer svg { width: 18px; height: 18px; color: var(--purple-700); flex-shrink: 0; }
.disclaimer .x { margin-left: auto; cursor: pointer; background: none; border: 0; color: var(--ink-3); font-size: 20px; line-height: 1; padding: 4px; }
.disclaimer strong { color: var(--ink); }

/* ============================================================
   SUB-PAGE HERO
   ============================================================ */
.subhero {
  position: relative; overflow: hidden; padding: 84px 0 72px;
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(102,204,153,.14), transparent 60%),
    radial-gradient(760px 460px at 4% 0%, rgba(64,25,109,.10), transparent 55%),
    var(--bg);
}
.subhero.center { text-align: center; }
.subhero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 600; letter-spacing: -0.03em; margin-top: 20px; max-width: 780px; }
.subhero.center h1 { margin-inline: auto; }
.subhero h1 em { font-style: normal; color: var(--purple-700); }
.subhero .lede { margin-top: 22px; font-size: 20px; color: var(--ink-2); max-width: 620px; }
.subhero.center .lede { margin-inline: auto; }
.subhero .subhero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.subhero.center .subhero-cta { justify-content: center; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.breadcrumb a:hover { color: var(--purple-800); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

/* Split feature row (alternating) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.split-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }
.split-copy ul { display: flex; flex-direction: column; gap: 12px; }
.split-copy li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink); font-weight: 600; }
.split-copy li svg { width: 20px; height: 20px; color: var(--mint-600); flex-shrink: 0; margin-top: 1px; }
.split-media {
  background: linear-gradient(160deg, var(--purple-50), #fff); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); min-height: 320px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-media.dark { background: linear-gradient(160deg, var(--purple-800), var(--purple-900)); border: 0; color: #fff; }

/* Generic mock panel */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.mock + .mock { margin-top: 12px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.mock-row .mr-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.mock-row .mr-name { font-weight: 700; font-size: 14px; }
.mock-row .mr-sub { font-size: 12px; color: var(--ink-3); }
.mock-row .mr-amt { margin-left: auto; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 56px;
}
.blog-featured .bf-media { min-height: 340px; height: 100%; position: relative; }
.blog-featured .bf-body { padding: 44px; }
.blog-featured .bf-body h2 { font-size: clamp(26px, 3vw, 38px); margin: 14px 0 14px; }
.blog-featured .bf-body p { color: var(--ink-2); font-size: 16.5px; margin-bottom: 24px; }

.post-thumb { background: linear-gradient(150deg, var(--purple-700), var(--purple-900)); position: relative; overflow: hidden; }
.post-thumb.g1 { background: linear-gradient(150deg, var(--purple-700), var(--purple-900)); }
.post-thumb.g2 { background: linear-gradient(150deg, #1f7a52, var(--mint-600)); }
.post-thumb.g3 { background: linear-gradient(150deg, var(--gold-600), #b97e00); }
.post-thumb.g4 { background: linear-gradient(150deg, #5a2d8a, #7d4bb0); }
.post-thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 200px at 78% 15%, rgba(255,255,255,.18), transparent 60%); }
.post-thumb .pt-glyph { position: absolute; right: 22px; bottom: 18px; color: rgba(255,255,255,.22); }
.post-thumb .pt-glyph svg { width: 90px; height: 90px; }

.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--purple-700); background: var(--purple-50); padding: 5px 11px; border-radius: 100px; }
.tag.light { color: #fff; background: rgba(255,255,255,.16); }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-top: 14px; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-media { height: 190px; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-body h3 { font-size: 20px; margin: 12px 0 10px; line-height: 1.2; }
.post-card .pc-body p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.post-card .pc-read { margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--purple-800); display: inline-flex; gap: 6px; align-items: center; }
.post-card .pc-read svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.post-card:hover .pc-read svg { transform: translateX(3px); }

.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-chip { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .18s; }
.cat-chip:hover { border-color: var(--purple-800); color: var(--purple-800); }
.cat-chip.active { background: var(--purple-800); color: #fff; border-color: var(--purple-800); }

/* ============================================================
   ARTICLE / PROSE
   ============================================================ */
.article { max-width: 720px; margin-inline: auto; padding: 0 24px; }
.article-hero { max-width: 780px; margin: 0 auto 46px; padding: 0 24px; text-align: center; }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 600; letter-spacing: -0.025em; margin: 18px 0 22px; }
.article-cover { max-width: 980px; margin: 0 auto 50px; padding: 0 24px; }
.article-cover .post-thumb { height: 420px; border-radius: var(--radius-lg); }
.author { display: inline-flex; align-items: center; gap: 12px; }
.author .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: 'Clash Display'; }
.author .a-name { font-weight: 700; font-size: 15px; }
.author .a-meta { font-size: 13px; color: var(--ink-3); }
.prose { font-size: 18px; color: #2e2338; line-height: 1.75; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: 28px; margin-top: 44px; }
.prose h3 { font-size: 22px; margin-top: 34px; }
.prose p { color: #37294380; color: #3a2e46; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { padding-left: 4px; }
.prose blockquote { border-left: 4px solid var(--gold); padding: 6px 0 6px 24px; margin-left: 0; font-family: 'Clash Display'; font-size: 22px; font-weight: 500; color: var(--purple-800); font-style: normal; }
.prose a { color: var(--purple-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose code { background: var(--purple-50); padding: 2px 7px; border-radius: 6px; font-size: .9em; color: var(--purple-800); }
.prose img, .prose .post-thumb { border-radius: var(--radius); }
.callout { background: var(--bg-tint); border: 1px solid var(--line); border-left: 4px solid var(--purple-700); border-radius: 12px; padding: 22px 24px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { background: var(--purple-50); font-family: 'Clash Display'; font-weight: 600; font-size: 16px; color: var(--purple-900); }
.compare tbody td:first-child { font-weight: 700; color: var(--ink); }
.compare td svg { width: 20px; height: 20px; color: var(--mint-600); }
.compare .muted { color: var(--ink-3); }
.compare-wrap { overflow-x: auto; }

/* ============================================================
   STATS / TEAM / VALUES (about, careers)
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.value-card .v-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; }
.value-card .v-ico svg { width: 24px; height: 24px; color: #fff; }
.value-card h3 { font-size: 20px; margin-bottom: 8px; }
.value-card p { color: var(--ink-2); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card .t-photo { aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center; color: #fff; font-family: 'Clash Display'; font-size: 34px; font-weight: 600; margin-bottom: 14px; }
.team-card .t-name { font-weight: 700; font-size: 16px; }
.team-card .t-role { font-size: 13.5px; color: var(--ink-3); }

.job-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin-inline: auto; }
.job {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--purple-100); }
.job .j-info h3 { font-size: 18px; margin-bottom: 4px; }
.job .j-meta { font-size: 13.5px; color: var(--ink-3); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.job .j-arrow { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--purple-50); display: grid; place-items: center; flex-shrink: 0; transition: background .2s; }
.job:hover .j-arrow { background: var(--purple-800); }
.job:hover .j-arrow svg { color: #fff; }
.job .j-arrow svg { width: 18px; height: 18px; color: var(--purple-800); transition: color .2s; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  font-family: inherit; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple-700); box-shadow: 0 0 0 4px rgba(64,25,109,.10); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info { background: linear-gradient(160deg, var(--purple-800), var(--purple-900)); color: #fff; border-radius: var(--radius-xl); padding: 40px; }
.contact-info h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.contact-info p { color: var(--on-dark-2); margin-bottom: 26px; }
.contact-info .ci-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-info .ci-item svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.contact-info .ci-item .l { font-size: 13px; color: var(--on-dark-3); }
.contact-info .ci-item .v { font-weight: 700; }

/* section tint helper */
.tinted { background: var(--bg-tint); }
.section-sm { padding: 64px 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.center-btns { display: flex; gap: 12px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE - new components
   ============================================================ */
@media (max-width: 1000px) {
  .split, .blog-featured, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured .bf-media { min-height: 240px; }
}
@media (max-width: 780px) {
  .drop, .drop.wide { position: static; transform: none; box-shadow: none; border: 0; padding: 0; min-width: 0; grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .subhero { padding: 56px 0 48px; }
  .blog-featured .bf-body { padding: 28px; }
  .article-cover .post-thumb { height: 260px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}
