:root {
  --bg: #faf6ef;
  --bg-warm: #f3ece0;
  --ink: #1a1f1c;
  --ink-soft: #4a5551;
  --ink-faint: #8a938f;
  --line: #e5dfd0;
  --accent: #e66a3c;
  --accent-dark: #c4552a;
  --green: #1f5c3a;
  --green-soft: #2d7a4d;
  --bubble-sent: #2d7a4d;
  --bubble-received: #ece6d6;
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 40px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 60px);
}

.hero-inner {
  max-width: 620px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.mark {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav-link {
  font-size: 14px;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--ink-faint);
}

h1 {
  font-size: clamp(56px, 9vw, 108px);
  margin-bottom: 24px;
}

.accent {
  color: var(--accent);
  font-style: italic;
}

.sub {
  font-size: 21px;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 500px;
}

.cta {
  margin-top: 40px;
}

.number {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 32px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
  transition: transform 0.15s ease;
}

.number:hover {
  transform: translateY(-1px);
}

.number-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  font-weight: 600;
}

.number-digits {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.01em;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: 1.5px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.fineprint {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* ---------- Phone preview ---------- */

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

.phone-frame {
  width: 340px;
  background: white;
  border-radius: 36px;
  padding: 20px 16px 24px;
  box-shadow:
    0 1px 2px rgba(20, 20, 20, 0.04),
    0 20px 60px rgba(20, 20, 20, 0.12),
    0 0 0 8px rgba(20, 20, 20, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.bubble {
  padding: 10px 14px;
  border-radius: 20px;
  max-width: 85%;
  font-size: 14.5px;
  line-height: 1.45;
  word-wrap: break-word;
}

.bubble.sent {
  background: var(--bubble-sent);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.bubble.sent.short {
  font-size: 14px;
}

.bubble.received {
  background: var(--bubble-received);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.img-stand-in {
  background: rgba(255, 255, 255, 0.15);
  padding: 28px 14px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  opacity: 0.9;
}

/* ---------- How it works ---------- */

.how {
  background: var(--bg-warm);
  padding: 100px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how h2 {
  font-size: clamp(36px, 5vw, 52px);
  max-width: var(--max);
  margin: 0 auto 56px;
  text-align: center;
}

.steps {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

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

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 40px 64px;
}

.faq h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  margin-bottom: 40px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 24px;
  transition: border-color 0.15s;
}

.faq details[open] {
  border-color: var(--green);
}

.faq summary {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-faint);
  transition: transform 0.2s;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '−';
  color: var(--green);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

.faq details p strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 700px) {
  .faq {
    padding: 64px 20px 40px;
  }
  .faq summary {
    font-size: 16px;
  }
}

/* ---------- Notify ---------- */

.notify {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.notify h2 {
  font-size: clamp(32px, 4.5vw, 44px);
  margin-bottom: 16px;
}

.notify p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 32px;
}

.notify-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
  background: white;
  padding: 6px;
  border-radius: 100px;
  border: 1px solid var(--line);
}

.notify-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.notify-form button {
  padding: 12px 22px;
  border-radius: 100px;
  background: var(--ink);
  color: white;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.notify-form button:hover {
  background: var(--green);
}

.ok {
  margin-top: 16px;
  color: var(--green);
  font-weight: 600;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 40px;
  background: var(--bg-warm);
}

.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-faint);
  align-items: center;
}

footer a {
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--ink-faint);
}

.dot {
  color: var(--ink-faint);
  opacity: 0.5;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 20px 20px 48px;
    gap: 40px;
    min-height: auto;
  }

  .nav {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(52px, 14vw, 80px);
    margin-bottom: 18px;
  }

  .sub {
    font-size: 18px;
    margin-bottom: 28px;
  }

  .cta {
    margin-top: 24px;
  }

  .number {
    display: flex;
    width: 100%;
    padding: 18px 22px;
  }

  .number-digits {
    font-size: 26px;
  }

  .cta-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 16px 22px;
    font-size: 16px;
  }

  .phone-preview {
    margin-top: 8px;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
  }

  .how {
    padding: 64px 24px;
  }

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

  .notify {
    padding: 64px 24px;
  }

  .notify-form {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 8px;
  }

  .notify-form button {
    padding: 14px;
  }

  footer {
    padding: 24px;
  }
}
