/* ==========================================================================
   EasyPay — Payroll & HR Software for Gibraltar
   Design system + site styles · Rock IT Limited
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts — self-hosted Inter (latin subset)
   Files live in assets/fonts/. Run fetch-fonts.sh / fetch-fonts.ps1 once to
   download them. Until then the stack falls back to Segoe UI / system UI,
   which renders correctly — just not in Inter.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;           /* variable range */
  font-display: swap;
  src: url("../fonts/inter-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink:        #0A1628;
  --ink-soft:   #1B2A44;
  --brand:      #1D5CFF;
  --brand-dark: #123FBF;
  --brand-tint: #EAF0FF;
  --accent:     #00B894;
  --accent-tint:#E3F8F3;
  --warm:       #FF7A45;
  --warm-tint:  #FFF0E9;

  --white:      #FFFFFF;
  --surface:    #F6F8FC;
  --surface-2:  #EEF2F9;
  --line:       #E1E7F0;
  --line-soft:  #EDF1F7;
  --text:       #1B2A44;
  --text-muted: #5A6B85;
  --text-faint: #5F6E88;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(10, 22, 40, .06);
  --sh-sm: 0 2px 8px rgba(10, 22, 40, .06), 0 1px 2px rgba(10, 22, 40, .04);
  --sh-md: 0 12px 28px -10px rgba(10, 22, 40, .16), 0 2px 6px rgba(10, 22, 40, .05);
  --sh-lg: 0 32px 64px -24px rgba(10, 22, 40, .28), 0 4px 12px rgba(10, 22, 40, .06);
  --sh-brand: 0 12px 28px -10px rgba(29, 92, 255, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.022em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.85rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem);  font-weight: 800; letter-spacing: -.028em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.42rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-dark); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .4em; }

strong { font-weight: 650; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.section-tint { background: var(--surface); }
.section-ink { background: var(--ink); color: #C9D5E8; }
.section-ink h2, .section-ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 650; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-ink .eyebrow, .page-head .eyebrow { color: var(--accent); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 0; }
.section-ink .section-head p { color: #9FB2CC; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-muted); line-height: 1.62; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .85rem 1.35rem;
  z-index: 999; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: inherit; font-size: .975rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.6rem; border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-md); }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-xs); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-sm { padding: .7rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.03rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row.center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 18px -12px rgba(10,22,40,.4); }
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; position: relative; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: #fff; border: 2px solid #000;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.04em;
  box-shadow: var(--sh-xs); flex: none;
}
.brand-mark .bm-e, .brand-name .bn-easy { color: #1D5CFF; }
.brand-mark .bm-p, .brand-name .bn-pay  { color: #E8112D; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand-sub { font-size: .67rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; color: var(--text-faint); }

.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 550; color: var(--text);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: var(--r-sm); cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .18s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s var(--ease), top .18s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: 100%;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--sh-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: .8rem .9rem; font-size: 1.02rem; }
  .nav-cta > .btn { display: none; }
  .nav-mobile-cta { display: block; margin-top: .75rem; }
  .nav-mobile-cta .btn { width: 100%; }
}
@media (min-width: 1021px) { .nav-mobile-cta { display: none; } }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0;
}
.hero::before { width: 620px; height: 620px; top: -280px; right: -180px; background: radial-gradient(circle, rgba(29,92,255,.22), transparent 68%); }
.hero::after  { width: 480px; height: 480px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(0,184,148,.18), transparent 68%); }
.hero .wrap { position: relative; z-index: 1; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--brand) 10%, #0E9BFF 55%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.08rem, 1.7vw, 1.24rem); color: var(--text-muted); max-width: 34em; }
.hero .btn-row { margin-top: 2rem; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem 1rem .4rem .45rem; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-xs);
  font-size: .85rem; font-weight: 550; color: var(--text-muted); margin-bottom: 1.75rem;
}
.pill b {
  background: var(--ink); color: #fff; font-size: .69rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .28rem .6rem; border-radius: var(--r-pill);
}

.hero-note { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.6rem; font-size: .9rem; color: var(--text-faint); }
.hero-note svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: .2rem; }

.hero-visual { position: relative; }
.hero-shot {
  border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--sh-lg); overflow: hidden; background: var(--white);
}
.shot-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.shot-bar i:nth-child(1) { background: #FF6058; }
.shot-bar i:nth-child(2) { background: #FFBD2E; }
.shot-bar i:nth-child(3) { background: #29CE42; }
.shot-bar span { margin-left: .6rem; font-size: .74rem; color: var(--text-faint); font-weight: 550; }

.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md); padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 600; color: var(--ink);
}
.float-card small { display: block; font-size: .73rem; font-weight: 500; color: var(--text-faint); }
.float-card .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-a { bottom: -22px; left: -18px; }
.fc-b { top: -20px; right: -14px; }
@media (max-width: 1120px) { .float-card { display: none; } }

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line-soft); background: var(--white); padding-block: 2.25rem; }
.trust-label { text-align: center; font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.4rem; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .7rem; list-style: none; margin: 0; padding: 0; }
.trust-video { max-width: var(--wrap-narrow); margin: clamp(2rem, 4vw, 3rem) auto 0; }
.trust-list li {
  margin: 0; padding: .5rem 1.05rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-soft);
  font-size: .9rem; font-weight: 550; color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--white); padding: clamp(1.4rem, 3vw, 2.1rem); text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.05; }
