:root {
  --ink: #0f2038;
  --ink-2: #12305a;
  --blue: #1c5c9c;
  --blue-light: #7fb2e0;
  --green: #9dc66b;
  --paper: #f4f1ea;
  --paper-2: #efe9dd;
  --line: #ded8ca;
  --text: #14243a;
  --muted: #615d55;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 24px 60px -36px rgba(15, 32, 56, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif;
  line-height: 1.08;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.loading-shell, .noscript {
  max-width: 760px;
  margin: 80px auto;
  padding: 32px;
}
.noscript { background: #fff1c9; border: 1px solid #e0c26b; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 88px 0; }
.section--tight { padding: 58px 0; }
.section--paper-2 { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--dark { color: var(--white); background: var(--ink); }
.section--blue { color: var(--white); background: var(--ink-2); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head p { max-width: 420px; margin-bottom: 3px; color: var(--muted); }
.section--dark .section-head p { color: rgba(255,255,255,.65); }
.eyebrow {
  margin-bottom: 12px;
  color: #855816;
  font: 700 12px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section--dark .eyebrow, .section--blue .eyebrow { color: var(--green); }
.section-title { margin-bottom: 0; font-size: clamp(32px, 4vw, 45px); letter-spacing: -.025em; }
.section--dark .section-title, .section--blue .section-title { color: var(--white); }
.lead { font-size: 18px; line-height: 1.65; }
.muted { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  color: var(--ink);
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { color: var(--ink); background: var(--green); }
.btn--green:hover { background: #afd67f; }
.btn--blue { color: var(--white); background: var(--blue); }
.btn--blue:hover { background: #174e85; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.link-arrow { color: var(--blue); font-weight: 750; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--text);
  background: rgba(247, 244, 238, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; }
.brand-mark { width: 52px; height: 42px; flex: 0 0 auto; overflow: visible; }
.brand-trace {
  opacity: 0;
  transform: translateX(-2px);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}
.brand:hover .brand-trace,
.brand:focus-visible .brand-trace {
  opacity: 1;
  transform: translateX(0);
}
.brand:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand-name span { color: #817c72; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: #57534c;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible { color: var(--blue); background: #e9e5dc; }
.languages { display: flex; align-items: center; gap: 3px; padding-left: 10px; border-left: 1px solid var(--line); }
.languages a {
  padding: 5px 6px;
  border-radius: 6px;
  color: #6d685f;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.languages a[aria-current="page"] { color: var(--white); background: var(--blue); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(760px 440px at 12% -10%, rgba(28,92,156,.48), transparent 60%),
    radial-gradient(400px 400px at 94% 110%, rgba(157,198,107,.13), transparent 60%);
}
.hero::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(157,198,107,.18);
  border-radius: 50%;
  content: "";
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 64px;
  min-height: 650px;
  padding-block: 82px;
}
.hero h1 { margin: 22px 0; color: var(--white); font-size: clamp(46px, 6vw, 72px); letter-spacing: -.045em; }
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 620px; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 24px 0 0; color: rgba(255,255,255,.48); font: 500 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.network-card { padding: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); box-shadow: var(--shadow); }
.availability { position: relative; overflow: hidden; padding: 24px; color: var(--ink); background: var(--green); border-radius: 14px; }
.availability::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -35%;
  width: 22%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.26), transparent);
  transform: skewX(-18deg);
  animation: availabilitySweep 4.2s ease-in-out .8s infinite;
  pointer-events: none;
}
.availability strong { display: block; font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums; }
.availability span { font-size: 13px; font-weight: 750; }
.network-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; }
.network-numbers strong { display: block; color: var(--white); font-size: 30px; }
.network-numbers span { color: rgba(255,255,255,.58); font-size: 12px; }
.atm-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; }
.atm-grid i {
  aspect-ratio: 1;
  opacity: 1;
  background: #3faf6b;
  border-radius: 2px;
  transform: none;
  animation: cellReveal .32s ease var(--delay, 0ms) both;
}
.atm-grid i:nth-child(8n) { background: #e0a63a; }
.atm-grid i:nth-child(17n) { background: #d1495b; }
.atm-grid i:nth-child(23n) { background: #6b8ea3; }
.atm-grid i.cell--pulse {
  animation:
    cellReveal .32s ease var(--delay, 0ms) both,
    cellPulse 1.8s ease-in-out var(--live-delay, 900ms) infinite;
}
.atm-grid i.cell--switch {
  animation:
    cellReveal .32s ease var(--delay, 0ms) both,
    cellStatus 10.5s step-end var(--live-delay, 1100ms) infinite;
}

@keyframes availabilitySweep {
  0%, 55% { left: -35%; }
  82%, 100% { left: 120%; }
}
@keyframes cellReveal {
  from { opacity: 0; transform: scale(.55); }
  to { opacity: 1; transform: none; }
}
@keyframes cellPulse {
  0%, 58%, 100% { filter: brightness(1); box-shadow: 0 0 0 rgba(63,175,107,0); }
  72% { filter: brightness(1.55); box-shadow: 0 0 10px rgba(63,175,107,.85); }
}
@keyframes cellStatus {
  0%, 34%, 100% { background: #3faf6b; }
  40%, 68% { background: #e0a63a; }
  74%, 94% { background: #3faf6b; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; color: var(--green); font-size: clamp(28px, 4vw, 38px); line-height: 1.1; }
.stat span { color: rgba(255,255,255,.68); font-size: 13px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; font-size: 21px; }
.card p:last-child { margin-bottom: 0; }
.card-number { display: block; margin-bottom: 18px; color: #855816; font-size: 13px; font-weight: 850; }
.value-grid { gap: 0; border-top: 2px solid var(--ink); }
.value-card { min-height: 220px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card h3 { font-size: 19px; }
.value-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.product-card { position: relative; min-height: 255px; overflow: hidden; color: rgba(255,255,255,.72); background: var(--ink-2); border-color: rgba(255,255,255,.12); }
.product-card:nth-child(2) { background: #16294a; }
.product-card:nth-child(3) { background: #12332e; }
.product-card:nth-child(4) { background: #2b2942; }
.product-card::after { position: absolute; top: -55px; right: -55px; width: 150px; height: 150px; content: ""; background: rgba(157,198,107,.14); border-radius: 50%; }
.product-card h3 { position: relative; z-index: 1; color: var(--white); font-size: 24px; }
.product-card p { position: relative; z-index: 1; }
.product-kind { position: relative; z-index: 1; display: block; margin-bottom: 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.feature-card { box-shadow: none; }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.feature-card .card-number { margin-bottom: 12px; }

.dashboard { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-bottom: 24px; }
.dashboard-panel { padding: 28px; color: var(--white); background: #0b1830; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); }
.dashboard-panel h3 { color: var(--white); }
.bar-list { display: grid; gap: 13px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 45px; align-items: center; gap: 12px; font-size: 13px; }
.bar { height: 8px; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 99px; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.bar-row:nth-child(2) .bar i { background: #e0a63a; }
.bar-row:nth-child(4) .bar i { background: #d1495b; }
.events { display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: 10px 1fr; gap: 10px; color: rgba(255,255,255,.72); font-size: 13px; }
.event i { width: 8px; height: 8px; margin-top: 6px; background: #3faf6b; border-radius: 50%; }
.event:first-child i { background: #d1495b; }
.feature-list { display: grid; gap: 0; }
.raven-heading-main { display: flex; align-items: center; gap: 22px; }
.raven-logo {
  width: 108px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 14px rgba(28,92,156,.16));
}
.raven-heading-main .eyebrow { margin-bottom: 8px; }
.feature-row { padding: 18px 0; border-top: 1px solid var(--line); }
.feature-row:first-child { border-top: 0; }
.feature-row h3 { margin-bottom: 5px; font-size: 18px; }
.feature-row p { margin-bottom: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.quote-card { padding: 38px; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.quote-card h3 { color: var(--white); font-size: 27px; }
.quote-card p { color: rgba(255,255,255,.72); }
.specs { display: grid; gap: 10px; }
.spec {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.spec summary { padding: 17px 20px; color: var(--ink); font-weight: 800; cursor: pointer; }
.spec p { padding: 0 20px 20px; margin-bottom: 0; color: var(--muted); }
.security-card { border-top: 4px solid var(--blue); }

.contact-card { padding: 40px; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.contact-card h2 { color: var(--white); font-size: clamp(32px, 4vw, 46px); }
.contact-card p { color: rgba(255,255,255,.72); }
.contact-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
.contact-link { padding: 20px; color: var(--white); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; text-decoration: none; }
.contact-link span { display: block; margin-bottom: 5px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-link strong { font-size: 18px; }
.contact-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; color: rgba(255,255,255,.6); font-size: 13px; }

.site-footer { color: var(--white); background: #0b1830; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; padding-block: 58px 38px; }
.site-footer .brand-name { color: var(--white); }
.footer-summary { max-width: 300px; margin-top: 16px; color: rgba(255,255,255,.5); font-size: 14px; }
.footer-title { margin-bottom: 16px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.7); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-block: 20px; color: rgba(255,255,255,.42); border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

.support-page { min-height: calc(100vh - 72px); background: var(--paper-2); }
.support-hero { padding: 76px 0 54px; color: var(--white); background: var(--ink); }
.support-hero h1 { max-width: 780px; margin: 14px 0 16px; color: var(--white); font-size: clamp(42px, 6vw, 68px); letter-spacing: -.04em; }
.support-hero .lead { max-width: 680px; color: rgba(255,255,255,.72); }
.support-content { padding: 56px 0 88px; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.support-card { display: flex; min-height: 310px; flex-direction: column; padding: 28px; }
.support-card .eyebrow { margin-bottom: 18px; }
.support-card > h2 { margin-bottom: 10px; font-size: 25px; }
.support-card > p { margin-bottom: 26px; color: var(--muted); }
.support-steps { display: grid; gap: 10px; margin: 0 0 26px; padding-left: 22px; color: var(--ink); font-size: 14px; }
.support-steps li { padding-left: 4px; }
.support-links { display: grid; gap: 10px; margin-top: auto; }
.service-link { display: grid; gap: 3px; padding: 14px 16px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.service-link:hover, .service-link:focus-visible { color: var(--blue); border-color: var(--blue); background: var(--white); }
.service-link strong { font-size: 14px; }
.service-link span { overflow-wrap: anywhere; color: var(--muted); font: 500 11px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.support-back { margin-top: 30px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none !important; }
  .brand-trace, .btn { transition: none !important; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .languages { margin-left: 0; }
  .nav.open {
    position: fixed;
    inset: 72px 0 auto;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .network-card { max-width: 680px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1200px); }
  .section { padding: 68px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .raven-heading-main { align-items: flex-start; gap: 16px; }
  .raven-logo { width: 78px; }
  .brand-name { font-size: 15px; }
  .languages { order: 2; }
  .hero-grid { gap: 38px; padding-block: 60px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .stats, .grid--3, .grid--2, .dashboard, .split { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { min-height: 0; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child, .footer-main > :last-child { grid-column: 1 / -1; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .header-inner { gap: 8px; }
  .brand-mark { width: 45px; height: 36px; }
  .brand-name span { display: none; }
  .languages { gap: 0; padding-left: 5px; }
  .languages a { padding: 5px; font-size: 10px; }
  .menu-toggle { width: 40px; height: 40px; }
  .hero-actions .btn { width: 100%; }
  .raven-heading-main { display: grid; }
  .raven-logo { width: 86px; }
  .grid--4, .value-grid, .contact-meta { grid-template-columns: 1fr; }
  .stats { gap: 28px 16px; }
  .bar-row { grid-template-columns: 75px 1fr 38px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > * { grid-column: auto !important; }
}
