:root {
  --emerald: #0D8A5E;
  --emerald-dark: #086846;
  --emerald-light: #14B88A;
  --emerald-mint: #5EEAD4;
  --emerald-soft: #E8F4EE;
  --bg: #F4F6F5;
  --card: #FFFFFF;
  --muted: #EDF1EF;
  --ink: #111816;
  --muted-ink: #56635E;
  --border: #E4E9E7;
  --hero-dark: #061A14;
  --hero-mid: #0C3124;
  --radius-card: 20px;
  --radius-inner: 12px;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Top Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 26, 20, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(236, 253, 245, 0.84);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  text-decoration: none;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--emerald);
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--emerald-dark);
}

/* Dark Floodlit Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(85% 65% at 50% 10%, rgba(20, 184, 138, 0.22) 0%, rgba(13, 138, 94, 0.06) 55%, transparent 78%),
    linear-gradient(170deg, #04130E 0%, var(--hero-dark) 48%, var(--hero-mid) 100%);
  color: #F5FAF7;
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(94, 234, 212, 0.08), transparent 60%),
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 96px 96px, 96px 96px;
  pointer-events: none;
}

.hero-compact {
  padding: 56px 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: var(--emerald-mint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.hero-sub {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: rgba(226, 244, 235, 0.86);
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--emerald);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(13, 138, 94, 0.38);
}

.btn-primary:hover {
  background: #109F6C;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Staged iPhone Showcase inside Hero */
.hero-stage {
  position: relative;
  z-index: 2;
  margin-top: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}

.phone-frame {
  position: relative;
  width: 260px;
  padding: 8px;
  border-radius: 40px;
  background: linear-gradient(145deg, #3c4743 0%, #161b19 48%, #2a332f 100%);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.phone-frame.phone-main {
  width: 292px;
  z-index: 3;
}

.phone-frame.phone-side {
  transform: translateY(14px) scale(0.94);
  opacity: 0.92;
}

.phone-screen {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: #F4F6F5;
  aspect-ratio: 1206 / 2622;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 21px;
  border-radius: 12px;
  background: #060708;
  z-index: 4;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 10px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-header p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1.0625rem;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 6px 24px rgba(17, 24, 22, 0.03);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.96rem;
}

/* Screenshot Gallery */
.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-item .phone-frame {
  width: 100%;
  max-width: 245px;
  box-shadow: 0 22px 48px rgba(17, 24, 22, 0.14);
}

.gallery-caption {
  margin-top: 16px;
}

.gallery-caption strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-caption span {
  font-size: 0.9rem;
  color: var(--muted-ink);
}

/* Tier Cards */
.tier-card {
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  border-color: var(--emerald);
  box-shadow: 0 12px 32px rgba(13, 138, 94, 0.10);
}

.tier-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--muted-ink);
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* Privacy / Callout Banner */
.callout-banner {
  background: linear-gradient(135deg, #08231A 0%, #0E3A2B 100%);
  color: #F5FAF7;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.callout-banner h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
}

.callout-banner p {
  margin: 0;
  max-width: 620px;
  color: rgba(226, 244, 235, 0.86);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

details.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.03rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--emerald);
  font-weight: 600;
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item .faq-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--muted-ink);
  font-size: 0.96rem;
}

/* Legal / Privacy Prose */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
}

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

.trust-chip {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}

.trust-chip strong {
  display: block;
  font-size: 0.92rem;
  color: var(--emerald-dark);
}

.trust-chip span {
  font-size: 0.82rem;
  color: var(--muted-ink);
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted-ink);
  font-size: 0.97rem;
}

.legal-card ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-table th {
  background: var(--muted);
  color: var(--ink);
  font-weight: 700;
}

.notice-box {
  background: var(--emerald-soft);
  border: 1px solid #C5E4D4;
  border-radius: var(--radius-inner);
  padding: 16px 18px;
  margin: 14px 0 20px;
  color: #0D3A29;
  font-size: 0.94rem;
}

.placeholder-mark {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px dashed #D97706;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #0D1714;
  color: rgba(236, 253, 245, 0.72);
  padding: 38px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-links a {
  color: rgba(236, 253, 245, 0.85);
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phone-frame.phone-side {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }
  .nav-inner {
    gap: 10px;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.875rem;
  }
  .nav-links .hide-mobile {
    display: none;
  }
  .grid-3, .grid-2, .grid-4, .trust-strip {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 44px 0 56px;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .phone-frame.phone-main {
    width: 264px;
  }
  .legal-card {
    padding: 24px 18px;
  }
  .callout-banner {
    padding: 28px 20px;
  }
  .legal-table {
    display: block;
    overflow-x: auto;
  }
}