.stat span { display: block; margin-top: .35rem; font-size: .88rem; color: var(--text-muted); }
.section-ink .stats { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); }
.section-ink .stat { background: var(--ink); }
.section-ink .stat b { color: #fff; }
.section-ink .stat span { color: #93A7C4; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   9. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem); box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #CFDBEF; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }

.icon-box { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.15rem; background: var(--brand-tint); color: var(--brand); }
.icon-box svg { width: 23px; height: 23px; }
.icon-box.accent { background: var(--accent-tint); color: #049074; }
.icon-box.warm   { background: var(--warm-tint);   color: #E2521F; }
.icon-box.ink    { background: #E9EDF5;            color: var(--ink); }

/* --------------------------------------------------------------------------
   10. Plans
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.plan {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.plan-featured { border-color: var(--brand); box-shadow: 0 24px 56px -22px rgba(29,92,255,.4); }
.plan-featured:hover { box-shadow: 0 30px 64px -22px rgba(29,92,255,.48); }

.plan-flag {
  position: absolute; top: 1.15rem; right: 1.15rem;
  background: var(--brand); color: #fff; font-size: .67rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem .75rem;
  border-radius: var(--r-pill); z-index: 2;
}

.plan-media {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  padding: 2rem 1.5rem 1.25rem; display: grid; place-items: center;
  border-bottom: 1px solid var(--line-soft); min-height: 210px;
}
.plan-media img { max-height: 175px; width: auto; filter: drop-shadow(0 14px 24px rgba(10,22,40,.18)); }

.plan-body { padding: clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { margin-bottom: .3rem; }
.plan-for { font-size: .8rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.plan-body > p { color: var(--text-muted); font-size: .96rem; }

.plan-price { margin: 1.35rem 0 1.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line-soft); }
.plan-price b { font-size: 1.95rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.plan-price span { font-size: .92rem; color: var(--text-muted); }
.plan-price small { display: block; margin-top: .35rem; font-size: .85rem; color: var(--text-faint); }

.plan .btn { width: 100%; margin-top: auto; }

.plan-feats { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.plan-feats li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; font-size: .93rem; color: var(--text-muted); }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: .36em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23049074' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* --------------------------------------------------------------------------
   11. Feature lists & panels
   -------------------------------------------------------------------------- */
.feat-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
@media (max-width: 780px) { .feat-list { columns: 1; } }
.feat-list li { position: relative; padding-left: 1.85rem; margin-bottom: .8rem; font-size: .97rem; color: var(--text-muted); break-inside: avoid; }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5CFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.feat-list.single { columns: 1; }
.feat-list.accent li::before {
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23049074' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

.feat-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3.2vw, 2.75rem); box-shadow: var(--sh-xs);
}
.feat-panel + .feat-panel { margin-top: 1.5rem; }
.feat-panel-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem;
  padding-bottom: 1.35rem; border-bottom: 1px solid var(--line-soft);
}
.feat-panel-head h3 { margin: 0; }
.feat-panel-head .icon-box { margin: 0; }
.tier-tag {
  margin-left: auto; font-size: .73rem; font-weight: 650; letter-spacing: .05em;
  text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text-muted); white-space: nowrap;
}
.tier-tag.pro { background: var(--brand-tint); color: var(--brand); }
.tier-tag.ent { background: var(--warm-tint);  color: #B33E0E; }
@media (max-width: 620px) { .feat-panel-head { flex-wrap: wrap; } .tier-tag { margin-left: 0; } }

/* --------------------------------------------------------------------------
   12. Split / media
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.shot-frame { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-md); overflow: hidden; background: var(--white); }
.shot-frame img { width: 100%; }
.shot-frame figcaption { padding: .8rem 1.1rem; font-size: .84rem; color: var(--text-faint); border-top: 1px solid var(--line-soft); background: var(--surface); }
figure { margin: 0; }

/* --------------------------------------------------------------------------
   13. Page head
   -------------------------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; background: var(--ink); color: #C2D0E6; padding-block: clamp(3.25rem, 6vw, 5.25rem); }
.page-head::before {
  content: ""; position: absolute; width: 700px; height: 700px; top: -420px; right: -180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(29,92,255,.5), transparent 65%); filter: blur(60px);
}
.page-head::after {
  content: ""; position: absolute; width: 420px; height: 420px; bottom: -320px; left: -80px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,184,148,.35), transparent 65%); filter: blur(60px);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .75rem; }
.page-head p { color: #A6B9D4; font-size: 1.1rem; max-width: 62ch; margin-bottom: 0; }

.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #7E93B2; margin-bottom: 1.25rem; }
.crumbs a { color: #A6B9D4; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* --------------------------------------------------------------------------
   14. Callouts
   -------------------------------------------------------------------------- */
.callout {
  display: flex; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md);
  background: var(--brand-tint); border: 1px solid #CFDDFF;
  font-size: .96rem; color: var(--ink-soft); margin-block: 1.75rem;
}
.callout svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: .18rem; }
.callout p:last-child { margin-bottom: 0; }
.callout.warm  { background: var(--warm-tint);   border-color: #FFD8C6; }
.callout.warm svg { color: #E2521F; }
.callout.green { background: var(--accent-tint); border-color: #C4EEE4; }
.callout.green svg { color: #049074; }
.callout.plain { background: var(--surface); border-color: var(--line); }
.callout.plain svg { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   15. Steps
   -------------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding-left: 3.25rem; padding-bottom: 1.6rem; margin: 0; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .92rem; font-weight: 700; box-shadow: var(--sh-brand);
}
.steps li::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: .3rem; }
.steps p { color: var(--text-muted); font-size: .96rem; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-xs); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 580px; }
thead th {
  text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-faint); padding: 1rem 1.25rem; background: var(--surface);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFCFF; }
td strong { display: block; color: var(--ink); }
td small { color: var(--text-faint); }

.badge { display: inline-block; font-size: .74rem; font-weight: 650; letter-spacing: .04em; padding: .3rem .7rem; border-radius: var(--r-pill); white-space: nowrap; }
.badge-open   { background: var(--accent-tint); color: #04795F; }
.badge-few    { background: var(--warm-tint);   color: #B33E0E; }
.badge-closed { background: var(--surface-2);   color: var(--text-faint); }

/* --------------------------------------------------------------------------
   17. Downloads
   -------------------------------------------------------------------------- */
.dl-list { display: grid; gap: .75rem; }
.dl {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.3rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  color: var(--text);
}
.dl:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-sm); color: var(--text); }
.dl-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); color: var(--text-muted); flex: none; }
.dl:hover .dl-ic { background: var(--brand-tint); color: var(--brand); }
.dl-ic svg { width: 19px; height: 19px; }
.dl-txt { flex: 1; min-width: 0; }
.dl-txt b { display: block; font-weight: 600; font-size: .98rem; color: var(--ink); }
.dl-txt span { font-size: .86rem; color: var(--text-faint); }
.dl-ext {
  font-size: .69rem; font-weight: 700; letter-spacing: .07em; color: var(--text-faint);
  background: var(--surface); border: 1px solid var(--line); padding: .28rem .6rem;
  border-radius: var(--r-sm); flex: none;
}
.dl-arrow { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
.dl:hover .dl-arrow { color: var(--brand); }
@media (max-width: 560px) { .dl-ext { display: none; } }

/* --------------------------------------------------------------------------
   18. News
   -------------------------------------------------------------------------- */
.post {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.4vw, 1.9rem); box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  height: 100%;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #CFDBEF; }
.post-meta { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--text-faint); margin-bottom: .85rem; flex-wrap: wrap; }
.post-tag { font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand); }
.post-tag.news    { background: var(--accent-tint); color: #04795F; }
.post-tag.release { background: var(--warm-tint);   color: #B33E0E; }
.post h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--brand); }
.post p { font-size: .94rem; color: var(--text-muted); }
.post .link-arrow { margin-top: auto; padding-top: 1rem; }

