:root {
  --ink: #102126;
  --muted: #5f6f73;
  --line: #d9e4e3;
  --paper: #fbf8f2;
  --white: #ffffff;
  --teal: #0e7c75;
  --mint: #b9efe3;
  --amber: #ffb84d;
  --coral: #f26d5b;
  --blue: #285f89;
  --charcoal: #13292f;
  --shadow: 0 24px 80px rgba(16, 33, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 228, 227, 0.8);
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #30484d;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  padding: 10px 0;
}

.nav-cta,
.button {
  border-radius: 999px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-cta {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 76px 0 58px;
  background:
    radial-gradient(circle at 86% 18%, rgba(40, 95, 137, 0.18), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(242, 109, 91, 0.18), transparent 26%),
    linear-gradient(115deg, rgba(185, 239, 227, 0.52), rgba(255, 184, 77, 0.14) 42%, rgba(242, 109, 91, 0.12)),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.35rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-text,
.section p,
.pricing-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 650px;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 34px;
}

.store-button {
  min-width: 188px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(16, 33, 38, 0.15);
  border-radius: 999px;
  padding: 9px 18px;
  color: #0d1d22;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(16, 33, 38, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(16, 33, 38, 0.14);
}

.store-button svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-button span,
.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  color: #64767b;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.1;
}

.store-button strong {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.1;
}

.store-button.dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.store-button.dark small {
  color: rgba(255, 255, 255, 0.72);
}

.stacked-store-buttons {
  display: grid;
  gap: 10px;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 18px 46px rgba(14, 124, 117, 0.28);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.store-row {
  margin-top: 18px;
  color: #3d575c;
  font-size: 0.92rem;
  font-weight: 800;
}

.store-row span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 9px 13px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(360px, 86vw);
  aspect-ratio: 0.52;
  border-radius: 44px;
  padding: 13px;
  background: #0d1d22;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(160deg, #e8fff8 0%, #ffffff 45%, #fff2d9 100%);
}

.phone-status,
.bottom-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
  color: #163136;
}

.status-dot {
  width: 40px;
  height: 12px;
  border-radius: 999px;
  background: #0d1d22;
}

.alarm-ring {
  position: relative;
  height: 198px;
  display: grid;
  place-items: center;
}

.ring {
  position: absolute;
  width: 148px;
  height: 148px;
  border: 2px solid rgba(14, 124, 117, 0.32);
  border-radius: 50%;
  animation: pulse 2.8s ease-in-out infinite;
}

.ring-two {
  width: 190px;
  height: 190px;
  animation-delay: 0.55s;
  border-color: rgba(255, 184, 77, 0.46);
}

.alarm-core {
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 38px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), #102126 74%);
  box-shadow: 0 18px 44px rgba(14, 124, 117, 0.32);
}

.alarm-core span {
  font-size: 0.76rem;
  font-weight: 900;
}

.alarm-core strong {
  font-size: 2rem;
  letter-spacing: 0;
}

.phone-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.phone-title span,
.phone-title strong {
  display: block;
  font-size: 0.78rem;
}

.phone-title span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.phone-title strong {
  color: var(--teal);
}

.mission-card {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 9px;
  border: 1px solid rgba(16, 33, 38, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
}

.mission-card.active {
  border-color: rgba(14, 124, 117, 0.3);
  box-shadow: 0 14px 36px rgba(14, 124, 117, 0.13);
}

.mission-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.mission-card b,
.mission-card small,
.mission-card em {
  display: block;
}

.mission-card div {
  flex: 1;
}

.mission-card small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.76rem;
}

.mission-card em {
  color: var(--teal);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
}

.bottom-tabs {
  margin-top: 10px;
  border-radius: 18px;
  padding: 10px;
  background: #102126;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.77rem;
}

.bottom-tabs .selected {
  color: var(--white);
  background: var(--teal);
  border-radius: 12px;
  padding: 8px 10px;
}

.signal-card {
  position: absolute;
  z-index: 2;
  width: 198px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(16, 33, 38, 0.14);
  backdrop-filter: blur(18px);
}

.signal-card b,
.signal-card span {
  display: block;
}

.signal-card span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.signal-left {
  top: 112px;
  left: 6px;
}

.signal-right {
  right: 0;
  bottom: 98px;
}

.trust-band {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(16, 33, 38, 0.1);
  overflow: hidden;
}

