@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fafaf9;
  --surface: #ffffff;
  --surface-muted: #f5f5f4;
  --ink: #1c1917;
  --muted: #78716c;
  --faint: #d6d3d1;
  --line: #e7e5e4;
  --green: #16a34a;
  --green-hover: #22c55e;
  --green-soft: #f0fdf4;
  --red: #b91c1c;
  --red-soft: #fef2f2;
  --shadow: 0 24px 60px rgba(28, 25, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.mono {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(100% - 32px, 1024px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 249, 0.86);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.nav .button-link {
  color: #ffffff;
}

.locale-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 10px;
  text-decoration: none;
}

.locale-link:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.button,
.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0 24px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.button:hover,
.button-link:hover {
  background: var(--green-hover);
}

.button:active {
  transform: translateY(1px);
}

.hero {
  overflow: hidden;
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

.hero-copy,
.section-heading,
.cta-inner {
  display: flex;
  flex-direction: column;
}

.hero-copy {
  gap: 28px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 12px;
  padding: 6px 12px;
}

.badge::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

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

h1 {
  max-width: 13ch;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 span {
  color: var(--muted);
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.signup-form input[type="email"] {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 12px 16px;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(120, 113, 108, 0.72);
}

.signup-form input[type="email"]:focus {
  border-color: #4ade80;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
  outline: 0;
}

.turnstile-row {
  display: flex;
  min-height: 65px;
  align-items: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  display: none;
  max-width: 520px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14px 16px;
}

.form-message.success {
  border: 1px solid #bbf7d0;
  background: var(--green-soft);
  color: #14532d;
}

.form-message.error {
  border: 1px solid #fecaca;
  background: var(--red-soft);
  color: var(--red);
}

body[data-signup="success"] .form-message.success,
body[data-signup="duplicate"] .form-message.duplicate,
body[data-signup="invalid"] .form-message.invalid,
body[data-signup="verification"] .form-message.verification,
body[data-signup="error"] .form-message.error-generic {
  display: block;
}

.note,
.legal {
  max-width: 520px;
  color: rgba(120, 113, 108, 0.72);
  font-size: 12px;
  line-height: 1.55;
}

.legal a {
  text-underline-offset: 3px;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(260px, 72vw);
}

.phone-frame {
  overflow: hidden;
  border: 8px solid rgba(28, 25, 23, 0.9);
  border-radius: 40px;
  background: rgba(28, 25, 23, 0.9);
  box-shadow: var(--shadow);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 80px;
  height: 20px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.9);
  transform: translateX(-50%);
}

.phone-shadow {
  position: absolute;
  bottom: -26px;
  left: 50%;
  width: 190px;
  height: 34px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.08);
  filter: blur(18px);
  transform: translateX(-50%);
}

.section {
  padding: 72px 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background: rgba(245, 245, 244, 0.72);
}

.section-top {
  margin-bottom: 48px;
}

.section-heading {
  gap: 12px;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

.center {
  align-items: center;
  text-align: center;
}

.center .lead {
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.feature-card:hover {
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
  transform: translateY(-1px);
}

.icon-box {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.feature-card h3,
.reason h3 {
  font-size: 16px;
  font-weight: 600;
}

.feature-card p,
.reason p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.soon {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.screenshot-grid {
  display: grid;
  gap: 28px;
}

.screenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mini-phone {
  position: relative;
  width: min(200px, 72vw);
  overflow: hidden;
  border: 6px solid rgba(28, 25, 23, 0.86);
  border-radius: 29px;
  background: rgba(28, 25, 23, 0.86);
  box-shadow: 0 18px 42px rgba(28, 25, 23, 0.14);
}

.mini-phone::before {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 2;
  width: 56px;
  height: 14px;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.86);
  content: "";
  transform: translateX(-50%);
}

.screenshot figcaption {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  text-align: center;
}

.reason-grid {
  display: grid;
  gap: 28px;
}

.reason {
  display: flex;
  gap: 18px;
}

.reason .icon-box {
  flex: 0 0 auto;
  border: 1px solid #bbf7d0;
}

.reason-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta {
  border-top: 1px solid var(--line);
  background: rgba(245, 245, 244, 0.72);
}

.cta-inner {
  max-width: 620px;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.cta .signup-form,
.cta .note,
.cta .legal,
.cta .form-message {
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span,
.copyright {
  color: rgba(120, 113, 108, 0.72);
  font-size: 12px;
}

.privacy-main {
  width: min(100% - 32px, 768px);
  margin-inline: auto;
  padding: 56px 0 72px;
}

.privacy-main h1 {
  max-width: none;
  font-size: clamp(34px, 6vw, 44px);
}

.privacy-updated {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #44403c;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 36px;
}

.privacy-content section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-content h2 {
  color: var(--ink);
  font-size: 18px;
}

.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #44403c;
  font-size: 14px;
  margin-top: 36px;
  padding: 0 16px;
  text-decoration: none;
}

.back-link:hover {
  background: var(--surface-muted);
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 48px, 1024px);
  }

  .signup-form {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .signup-form input[type="email"] {
    flex: 1;
  }

  .turnstile-row {
    flex-basis: 100%;
  }

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero {
    padding: 96px 0 128px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 64px;
  }

  .phone-wrap {
    justify-content: flex-end;
  }

  .section {
    padding: 104px 0;
  }

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

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

  .footer-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .screenshot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