.post-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3.6vw, 3rem); box-shadow: var(--sh-sm); margin-bottom: 2rem;
}
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } }
.post-feature-solo { grid-template-columns: 1fr; }
.post-feature h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }

/* --------------------------------------------------------------------------
   18b. Article pages (news posts)
   -------------------------------------------------------------------------- */
.prose { font-size: 1.09rem; line-height: 1.72; color: var(--text); }
.prose > p { margin-bottom: 1.35em; }
.prose > p:first-of-type { font-size: 1.16rem; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.4em; margin-bottom: .6em; }
.prose h3 { margin-top: 2em; margin-bottom: .5em; }
.prose ul, .prose ol { margin-bottom: 1.35em; padding-left: 1.5em; }
.prose li { margin-bottom: .55em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); }
.prose blockquote {
  margin: 1.75em 0; padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--brand); background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-muted);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose video { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-md); margin-block: 1.75em; }
.prose hr { margin: 2.75rem 0; }
.prose kbd {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .84em; line-height: 1; padding: .3em .5em;
  background: var(--surface); border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 5px; color: var(--ink); white-space: nowrap;
}

.article-meta {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--text-faint);
}

.article-nav {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
}

.share { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin-top: 2.5rem; }
.share span { font-size: .88rem; font-weight: 600; color: var(--text-muted); margin-right: .25rem; }
.share a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-muted);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
}
.share a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.share svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   18c. Site map page
   -------------------------------------------------------------------------- */
