/* Home page layout. Tokens, font and .button come from styles.css. */
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { font-size: 17px; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 18px; line-height: 1.35; }
.skip { position: absolute; top: -100px; left: 24px; z-index: 4; background: var(--card); color: var(--ink); padding: 12px; }
.skip:focus { top: 12px; }

.header { max-width: 1184px; margin: auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.logo img { border-radius: 8px; }
.header nav { display: flex; gap: 24px; align-items: center; font-size: 15px; }
.header nav a { margin: 0; min-height: 48px; display: flex; align-items: center; color: var(--ink-soft); }
.header nav a:hover { color: var(--ink); }

.section { max-width: 1184px; margin: auto; padding: 32px 24px; }
.kicker { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.sub { font-size: 18px; color: var(--ink-soft); margin-top: 16px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 16px; }
.actions { margin-top: 32px; }
.button.store { min-height: 64px; padding: 16px 32px; font-size: 17px; }

/* Hero: one angle, one action */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.hero-copy, .hero-art { min-width: 0; }
.hero-art { display: flex; justify-content: center; padding: 32px 0; background: var(--tint); border-radius: var(--radius-hero); }
.phone { width: 260px; flex-shrink: 0; }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; box-shadow: var(--shadow); }
.phone figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }

/* How it works */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.step { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .n { display: inline-flex; width: 32px; height: 32px; border-radius: 999px; align-items: center; justify-content: center; background: var(--tint); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); margin-top: 4px; }

/* Try a question */
.question-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.question-card { background: var(--card); border-radius: var(--radius-hero); padding: 24px; box-shadow: var(--shadow); }
.question-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; color: var(--muted); }
.question-text { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; min-height: 160px; padding: 24px 0; transition: opacity .2s ease-out, transform .2s ease-out; }
.question-text.swap { opacity: 0; transform: translateY(4px); }
.question-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.question-bottom > span { font-size: 15px; color: var(--muted); }
.question-section .text-link { display: inline-flex; min-height: 48px; align-items: center; margin-top: 16px; }

/* Features */
.moments { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.moments .hero-art { order: -1; }
.feature { display: flex; gap: 16px; padding-top: 24px; }
.feature svg { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: var(--muted); margin-top: 4px; }

/* Private */
.private { text-align: center; }
.private-inner { background: var(--tint); border-radius: var(--radius-hero); padding: 64px 24px; }
.private .sub { margin-top: 16px; }
.private .text-link { display: inline-flex; min-height: 48px; align-items: center; margin-top: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.answers details { margin: 0 0 8px; padding: 16px 24px; }
.answers summary { justify-content: space-between; gap: 16px; font-size: 17px; list-style: none; min-height: 48px; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease-out; }
.answers details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.answers p { font-size: 16px; color: var(--ink-soft); margin-top: 8px; }

/* Final store block */
.get { text-align: center; }
.get .actions { display: flex; justify-content: center; }

.footer { max-width: 1136px; margin: 32px auto 0; padding: 32px 0 48px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer > p { font-size: 15px; color: var(--muted); }
.footer nav { width: 100%; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 15px; }
.footer nav a { min-height: 48px; display: flex; align-items: center; color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer small { width: 100%; font-size: 14px; color: var(--muted); }

/* Soft entrance, once */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .3s ease-out both; }
  .rise.d1 { animation-delay: .05s; }
  .rise.d2 { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px) scale(.97); } }
}

@media (max-width: 1000px) {
  .hero, .question-section, .moments, .faq { gap: 32px; }
  .steps-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 1184px) {
  .footer { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 760px) {
  .header nav a:not(.nav-store) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .question-section, .moments, .faq { grid-template-columns: 1fr; }
  .moments .hero-art { order: 0; }
  .phone { width: 220px; }
  .button.store { width: 100%; }
  .private-inner { padding: 48px 24px; }
  .answers details { padding: 12px 16px; }
}

@media (max-width: 520px) {
  .header nav, .footer nav { display: flex; }
}
