/* Homepage only (/ and /it/, /fr/, /es-mx/, /es-es/). Shared rules live in style.css. */

/* Running headers stay quiet here: gold is for practice, not labels. */
section.feature .eyebrow, .faq-section .eyebrow, .plans .eyebrow, .in-short .eyebrow, .facts-section .eyebrow { color: var(--ink-3); }

/* ---------- Hero: download first ---------- */
.home-hero {
  max-width: 1080px; margin: 0 auto;
  min-height: min(100dvh, 960px);
  padding: 120px 24px 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.home-hero h1 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(46px, 6vw, 78px); line-height: 1.02; letter-spacing: -0.015em;
}
.home-hero h1 em { color: var(--ink-2); }
.hh-lede {
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--ink-2);
  max-width: 44ch; margin-top: 24px;
}
.hh-get { margin-top: 36px; }
.hh-note { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.hh-note a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.hh-visual { display: flex; justify-content: center; }
/* The preview's screen-only cut, in the same phone as the feature screens. */
.hh-visual .phone { width: min(100%, 320px); margin: 0; }
.hh-visual video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* Apple's badge, unaltered. Height stays well above Apple's 40px minimum. */
.app-badge { display: inline-block; border-radius: 10px; transition: transform 500ms var(--ease-heavy); }
.app-badge:active { transform: scale(0.97); }
.app-badge img { display: block; height: 56px; width: auto; }

/* ---------- Feature screens: real captures in the site's phone ---------- */
.phone .screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
section.feature ul.items { list-style: none; margin-top: 22px; max-width: 46ch; }
section.feature ul.items li {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  padding: 12px 0; border-top: 1px solid var(--hairline);
}
section.feature ul.items li strong {
  display: block; font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400; font-size: 21px; line-height: 1.3; color: var(--ink);
}

/* ---------- Three short promises ---------- */
.promises {
  max-width: 1080px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--hairline);
}
.promises h3 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: 26px; line-height: 1.2; margin-bottom: 12px;
}
.promises p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.promises a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }

/* ---------- In short: the one-paragraph answer, then the facts ---------- */
.in-short { max-width: 720px; margin: 0 auto; padding: 0 24px clamp(56px, 8vh, 96px); }
.in-short .answer { font-family: "Source Serif 4", Georgia, serif; font-size: 19px; line-height: 1.65; color: var(--ink); padding: 4px 0 4px 20px; border-left: 1px solid var(--hairline); margin: 14px 0 12px; }
.in-short .updated { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.facts-section { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) 24px; border-top: 1px solid var(--hairline); }
.facts-section h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin-bottom: 36px; }
.facts-section dl { display: grid; grid-template-columns: max-content 1fr; gap: 14px 32px; margin: 0; }
.facts-section dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); padding-top: 5px; }
.facts-section dd { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.facts-section dd:last-of-type { border-bottom: none; }
.facts-section a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
@media (max-width: 768px) {
  .in-short { padding: 0 16px 56px; }
  .facts-section { padding-left: 16px; padding-right: 16px; }
  .facts-section dl { grid-template-columns: 1fr; gap: 6px 0; }
  .facts-section dt { padding-top: 10px; }
}

/* ---------- Free and Premium ---------- */
.plans { max-width: 1080px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) 24px; }
.plans-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.plans-head h2 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; margin-bottom: 16px;
}
.plans-head .eyebrow {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic;
  font-size: 17px; margin-bottom: 14px;
}
.plans-head p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  border: 1px solid var(--hairline); border-radius: 24px;
  background: oklch(0.95 0.012 85 / 0.03);
  padding: 32px clamp(24px, 3vw, 40px) 36px;
}
.plan h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 30px; }
.plan .price { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 6px; }
.plan ul { list-style: none; margin-top: 22px; }
.plan li {
  font-size: 15.5px; line-height: 1.55; color: var(--ink-2);
  padding: 10px 0; border-top: 1px solid var(--hairline);
}
.plan .fine { font-size: 13.5px; line-height: 1.6; font-style: italic; color: var(--ink-3); margin-top: 20px; }
.plans-get { text-align: center; margin-top: 48px; }
.plans-get p { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ---------- Closing ---------- */
.closing .get { margin-top: 40px; }
.closing .get p { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 768px) {
  .home-hero {
    grid-template-columns: 1fr; min-height: 0; text-align: center;
    padding: 104px 16px 24px; gap: 48px;
  }
  .home-hero h1 { font-size: clamp(40px, 11vw, 54px); }
  .hh-lede { margin-inline: auto; }
  .hh-get { margin-top: 28px; }
  .hh-visual .phone { width: min(72%, 280px); }
  .promises { grid-template-columns: 1fr; gap: 36px; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .app-badge { transition: none; }
}