.sitemap-group + .sitemap-group { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.sitemap-group h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: .25rem; }
.sitemap-group > .muted { font-size: .95rem; margin-bottom: 1.25rem; }

.sitemap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sitemap-list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.sitemap-list li a {
  display: block; padding: .95rem .25rem .95rem 1.4rem; position: relative;
  font-weight: 600; color: var(--ink); border-radius: var(--r-sm);
  transition: color .16s var(--ease), background .16s var(--ease), padding-left .16s var(--ease);
}
.sitemap-list li a::before {
  content: ""; position: absolute; left: .25rem; top: 1.35em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  transition: transform .16s var(--ease);
}
.sitemap-list li a:hover { color: var(--brand); background: var(--surface); padding-left: 1.65rem; }
.sitemap-list li a:hover::before { transform: scale(1.4); }
.sitemap-list li span {
  display: block; padding: 0 .25rem .95rem 1.4rem;
  margin-top: -.7rem; font-size: .92rem; color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--sh-xs); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem;
  font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
  transition: background .16s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface); }
.faq summary::after {
  content: ""; margin-left: auto; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B85' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/20px no-repeat;
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.5rem 1.4rem; color: var(--text-muted); font-size: .97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   20. Video / map
   -------------------------------------------------------------------------- */
.video { position: relative; padding-top: 56.25%; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.video iframe,
.video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { object-fit: cover; background: var(--ink); }

.map { position: relative; padding-top: 60%; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   21. Contact
   -------------------------------------------------------------------------- */
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xs); display: flex; flex-direction: column; }
.office-body { padding: clamp(1.5rem, 2.6vw, 2rem); }
.office h3 { margin-bottom: .25rem; }
.office-role { font-size: .77rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.1rem; }
.office address { font-style: normal; color: var(--text-muted); font-size: .97rem; line-height: 1.7; }
.contact-rows { list-style: none; margin: 1.35rem 0 0; padding: 1.35rem 0 0; border-top: 1px solid var(--line-soft); }
.contact-rows li { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; font-size: .96rem; }
.contact-rows li:last-child { margin-bottom: 0; }
.contact-rows svg { width: 17px; height: 17px; color: var(--text-faint); flex: none; }

/* --------------------------------------------------------------------------
   22. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0C2A6B 0%, var(--brand) 55%, #0E8FE0 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, 4rem); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; top: -300px; right: -140px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 66%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.08rem; max-width: 58ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #F3F7FF; color: var(--brand-dark); }
.cta-phone { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.75rem; font-size: .95rem; color: rgba(255,255,255,.85); }
.cta-phone a { color: #fff; font-weight: 600; }
.cta-phone a:hover { color: #fff; text-decoration: underline; }

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93A7C4; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .93rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem); padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .bn-easy { color: #4D82FF; }
.site-footer .brand-name .bn-pay  { color: #FF3B50; }
.site-footer .brand-sub { color: #6E86A8; }
.footer-about p { margin-top: 1.15rem; max-width: 36ch; color: #93A7C4; }
.footer-col h4 { color: #fff; font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #93A7C4; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.75; color: #93A7C4; }

.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.footer-social a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.07); color: #B8C8DF;
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.5rem; padding-top: 2rem; font-size: .86rem; color: #6E86A8;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0;
}
/* Separator dots between the copyright line and each legal link */
.footer-bottom ul li + li::before,
.footer-bottom > ul::before {
  content: "·"; margin-right: 1.5rem; color: #45587a;
}
.footer-bottom ul li + li { position: relative; }
@media (max-width: 620px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-bottom ul li + li::before, .footer-bottom > ul::before { content: none; }
  .footer-bottom ul { gap: .4rem 1.1rem; }
}
.footer-bottom li { margin: 0; }
.footer-bottom a { color: #93A7C4; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   24. Motion & utilities
   -------------------------------------------------------------------------- */
/* Content is visible by default; only hidden once JS confirms it can reveal it. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

.center { text-align: center; }
/* Justified body copy. hyphens keeps word gaps from opening up too far. */
.justify { text-align: justify; text-wrap: auto; hyphens: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--text-muted); }
.small { font-size: .89rem; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { font-size: 11pt; }
}
