/* Home-only composition; shared controls and tokens live in styles.css. */
body.home-page { background:#f7f9fb; color:#17202b; }
.home-page [data-home] { max-width:1180px; padding-top:24px; }
.home-page .topbar { padding-bottom:48px; gap:20px; }
.home-page .nav-links { gap:16px; }
.home-language { display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--line); border-radius:10px; background:var(--panel); font-size:12px; white-space:nowrap; }
.home-language a,.home-language span { display:inline-flex; align-items:center; min-height:38px; padding:0 10px; border-radius:7px; text-decoration:none; }
.home-language span { color:var(--text); background:var(--panel-2); font-weight:750; }
.home-language a { color:var(--accent-ink); font-weight:700; }
.home-page .nav-cta { min-height:44px; display:inline-flex; align-items:center; }
.home-skip { position:absolute; left:16px; top:-80px; z-index:10; padding:10px 16px; border-radius:10px; background:var(--panel); color:var(--text); }
.home-skip:focus { top:12px; }
.home-hero { display:grid; grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr); align-items:start; gap:48px; margin-bottom:48px; }
.home-hero > div { min-width:0; }
.seller-hero { padding:6px 0 14px; }
.seller-hero .kicker { font-size:11px; line-height:1.6; letter-spacing:1.5px; }
.seller-hero h1 { max-width:650px; margin:10px 0 16px; color:#17202b; font-size:clamp(38px,4.7vw,62px); line-height:1.08; letter-spacing:-.052em; }
.seller-hero h1 em { text-decoration-thickness:.075em; text-underline-offset:.12em; }
.seller-hero .hero-sub { max-width:580px; margin:0; font-size:18px; line-height:1.6; color:var(--muted); }
.home-start-panel { padding:20px; border:1px solid var(--line); border-radius:20px; background:var(--panel); box-shadow:0 8px 28px rgba(22,24,35,.035); }
.home-start-panel > h2 { margin:0 0 7px; font-size:19px; letter-spacing:-.02em; line-height:1.3; }
.home-start-intro { margin:0 0 20px; font-size:13px; color:var(--muted); }
.home-link { display:grid; gap:7px; }
.home-link label { margin:0; font-size:14px; }
.home-link input { min-width:0; min-height:48px; margin:0; font-size:16px; }
.home-link input[aria-invalid="true"] { border-color:var(--danger-ink); box-shadow:0 0 0 2px var(--rose-soft); }
.home-link-help { margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.home-link-note { margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.home-link-note[data-tone="error"] { color:var(--danger-ink); }
.home-link-note:empty { display:none; }
.home-link .hero-actions { margin-top:9px; gap:10px; }
.home-link .button { min-height:46px; font-size:14px; }
.home-free-note { margin:5px 0 0; font-size:11px; line-height:1.6; color:var(--muted); }
.quick-start { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.quick-start h2 { margin:0 0 12px; font-size:13px; line-height:1.5; letter-spacing:0; color:var(--muted); }
.quick-chips { display:flex; flex-wrap:wrap; gap:8px; }
.quick-chip { display:inline-flex; align-items:center; min-height:44px; padding:0 13px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:var(--panel); font-size:12px; font-weight:650; text-decoration:none; }
.quick-chip:hover,.quick-chip:focus-visible { border-color:var(--accent-ink); background:var(--accent-soft); }
.home-category-options { margin-top:12px; }
.home-category-options summary { width:fit-content; min-height:44px; display:flex; align-items:center; gap:12px; cursor:pointer; color:var(--accent-ink); font-size:13px; font-weight:650; list-style:none; }
.home-category-options summary::-webkit-details-marker { display:none; }
.home-category-options summary span { transition:transform .15s ease; }
.home-category-options[open] summary span { transform:rotate(45deg); }
.home-category-options[open] .quick-chips { padding:6px 0; }
.home-page .result-card { display:grid; gap:15px; position:relative; margin-top:18px; padding:30px; border:1px solid var(--line); border-radius:22px; background:var(--panel); box-shadow:0 18px 50px rgba(22,24,35,.06); }
.home-page .result-card::before { content:""; position:absolute; top:-1px; left:30px; width:44px; height:3px; border-radius:99px; background:var(--accent-rose); }
.result-card .kicker { margin:0; font-size:10px; line-height:1.6; letter-spacing:1.2px; color:var(--muted); }
.result-card h2 { margin:0; font-size:26px; line-height:1.2; letter-spacing:-.025em; }
.result-stat { margin:0; font-size:13px; line-height:1.65; color:var(--rose-ink); font-weight:650; }
.result-quote { margin:0; padding:15px 16px; border-left:2px solid var(--accent-rose); border-radius:0 10px 10px 0; background:#fbf7f8; }
.result-quote p { margin:0; font-size:16px; line-height:1.55; }
.result-quote .result-cite { margin-top:10px; color:var(--muted); font-size:12px; line-height:1.55; }
.result-hook { display:grid; gap:10px; padding:17px; border:1px solid var(--line); border-radius:12px; }
.result-hook-label { margin:0; color:var(--accent-ink); font-size:10px; font-weight:800; letter-spacing:1.1px; text-transform:uppercase; }
.result-hook-text { margin:0; font-size:16px; font-weight:650; line-height:1.55; }
.result-hook-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.result-hook-row .button { min-height:44px; padding:8px 14px; font-size:12px; }
.result-copy-status { color:var(--success-ink); font-size:12px; line-height:1.5; }
.result-copy-status[data-tone="error"] { color:var(--danger-ink); }
.result-source { margin:0; padding-top:12px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.6; }
.result-card .text-link { min-height:44px; display:flex; align-items:center; font-size:13px; font-weight:650; }
.home-page .how-steps { margin:0 0 36px; }
.home-page .how-steps li { padding:20px; background:transparent; box-shadow:none; }
.home-page .how-steps img { max-width:130px; }
.home-page .how-steps .step-no { font-size:10px; letter-spacing:1.5px; }
.entry-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.home-tools { margin-bottom:48px; }
.home-tools > h2 { margin:0 0 18px; font-size:clamp(22px,3vw,30px); line-height:1.25; letter-spacing:-.03em; }
.home-tools .quiet-note { margin:14px 0 0; }
.entry-card { display:grid; align-content:start; gap:12px; min-width:0; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--panel); }
.entry-card h2, .entry-card h3 { margin:0; font-size:22px; line-height:1.25; }
.entry-card p { margin:0; font-size:14px; color:var(--muted); }
.entry-card .entry-meta { color:var(--accent-ink); font-size:12px; font-weight:700; }
.entry-card .hero-actions { margin-top:4px; gap:12px; }
.entry-card .button { font-size:14px; }
.home-page .home-questions { margin-top:48px; }
.home-page .home-questions h2,.home-faq h2 { font-size:clamp(22px,3vw,30px); line-height:1.25; }
.home-page .home-questions > p { font-size:14px; line-height:1.6; }
.home-page .question-links a { font-size:13px; line-height:1.55; }
.home-faq { max-width:820px; margin-top:48px; }
.home-faq details { padding:16px 0; border-top:1px solid var(--line); }
.home-faq summary { min-height:34px; cursor:pointer; font-size:15px; font-weight:650; }
.home-faq details p { margin:12px 0 0; font-size:14px; color:var(--muted); }
.home-page :is(a,button,summary,input):focus-visible { outline:2px solid var(--accent-ink); outline-offset:4px; }
.home-page footer { padding-top:24px; border-top:1px solid var(--line); line-height:1.8; }
@media (max-width:1000px) {
  .home-page .topbar { flex-wrap:wrap; gap:12px; padding-bottom:30px; }
  .home-page .nav-links { order:4; width:100%; flex-wrap:wrap; overflow:visible; -webkit-mask-image:none; mask-image:none; padding:0; gap:6px 18px; font-size:12px; }
  .home-page .nav-links a { min-height:36px; display:inline-flex; align-items:center; white-space:normal; }
  .home-language { margin-left:auto; }
  .home-page .nav-cta { margin-left:0; }
  .home-hero { gap:28px; }
  .home-page .result-card { padding:22px; }
}
@media (max-width:760px) {
  .home-hero,.entry-grid { grid-template-columns:minmax(0,1fr); }
  .home-hero { gap:24px; margin-bottom:32px; }
  .seller-hero { padding-top:0; padding-bottom:20px; }
  .seller-hero h1 { font-size:clamp(35px,8.5vw,50px); margin:8px 0 18px; }
  .seller-hero .hero-sub { font-size:16px; line-height:1.55; }
  .home-page .result-card { margin-top:0; }
  .home-page .how-steps li { padding:16px; grid-template-columns:78px minmax(0,1fr); }
  .home-page .how-steps img { width:78px; }
}
@media (max-width:420px) {
  .home-page [data-home] { width:calc(100% - 28px); padding-top:16px; }
  .home-page .topbar { gap:8px; padding-bottom:24px; }
  .home-page .brand { font-size:11px; letter-spacing:1.8px; gap:7px; }
  .home-language a,.home-language span { padding:0 7px; font-size:11px; }
  .home-page .nav-cta { padding:7px 8px; font-size:11px; }
  .home-start-panel { padding:18px; }
  .home-link .hero-actions { align-items:stretch; }
  .home-link .hero-actions .button { width:100%; }
  .home-page .result-card { padding:21px; }
}
@media (prefers-reduced-motion:reduce) { .home-page * { scroll-behavior:auto; transition:none; } .home-page .button:hover { transform:none; } }
/* Make the three outcomes and the complete archived examples easy to scan. */
.home-values { display:grid; gap:10px; margin:16px 0 0; padding:0; list-style:none; }
.home-values li { display:grid; grid-template-columns:32px minmax(0,1fr); align-items:start; gap:12px; }
.home-value-no { display:grid; place-items:center; width:32px; height:32px; border:1px solid #d9e8eb; border-radius:10px; background:#edf5f6; color:var(--accent-ink); font-size:11px; font-weight:800; font-variant-numeric:tabular-nums; }
.home-values h2 { margin:0 0 3px; font-size:14px; line-height:1.4; letter-spacing:-.015em; }
.home-values p { margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.home-preview { margin-bottom:54px; }
.preview-heading { max-width:740px; margin-bottom:24px; }
.preview-heading .kicker { margin:0 0 10px; color:var(--accent-ink); font-size:10px; letter-spacing:1.4px; }
.preview-heading h2 { margin:0 0 12px; font-size:clamp(25px,3.2vw,38px); line-height:1.2; letter-spacing:-.035em; }
.preview-heading > p:last-child { margin:0; color:var(--muted); font-size:15px; line-height:1.65; }
.preview-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:stretch; }
.preview-card { display:flex; flex-direction:column; min-width:0; padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--panel); box-shadow:0 10px 30px rgba(22,24,35,.025); }
.preview-card-heading { padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.preview-label { display:block; margin-bottom:9px; font-size:11px; line-height:1.6; font-weight:750; color:var(--rose-ink); }
.preview-card h3 { margin:0; font-size:23px; line-height:1.3; letter-spacing:-.025em; }
.preview-date { margin:8px 0 0; font-size:12px; color:var(--muted); }
.preview-step { margin-bottom:20px; }
.preview-step-label { margin:0 0 8px; color:var(--muted); font-size:11px; font-weight:750; line-height:1.5; }
.preview-step h4 { margin:0; font-size:17px; line-height:1.5; letter-spacing:-.015em; }
.preview-quote { margin:0; padding:14px 16px; border-left:2px solid var(--accent-rose); border-radius:0 10px 10px 0; background:#fbf7f8; }
.preview-quote p { margin:0; font-size:15px; line-height:1.6; }
.preview-evidence-note { margin:9px 0 0; font-size:11px; line-height:1.6; color:var(--muted); }
.preview-source-link { display:inline-flex; align-items:center; min-height:44px; color:var(--accent-ink); font-size:12px; font-weight:650; line-height:1.6; text-decoration:none; }
.preview-source-link:hover { text-decoration:underline; }
.preview-hook { padding:16px; border:1px solid #d9e8eb; border-radius:12px; background:#f3f8f9; }
.preview-hook > p:last-child { margin:0; font-size:15px; line-height:1.6; font-weight:650; }
.preview-next { padding:18px; border-radius:12px; background:var(--panel-2); }
.preview-next h4 { margin:0 0 10px; font-size:13px; line-height:1.5; font-weight:750; }
.preview-next ol { margin:0; padding-left:19px; display:grid; gap:8px; }
.preview-next li,.preview-next p { font-size:13px; line-height:1.65; color:var(--muted); }
.preview-next p { margin:0; }
.preview-caveat { margin:16px 0; font-size:11px; line-height:1.65; color:var(--muted); }
.preview-result-link { margin-top:auto; padding-top:14px; border-top:1px solid var(--line); min-height:50px; display:flex; align-items:center; font-size:13px; font-weight:650; }
.preview-creator .preview-label { color:var(--accent-ink); }
.preview-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; }
.preview-metrics > div { min-width:0; padding:16px; border:1px solid var(--line); border-radius:12px; background:#fafbfc; }
.preview-metrics dt { color:var(--muted); font-size:11px; line-height:1.6; }
.preview-metrics dd { margin:7px 0 0; font-size:28px; line-height:1.2; letter-spacing:-.035em; font-weight:750; font-variant-numeric:tabular-nums; }
.preview-metrics .preview-metric-views { grid-column:1 / -1; padding:22px; border-color:#d9e8eb; background:linear-gradient(135deg,#edf5f6,#f8fafb); }
.preview-metric-views dd { margin-top:8px; color:var(--accent-ink); font-size:clamp(42px,5vw,56px); letter-spacing:-.05em; }
.preview-metric-views small { display:block; margin-top:6px; color:var(--muted); font-size:12px; font-weight:400; line-height:1.6; letter-spacing:0; }
.preview-basis { margin:16px 0 22px; font-size:11px; line-height:1.65; color:var(--muted); }
@media (max-width:760px) {
  .home-values { gap:9px; margin-top:18px; }
  .home-values p { display:none; }
  .preview-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .home-preview { margin-bottom:36px; }
  .preview-card { padding:22px; }
  .preview-heading { margin-bottom:20px; }
  .preview-heading > p:last-child { font-size:14px; }
}
@media (max-width:420px) {
  .home-value-no { width:28px; height:28px; border-radius:8px; }
  .home-values li { grid-template-columns:28px minmax(0,1fr); gap:10px; }
  .home-values h2 { font-size:13px; }
  .preview-card { padding:18px; border-radius:18px; }
  .preview-card h3 { font-size:21px; }
  .preview-metrics { gap:9px; }
  .preview-metrics > div { padding:12px; }
  .preview-metrics dd { font-size:25px; }
  .preview-metrics .preview-metric-views { padding:18px; }
  .preview-metric-views dd { font-size:46px; }
}
@media (max-width:360px) {
  .home-page .topbar { padding-bottom:16px; }
  .home-page .seller-hero { padding-bottom:8px; }
  .home-page .seller-hero h1 { font-size:29px; }
  .home-page .seller-hero .hero-sub { font-size:15px; }
  .home-start-panel { padding:16px; }
  .home-start-intro { margin-bottom:12px; }
}

/* Keep the hero's CTA input and its button inside a 1280x800 first screen:
   the home topbar and hero blocks give up a little air on wide viewports. */
main[data-home] .topbar { margin-bottom:20px; padding-bottom:14px; }
