/* Homepage composition from option F (section order, hierarchy, spacing, type),
   remapped to option E paper / vermillion. Shared by ZH and EN raw homepages. */
.home-page{font-family:"Helvetica Neue",Geist,"Noto Sans CJK SC","PingFang SC","Microsoft YaHei",sans-serif}
.home-page h1,.home-page h2,.home-page h3{font-weight:450}
.home-page .wrap{width:auto;max-width:1320px;margin:auto;padding:0 40px}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:650;color:var(--muted);margin:0}
.home-page a:hover{text-decoration:none}
/* Reset content.css .hero card (border, radius, gradient) so the homepage hero is full-bleed. */
.home-page .hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 0 60px;min-height:680px;width:100%;max-width:none;margin:0;border:0;border-top:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:none}
.hero-inner{width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}
.hero h1{font-size:43px;line-height:1.2;margin:0;font-weight:450;letter-spacing:-.05em;color:var(--ink)}
.hero h1 br{display:none}
.lede{margin:0;max-width:640px;font-size:14px;line-height:1.7;color:var(--muted)}
.home-page .hero .hero-note{max-width:none;line-height:inherit;margin:0;padding:0;border:0;font-size:11px;color:var(--muted);display:flex;gap:20px;justify-content:center}
.saving{width:min(100%,760px);display:grid;grid-template-columns:1fr 1fr;text-align:left;column-gap:42px;border:0;border-radius:0;background:none;padding:18px 0 0}
.saving .tag{grid-column:1/-1;justify-self:center;border:1px solid var(--line);color:var(--muted);border-radius:30px;padding:4px 14px;font-size:10px;letter-spacing:.08em;display:inline-block}
.saving h2{grid-column:1/-1;text-align:center;color:var(--ink);font-size:14px;font-weight:500;margin:20px 0 0}
.amount,.hero-amount{grid-column:1/-1;text-align:center;font-size:150px;font-weight:450;line-height:1.08;letter-spacing:-.075em;margin:0 0 18px;color:var(--accent)}
.amount small{font-size:27px;letter-spacing:0;font-weight:450;color:var(--accent)}
.comparison{grid-column:1;grid-row:4/7;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.comparison span{font-size:11px;color:var(--muted);display:block}
.comparison strong{font-size:24px;font-weight:500;color:var(--ink)}
.comparison>div+div{border-left:1px solid var(--line);padding-left:22px}
.saving .formula{grid-column:1;grid-row:7;margin:9px 0;font-size:11px;color:var(--muted);line-height:1.6}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:13px 24px;border:1px solid var(--line);border-radius:99px;font-size:14px;font-weight:650;cursor:pointer;background:transparent;color:var(--ink);text-decoration:none}
.btn.primary,.saving .primary{grid-column:2;grid-row:4;align-self:center;width:100%;border-radius:99px;padding:18px 25px;justify-content:space-between;font-size:16px;background:var(--accent);color:#FFFCF6;border-color:var(--accent)}
.btn.primary:hover,.saving .primary:hover{background:var(--accent-strong);color:#FFFCF6}
.home-page .saving .fine{max-width:none;line-height:inherit;grid-column:2;grid-row:5;margin:8px 0 0;font-size:11px;color:var(--muted)}
.section{border-top:1px solid var(--line);padding:30px 0 50px;background:var(--paper)}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;gap:16px}
.section-head h2{font-size:20px;margin:0;font-weight:450;letter-spacing:0;color:var(--ink)}
.subtle{color:var(--muted);font-size:13px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.feature{border-left:1px solid var(--line);padding:0 26px}
.feature:first-child{padding-left:0;border-left:0}
.num{font:12px var(--mono);color:var(--muted);letter-spacing:.04em}
.feature h3{font-size:16px;margin:10px 0 8px;font-weight:550;color:var(--ink)}
.feature p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}
.feature a{color:inherit}
.calculator{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.calculator label{font-size:12px;color:var(--muted);flex:1}
.calculator input{display:block;width:100%;min-width:120px;margin-top:7px;background:#FFFCF6;color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:10px;font:inherit}
.result{color:var(--accent);font-size:18px;margin-top:15px}
.calc-note{margin:8px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
.endpoint{background:#FFFCF6;border:1px solid var(--line);border-radius:8px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.endpoint code,.endpoint #base-url{font-size:14px;font-family:var(--mono);color:var(--ink)}
.home-page .endpoint .eyebrow{margin:0 0 4px;font-size:11px;font-weight:650}
.message,.copy-status{font-size:12px;color:var(--muted);min-height:20px;margin:8px 0 0}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}
.section-heading h2{font-size:20px;letter-spacing:0;margin:0;font-weight:450}
.text-link{color:var(--muted);font-size:14px;font-weight:550}
.text-link.strong{color:var(--accent);font-weight:650}
.model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.model-card{padding:18px;background:#FFFCF6;border:1px solid var(--line);border-radius:12px;min-width:0}
.model-card .type{display:inline-block;margin:0 0 10px;padding:4px 8px;border-radius:999px;background:var(--soft);color:#9E2E1E;font-size:12px;font-weight:650}
.model-card h3{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;margin:0 0 8px;font-weight:550}
.model-card code{font-family:var(--mono);font-size:13px;overflow-wrap:anywhere}
.model-card p{margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.6}
.model-card a{color:var(--accent)}
.price-note,.featured-note{margin:14px 0 0;color:var(--muted);font-size:14px;line-height:1.6}
.price-note a{color:var(--accent)}
.copy-inline{border:1px solid var(--line);border-radius:8px;background:#FFFCF6;color:var(--ink);min-height:44px;padding:0 12px;font-size:14px;font-weight:650}
.copy-inline:hover{background:var(--soft)}
.site-footer{border-top:1px solid var(--line);padding:32px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:32px}
.footer-brand{display:flex;align-items:center;gap:20px}
.footer-brand .brand{font-size:19px;display:flex;align-items:center;gap:8px;font-weight:700}
.copyright{font-size:12px;color:var(--muted)}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:14px;color:var(--muted)}
.footer-links a:hover{color:var(--accent)}
.footer-support{font-size:14px;color:var(--muted)}
@media(min-width:1500px){
  .home-page .wrap{max-width:1360px}
  .home-page .hero{padding-top:85px;padding-bottom:85px}
}
@media(max-width:1100px){
  .model-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:1000px){
  .home-page .hero{min-height:650px}
  .hero h1{font-size:38px}
  .amount,.hero-amount{font-size:135px}
  .home-page .wrap{padding:0 25px}
}
@media(max-width:700px){
  .home-page .wrap{padding:0 20px}
  .home-page .hero{padding:32px 0;min-height:0;gap:16px}
  .hero-inner{gap:16px}
  .hero h1{font-size:33px;margin:0}
  .hero h1 br{display:block}
  .lede{font-size:13px}
  .saving{display:flex;flex-direction:column;padding:0;gap:0;text-align:center;width:100%}
  .saving .tag{align-self:center;font-size:9px}
  .saving h2{margin-top:16px}
  .amount,.hero-amount{font-size:106px;margin-bottom:18px}
  .amount small{font-size:21px}
  .comparison{width:100%;text-align:left;padding:12px 0}
  .saving .formula{font-size:10px;margin:10px 0 18px}
  .saving .primary{align-self:stretch;width:100%;order:6}
  .saving .fine{order:7}
  .home-page .hero .hero-note{display:none}
  .feature,.feature:first-child{padding:16px 0;border:0;border-bottom:1px solid var(--line)}
  .grid3{grid-template-columns:1fr;gap:0}
  .section-head{flex-direction:column;align-items:flex-start;gap:10px}
  .endpoint{align-items:start;flex-direction:column}
  .endpoint code,.endpoint #base-url{font-size:12px;overflow-wrap:anywhere}
  .section-heading,.model-grid{display:grid;grid-template-columns:1fr}
  .section-heading h2{margin-bottom:8px}
  .footer-inner{align-items:flex-start;flex-direction:column;gap:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.featured-caption{margin:14px 0 0;color:var(--muted);font-size:14px}
