:root {
  --primary: #12ad4a;
  --primary-dark: #087a31;
  --primary-soft: #e8f8ee;
  --ink: #111827;
  --muted: #667085;
  --line: #dfe7e2;
  --panel: #ffffff;
  --paper: #f6faf7;
  --black: #050705;
  --warning: #f5b84b;
  --sky: #2d8cff;
  --rose: #e05666;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(10, 36, 20, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--panel);
  line-height: 1.65;
  letter-spacing: 0;
}

body.loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 231, 226, 0.76);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img,
.logo-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--black);
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: #344054;
}

.nav-links a {
  text-decoration: none;
  font-weight: 650;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(18, 173, 74, 0.26);
}

.btn.secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: #b6e9c8;
}

.btn.dark {
  background: var(--black);
  color: #fff;
}

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 64px 0;
}

.band {
  background: var(--paper);
}

.dark-band {
  background: var(--black);
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark-band .eyebrow,
.hero .eyebrow {
  color: #7df4a6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.13rem;
}

.dark-band .lead,
.hero .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 66px 0 78px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 7, 5, 0.9), rgba(5, 7, 5, 0.68) 48%, rgba(5, 7, 5, 0.34)),
    var(--hero-image) center/cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  padding: 38px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  max-width: 720px;
}

.proof-item {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  display: block;
  font-size: 1.35rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.terminal-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(7, 15, 10, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sparkline {
  height: 170px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 173, 74, 0.2), rgba(18, 173, 74, 0.02));
}

.sparkline::before {
  content: "";
  position: absolute;
  inset: 24px 18px;
  background:
    linear-gradient(140deg, transparent 4%, #36e076 4% 7%, transparent 7% 18%, #36e076 18% 21%, transparent 21% 34%, #36e076 34% 37%, transparent 37% 50%, #36e076 50% 53%, transparent 53% 70%, #36e076 70% 73%, transparent 73%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 42px);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.metric {
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.metric b {
  display: block;
  color: #fff;
}

.metric small {
  color: rgba(255, 255, 255, 0.62);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #dcebe0;
}

.image-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.token {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.step {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-num {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font-weight: 900;
}

.value-grid,
.card-grid,
.contact-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.05);
}

.info-card.dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 34px;
}

.quote {
  min-height: 190px;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.quote strong {
  display: block;
  margin-top: 18px;
  color: var(--primary-dark);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
}

.site-footer {
  padding: 54px 0 32px;
  background: #07100a;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 28px 0;
}

.footer-links a {
  text-decoration: none;
}

.page-hero {
  padding: 88px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(18, 173, 74, 0.18), transparent 28%),
    linear-gradient(135deg, #07100a, #101b13);
  color: #fff;
}

.page-hero .lead {
  max-width: 760px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

.legal-nav p {
  margin: 0 0 14px;
  font-weight: 900;
}

.legal-nav a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.legal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  background: #fff;
  box-shadow: var(--shadow);
}

.legal-content section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.updated {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

label {
  color: #344054;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cad6ce;
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(18, 173, 74, 0.18);
  border-color: var(--primary);
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.checkline input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-note {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 750;
}

.contact-image img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.store-button {
  display: inline-flex;
  min-width: 184px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--black);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.phone-preview {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 12px solid #111;
  border-radius: 34px;
  background: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-preview img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.compat-list {
  display: grid;
  gap: 12px;
}

.compat-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.h5-page {
  background: #fff;
}

.h5-shell {
  width: min(720px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.h5-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.h5-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (max-width: 920px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .site-header.open .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.open .nav-links a {
    padding: 13px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .form-shell,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .terminal-panel {
    max-width: 520px;
  }

  .steps,
  .value-grid,
  .card-grid,
  .contact-grid,
  .download-grid,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 58px 0 48px;
  }

  .hero {
    padding: 42px 0 54px;
    background:
      linear-gradient(180deg, rgba(5, 7, 5, 0.86), rgba(5, 7, 5, 0.58)),
      var(--hero-image) center/cover no-repeat;
  }

  .hero-proof,
  .steps,
  .value-grid,
  .card-grid,
  .contact-grid,
  .download-grid,
  .quote-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .image-frame img,
  .phone-preview img {
    height: 360px;
  }

  .cta-band {
    display: grid;
    padding: 26px;
  }

  .legal-content,
  .contact-form {
    padding: 22px;
  }
}
