/* hey habits — landing page specific styles */

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 82% 8%, var(--spark-soft), transparent 60%),
  radial-gradient(55% 45% at 6% 30%, var(--brand-soft), transparent 55%); opacity: .9; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 72px 84px; }
.hero h1 { margin: 16px 0 0; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; color: var(--text-strong); text-wrap: balance; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--brand); letter-spacing: -.01em; }
.hero p { margin: 22px 0 0; font-size: var(--text-body-lg); line-height: 1.6; color: var(--text-muted); max-width: 460px; }
.hero__actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: var(--text-caption); color: var(--text-muted); font-weight: 600; }
.hero__note svg { width: 16px; height: 16px; color: var(--growth); }


/* ---- growth journey (hero art) ---- */
.growth { justify-self: center; margin: 0; max-width: 340px; }
.growth img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-2xl, 28px);
}
.growth__cap {
  margin-top: 12px; text-align: center; font-size: var(--text-caption);
  color: var(--text-faint); font-style: italic; font-family: var(--font-serif);
}
@media (max-width: 900px) {
  .growth { max-width: 250px; }
}

/* ---- phone mock ---- */
.phone { justify-self: center; width: 300px; border-radius: 40px; border: 11px solid #1b1714; background: var(--bg-app); box-shadow: var(--shadow-lg); overflow: hidden; }
.phone__bar { height: 30px; display: flex; align-items: center; justify-content: center; }
.phone__bar i { width: 92px; height: 6px; border-radius: 99px; background: var(--ink-200); display: block; }
.phone__body { padding: 4px 16px 22px; }
.ns { position: relative; overflow: hidden; border-radius: 22px; color: var(--text-on-brand); background: linear-gradient(160deg, var(--clay-600), var(--clay-700)); padding: 18px; box-shadow: var(--shadow-brand); }
.ns::after { content: ""; position: absolute; top: -60px; right: -34px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,248,244,.32), transparent 70%); }
.ns__eb { position: relative; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; display: flex; align-items: center; gap: 6px; }
.ns__id { position: relative; font-family: var(--font-serif); font-size: 18px; line-height: 1.3; font-weight: 500; margin: 10px 0 16px; }
.ns__id em { font-style: italic; }
.ns__pr { position: relative; height: 5px; border-radius: 99px; background: rgba(255,248,244,.22); overflow: hidden; }
.ns__pr i { position: absolute; inset: 0 62% 0 0; border-radius: 99px; background: rgba(255,248,244,.92); }
.ns__meta { position: relative; display: flex; justify-content: space-between; margin-top: 9px; font-size: 10.5px; opacity: .9; }
.row { display: flex; align-items: center; gap: 11px; background: var(--surface-card); border: 1px solid var(--border); border-radius: 16px; padding: 12px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.row__ic { width: 36px; height: 36px; border-radius: 11px; background: var(--brand-soft); display: grid; place-items: center; font-size: 17px; flex: none; }
.row__t { font-weight: 600; font-size: 14px; color: var(--text-strong); }
.row__w { font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }
.row__w b { color: var(--brand); font-weight: 600; }
.row__ck { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.row__ck.on { background: var(--growth); color: #fff; }
.row__ck.off { border: 2px solid var(--border-strong); }
.affirm { font-family: var(--font-serif); font-style: italic; font-size: 14.5px; line-height: 1.4; color: var(--text-strong); background: linear-gradient(160deg, var(--spark-soft), var(--brand-soft)); border: 1px solid var(--border-brand); border-radius: 18px; padding: 14px 16px; margin-top: 12px; }

/* ---- problem band ---- */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.problem__big { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--text-strong); }
.problem__big em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--brand); }
.problem__p { font-size: var(--text-body-lg); line-height: 1.65; color: var(--text-muted); }
.problem__p + .problem__p { margin-top: 16px; }

/* ---- section override (landing uses 88px vs subpages' 72px) ---- */
.sec { padding: 88px 0; }
.sec__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.sec__head h2 { margin: 12px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--text-strong); text-wrap: balance; }
.sec__head p { margin: 16px 0 0; font-size: var(--text-body-lg); line-height: 1.6; color: var(--text-muted); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 52px; }
  .phone { order: -1; }
  .problem { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 60px 0; }
}
@media (max-width: 620px) {
  .hero__in { gap: 22px; padding-block: 28px 42px; }
  .hero__in > div:first-child { padding-top: 0; }
  .hero h1 { margin-top: 12px; font-size: clamp(34px, 10vw, 42px); line-height: 1.08; }
  .hero p { margin-top: 18px; font-size: var(--text-body); line-height: 1.58; }
  .hero__actions { gap: 12px; margin-top: 26px; }
  .hero__actions .hh-btn { width: 100%; height: 52px; padding-inline: 18px; }
  .hero__note { align-items: flex-start; line-height: 1.45; }
  .phone { width: min(300px, calc(100vw - 56px)); border-width: 10px; border-radius: 36px; }
  .phone__body { padding: 4px 14px 20px; }
  .ns { padding: 16px; }
  .ns__id { font-size: 17px; }
  .problem__p { font-size: var(--text-body); }
}
@media (max-width: 480px) {
  .method { grid-template-columns: 1fr; }
  .phone { width: min(286px, calc(100vw - 48px)); }
  .hero__in { gap: 20px; }
}
