/* reset/base */
:root {
  --bg: #08111f;
  --bg-strong: #050a12;
  --bg-soft: #0e1a2a;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --surface-muted: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --accent: #7dd3fc;
  --accent-strong: #38bdf8;
  --green: #a7f3d0;
  --green-strong: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(145deg, var(--bg-strong) 0%, var(--bg) 44%, #09201d 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(125, 211, 252, 0.08), transparent 34%),
    linear-gradient(245deg, rgba(52, 211, 153, 0.07), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.24) 100%);
}

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

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

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.9);
  outline-offset: 4px;
}

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

p {
  color: var(--muted);
}

ul {
  margin-top: 0;
}

/* layout */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow-page {
  width: min(100% - 40px, 820px);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 2.55rem;
  line-height: 1.08;
  font-weight: 780;
}

.section-heading p,
.page-lede {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 760;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 18, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(56, 189, 248, 0.14));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 680;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.site-nav .nav-cta {
  color: var(--bg-strong);
  background: var(--accent);
}

.site-nav .nav-cta:hover {
  color: var(--bg-strong);
  background: #bae6fd;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-weight: 720;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 66px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.4), rgba(52, 211, 153, 0.28), transparent);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 72px;
}

.hero-copy {
  max-width: 710px;
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 4.5rem;
  line-height: 0.98;
  font-weight: 820;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: 1.18rem;
}

.hero-list {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 650;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green), var(--accent));
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.08);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button-row.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #04111f;
  background: linear-gradient(135deg, var(--accent), var(--green));
  box-shadow: 0 18px 38px rgba(56, 189, 248, 0.18);
}

.button-primary:hover {
  color: #04111f;
  background: linear-gradient(135deg, #bae6fd, #bbf7d0);
}

.button-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.09);
}

.button-disabled {
  cursor: default;
}

.trust-pills,
.privacy-list,
.use-case-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pills {
  margin-top: 24px;
}

.trust-pills span,
.privacy-list span,
.use-case-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

/* mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(100%, 360px);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 18.4;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04)),
    #0b101a;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 2;
  width: 104px;
  height: 24px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #050a12;
}

.phone-status {
  position: absolute;
  top: 22px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.phone-status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.app-screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow: hidden;
  padding: 50px 17px 18px;
  border-radius: 31px;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.88) 0%, rgba(8, 17, 31, 0.96) 52%, rgba(9, 32, 29, 0.96) 100%);
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 760;
}

.local-badge {
  padding: 4px 8px;
  border-radius: 999px;
  color: #04221a;
  background: var(--green);
}

.app-screen h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.12;
}

.risk-total {
  display: grid;
  gap: 0;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 16px;
  background: rgba(125, 211, 252, 0.1);
}

.risk-total strong {
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.risk-total span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.mock-card {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.mock-card strong {
  color: var(--text);
  font-size: 0.96rem;
}

.mock-card small,
.mock-label {
  color: var(--soft);
  font-size: 0.76rem;
}

.mock-card.urgent {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(251, 191, 36, 0.09);
}

.mock-card.warning {
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.08);
}

.mock-card.calm {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
}

.proof-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.proof-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px;
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 740;
  text-align: center;
}

.mockup-caption {
  margin: 16px 0 0;
  color: var(--soft);
  font-size: 0.86rem;
  text-align: center;
}

.preview-strip-section {
  padding: 34px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.preview-strip-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.preview-strip-layout h2 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.16;
}

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

.preview-metrics div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.preview-metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.85rem;
}

.preview-metrics strong {
  color: var(--text);
}

/* cards */
.surface-band {
  background: rgba(255, 255, 255, 0.035);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three,
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-width: 0;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.feature-card {
  min-height: 250px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(125, 211, 252, 0.1);
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.card-icon.green {
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
}

.card-icon.amber {
  color: var(--amber);
  background: rgba(251, 191, 36, 0.11);
}

.card-icon.rose {
  color: var(--rose);
  background: rgba(251, 113, 133, 0.1);
}

.card h3,
.step-card h3,
.faq-item h3,
.faq-list h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.25;
}

.card p,
.step-card p,
.faq-item p,
.faq-list p {
  margin-bottom: 0;
}

/* sections */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

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

.action-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.action-item strong {
  display: block;
  color: var(--text);
}

.action-item span:not(.status-dot) {
  color: var(--soft);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.1);
}

.status-dot.urgent {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.1);
}

.status-dot.warning {
  background: var(--rose);
  box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.1);
}

.status-dot.calm {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.1);
}

.privacy-band {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(125, 211, 252, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.privacy-list {
  align-content: center;
}

.privacy-list span {
  min-height: 44px;
  border-color: rgba(167, 243, 208, 0.22);
  color: var(--text);
  background: rgba(52, 211, 153, 0.08);
}

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

.step-card {
  min-height: 238px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.step-card > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--bg-strong);
  background: var(--green);
  font-weight: 820;
}

.use-case-grid {
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.use-case-grid span {
  border-radius: var(--radius);
}

.cta-section {
  text-align: center;
}

.cta-inner {
  max-width: 820px;
  padding: 46px 36px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(125, 211, 252, 0.1), rgba(52, 211, 153, 0.08)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.cta-inner h2 {
  margin-bottom: 14px;
  font-size: 2.45rem;
  line-height: 1.1;
}

.cta-inner p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 auto 24px;
}

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

.faq-item {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

/* pages */
.subpage {
  min-height: 60vh;
}

.page-hero {
  padding: 88px 0 42px;
}

.page-hero h1 {
  margin-bottom: 12px;
  font-size: 3.8rem;
}

.page-lede a,
.policy-card a,
.faq-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content,
.support-content {
  padding: 24px 0 90px;
}

.policy-card,
.support-panel,
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.policy-card {
  padding: 36px;
}

.policy-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.policy-card h2,
.support-panel h2,
.contact-card h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.25;
}

.policy-card p:last-child,
.support-panel p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.contact-card {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.contact-card .button {
  width: 100%;
  margin: 8px 0 18px;
}

.small-note {
  color: var(--soft);
  font-size: 0.92rem;
}

.support-main {
  display: grid;
  gap: 18px;
}

.support-panel {
  padding: 26px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.faq-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.not-found {
  min-height: 54vh;
}

/* footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 10, 18, 0.74);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 40px 0 26px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-inner p {
  max-width: 580px;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 210px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 0 0 30px;
  color: var(--soft);
  font-size: 0.92rem;
}

/* responsive */
@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 42px;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-inner,
  .split-section,
  .preview-strip-layout,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .phone-mockup {
    width: min(100%, 330px);
  }

  .card-grid.three,
  .features-grid,
  .faq-grid,
  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow-page {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    flex-wrap: wrap;
    min-height: 70px;
    padding: 14px 0;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero {
    padding: 70px 0 52px;
  }

  .section {
    padding: 66px 0;
  }

  .hero h1 {
    font-size: 2.62rem;
    line-height: 1.04;
  }

  .section-heading h2,
  .page-hero h1,
  .cta-inner h2 {
    font-size: 2rem;
  }

  .hero-lede,
  .section-heading p,
  .page-lede {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .trust-pills span,
  .privacy-list span,
  .use-case-grid span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .card,
  .feature-card,
  .step-card,
  .faq-item {
    min-height: auto;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .policy-card,
  .support-panel,
  .contact-card,
  .cta-inner {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.98rem;
  }

  .hero h1 {
    font-size: 2.28rem;
  }

  .page-hero h1 {
    font-size: 2.28rem;
  }

  .phone-mockup {
    width: min(100%, 306px);
  }

  .app-screen {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