.trust-band div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 1.2rem;
}

.trust-band span {
  color: var(--muted);
  margin-top: 5px;
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: start;
}

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

.feature-card,
.wide-card,
.pricing-card,
.ai-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 33, 38, 0.08);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
}

.feature-card span {
  color: var(--coral);
  font-weight: 900;
  display: block;
  margin-bottom: 34px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.ai-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: var(--charcoal);
  color: var(--white);
}

.ai-section .eyebrow,
.ai-section p {
  color: #b9efe3;
}

.ai-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.verification-panel {
  min-height: 520px;
  border-radius: 34px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(185, 239, 227, 0.16), rgba(255, 184, 77, 0.08)),
    #0d1d22;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  align-content: end;
  gap: 16px;
}

.scan-window {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #285f89, #0e7c75 64%, #ffb84d);
}

.scan-window::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
}

.scan-line {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 54%;
  height: 3px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 28px var(--mint);
  animation: scan 3.2s ease-in-out infinite;
}

.camera-label {
  position: absolute;
  left: 22px;
  top: 22px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(13, 29, 34, 0.7);
  font-size: 0.74rem;
  font-weight: 900;
}

.verify-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  border-radius: 22px;
  padding: 16px;
  color: var(--ink);
  background: var(--white);
}

.checkmark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  position: relative;
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 10px;
  height: 18px;
  border: solid var(--white);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.verify-result small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

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

.ai-list article {
  padding: 24px;
  color: var(--ink);
}

.mission-showcase article {
  min-height: 230px;
}

.mission-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
}

.ai-list p {
  color: var(--muted);
}

.wide-card {
  padding: 28px;
  min-height: 190px;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 42px;
  align-items: center;
}

.pricing-card {
  padding: 28px;
}

.pricing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pricing-top span {
  color: var(--teal);
  font-weight: 900;
  font-size: 1.5rem;
}

.pricing-top strong {
  color: var(--blue);
  font-size: 0.94rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.pricing-card li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #2f474c;
  font-weight: 700;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
}

.support {
  padding-top: 50px;
}

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

.faq-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  text-align: left;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.faq-item span {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq-item small {
  display: none;
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0 0;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-hero {
  margin-bottom: 38px;
}

.legal-hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  margin-bottom: 14px;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 800;
}

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

.legal-content article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 33, 38, 0.07);
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 900;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content li {
  color: var(--muted);
  line-height: 1.75;
  margin: 8px 0;
}

.legal-content strong {
  color: var(--ink);
}

.legal-intro {
  background:
    linear-gradient(135deg, rgba(185, 239, 227, 0.34), rgba(255, 255, 255, 0.92)),
    var(--white);
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 38px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  margin-bottom: 18px;
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.page-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 33, 38, 0.07);
}

.page-card.wide {
  grid-column: span 2;
}

.page-card.full {
  grid-column: 1 / -1;
}

.page-card h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.75;
}

.page-card ul {
  margin: 0;
  padding-left: 20px;
}

.page-card .store-button {
  margin-top: 18px;
}

.contact-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 96px;
  border-radius: 30px;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--charcoal));
}

.contact-panel a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-112px);
  }
  50% {
    transform: translateY(112px);
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(16, 33, 38, 0.14);
  }

  .nav-links.open {
    display: flex;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 14px 12px;
  }

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

  .page-card.wide {
    grid-column: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .ai-layout,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 600px;
  }

  .signal-left {
    left: 0;
    top: 42px;
  }

  .signal-right {
    right: 0;
    bottom: 54px;
  }

  .trust-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-band div:nth-child(2) {
    border-right: 0;
  }

  .trust-band div:nth-child(1),
  .trust-band div:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .hero-grid,
  .trust-band,
  .section,
  .footer,
  .page-hero,
  .page-grid,
  .contact-panel {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    font-size: 0.94rem;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-frame {
    width: min(320px, 88vw);
    transform: rotate(0deg);
  }

  .signal-card {
    width: 166px;
    padding: 13px;
  }

  .signal-card span {
    font-size: 0.8rem;
  }

  .feature-grid,
  .wide-grid,
  .ai-list,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .ai-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .verification-panel {
    min-height: 440px;
    padding: 16px;
  }

  .scan-window {
    min-height: 280px;
  }

  .pricing {
    gap: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
