/* ==========================================================================
   Fetan Technologies — fetantech.com.et
   Design system for the corporate site and product pages.
   ========================================================================== */

:root {
  /* Brand — taken from the Fetan mark (green "F") and the app's Material palette */
  --brand-300: #6FE3A0;
  --brand-400: #43D183;
  --brand-500: #2ECC71;
  --brand-600: #22A85C;
  --brand-700: #1B8A4B;
  --brand-900: #0F3E24;

  /* Surfaces */
  --bg:          #0A0E0C;
  --bg-elev:     #0E1411;
  --surface:     #121815;
  --surface-2:   #171F1B;
  --surface-3:   #1D2721;

  /* Ink */
  --ink:         #EEF3EF;
  --ink-muted:   #9BA8A0;
  /* The faintest tier still has to clear WCAG AA (4.5:1) as body text, and it
     sits on surfaces as light as --surface-3. That puts a hard floor on how dim
     it can go: at #6E7C75 it measured 3.52:1 on a card. #8B9B92 is 5.28:1 at
     worst. The gap to --ink-muted is narrower than it looks on paper, but on a
     near-black background there is no room below this. */
  --ink-faint:   #8B9B92;

  --border:      rgba(255, 255, 255, 0.08);
  --border-str:  rgba(255, 255, 255, 0.14);

  --ring: 0 0 0 3px rgba(46, 204, 113, 0.25);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --wrap: 1160px;
  --wrap-narrow: 760px;
  --header-h: 68px;

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

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

/* A link sitting inside a sentence must not be identified by colour alone, so
   it carries an underline. Links that are already unmistakable by shape or
   position are excluded: buttons, the nav, footer columns, and the legal-page
   contents list, where every item is a link and nothing else. */
p a:not(.btn),
li a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(67, 209, 131, 0.5);
}
p a:not(.btn):hover,
li a:not(.btn):hover { text-decoration-color: currentColor; }

/* Must out-specify `li a:not(.btn)` above, hence the matching :not(). In the
   contents list every item is a link and nothing else, so there is no adjacent
   text to tell it apart from — underlining all 17 would only add noise. */
.toc li a:not(.btn),
.footer-col a:not(.btn),
.footer-bottom a:not(.btn) { text-decoration: none; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: rgba(46, 204, 113, 0.28); color: #fff; }

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-elev); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
}

.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }

h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.15rem; }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-muted); }

.text-muted { color: var(--ink-muted); }
.text-small { font-size: .875rem; }

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 14, 12, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { color: var(--ink); }
.brand small {
  display: block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-muted);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--brand-400); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border-str);
  border-radius: var(--radius-sm);
  color: var(--ink);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 26px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { display: flex; }
.mobile-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav hr { border: 0; border-top: 1px solid var(--border); margin: 10px 0; }

@media (max-width: 1040px) {
  .nav, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .935rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--brand-500); color: #06120B; }
.btn--primary:hover { background: var(--brand-400); color: #06120B; box-shadow: 0 10px 30px rgba(46, 204, 113, 0.28); }

.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--border-str); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--ink); }

.btn--outline { background: transparent; color: var(--brand-400); border-color: rgba(46, 204, 113, 0.4); }
.btn--outline:hover { background: rgba(46, 204, 113, 0.1); color: var(--brand-300); }

