:root {
  --bg: #fffbf7;
  --surface: #ffffff;
  --surface-soft: #fff4e8;
  --coral: #ff6554;
  --coral-strong: #ff5548;
  --orange: #ff9345;
  --ink: #2c2725;
  --muted: #6f6661;
  --line: #eee4d9;
  --shadow-card: 0 14px 34px rgba(48, 36, 27, 0.08);
  --shadow-soft: 0 10px 28px rgba(48, 36, 27, 0.07);
  --shadow-coral: 0 16px 34px rgba(255, 99, 84, 0.28);
  --gradient: linear-gradient(135deg, #ff514f 0%, #ff6d54 48%, #ff9b42 100%);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 13%, rgba(255, 198, 146, 0.12), transparent 34%),
    radial-gradient(circle at 15% 36%, rgba(255, 229, 203, 0.18), transparent 30%),
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  font: inherit;
}

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

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(1024px, calc(100% - 64px));
  margin: 0 auto;
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 13px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.94), rgba(251, 247, 241, 0));
}

.header {
  width: min(1058px, calc(100% - 64px));
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 16px 12px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(235, 225, 215, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(48, 36, 27, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(255, 99, 84, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
}

.nav a {
  padding: 10px 0;
  color: #282421;
  font-size: 16px;
  font-weight: 650;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: var(--shadow-coral);
}

.btn-secondary {
  min-width: 180px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-white {
  min-width: 202px;
  min-height: 52px;
  color: var(--coral-strong);
  background: #fff;
  box-shadow: 0 12px 28px rgba(87, 38, 23, 0.12);
}

.btn-header {
  min-width: 136px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
}

.hero {
  padding: 28px 0 6px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(462px, 0.92fr) minmax(562px, 1.08fr);
  align-items: center;
  gap: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  max-width: 480px;
  padding-top: 86px;
  padding-left: 32px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(58px, 5.8vw, 66px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero-copy h1 span {
  color: var(--coral-strong);
}

.hero-copy p {
  max-width: 390px;
  margin: 22px 0 26px;
  color: #645a54;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: #625a55;
  font-size: 14px;
  font-weight: 500;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 2px;
  border-radius: 999px;
  background: #8c837c;
}

.hero-meta .icon {
  color: #8d8580;
  font-size: 18px;
  stroke-width: 1.8;
}

.hero-visual {
  position: relative;
  min-height: 588px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 1% 5% 0;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 48% 42%, rgba(255, 220, 184, 0.58), rgba(255, 220, 184, 0.2) 46%, transparent 76%);
  filter: blur(10px);
}

.hero-glow {
  display: none;
}

.hero-scene {
  width: min(700px, 122%);
  max-width: none;
  margin-left: -46px;
  transform: translateY(-44px);
  filter: drop-shadow(0 14px 20px rgba(62, 43, 32, 0.08));
  -webkit-mask-image: radial-gradient(ellipse at 54% 50%, #000 66%, rgba(0, 0, 0, 0.92) 80%, transparent 100%);
  mask-image: radial-gradient(ellipse at 54% 50%, #000 66%, rgba(0, 0, 0, 0.92) 80%, transparent 100%);
}

.section {
  padding: 0;
  scroll-margin-top: 96px;
}

.features-section {
  position: relative;
  z-index: 3;
  margin-top: -60px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  scroll-margin-top: 110px;
  min-height: 158px;
  padding: 22px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.feature-icon,
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f5e5d5;
  border-radius: 999px;
  color: var(--coral-strong);
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.22) 52%, transparent 74%),
    #fff1e4;
}

.feature-icon {
  width: 92px;
  height: 92px;
}

.feature-icon .icon {
  font-size: 48px;
  fill: rgba(255, 91, 72, 0.06);
  stroke-width: 1.7;
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
}

.feature-card > div:last-child {
  transform: translateY(7px);
}

.feature-card p {
  margin: 0;
  color: #625a55;
  font-size: 15px;
  line-height: 1.55;
}

.steps-section {
  padding-top: 40px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.steps-row {
  width: min(760px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 96px 1fr 96px 1fr;
  align-items: start;
  gap: 18px;
}

.step-card {
  text-align: center;
}

.step-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 10px;
}

.step-icon .icon {
  font-size: 43px;
  stroke-width: 1.6;
}

.step-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #332e2b;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.step-card h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 12px;
  font-weight: 850;
}

.step-card p {
  max-width: 154px;
  margin: 0 auto;
  color: #635b56;
  font-size: 15px;
  line-height: 1.45;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  color: #988f89;
}

.step-arrow .icon {
  width: 56px;
  height: 22px;
  stroke-width: 1.3;
}

.cta-section {
  padding: 22px 0 10px;
}

.cta-card {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  padding: 31px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 18px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 18px 38px rgba(255, 104, 79, 0.18);
}

.cta-card::before {
  content: "";
  position: absolute;
  left: -58px;
  bottom: -102px;
  width: 360px;
  height: 178px;
  border-radius: 48% 52% 0 0;
  background: rgba(255, 198, 124, 0.2);
  transform: rotate(8deg);
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 330px;
  margin: 0 auto 18px;
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-align: center;
}

.cta-doodle {
  position: absolute;
  left: 104px;
  top: 35px;
  width: 170px;
  height: 120px;
  opacity: 0.34;
  pointer-events: none;
}

.cta-doodle path {
  fill: none;
  stroke: #ffe4ca;
  stroke-dasharray: 8 7;
  stroke-linecap: round;
  stroke-width: 2;
}

.cta-doodle circle {
  fill: #ffd2b1;
}

.cta-mark {
  position: absolute;
  right: 30px;
  bottom: -34px;
  width: 220px;
  height: 220px;
  object-fit: contain;
  opacity: 0.22;
  pointer-events: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(330px, 0.88fr) minmax(510px, 1.12fr);
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-scene {
    width: min(610px, 112%);
    margin-left: -52px;
  }

  .feature-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 24px;
  }

  .feature-icon {
    width: 78px;
    height: 78px;
  }

  .feature-icon .icon {
    font-size: 40px;
  }
}

@media (max-width: 860px) {
  .container,
  .header {
    width: min(100% - 32px, 640px);
  }

  .header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .brand {
    font-size: 23px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
  }

  .menu-btn {
    display: inline-flex;
  }

  .btn-header {
    display: none;
  }

  .hero {
    padding: 28px 0 26px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    max-width: none;
    padding-top: 8px;
    padding-left: 0;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-scene {
    width: min(600px, 115%);
    margin-left: 0;
  }

  .cards-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 132px;
  }

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

  .step-arrow {
    display: none;
  }

  .cta-card {
    min-height: 220px;
    padding-top: 38px;
  }

  .cta-doodle {
    left: 18px;
    top: 28px;
  }

  .cta-mark {
    right: -26px;
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 560px) {
  .container,
  .header {
    width: min(100% - 24px, 640px);
  }

  .header-wrap {
    padding-top: 8px;
  }

  .header {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .brand {
    gap: 10px;
    font-size: 21px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-meta {
    gap: 12px;
    margin-top: 24px;
    font-size: 13px;
  }

  .feature-card {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 126px;
    padding: 20px;
  }

  .feature-icon {
    width: 74px;
    height: 74px;
  }

  .feature-card h2 {
    font-size: 20px;
  }

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

  .steps-section {
    padding-top: 32px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .cta-section {
    padding-top: 30px;
  }

  .cta-card h2 {
    font-size: 30px;
  }
}

/* Legal pages (privacy, terms) */
.legal {
  padding: 56px 0 96px;
}

.legal-container {
  max-width: 760px;
}

.legal-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}

.legal h1 {
  margin: 0 0 8px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.legal-updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.legal p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal ul {
  margin: 0 0 18px;
  padding: 0 0 0 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.legal li {
  margin: 0 0 8px;
}

.legal :where(p, li) a:not(.btn) {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal :where(p, li) a:not(.btn):hover {
  color: var(--coral-strong);
}

.legal-footer-note {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal {
    padding: 36px 0 72px;
  }

  .legal h1 {
    font-size: 34px;
  }

  .legal h2 {
    font-size: 19px;
    margin-top: 28px;
  }
}
