:root {
  --bg: #f4f8f7;
  --card: #fafcfc;
  --ink: #111827;
  --ink-soft: rgba(17, 24, 39, 0.55);
  --ink-faint: rgba(17, 24, 39, 0.32);
  --teal: #2a9d8f;
  --teal-dark: #16786d;
  --teal-wash: rgba(42, 157, 143, 0.12);
  --orange: #e8622a;
  --orange-dark: #bf4c1e;
  --orange-wash: rgba(232, 98, 42, 0.12);
  --line: rgba(17, 24, 39, 0.08);
  --shadow-card: 0 6px 20px rgba(17, 24, 39, 0.055);
  --shadow-phone: 0 18px 44px rgba(17, 24, 39, 0.16);
  --max-width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--teal-dark);
}

.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;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 24px 76px;
  text-align: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.065);
  content: "";
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  top: 48px;
  left: -124px;
}

.hero::after {
  right: -118px;
  bottom: -176px;
  background: rgba(232, 98, 42, 0.06);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 23px;
  box-shadow: 0 5px 18px rgba(17, 24, 39, 0.12);
}

.brand-name {
  margin: 16px 0 0;
  color: #1f2b2a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--orange-wash);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232, 98, 42, 0.12);
}

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

h1 {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 24px;
}

.hero__lede {
  max-width: 520px;
  margin: 21px auto 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.signup-form {
  position: relative;
  display: flex;
  width: min(100%, 450px);
  gap: 10px;
}

.signup-form--hero {
  margin-top: 33px;
}

.signup-form input[type="email"] {
  min-width: 0;
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 11px;
  outline: none;
  background: rgba(250, 252, 252, 0.9);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(17, 24, 39, 0.34);
}

.signup-form input[type="email"]:focus {
  border-color: rgba(42, 157, 143, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.12);
}

.signup-form button {
  flex: 0 0 auto;
  padding: 14px 24px;
  border: 0;
  border-radius: 11px;
  background: var(--teal);
  color: #042c26;
  cursor: pointer;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.signup-form button:hover {
  background: #40aa9d;
  box-shadow: 0 7px 16px rgba(42, 157, 143, 0.2);
  transform: translateY(-1px);
}

.signup-form button:focus-visible {
  outline: 3px solid rgba(232, 98, 42, 0.55);
  outline-offset: 3px;
}

.signup-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-message {
  min-height: 20px;
  margin: 11px 0 -1px;
  color: var(--teal-dark);
  font-size: 13px;
  line-height: 1.45;
}

.form-message.is-error {
  color: #bd3328;
}

.fine-print {
  margin: 3px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
}

.screenshots {
  padding: 18px 24px 0;
}

.screenshots__inner {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 4vw, 52px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.phone__frame {
  width: min(100%, 286px);
  padding: 10px;
  border-radius: 43px;
  background: #1f2b2a;
  box-shadow: var(--shadow-phone);
}

.phone__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  background: #e7ecec;
}

.phone--side .phone__frame {
  width: min(100%, 244px);
  transform: translateY(28px);
}

.phone figcaption {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 136px 24px 84px;
}

.section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 11px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

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

.feature-card {
  min-height: 210px;
  padding: 25px 22px 22px;
  border: 1px solid rgba(17, 24, 39, 0.045);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-wash);
  color: var(--teal);
  font-size: 21px;
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

.cta {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 76px 24px 78px;
  text-align: center;
}

.cta__inner > p:not(.section-kicker):not(.form-message) {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.signup-form--footer {
  margin-top: 30px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 23px 24px 27px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.4;
}

.site-footer a {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 66px;
  }

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

  .site-footer__inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 50px 20px 62px;
  }

  .app-icon {
    width: 82px;
    height: 82px;
    border-radius: 20px;
  }

  .brand-name {
    margin-top: 13px;
    font-size: 25px;
  }

  .eyebrow {
    margin-top: 16px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .hero h1 {
    margin-top: 21px;
    font-size: clamp(38px, 11vw, 53px);
  }

  .hero__lede {
    margin-top: 18px;
    font-size: 16px;
  }

  .signup-form {
    flex-direction: column;
    gap: 9px;
  }

  .signup-form--hero,
  .signup-form--footer {
    margin-top: 27px;
  }

  .signup-form button {
    width: 100%;
  }

  .screenshots {
    padding: 4px 12px 0;
    overflow: hidden;
  }

  .screenshots__inner {
    width: 680px;
    max-width: none;
    gap: 12px;
    justify-content: center;
    transform: translateX(calc((100vw - 680px) / 2));
  }

  .phone__frame {
    width: 224px;
    padding: 8px;
    border-radius: 34px;
  }

  .phone__frame img {
    border-radius: 27px;
  }

  .phone--side .phone__frame {
    width: 190px;
    transform: translateY(20px);
  }

  .phone {
    gap: 10px;
  }

  .phone figcaption {
    font-size: 12px;
  }

  .features {
    padding: 104px 20px 65px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    min-height: 0;
    padding: 19px 16px 18px;
  }

  .feature-card__icon {
    width: 37px;
    height: 37px;
    margin-bottom: 14px;
    border-radius: 10px;
    font-size: 18px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .cta__inner {
    padding: 60px 20px 62px;
  }

  .cta__inner > p:not(.section-kicker):not(.form-message) {
    font-size: 15px;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 8px;
    padding: 21px 20px 24px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