.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Sign-in button gets a deliberately distinct, always-visible treatment */
.btn--signin {
  background: rgba(46, 204, 113, 0.12);
  color: var(--brand-300);
  border-color: rgba(46, 204, 113, 0.35);
}
.btn--signin:hover { background: rgba(46, 204, 113, 0.2); color: var(--brand-300); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Google Play badge-style button */
.btn--play {
  background: #fff;
  color: #0A0E0C;
  padding: 10px 20px 10px 16px;
  gap: 12px;
  text-align: left;
}
.btn--play:hover { background: #F1F5F2; color: #0A0E0C; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.btn--play svg { width: 26px; height: 26px; }
.btn--play .play-copy { display: flex; flex-direction: column; line-height: 1.15; }
.btn--play .play-copy small { font-size: .625rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; opacity: .65; }
.btn--play .play-copy strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: 1100px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(46, 204, 113, 0.16) 0%, rgba(46, 204, 113, 0) 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero { padding: 60px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { max-width: 560px; margin-bottom: 30px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(46, 204, 113, 0.09);
  border: 1px solid rgba(46, 204, 113, 0.24);
  color: var(--brand-300);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.pill b {
  background: var(--brand-500);
  color: #06120B;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-note { margin-top: 18px; font-size: .84rem; color: var(--ink-faint); }

/* Phone mock-up used in the hero */
.device {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 34px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-str);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.device::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
}
.device-head {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.device-head img { width: 22px; height: 22px; border-radius: 5px; }
.device-head strong { font-size: .82rem; }
.device-head span { margin-left: auto; font-size: .65rem; color: var(--brand-400); font-weight: 700; letter-spacing: .06em; }

.alert-card {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-500);
  border-radius: 10px;
  padding: 11px 12px;
}
.alert-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.alert-card .amt { font-size: .98rem; font-weight: 800; color: var(--brand-300); letter-spacing: -0.02em; }
.alert-card .bank { font-size: .72rem; font-weight: 700; color: var(--ink); }
.alert-card .meta { font-size: .66rem; color: var(--ink-faint); margin-top: 4px; }
.alert-card .branch {
  display: inline-block;
  margin-top: 7px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-400);
  background: rgba(46, 204, 113, .1);
  border-radius: 5px;
  padding: 2px 7px;
}
.device-foot {
  margin-top: auto;
  font-size: .62rem;
  color: var(--ink-faint);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 9px;
}

/* ---------------------------------------------------------------- stats -- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-elev); padding: 26px 22px; }
.stat b {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--brand-400);
  line-height: 1.1;
}
.stat span { display: block; font-size: .85rem; color: var(--ink-muted); margin-top: 5px; }

/* ---------------------------------------------------------------- cards -- */

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card--link:hover { border-color: rgba(46, 204, 113, .38); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--ink-muted); font-size: .93rem; }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.18);
  margin-bottom: 16px;
}
.icon svg { width: 21px; height: 21px; color: var(--brand-400); }

/* Product cards */
.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product:hover { border-color: rgba(46, 204, 113, .34); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product--feature {
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(46, 204, 113, .1), transparent 65%),
    var(--surface);
  border-color: rgba(46, 204, 113, .26);
}
.product-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.product-top .icon { margin-bottom: 0; }
.product h3 { font-size: 1.28rem; letter-spacing: -0.025em; margin-bottom: 3px; }
.product .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.product p { color: var(--ink-muted); font-size: .95rem; }
.product .btn-row { margin-top: auto; padding-top: 22px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid var(--border-str);
  color: var(--ink-muted);
  background: rgba(255, 255, 255, .03);
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
}
.tag--live { color: var(--brand-300); border-color: rgba(46, 204, 113, .34); background: rgba(46, 204, 113, .1); }
.tag--dev { color: #E0B252; border-color: rgba(224, 178, 82, .32); background: rgba(224, 178, 82, .09); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Checklist */
.checks { list-style: none; display: grid; gap: 11px; margin-top: 18px; }
.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-muted);
  font-size: .93rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 204, 113, .13);
  border: 1px solid rgba(46, 204, 113, .3);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .72em;
  width: 6px;
  height: 3px;
  border-left: 1.8px solid var(--brand-400);
  border-bottom: 1.8px solid var(--brand-400);
  transform: rotate(-45deg);
}
.checks strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------- bank chips -- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------- steps -- */

.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative;
  padding-left: 60px;
  min-height: 44px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, .1);
  border: 1px solid rgba(46, 204, 113, .24);
  color: var(--brand-400);
  font-weight: 800;
  font-size: 1rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 4px; }
