/* ---------- Base ---------- */
:root {
  --cream: #faf7f2;
  --off-white: #ffffff;
  --ink: #2f2a24;
  --ink-soft: #5b5347;
  --line: #e6e0d6;
  --accent: #b5895a;
  --accent-soft: #f1e6d8;
  --radius: 14px;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 48px;
  text-align: center;
}

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

.hero h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.tagline {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  max-width: 440px;
  margin: 0 auto 12px;
}

.hero-sub {
  font-size: 15px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.hero-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 6px;
  font-size: 13px;
  color: var(--ink-soft);
}

.hero-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-steps li + li::before {
  content: "→";
  color: var(--accent);
}

.hero-steps span {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

.hero-steps li:last-child span {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Icons ---------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Intro ---------- */
.intro p {
  font-size: 16px;
}

/* ---------- Features ---------- */
.features h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  margin: 0;
}

/* ---------- Mobile framing ---------- */
.mobile-frame {
  background: var(--accent-soft);
}

.mobile-frame-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.phone-mockup {
  width: 216px;
  background: var(--ink);
  border-radius: 34px;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: 0 18px 40px rgba(47, 42, 36, 0.18);
}

.phone-screen {
  background: var(--cream);
  border-radius: 26px;
  padding: 10px 12px 18px;
  text-align: center;
}

.phone-notch {
  width: 64px;
  height: 14px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--ink);
}

.phone-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
}

.phone-question {
  font-size: 10px;
  margin: 0 0 12px;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px 10px;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.phone-tile .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.mobile-copy h2 {
  font-size: 20px;
}

/* ---------- Survey ---------- */
.survey {
  text-align: center;
}

.survey-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  box-shadow: 0 10px 30px rgba(47, 42, 36, 0.06);
}

.survey h2 {
  font-size: 24px;
}

.survey-card > p {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.survey-button {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 36px;
  background: var(--ink);
  color: var(--off-white);
  text-decoration: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.survey-note {
  font-size: 12px;
  margin: 12px 0 0;
}

.survey-button:hover,
.survey-button:focus {
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  text-align: center;
}

.coming-soon {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.footer-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Small phones ---------- */
@media (max-width: 520px) {
  .hero-steps {
    flex-direction: column;
  }

  .hero-steps li {
    flex-direction: column;
  }

  .hero-steps li + li::before {
    content: "↓";
    line-height: 1;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature-card {
    padding: 18px 12px;
  }

  .survey-card {
    padding: 32px 18px 28px;
  }

  .survey h2 {
    font-size: 21px;
  }
}

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 48px;
  }

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

  .mobile-frame-inner {
    flex-direction: row;
    text-align: left;
    gap: 48px;
  }
}
