:root {
  --cream: #ffffff;
  --cream-dark: #f2f2f7;
  --brown: #000000;
  --brown-light: #6e6e73;
  --gray-light: #e5e5ea;
  --accent: #3a3a3c;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --radius-sm: 12px;
  --max-width: 1080px;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.hex-bg {
  position: fixed;
  top: 0;
  right: 0;
  width: min(64vw, 720px);
  height: 560px;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='55.426' height='96' viewBox='0 0 55.426 96'%3E%3Cpath d='M0 16L27.713 0L55.426 16M0 16L0 48L27.713 64L55.426 48L55.426 16M27.713 64L27.713 96' fill='none' stroke='%23ececf0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 84px 145.49px;
  background-position: top right;
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 72%);
  mask-image: radial-gradient(120% 120% at 100% 0%, #000 30%, transparent 72%);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.7;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

main {
  flex: 1;
}

/* Hero */

.hero {
  padding: 72px 0 24px;
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero .tagline {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 1.125rem;
  color: var(--brown-light);
  font-weight: 500;
}

.pill {
  display: inline-block;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 12px 22px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.9375rem;
}

.pill-muted {
  color: var(--brown-light);
  font-weight: 600;
}

/* Waitlist form */

.waitlist {
  margin: 36px auto 0;
  max-width: 460px;
}

.waitlist-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.waitlist-row {
  display: flex;
  gap: 8px;
}

.waitlist-input {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--brown);
  min-width: 0;
}

.waitlist-input:focus {
  outline: 2px solid var(--brown);
  outline-offset: -1px;
}

.waitlist-country {
  width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.waitlist-phone {
  flex: 1;
}

.waitlist-btn {
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brown);
  color: var(--cream);
  cursor: pointer;
  flex-shrink: 0;
}

.waitlist-btn:hover {
  opacity: 0.85;
}

.waitlist-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.waitlist-msg {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown-light);
}

.waitlist-msg.ok {
  color: #1a7f37;
}

.waitlist-msg.err {
  color: #b3261e;
}

.waitlist-follow {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: var(--brown-light);
}

/* App Store CTA (post-launch) */

.store-cta {
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.store-cta img {
  display: block;
  height: 56px;
  width: auto;
  transition: opacity 0.15s ease;
}

.store-cta a:hover img {
  opacity: 0.85;
}

@media (max-width: 480px) {
  .waitlist-row {
    flex-wrap: wrap;
  }

  .waitlist-btn {
    width: 100%;
  }
}

/* Sections */

section {
  padding: 56px 0;
}

.section-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brown-light);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 40px;
  max-width: 620px;
  color: var(--brown-light);
  font-size: 1.0625rem;
}

/* Value props (features + screenshots + how it works, merged) */

.value-props {
  padding-top: 24px;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-top: 88px;
}

.value-row:first-of-type {
  margin-top: 0;
}

.value-row-reverse {
  grid-template-columns: 1fr minmax(220px, 300px);
}

.value-row-reverse .value-shot {
  order: 2;
}

.value-shot {
  position: relative;
  margin: 0;
}

.value-shot .step-num {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  font-size: 1.375rem;
  margin: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--cream);
}

.value-shot img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  background: var(--cream-dark);
}

.value-copy {
  max-width: 480px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.value-copy p {
  margin: 0 0 12px;
  color: var(--brown-light);
  font-size: 1rem;
  line-height: 1.6;
}

.value-detail {
  font-size: 0.9375rem;
  color: var(--accent);
}

@media (max-width: 720px) {
  .value-row,
  .value-row-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 72px;
  }

  .value-row:first-of-type {
    margin-top: 0;
  }

  .value-row-reverse .value-shot {
    order: 0;
  }

  .value-shot {
    max-width: 260px;
    margin-inline: auto;
    margin-bottom: 20px;
  }

  .value-copy {
    text-align: center;
    margin-inline: auto;
  }
}

.privacy-highlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}

.privacy-highlight .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brown);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.privacy-highlight h3 {
  margin: 0 0 6px;
  font-size: 1.0625rem;
}

.privacy-highlight p {
  margin: 0;
  color: var(--brown-light);
  font-size: 0.9375rem;
}

/* Legal / support pages */

.page-hero {
  padding: 56px 0 32px;
}

.back-home {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown-light);
  text-decoration: none;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero .updated {
  color: var(--brown-light);
  font-size: 0.9375rem;
}

.legal-content {
  padding-bottom: 72px;
}

.legal-content h2 {
  margin: 40px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.legal-content p,
.legal-content li {
  color: var(--accent);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 12px 0;
}

.legal-content li {
  margin-bottom: 8px;
}

.contact-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}

.contact-card h2 {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--brown-light);
  font-size: 0.9375rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--gray-light);
  padding: 32px 0;
  margin-top: auto;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown-light);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--brown-light);
}

/* Responsive */

@media (max-width: 720px) {
  .hex-bg {
    width: 100vw;
    height: 380px;
    background-size: 60px 103.92px;
  }

  .hero {
    padding-top: 48px;
  }

  .privacy-highlight {
    flex-direction: column;
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

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