:root {
  color-scheme: light;
  --primary: #0f766e;
  --primary-dark: #0d6560;
  --primary-light: #ccfbf1;
  --ink: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 118, 110, 0.14);
  --surface: #ffffff;
  --paper: #f4f8f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(
      circle at top left,
      rgba(15, 118, 110, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #f8fff8 0%, #eef8ef 48%, #dff3ef 100%);
}

.hero::after {
  position: absolute;
  top: 5rem;
  right: -5rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: 999px;
  content: "";
}

.nav,
.hero-grid,
.section,
.why,
.final-cta {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand,
.nav-actions,
.cta-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand strong {
  color: var(--primary);
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 1rem;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.nav-actions,
.cta-row {
  gap: 0.75rem;
}

.link {
  padding: 0.6rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  border-radius: 1.1rem;
  background: var(--primary);
  box-shadow: 0 1rem 2rem rgba(15, 118, 110, 0.18);
  color: white;
  font-weight: 900;
  padding: 0.9rem 1.3rem;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 1.2rem 2.2rem rgba(15, 118, 110, 0.22);
}

.button-small {
  min-height: 2.6rem;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.button-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0.7rem 1.6rem rgba(15, 23, 42, 0.05);
  color: var(--primary);
}

.button-secondary:hover {
  background: white;
  color: var(--primary-dark);
}

.button-inverted {
  background: white;
  color: var(--primary);
  box-shadow: none;
}

.button-inverted:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.hero-grid {
  position: relative;
  z-index: 1;
  align-items: start;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  padding: 5rem 0 7rem;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.75rem 1.7rem rgba(15, 23, 42, 0.05);
  padding: 0.65rem 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: #07111f;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lead {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: #475569;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.cta-row {
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-composition {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.composition-bg {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(
    circle,
    rgba(15, 118, 110, 0.25) 0%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.panel-desktop {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 1.5rem;
  background: white;
  box-shadow: 0 2.5rem 5rem -1.5rem rgba(15, 23, 42, 0.25);
  overflow: hidden;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.screenshot-desktop {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top left;
}

.panel-phone {
  position: absolute;
  z-index: 2;
  bottom: -8%;
  left: -6%;
  width: 34%;
  max-width: 180px;
  border: 4px solid #0f172a;
  border-radius: 1.8rem;
  background: #0f172a;
  box-shadow: 0 2rem 4rem -1rem rgba(15, 23, 42, 0.4);
  overflow: hidden;
  transform: rotate(-3deg);
  animation: slideInPhone 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.screenshot-phone {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9/19.5;
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInPhone {
  from {
    opacity: 0;
    transform: translateY(40px) rotate(5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
  }
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 42rem;
}

.section-head-wide {
  max-width: 58rem;
}

.section-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-head h2,
.why h2,
.final-cta h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

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

.feature-grid {
  margin-top: 2.5rem;
}

.feature-card,
.trust article {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: 0 0.8rem 2rem rgba(15, 23, 42, 0.04);
  padding: 1.45rem;
}

.feature-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
}

.feature-card h3,
.trust h3 {
  margin: 1.1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.feature-card p,
.trust p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.product-proof {
  padding-top: 1rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.shot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 1.7rem;
  background: white;
  box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, 0.08);
}

.shot-card > img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-desktop {
  grid-column: 1 / -1;
  background: #f8fafc;
}

.shot-desktop > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.shot-phone {
  background: white;
}

.shot-phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 10%, rgba(15, 118, 110, 0.08), transparent 60%), #f8fafc;
  padding: 2rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.shot-phone-img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
}

.shot-card figcaption {
  margin: 0;
  padding: 1.25rem;
  background: white;
  border-top: 1px solid rgba(15, 118, 110, 0.08);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.shot-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.shot-desc {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}

.scenarios {
  padding-top: 1.5rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.scenario-card {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1rem 2.6rem rgba(15, 23, 42, 0.05);
  padding: 1.45rem;
}

.scenario-card span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scenario-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.scenario-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.featured-scenario {
  background: #0f172a;
  color: white;
}

.featured-scenario p {
  color: #cbd5e1;
}

.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  border-radius: 2rem;
  background: #0f172a;
  color: white;
  padding: 4rem;
}

.why p:not(.section-kicker) {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.75;
}

.why .section-kicker {
  color: #99f6e4;
}

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

.steps article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
}

.steps strong {
  display: block;
  color: #99f6e4;
  font-size: 2.7rem;
  font-weight: 950;
}

.steps span {
  display: block;
  margin-top: 2.2rem;
  font-weight: 800;
  line-height: 1.45;
}

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

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
  border-radius: 2rem;
  background: var(--primary);
  box-shadow: 0 1.4rem 3rem rgba(15, 118, 110, 0.18);
  color: white;
  padding: 3rem;
}

.final-cta p {
  max-width: 43rem;
  color: var(--primary-light);
  line-height: 1.7;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  max-width: 36rem;
  margin-top: 2rem;
}

.waitlist-form input[type="email"] {
  flex: 1 1 16rem;
  min-width: 0;
  height: 3.35rem;
  padding: 0.9rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 1.1rem;
  background-color: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

button.button {
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.waitlist-form-inverted {
  margin-top: 0;
}

.waitlist-form-inverted input[type="email"] {
  border-color: transparent;
  background-color: var(--surface);
}

.waitlist-form-inverted input[type="email"]:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(204, 251, 241, 0.3);
}

.waitlist-note {
  flex-basis: 100%;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.waitlist-status {
  flex-basis: 100%;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-dark);
}

.waitlist-form-inverted .waitlist-status {
  color: var(--primary-light);
}

@keyframes waitlistFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.waitlist-status:not(:empty) {
  animation: waitlistFadeIn 200ms ease-out forwards;
}

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

.honeypot {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
  border: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
  opacity: 0;
}

.community-section {
  padding: 5.5rem 0;
}

.community-content {
  margin-top: 2.5rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.community-content p + p {
  margin-top: 1.5rem;
}

.privacy-section {
  padding: 5.5rem 0;
}

.privacy-content {
  margin-top: 3rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.privacy-content h2 {
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 900;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.privacy-content h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.privacy-content p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.privacy-content code {
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary-dark);
  padding: 0.2rem 0.4rem;
  border-radius: 0.35rem;
  font-family: monospace;
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}


@media (max-width: 980px) {
  .hero-grid,
  .why,
  .final-cta {
    grid-template-columns: 1fr;
  }

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

  .trust,
  .steps,
  .screenshot-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .shot-desktop {
    grid-column: auto;
  }

  .shot-card > img,
  .shot-desktop > img {
    height: auto;
    max-height: none;
  }

  .iphone-frame img {
    height: 100%;
    max-height: none;
  }

  .hero-composition {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-grid,
  .section,
  .why,
  .final-cta {
    width: min(100% - 1.5rem, 72rem);
  }

  .nav {
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
  }

  .hero-grid {
    padding: 3rem 0 4rem;
  }

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

  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .button-small {
    width: auto;
  }

  .why,
  .final-cta {
    padding: 2rem;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .waitlist-form input[type="email"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .waitlist-form .button {
    flex: 0 0 auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .panel-phone {
    width: 38%;
    left: -4%;
    bottom: -6%;
  }
}
