:root {
  --bg: #F6F6F4;
  --paper: #FFFFFF;
  --ink: #111111;
  --ink-2: #4A4A4A;
  --line: #E2E2DE;
  --blue: #111111;
  --blue-deep: #111111;
  --sun: #D7261E;
  --sun-deep: #A81B14;
  --red: #D7261E;
  --green: #0F8A4B;
  --green-deep: #0A6B3A;
  --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --radius-lg: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.55; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 246, 244, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.wordmark {
  display: flex; align-items: center; gap: 9px; text-decoration: none;
  font-weight: 800; font-size: 21px; font-stretch: 112%; letter-spacing: -0.01em;
}
.wordmark .sun { width: 26px; height: 26px; fill: var(--red); stroke: var(--red); }
.wordmark .dot { color: var(--blue); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: inherit; font-size: 14px; font-weight: 700;
  height: 38px; min-width: 46px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  white-space: nowrap; flex: none;
}
.call {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.call .num { font-variant-numeric: tabular-nums; }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.tag {
  display: inline-block; font-size: 15px; font-weight: 700; color: var(--blue-deep);
  background: #ECECE8; padding: 4px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 900; font-stretch: 88%;
  letter-spacing: -0.02em; line-height: 1.08;
}
html[lang="en"] .hero h1 { font-stretch: 78%; letter-spacing: -0.025em; line-height: 1.0; font-size: clamp(27px, 8.1vw, 60px); }
.nw { white-space: nowrap; }
.lede strong { color: var(--ink); font-weight: 800; }
.lede { margin-top: 22px; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.sce {
  margin-top: 14px; max-width: 34em; font-size: 18px; font-weight: 800; color: var(--ink);
  padding-left: 14px; border-left: 4px solid var(--sun);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 800;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #111; color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--red); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Bill illustration — the one bold moment */
.bill-wrap { position: relative; justify-self: center; width: min(400px, 100%); padding: 10px 26px 100px 0; }
.bill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 26px 22px;
  transform: rotate(-3deg);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(0, 0, 0, 0.30);
  font-variant-numeric: tabular-nums;
}
.bill-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.bill-utility { font-weight: 900; font-size: 18px; font-stretch: 110%; }
.bill-sample { font-size: 12px; color: var(--ink-2); }
.bill-rows { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.bill-row { display: flex; justify-content: space-between; font-size: 15px; padding: 5px 0; color: var(--ink-2); }
.bill-row span:last-child { color: var(--ink); font-weight: 600; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 14px; }
.bill-total span { font-weight: 700; }
.bill-total strong { font-size: 40px; font-weight: 900; font-stretch: 90%; color: var(--red); letter-spacing: -0.02em; }
.bill-lines i { display: block; height: 7px; background: #EDF1F7; border-radius: 4px; margin-top: 8px; }

.stamp {
  position: absolute; right: -4px; bottom: 0;
  width: 168px; height: 168px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(9deg);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--sun-deep);
  animation: stamp-in .55s cubic-bezier(.2,.9,.3,1.3) .35s both;
}
.stamp-top { font-size: 15px; font-weight: 800; text-align: center; line-height: 1.15; max-width: 130px; }
.stamp-amt { font-size: 44px; font-weight: 900; font-stretch: 85%; line-height: 1; letter-spacing: -0.02em; margin-top: 2px; }
@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-12deg) scale(1.5); }
  to { opacity: 1; transform: rotate(9deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .stamp { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
section h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900; font-stretch: 92%; letter-spacing: -0.015em;
}
.program { background: #000; color: #fff; padding: 72px 0; }
.program-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 40px; margin-top: 36px; }
.program-grid { align-items: start; }
.program-item:nth-child(2) h3 { font-size: 30px; color: #fff; }
.program-item:nth-child(2) { background: var(--red); border-top: 0; padding: 26px 26px 28px; border-radius: 14px; margin-top: -8px; box-shadow: 0 18px 40px -18px rgba(215,38,30,.7); }
.program-item:nth-child(2) p { font-size: 20px; color: #fff; font-weight: 600; line-height: 1.5; }
.program-item { border-top: 3px solid var(--sun); padding-top: 18px; }
.program-item h3 { font-size: 21px; font-weight: 800; }
.program-item p { margin-top: 10px; color: #BDBDBD; }

.steps { padding: 80px 0; }
.step-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step-list li { display: flex; gap: 16px; padding: 0 28px 0 0; position: relative; }
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
}
.step-list h3 { font-size: 20px; font-weight: 800; margin-top: 8px; }
.step-list p { margin-top: 8px; color: var(--ink-2); max-width: 26em; }

/* Upload */
.upload { background: var(--paper); border-top: 1px solid var(--line); padding: 80px 0 96px; }
.upload-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.upload-intro p { margin-top: 14px; color: var(--ink-2); max-width: 26em; }
.upload-alt a { font-size: 26px; font-weight: 900; color: var(--blue); text-decoration: none; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.field label, .field .label { font-size: 15px; font-weight: 700; }
.req { color: var(--red); }
input[type="text"], input[type="tel"], select, textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  width: 100%; padding: 12px 14px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314213D' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field.invalid input, .drop.invalid { border-color: var(--red); }
textarea { resize: vertical; }

.drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 132px; padding: 20px; text-align: center; cursor: pointer;
  border: 2px dashed #BDBDB8; border-radius: var(--radius-lg); background: var(--bg);
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.drag { border-color: var(--blue); background: #F1F1EE; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.drop-main { font-weight: 800; font-size: 18px; color: var(--blue-deep); }
.drop-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.file-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list li {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14px; padding: 8px 12px; background: var(--bg); border-radius: 8px;
}
.file-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li span:last-child { color: var(--ink-2); flex: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }
.consent a { color: inherit; }
.consent { font-size: 13px; color: var(--ink-2); }
.form-msg { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-msg.err { color: var(--red); }

.done {
  grid-column: 2; padding: 36px; border-radius: var(--radius-lg);
  background: #EAF6EE; border: 1.5px solid #9BD3AE;
}
.done h3 { font-size: 26px; font-weight: 900; }
.done p { margin-top: 10px; }

/* News */
.news { padding: 56px 0 72px; }
.news h2 { font-size: clamp(26px, 3.2vw, 34px); }
.pull { margin: 22px 0 8px; padding: 22px 26px; background: var(--ink); color: #fff; border-radius: 18px; border-left: 6px solid var(--sun); }
.pull blockquote { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; max-width: 40em; }
.pull figcaption { margin-top: 14px; font-size: 15px; color: #BDBDBD; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.pull figcaption strong { color: #fff; font-weight: 700; }
.program .pull { background: #161616; margin: 24px 0 8px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 20px; border-top: 1px solid var(--line); }
.news-card {
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.news-body { min-width: 0; flex: 1; display: flex; flex-direction: column; min-height: 112px; }
.news-src { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.news-ico { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.news-title {
  margin-top: 8px; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--blue-deep);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
html[lang="zh-CN"] .news-title { font-weight: 700; }
.news-card:hover .news-title { text-decoration: underline; }
.news-note { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--red); line-height: 1.4; }
.news-time { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-2); }
.news-thumb { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; flex: none; background: var(--line); }
.news-more {
  display: flex; align-items: center; justify-content: center; width: min(440px, 100%); height: 48px;
  margin: 24px auto 0; border-radius: 999px; background: #E6EBF2; color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.news-more:hover { background: #DCE3EE; }
@media (min-width: 761px) {
  .news-thumb { width: 84px; height: 84px; }
  .news-title { font-size: 17px; -webkit-line-clamp: 4; }
  .news-note { font-size: 14px; }
}
@media (max-width: 760px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-thumb { width: 88px; height: 88px; }
  .news-body { min-height: 0; }
  .news-title { font-size: 17px; }
}

/* WeChat (Chinese only) */
html[lang="en"] .zh-only { display: none !important; }
html[lang="zh-CN"] .en-only { display: none !important; }
.wechat { margin-top: 18px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wx-id {
  font: inherit; font-size: 22px; font-weight: 900; color: #07A35A; background: #E8F7EF;
  border: 0; border-radius: 10px; padding: 4px 12px; cursor: pointer;
}
.wx-tip { font-size: 13px; color: var(--ink-2); }

/* Mobile: put the sample bill right under the headline */
@media (max-width: 900px) {
  .hero .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .tag { order: 1; justify-self: start; }
  .hero-copy > h1 { order: 2; }
  .bill-wrap { order: 3; margin: 24px 0 0; width: min(340px, 92%); padding-bottom: 64px; }
  .hero-copy > .lede { order: 4; }
  .hero-copy > .sce { order: 5; }
  .hero-copy > .hero-cta { order: 6; }
}

/* Breaking news label */
.tag.breaking { background: #fff; color: var(--ink); border: 1.5px solid var(--red); padding: 5px 12px 5px 5px; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; line-height: 1.3; }
.tag.breaking b { background: var(--red); color: #fff; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }

/* Telesolar */
.tele { padding: 56px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tele-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.tele p { margin: 0 0 14px; color: var(--ink-2); font-size: 18px; max-width: 38em; }
.tele p strong { color: var(--ink); }
.tele .tele-note { font-size: 15px; }
@media (max-width: 900px) { .tele-inner { grid-template-columns: 1fr; gap: 16px; } .tele { padding: 44px 0; } }

/* Footer */
.footer { background: #000; color: #BDBDBD; padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a { color: #fff; text-decoration: none; font-weight: 700; }

.float-call {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  background: #111; box-shadow: 0 8px 24px -6px rgba(0,0,0,.45);
  align-items: center; justify-content: center;
}
.float-call { transition: opacity .2s, transform .2s; }
.float-call.float-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.stamp-top strong { font-weight: 900; font-size: 1.25em; }
.float-call svg { width: 26px; height: 26px; fill: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid, .upload-grid { grid-template-columns: 1fr; gap: 40px; }
  .program-grid, .step-list { grid-template-columns: 1fr; gap: 28px; }
  .done { grid-column: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .call { padding: 0 12px; }
  .call [data-i18n="call"] { display: none; }
  .lede { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .stamp { width: 132px; height: 132px; right: 0; }
  .stamp-amt { font-size: 34px; }
  .stamp-top { font-size: 13px; }
  .bill { padding: 20px 18px 18px; }
  .bill-total strong { font-size: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .program, .steps, .upload { padding-top: 56px; padding-bottom: 56px; }
  .float-call { display: flex; }
  .hide-mobile { display: none !important; }
  .footer { padding-bottom: 88px; }
}
@media (max-width: 400px) {
  .wordmark { font-size: 18px; gap: 6px; }
  .wordmark .sun { width: 22px; height: 22px; }
  .topbar-actions { gap: 6px; }
  .lang { padding: 0 10px; min-width: 0; }
  .call { padding: 0 10px; font-size: 13px; }
}
@media (max-width: 350px) {
  .topbar .call { display: none; }
}

/* Mobile: tighter spacing */
@media (max-width: 560px) {
  body { line-height: 1.55; }
  .hero { padding: 24px 0 36px; }
  .tag { margin-bottom: 14px; }
  .lede { margin-top: 14px; font-size: 16px; }
  .lede br + br { display: block; content: ""; margin-top: -6px; }
  .sce { margin-top: 10px; font-size: 16px; }
  .hero-cta { margin-top: 20px; }
  .bill-wrap { margin: 16px 0 0 !important; padding-bottom: 56px !important; }
  .news, .tele, .program, .steps, .upload { padding-top: 40px !important; padding-bottom: 40px !important; }
  section h2 { font-size: 28px; }
  .news-grid { margin-top: 14px; }
  .news-card { padding: 12px 0; }
  .tele p { font-size: 16px; }
  .program-grid { margin-top: 20px; gap: 20px; }
  .program-item { padding-top: 12px; }
  .program-item:nth-child(2) { padding: 18px 18px 20px; margin-top: 0; }
  .pull { padding: 16px 18px; }
  .pull blockquote { font-size: 19px; }
  .step-list { margin-top: 20px; gap: 18px; }
  .upload-grid { gap: 24px; }
  .form { gap: 14px; }
  .drop { min-height: 104px; }
}
@media (max-width: 560px) {
  .tag.breaking { display: flex; border-radius: 12px; padding: 8px 10px; gap: 6px 8px; font-size: 14px; }
  .tag.breaking b { font-size: 12px; }
  .hero { padding-bottom: 8px; }
}

/* Telesolar list */
.tele { background: var(--bg); border-top: 0; }
.tele-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tele-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink-2); line-height: 1.5; }
.tele-list li:last-child { border-bottom: 1px solid var(--line); }
.tele-list b { display: block; color: var(--ink); font-size: 20px; font-weight: 800; margin-bottom: 2px; }
@media (max-width: 560px) { .tele-list li { padding: 12px 0; font-size: 16px; } .tele-list b { font-size: 18px; } }
.tele { padding-top: 0 !important; }
.news { padding-bottom: 48px; }
@media (max-width: 560px) { .news { padding-bottom: 32px !important; } }
