/* ============================================================
   Incepe One — marketing site design system
   Direction: confident fintech-editorial. Deep violet + near-black
   grounded by warm paper neutrals; one coral accent reserved for
   primary action only. Archivo (heavy, wide) for display type against
   IBM Plex Sans for body — built to read as engineered infrastructure,
   not another pastel SaaS template.
   ============================================================ */

:root {
  --ink:        #15121c;
  --ink-soft:   #211c2c;
  --paper:      #f7f2e7;
  --paper-dim:  #efe6d3;
  --violet:     #4d2fe0;
  --violet-2:   #7454ff;
  --violet-deep:#231259;
  --coral:      #ff5a3c;
  --coral-2:    #ff8a5c;
  --cream:      #fbf8f1;
  --line:       rgba(21,18,28,.13);
  --line-dark:  rgba(255,255,255,.14);
  --muted:      #5c5568;
  --muted-dark: #c3b8e6;
  --shadow-1:   0 2px 40px rgba(21,18,28,.08);
  --shadow-2:   0 20px 60px rgba(21,18,28,.16);
  --r-lg: 28px; --r-md: 18px; --r-sm: 10px; --r-pill: 999px;
  --display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --body: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 16px/1.6 var(--body);
  color: var(--ink);
  background: var(--cream);
  letter-spacing: -.1px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 15px var(--display); letter-spacing: .01em;
  padding: 14px 26px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn.coral { background: var(--coral); color: var(--cream); }
.btn.coral:hover { background: var(--coral-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,90,60,.35); }
.btn.outline-dark { background: transparent; color: var(--cream); border: 1.5px solid var(--line-dark); }
.btn.outline-dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn.outline-light { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.outline-light:hover { background: rgba(21,18,28,.05); }
.btn.ghost-light { background: transparent; color: var(--cream); font-weight: 600; padding: 14px 10px; }
.btn.on-cream { background: var(--ink); color: var(--cream); }
.btn.on-cream:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* ---------- header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21,18,28,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 16px; }
.logo { font: 800 21px var(--display); letter-spacing: -.02em; color: var(--cream); }
.logo b { color: var(--coral-2); font-weight: 800; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.cselect { position: relative; }
.cselect > button {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-dark);
  background: transparent; border-radius: var(--r-pill); padding: 10px 16px;
  font: 600 13.5px var(--body); color: var(--cream); cursor: pointer;
}
.cselect > button:hover { background: rgba(255,255,255,.08); }
.cmenu {
  position: absolute; right: 0; top: calc(100% + 10px); background: var(--ink-soft);
  border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: var(--shadow-2);
  padding: 8px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; width: 380px; max-height: 70vh; overflow: auto;
}
.cmenu.open { display: grid; }
.cmenu a { display: flex; gap: 9px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--cream); font-size: 13.5px; font-weight: 500; }
.cmenu a:hover { background: rgba(255,255,255,.08); }

/* ---------- hero ---------- */
html, body { overflow-x: hidden; }
.hero {
  background:
    radial-gradient(1100px 620px at 88% -18%, rgba(116,84,255,.5) 0%, transparent 55%),
    radial-gradient(760px 520px at -6% 8%, rgba(255,90,60,.22) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--violet-deep) 130%);
  color: var(--cream);
  padding: 76px 0 0;
  position: relative; overflow: hidden;
}
.hero .grain { position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-bottom: 60px; position: relative; z-index: 1; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08);
  border: 1px solid var(--line-dark); color: var(--muted-dark); font: 700 12.5px var(--display);
  letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 26px;
}
h1.h-hero {
  font-size: clamp(38px, 5vw, 58px); font-weight: 800; line-height: 1.04; letter-spacing: -.025em;
  margin-bottom: 22px; max-width: 620px;
}
h1.h-hero em { font-style: normal; color: var(--coral-2); }
.hero .sub { font-size: 18.5px; color: var(--muted-dark); max-width: 520px; margin-bottom: 34px; font-weight: 400; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.trustline { display: flex; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 13.5px; margin-top: 8px; }
.trustline b { color: var(--cream); }

/* floating product-card mockup */
.mock { position: relative; height: 420px; }
.mcard {
  position: absolute; background: var(--cream); border-radius: var(--r-md); padding: 18px 20px;
  box-shadow: var(--shadow-2); color: var(--ink); width: 250px;
}
.mcard .mk { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.mcard .mv { font: 800 26px var(--display); letter-spacing: -.02em; }
.mcard .mv small { font-size: 14px; font-weight: 600; color: var(--muted); }
.mcard .mf { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mcard.m1 { top: 8px; left: 6%; z-index: 3; transform: rotate(-4deg); }
.mcard.m2 { top: 150px; right: 0; z-index: 2; transform: rotate(3deg); width: 220px; }
.mcard.m3 { bottom: 6px; left: 16%; z-index: 4; transform: rotate(2deg); width: 240px; }
.pill-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); }
.pill-status.ok { background: #dff5df; color: #1d6b2f; }
.pill-status.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 10px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--violet-2), var(--violet)); border-radius: 3px; display: block; }

