/* Halo — institutional merchant services
   Modern fintech theme. Edit the tokens below to restyle the whole site. */
:root {
  --ink: #0b1630;
  --ink-2: #33415c;
  --muted: #64708a;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --brand: #3b5bfd;
  --brand-2: #00b3c7;
  --brand-ink: #1d2fa8;
  --navy: #070f24;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,22,48,.04), 0 8px 24px rgba(11,22,48,.06);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-2); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; color: #1e40e6; line-height: 0; }
.logo:hover { color: #1e40e6; }
.logo .wordmark { height: 28px; width: auto; }
.site-footer .logo, .site-footer .logo:hover { color: #ffffff; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 4px; }
  .nav-links .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: all .15s ease; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(59,91,253,.28); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9edff; color: var(--navy); }
.nav-links .btn-primary { color: #fff; padding: 10px 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 110px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(59,91,253,.16), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgba(0,179,199,.12), transparent 70%);
  pointer-events: none;
}
.hero .halo-ring {
  position: absolute; right: -160px; top: 40px; width: 620px; height: 620px; opacity: .55; pointer-events: none;
}
@media (max-width: 900px) { .hero .halo-ring { display: none; } }
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.22rem; color: var(--ink-2); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), #fff); }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 600px) { section { padding: 64px 0; } .hero { padding: 72px 0 64px; } }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(11,22,48,.04), 0 16px 40px rgba(11,22,48,.09); }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(59,91,253,.12), rgba(0,179,199,.12)); color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; margin-top: 8px; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }

/* Pillars strip */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.pillars > div { padding: 28px; border-right: 1px solid var(--line); }
.pillars > div:last-child { border-right: 0; }
.pillars strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.pillars span { font-size: .93rem; color: var(--muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars > div:nth-child(2) { border-right: 0; } .pillars > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillars > div { border-right: 0; border-bottom: 1px solid var(--line); } .pillars > div:last-child { border-bottom: 0; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(59,91,253,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233b5bfd' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checklist strong { color: var(--ink); }

/* Panel (dashboard-like visual) */
.panel {
  background: var(--navy); color: #dbe3ff; border-radius: 18px; padding: 28px;
  box-shadow: 0 30px 60px rgba(7,15,36,.25); position: relative; overflow: hidden;
}
.panel::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(59,91,253,.35), transparent); }
.panel h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; display: flex; justify-content: space-between; }
.panel h4 span { color: #8fa2d8; font-weight: 500; }
.panel-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .92rem; position: relative; z-index: 1; }
.panel-row b { color: #fff; font-weight: 600; }
.tag { font-size: .75rem; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.tag-ok { background: rgba(0,179,199,.18); color: #5fe3f2; }
.tag-blue { background: rgba(59,91,253,.25); color: #aebcff; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { content: "0" counter(step); display: block; font-size: .85rem; font-weight: 700; color: var(--brand); margin-bottom: 10px; letter-spacing: .05em; }
.step p { font-size: .96rem; }

/* Industry detail blocks */
.industry { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.industry:nth-of-type(even) { background: var(--bg-soft); }
.industry .label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.subnav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: #fff; font-weight: 500; }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; top: -60%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59,91,253,.32), transparent 70%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7c3e6; }

/* Contact form */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .85rem; font-weight: 600; color: #dbe3ff; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .95rem;
}
.form select option { color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: #8090bb; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: #8fa2d8; margin: 0; }
.form-status { font-size: .95rem; font-weight: 600; color: #5fe3f2; }

/* Footer */
.site-footer { background: #050b1c; color: #8fa2d8; padding: 64px 0 32px; font-size: .92rem; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b7c3e6; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #8fa2d8; }
.legal { padding-top: 24px; font-size: .8rem; line-height: 1.6; color: #66749c; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
