/* Curve Count — homepage styles (scoped to body.home; support/privacy keep using style.css) */
@import url('https://fonts.googleapis.com/css2?family=Aclonica&family=Homemade+Apple&family=Rubik:wght@400;500;600;700&display=swap');

body.home {
  --ink: #1a2f4d;
  --ink-85: rgba(26,47,77,.85);
  --ink-80: rgba(26,47,77,.8);
  --ink-75: rgba(26,47,77,.75);
  --ink-70: rgba(26,47,77,.7);
  --accent: #d194cf;
  --plum: #8f3d8c;
  --lilac: #f5f1fd;
  --lilac-2: #f2eefd;
  --tile: #f4eaf8;
  --grad: linear-gradient(160deg, #ddb7ff 16.6%, #c0dce9 72.3%);
  --pad-x: 80px;
  color: var(--ink);
  font-family: Rubik, -apple-system, system-ui, sans-serif;
  line-height: 1.5;
}
body.home img { display: block; max-width: 100%; height: auto; }
body.home a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; }
.section { padding: 96px var(--pad-x); }

.eyebrow {
  display: block; font-weight: 600; font-size: 13px; letter-spacing: 1.2px; color: var(--accent);
}
.section-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 52px; }
.section-head h2 { font-family: Aclonica, sans-serif; font-weight: 400; font-size: 44px; letter-spacing: -0.8px; line-height: 1.15; margin: 0; }
.section-head .sub { font-size: 17px; line-height: 26px; color: var(--ink-70); margin: 0; max-width: 820px; }

.store-badge { display: inline-block; line-height: 0; }
.store-badge img { width: 187px; height: 60px; }

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; min-height: 852px; aspect-ratio: 2880 / 1704; background: var(--grad); overflow: hidden; }
body.home .hero-visual {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;
}
.hero-inner { position: relative; max-width: 1440px; margin: 0 auto; padding: 36px var(--pad-x) 0; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-family: Aclonica, sans-serif; font-size: 32px; line-height: 1; color: var(--plum); white-space: nowrap; }
.logo img { width: 45px; height: 37px; }
.logo-footer img { width: 51px; height: 42px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 616px; max-width: 100%; margin-top: 118px; }
.eyebrow-pill {
  background: rgba(255,255,255,.55); border-radius: 100px; padding: 8px 16px;
  font-weight: 600; font-size: 13px; letter-spacing: .8px; color: var(--ink);
}
.hero h1 { font-family: Aclonica, sans-serif; font-weight: 400; font-size: 60px; line-height: 72px; letter-spacing: -1.2px; margin: 0; }
.hero .lead { font-size: 20px; line-height: 36px; margin: 0; }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--lilac); border-radius: 24px; padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 20px; display: grid; place-items: center; }
.step h3 { font-size: 22px; font-weight: 600; margin: 0; }
.step p { font-size: 16px; line-height: 24px; color: var(--ink-75); margin: 0; }

/* ---------- Features ---------- */
.features { padding-top: 88px; padding-bottom: 88px; }
.features .container { display: flex; flex-direction: column; gap: 72px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-media img { border-radius: 24px; width: 100%; }
.feature-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.feature-text h3 { font-family: Aclonica, sans-serif; font-weight: 400; font-size: 38px; line-height: 42px; letter-spacing: -0.6px; margin: 0; }
.feature-text p { font-size: 17px; line-height: 27px; color: var(--ink-80); margin: 0; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 15px; color: var(--ink-85); line-height: 20px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px;
  background: url("assets/icon-check.svg") center / 20px 20px no-repeat;
}

/* ---------- Benefits ---------- */
.benefits { background: var(--lilac-2); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit {
  background: #fff; border-radius: 24px; padding: 36px 32px; display: flex; gap: 20px; align-items: flex-start;
  box-shadow: 0 10px 30px rgba(26,47,77,.08);
}
.benefit-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--tile); display: grid; place-items: center; }
.benefit-icon img { width: 26px; height: 26px; }
.benefit h3 { font-size: 21px; font-weight: 600; margin: 0 0 8px; }
.benefit p { font-size: 16px; line-height: 24px; color: var(--ink-75); margin: 0; }

/* ---------- Final CTA ---------- */
.cta { position: relative; width: 100%; min-height: 500px; aspect-ratio: 2880 / 1000; background: var(--grad); overflow: hidden; }
body.home .cta-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.cta-inner { position: relative; max-width: 1440px; margin: 0 auto; min-height: 500px; }
.cta-copy { position: absolute; left: 330px; top: 86px; width: 720px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-copy h2 { font-family: Aclonica, sans-serif; font-weight: 400; font-size: 48px; line-height: 60px; letter-spacing: -1px; margin: 0; max-width: 460px; }
.cta-copy p { font-size: 18px; line-height: 28px; color: var(--ink-85); margin: 0; max-width: 520px; }
.signature { position: absolute; left: 1136px; top: 396px; color: #fff; display: flex; flex-direction: column; gap: 8px; white-space: nowrap; }
.sig-name { font-family: 'Homemade Apple', cursive; font-size: 32px; line-height: 28px; }
.sig-role { font-size: 16px; line-height: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 64px var(--pad-x) 40px; text-align: left; border: 0; }
.site-footer .container { display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.footer-brand { width: 420px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { font-size: 15px; line-height: 23px; color: rgba(255,255,255,.6); margin: 0; }
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a, .footer-legal a { color: rgba(255,255,255,.65); }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }
.site-footer hr { border: 0; height: 1px; background: rgba(255,255,255,.14); margin: 0; width: 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-legal { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cta-copy { left: var(--pad-x); width: 520px; }
  .signature { left: auto; right: 40px; top: auto; bottom: 36px; }
}
@media (max-width: 960px) {
  body.home { --pad-x: 24px; }
  .section { padding: 64px var(--pad-x); }
  .section-head h2 { font-size: 34px; }
  .steps, .benefit-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-media { order: 2; }
  .feature-text h3 { font-size: 30px; line-height: 36px; }

  /* Hero: text on gradient, visual below */
  .hero { min-height: 0; aspect-ratio: auto; padding-bottom: 0; display: flex; flex-direction: column; }
  body.home .hero-visual { display: none; }
  .hero-inner { padding: 24px var(--pad-x) 32px; }
  .logo { font-size: 24px; }
  .logo img { width: 34px; height: 28px; }
  .hero-copy { width: auto; margin-top: 40px; gap: 18px; }
  .hero h1 { font-size: 40px; line-height: 48px; letter-spacing: -0.8px; }
  .hero .lead { font-size: 17px; line-height: 28px; }

  /* CTA: text on gradient, visual below */
  .cta { min-height: 0; aspect-ratio: auto; display: flex; flex-direction: column; }
  body.home .cta-visual { display: none; }
  .cta-inner { position: static; min-height: 0; padding: 56px var(--pad-x) 32px; }
  .cta-copy { position: static; width: auto; gap: 18px; }
  .cta-copy h2 { font-size: 34px; line-height: 42px; }
  .cta-copy p { font-size: 16px; line-height: 26px; }
  .signature { display: none; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