/* module chip strip under hero */
.chips { display: flex; flex-wrap: wrap; gap: 9px; padding: 30px 0 56px; position: relative; z-index: 1; }
.chip {
  border-radius: var(--r-pill); padding: 9px 17px; font-size: 13px; font-weight: 600;
  color: var(--cream); border: 1px solid var(--line-dark); background: rgba(255,255,255,.05);
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.on-paper { background: var(--paper); }
section.on-ink { background: var(--ink); color: var(--cream); }
.eyebrow { font: 700 12.5px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
section.on-ink .eyebrow { color: var(--coral-2); }
h2.h-sec { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; max-width: 640px; }
.lead { color: var(--muted); font-size: 17px; max-width: 620px; margin-bottom: 48px; }
section.on-ink .lead { color: var(--muted-dark); }

/* ---------- unify diagram ---------- */
.unify-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; }
.stat-row b { display: block; font: 800 26px var(--display); color: var(--ink); letter-spacing: -.02em; }
.stat-row span { font-size: 12.5px; color: var(--muted); }
.unify-copy .stat-row { margin-top: 34px; }
.unify-copy .stat-row b { font-size: 30px; color: var(--cream); }
.unify-copy .stat-row span { color: var(--muted-dark); }
.diagram { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; }
.diagram svg { width: 100%; height: 100%; }
.dnode { fill: var(--ink-soft); stroke: var(--line-dark); stroke-width: 1; }
.dline { stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.dcenter { fill: var(--coral); }
.dlabel { fill: var(--cream); font: 600 11.5px var(--body); }
.dlabel-center { fill: var(--cream); font: 800 13px var(--display); }
.dlabels { position: absolute; inset: 0; pointer-events: none; }
.dlabel-html {
  font: 700 12px var(--body); color: var(--cream); white-space: nowrap;
  background: rgba(21,18,28,.001); /* keeps it a stacking box without visible fill */
}

/* ---------- feature grid ---------- */
.featgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--shadow-1); transform: translateY(-3px); }
.feat .n { font: 800 13px var(--display); color: var(--coral); letter-spacing: .05em; margin-bottom: 14px; }
.feat h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { background: var(--cream); padding: 28px 20px; text-align: left; }
.step .b { font: 800 26px var(--display); color: var(--violet); margin-bottom: 10px; }
.step b { display: block; font-size: 15px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
details {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 26px; margin-bottom: 10px;
}
details summary { font: 700 16px var(--body); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; color: var(--coral); font-weight: 300; flex-shrink: 0; }
details[open] summary::after { content: "\2013"; }
details p { color: var(--muted); padding-top: 12px; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--violet-deep), var(--violet) 70%);
  border-radius: var(--r-lg); color: var(--cream); padding: 64px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(500px 300px at 90% 0%, rgba(255,90,60,.35), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--muted-dark); margin: 10px 0 28px; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: var(--muted-dark); padding: 64px 0 34px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 40px; }
footer.site h4 { color: var(--cream); font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; font-weight: 700; font-family: var(--display); }
footer.site a { display: block; color: var(--muted-dark); font-size: 14px; padding: 4px 0; }
footer.site a:hover { color: var(--cream); }
footer.site .country-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
footer.site .fine { border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: 12.5px; color: #786f92; }

/* ---------- speed timeline (gateway page) ---------- */
.timeline { display: flex; gap: 24px; margin-top: 8px; }
.tl-item { flex: 1; position: relative; }
.tl-item:not(:last-child)::after {
  content: ""; position: absolute; top: 10px; left: calc(100% + 2px); width: calc(24px * 2); height: 2px;
  background: var(--line); margin-left: 0;
}
.tl-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--coral); margin-bottom: 16px; position: relative; z-index: 1; }
.tl-time { font: 700 11.5px var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--violet); margin-bottom: 6px; }
.tl-label { font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.tl-desc { color: var(--muted); font-size: 13.5px; }

/* ---------- region grouping (gateway page) ---------- */
.region-label { font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); margin: 34px 0 14px; }
.region-label:first-child { margin-top: 0; }

/* ---------- country grid (gateway page) ---------- */
.ccard {
  display: flex; flex-direction: column; gap: 10px; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px; transition: all .16s;
}
.ccard:hover { border-color: var(--violet); box-shadow: var(--shadow-1); transform: translateY(-3px); }
.ccard .ctop { display: flex; align-items: center; gap: 11px; }
.ccard .cflag { font-size: 26px; }
.ccard .cname { font-weight: 700; font-size: 15.5px; flex: 1; }
.ccard .cgo { color: var(--coral); font-weight: 800; }
.ccard .ctag { font-size: 12.5px; color: var(--muted); }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { height: 300px; margin-top: 20px; overflow: hidden; }
  .unify-wrap { grid-template-columns: 1fr; }
  .featgrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .cmenu { width: 300px; }
  section { padding: 60px 0; }
  .cta-band { padding: 44px 26px; }
}
@media (max-width: 560px) {
  .mock { height: 340px; }
  .mcard { width: 72vw !important; max-width: 250px; padding: 15px 17px; }
  .mcard.m1 { left: 0; top: 0; }
  .mcard.m2 { right: 0; left: auto; top: 120px; }
  .mcard.m3 { left: 8%; bottom: 0; }
  .mcard .mv { font-size: 21px; }
  .timeline { flex-direction: column; gap: 28px; }
  .tl-item:not(:last-child)::after { display: none; }
}