.step p { color: var(--ink-muted); font-size: .93rem; }

/* ---------------------------------------------------------------- video -- */

.video-block {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) {
  .video-block { grid-template-columns: 1fr; gap: 30px; }
}
.video-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-str);
  background: linear-gradient(165deg, var(--surface-3), #050A07);
  box-shadow: var(--shadow-lg);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Click-to-play facade: nothing is requested from YouTube until the user asks. */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-family: inherit;
  color: var(--ink);
}
/* The poster is blurred on purpose: it sets the scene without making the
   account and reference numbers in the video frame legible on a public page. */
.video-facade img {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  opacity: .5;
  filter: blur(6px) saturate(115%);
  transition: opacity .25s ease, transform .35s ease;
}
.video-facade:hover img { opacity: .62; transform: scale(1.04); }
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 10, 7, .94) 0%, rgba(5, 10, 7, .42) 45%, rgba(5, 10, 7, .62) 100%);
}
.video-facade .play {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: auto;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #06120B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 34px rgba(46, 204, 113, .38);
  transition: transform .2s ease;
}
.video-facade:hover .play { transform: scale(1.08); }
.video-facade .play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-facade .label {
  position: relative;
  z-index: 1;
  padding: 0 18px 22px;
  text-align: center;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.4;
}
.video-facade .label small {
  display: block;
  font-weight: 500;
  color: var(--ink-muted);
  font-size: .74rem;
  margin-top: 3px;
}

/* ------------------------------------------------------------------ faq -- */

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(46, 204, 113, .3); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--brand-400);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 12px; color: var(--ink-muted); font-size: .93rem; }

/* ------------------------------------------------------------------- cta -- */

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 204, 113, .26);
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(46, 204, 113, .14), transparent 70%),
    var(--surface);
  padding: 56px 32px;
  text-align: center;
  overflow: hidden;
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-muted); max-width: 520px; margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------- legal pages -- */

.page-head {
  padding: 56px 0 30px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.page-head h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-head .lede { max-width: 620px; }
.page-head .updated {
  display: inline-block;
  margin-top: 16px;
  font-size: .8rem;
  color: var(--ink-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 13px;
}

.prose { padding: 48px 0 72px; }
.prose h2 {
  font-size: 1.2rem;
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--ink);
}
.prose > .prose-intro + h2, .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1rem; margin: 24px 0 8px; color: var(--brand-300); }
.prose p, .prose li { color: var(--ink-muted); }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 1.25em; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose-intro { font-size: 1.04rem; color: var(--ink); margin-bottom: 32px; }

.callout {
  border: 1px solid rgba(46, 204, 113, .26);
  background: rgba(46, 204, 113, .07);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 22px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-color: rgba(224, 178, 82, .3); background: rgba(224, 178, 82, .07); }

.table-wrap { overflow-x: auto; margin: 20px 0 24px; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 540px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
td { color: var(--ink-muted); }
tr:last-child td { border-bottom: 0; }

/* Table of contents for legal pages */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.toc h2 { font-size: .78rem !important; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
.toc ol { margin: 0 0 0 1.1em; gap: 5px; }
.toc li { color: var(--ink-muted); font-size: .89rem; }

/* --------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
.footer-about p { color: var(--ink-muted); font-size: .89rem; max-width: 320px; margin-top: 14px; }
.footer-col h3 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--ink-muted);
  font-size: .89rem;
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--brand-400); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: .82rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom nav a { color: var(--ink-faint); }
.footer-bottom nav a:hover { color: var(--brand-400); }

/* --------------------------------------------------------------- misc -- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-500);
  color: #06120B;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #06120B; }

/* Available to screen readers and to the heading outline, but not painted.
   Used for the headings that name a group of cards the design labels only by
   layout, so the outline never jumps a level. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.divider { height: 1px; background: var(--border); border: 0; margin: 44px 0; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .wrap { padding-inline: 18px; }
  .card, .product { padding: 22px; }
  .cta { padding: 40px 22px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
}

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