:root {
  --bg: #f4f6f5;
  --bg-deep: #e4ebe7;
  --ink: #0f1a15;
  --muted: #6b7280;
  --primary: #1b4332;
  --accent: #2d6a4f;
  --accent-soft: #52b788;
  --surface: #ffffff;
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Syne", "Plus Jakarta Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(45, 106, 79, 0.28), transparent 55%),
    radial-gradient(900px 600px at -10% 20%, rgba(27, 67, 50, 0.18), transparent 50%),
    linear-gradient(180deg, #eef3f0 0%, var(--bg) 38%, #e8f0eb 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(15, 26, 21, 0.12);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  color: var(--surface) !important;
  background: var(--primary);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vw, 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: min(88vh, 820px);
}

.hero-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(15, 26, 21, 0.16);
  margin-bottom: 1.1rem;
  background: #fff;
  animation: rise 0.9s ease both;
  object-fit: contain;
}

.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--primary);
  animation: rise 0.9s ease 0.05s both;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 16ch;
  animation: rise 0.9s ease 0.1s both;
  text-align: center;
}

.lede {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.9s ease 0.16s both;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s ease 0.24s both;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--surface);
}

.btn-primary:hover {
  background: #143528;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px rgba(27, 67, 50, 0.28);
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: float-in 1.1s ease 0.2s both;
}

.phone {
  position: relative;
  width: min(100%, 320px);
}

.phone-glow {
  position: absolute;
  inset: 8% -8% -8%;
  background: radial-gradient(circle at 50% 40%, rgba(82, 183, 136, 0.45), transparent 65%);
  filter: blur(18px);
  animation: pulse 4.5s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  border-radius: 32px;
  padding: 1.15rem 1.1rem 1.25rem;
  background: linear-gradient(165deg, #15201c 0%, #1b4332 48%, #0f1a15 100%);
  color: #f3f6f4;
  box-shadow:
    0 30px 60px rgba(15, 26, 21, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-status {
  height: 8px;
  width: 38%;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.phone-brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  color: var(--accent-soft);
}

.phone-balance span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.7;
}

.phone-balance strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.phone-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
  align-items: end;
  height: 84px;
  margin: 1.2rem 0 1.1rem;
}

.phone-bars i {
  display: block;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--accent-soft), rgba(45, 106, 79, 0.45));
  transform-origin: bottom;
  animation: grow 1.1s ease both;
}

.phone-bars i:nth-child(2) { animation-delay: 0.05s; }
.phone-bars i:nth-child(3) { animation-delay: 0.1s; }
.phone-bars i:nth-child(4) { animation-delay: 0.15s; }
.phone-bars i:nth-child(5) { animation-delay: 0.2s; }
.phone-bars i:nth-child(6) { animation-delay: 0.25s; }

.phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.phone-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
}

.phone-list em {
  font-style: normal;
  font-weight: 600;
}

.phone-list .in {
  color: var(--accent-soft);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.section-head p,
.plans article p,
.download-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-grid article {
  padding: 1.25rem 0 0.25rem;
  border-top: 1.5px solid rgba(27, 67, 50, 0.18);
}

.feature-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plan-row article {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 67, 50, 0.1);
}

.plan-row .featured {
  background: var(--primary);
  color: #f3f6f4;
  border-color: transparent;
  transform: translateY(-4px);
}

.plan-row .featured p {
  color: rgba(243, 246, 244, 0.78);
}

.plan-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.price {
  font-size: 1.55rem !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 0.55rem !important;
  letter-spacing: -0.03em;
}

.featured .price {
  color: #fff !important;
}

.price span {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.75;
}

.download-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(27, 67, 50, 0.95), rgba(45, 106, 79, 0.92)),
    var(--primary);
  color: #f3f6f4;
  text-align: center;
}

.download-panel h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.download-panel p {
  color: rgba(243, 246, 244, 0.78);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.4rem auto 0.85rem;
  max-width: 460px;
}

.waitlist input {
  flex: 1 1 220px;
  min-width: 0;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.waitlist .btn-primary {
  background: #0f1a15;
}

.fine {
  font-size: 0.85rem !important;
}

.fine a {
  color: #fff;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
}

.foot a {
  color: var(--accent);
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal-wrap h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}

.legal-wrap .meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.legal-wrap h2 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
}

.legal-wrap p,
.legal-wrap li {
  color: #24312b;
}

.legal-wrap ul {
  padding-left: 1.2rem;
}

.legal-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow {
  from {
    transform: scaleY(0.2);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-copy {
    text-align: left;
  }

  .feature-grid,
  .plan-row {
    grid-template-columns: 1fr 1fr;
  }

  .plan-row .featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .top-nav a:not(.nav-cta) {
    display: none;
  }

  .feature-grid,
  .plan-row {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
