:root {
  --ink: #07110b;
  --paper: #f7fbf8;
  --muted: #5c6f63;
  --line: rgba(7, 17, 11, 0.12);
  --green: #11a84b;
  --green-dark: #087b36;
  --green-soft: #dff7e8;
  --mint: #7bf5a2;
  --gold: #f2b84b;
  --blue: #2d7ff9;
  --panel: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(7, 17, 11, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 11, 0.92);
  color: #fff;
  backdrop-filter: blur(16px);
}

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

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

.brand img,
.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(17, 168, 75, 0.24);
}

.btn.secondary {
  background: #0e1c13;
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 88px 0;
}

.section.dark {
  background: #07110b;
  color: #fff;
}

.section.soft {
  background: #edf7f0;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

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

.dark .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

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

.dark .lead {
  color: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #07110b;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 11, 0.98) 0%, rgba(7, 17, 11, 0.82) 46%, rgba(7, 17, 11, 0.2) 100%),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  align-items: center;
  min-height: 700px;
  gap: 48px;
  padding: 86px 0;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.trust-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.trust-item strong {
  display: block;
  color: var(--mint);
  font-size: 1.4rem;
  line-height: 1;
}

.terminal-panel,
.dashboard-panel,
.insight-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(6, 14, 9, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.terminal-panel {
  padding: 18px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(123, 245, 162, 0.7);
}

.chart {
  display: flex;
  align-items: end;
  height: 250px;
  gap: 7px;
  padding: 18px 4px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.candle {
  position: relative;
  flex: 1;
  min-width: 7px;
  height: var(--h);
  border-radius: 3px;
  background: var(--c);
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  bottom: -18px;
  width: 1px;
  transform: translateX(-50%);
  background: var(--c);
  opacity: 0.7;
}

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

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

.ticker span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.ticker strong {
  color: #fff;
}

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

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

.feature-lanes {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 30px;
  align-items: stretch;
}

.feature-card,
.metric-card,
.legal-card,
.contact-card,
.download-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(7, 17, 11, 0.08);
}

.feature-card {
  padding: 24px;
}

.feature-card .icon,
.info-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 900;
}

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

.visual-photo {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.process-grid,
.download-grid,
.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.step-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.dashboard-panel {
  padding: 24px;
}

.risk-meter {
  height: 18px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 38%, var(--gold) 38% 68%, #ef4d4d 68% 100%);
}

.bars {
  display: grid;
  gap: 12px;
}

.bar {
  height: 42px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar span {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--mint));
}

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

.metric-card {
  padding: 24px;
}

.metric-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
}

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

.quote {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: #07110b;
  color: #fff;
}

.page-hero {
  padding: 88px 0 64px;
  background: #07110b;
  color: #fff;
}

.page-hero .wrap {
  display: grid;
  gap: 18px;
}

.about-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

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

.focus-list {
  display: grid;
  gap: 14px;
}

.focus-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
}

.legal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 26px;
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.legal-card ul,
.feature-card ul,
.download-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

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

.contact-card,
.download-card {
  padding: 28px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: #24352a;
  font-weight: 800;
}

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

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

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.check input {
  min-height: 20px;
}

.form-status {
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.device-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.device-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

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

.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: var(--radius);
  background: #07110b;
  color: #fff;
  font-weight: 900;
}

.store-button.android {
  background: var(--green-dark);
}

.faq-item {
  padding: 20px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-top: 12px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  padding: 42px 0;
  background: #07110b;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mobile-only-page {
  background: #f7fbf8;
}

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

.h5-hero {
  padding: 28px 0;
}

.h5-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-weight: 900;
}

.h5-card {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0 16px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .split,
  .feature-lanes,
  .process-grid,
  .download-grid,
  .contact-grid,
  .legal-grid,
  .legal-shell,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 68px 0;
  }

  .trust-strip,
  .metrics,
  .quote-band,
  .principles {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .store-buttons {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 60px 0;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-actions,
  .button-row {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .ticker-row,
  .focus-item {
    grid-template-columns: 1fr;
  }

  .chart {
    height: 190px;
  }

  .visual-photo,
  .visual-photo img,
  .about-visual img,
  .device-photo img {
    min-height: 340px;
    height: 340px;
  }
}
