:root {
  color-scheme: light;
  --canvas: #f7fcf9;
  --paper: #fff;
  --ink: #10271e;
  --quiet: #425e51;
  --accent: #087451;
  --accent-hover: #065e42;
  --green: #176245;
  --border: #d6e9df;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; min-width: 300px; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #218950; outline-offset: 4px; }

.container { width: min(100% - 5rem, 1220px); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid #e0eee6;
  background: #ffffffed;
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 4.55rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; width: fit-content; align-items: center; gap: .7rem; font-weight: 700; }
.brand > span:last-child { display: flex; align-items: center; white-space: nowrap; }
.brand small { color: var(--quiet); font-size: .875rem; font-weight: 500; }
.brand-divider { width: 1px; height: .85rem; margin-inline: .65rem; background: #cdd8cf; }
.brand-mark {
  display: grid;
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid #cdebd9;
  border-radius: .7rem;
  background: #e5f8ed;
}
.brand-mark img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
nav { display: flex; gap: clamp(1.45rem, 3vw, 2.7rem); white-space: nowrap; }
nav a { padding: .55rem 0; color: #46584e; font-size: .94rem; font-weight: 600; }
nav a:hover, .text-link:hover { color: #17754b; }

.button {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: transparent;
  color: inherit;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.button-header { justify-self: end; min-height: 2.55rem; border-color: #bedfce; background: #f4fff8; color: #14543b; --chat-background: #f4fff8; }
.button-header:hover, .button-neutral:hover { border-color: #91c8aa; background: #e7f9ee; }
.chat-mark {
  display: inline-block;
  position: relative;
  width: 1.15rem;
  height: .86rem;
  border: 1.6px solid currentColor;
  border-radius: .37rem;
}
.chat-mark::after {
  content: '';
  position: absolute;
  bottom: -.19rem;
  left: .2rem;
  width: .25rem;
  height: .25rem;
  transform: skewY(-43deg);
  border-bottom: 1.6px solid currentColor;
  border-left: 1.6px solid currentColor;
  background: var(--chat-background, #fff);
}

.hero-shell {
  overflow: hidden;
  margin-top: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: var(--paper);
  box-shadow: 0 12px 34px #20805a0c;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 19.9rem;
  display: flex;
  align-items: center;
  background: #eefbf4;
  color: #10392b;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f7fdf9 1%, #f7fdf961 34%, transparent 64%), url('assets/hero-light.png') center / cover no-repeat;
  content: '';
}
.hero-content { width: 100%; padding: 2.7rem clamp(2rem, 5.05vw, 4.4rem); }
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.1rem); line-height: 1.13; letter-spacing: -.048em; }
.hero h1 span { color: var(--ink); font-weight: 750; }
.hero-description { max-width: 32rem; margin-top: 1rem; color: #365b4c; font-size: clamp(1rem, 1.5vw, 1.13rem); line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.45rem; }
.hero-actions .button { padding-inline: 1.23rem; }
.button-bright, .button-primary { background: var(--accent); color: #fff; }
.button-bright:hover, .button-primary:hover { background: var(--accent-hover); }
.button-ghost { border-color: #b6dccc; background: #ffffffb8; color: #225641; }
.button-ghost:hover { border-color: #89c3a8; background: #fff; }

.service-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: .9rem 0;
  border-top: 1px solid #d6e9df;
}
.service-facts > div { padding: .13rem 1rem; text-align: center; }
.service-facts > div + div { border-left: 1px solid #dceee4; }
.service-facts dt { color: var(--quiet); font-size: .875rem; line-height: 1.5; }
.service-facts dd { margin-top: .2rem; color: #155a41; font-size: 1rem; font-weight: 700; line-height: 1.35; }

.section { margin-top: 2.8rem; }
h2 { font-size: clamp(1.62rem, 2.7vw, 2.04rem); line-height: 1.2; letter-spacing: -.035em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-heading p { color: var(--quiet); line-height: 1.55; }
.text-link { color: var(--green); text-underline-offset: .2em; font-size: .92rem; font-weight: 650; }
.text-link:hover { text-decoration: underline; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.plan-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.2rem 1.22rem 1.02rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: var(--paper);
  box-shadow: 0 6px 18px #16724f08;
}
.plan-card:focus-within { border-color: #91b79d; }
.plan-card h3 { font-size: 1.17rem; font-weight: 700; }
.multiple { margin-left: .07em; }
.price {
  display: flex;
  align-items: baseline;
  gap: .17em;
  color: #14271d;
  font-variant-numeric: lining-nums tabular-nums;
  font-size: clamp(2.2rem, 4.2vw, 3.02rem);
  line-height: 1.06;
  font-weight: 720;
  letter-spacing: -.064em;
  white-space: nowrap;
}
.currency { color: #20795a; font-size: .53em; font-weight: 650; letter-spacing: 0; }
.plan-term { margin-top: -.33rem; color: var(--quiet); font-size: .875rem; line-height: 1.45; }
.button-plan { width: 100%; min-height: 2.65rem; margin-top: .15rem; border-color: #caeadd; background: #ecfaf3; color: #116044; }
.button-plan:hover { border-color: #a3d6bd; background: #dff6e9; }

.how { padding: 1.55rem 1.6rem 1.75rem; border: 1px solid var(--border); border-radius: 1.25rem; background: #fff; }
.how h2 { font-size: 1.35rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.55rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: .77rem; }
.steps h3 { margin-top: .09rem; font-size: 1rem; }
.steps p { margin-top: .3rem; color: var(--quiet); font-size: .9rem; line-height: 1.55; }
.step-icon, .dialog-icon { display: inline-grid; flex: none; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .65rem; background: #e3f8ec; color: #1c6e4e; --chat-background: #e3f8ec; }
.icon-list { width: 1.05rem; height: .82rem; border-block: 1.5px solid currentColor; }
.icon-list::before { display: block; width: 100%; margin-top: .29rem; border-top: 1.5px solid currentColor; content: ''; }
.icon-check { width: .87rem; height: .48rem; transform: translateY(-.08rem) rotate(-45deg); border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; }

.help-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: 2.25rem; }
.faq h2 { margin-bottom: 1rem; font-size: 1.55rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex;
  min-height: 3.35rem;
  list-style: none;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { color: #317352; font-size: 1.32rem; font-weight: 400; content: '+'; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 1.15rem .9rem 0; color: var(--quiet); line-height: 1.7; }
.support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  min-height: 14rem;
  padding: 1.3rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: linear-gradient(130deg, #edfbf4, #f8fffb 84%);
}
.support h2 { font-size: 1.35rem; }
.support-description { max-width: 14.5rem; margin-top: .62rem; color: #42574a; font-size: .92rem; line-height: 1.6; }
.support-info .text-link { display: inline-block; margin-top: .86rem; text-decoration: underline; }
.support-qr { flex: 0 0 clamp(8.25rem, 12vw, 9.15rem); text-align: center; }
.support-qr img { width: 100%; height: auto; border: 1px solid #dceee4; border-radius: .7rem; }
.support-qr figcaption { margin-top: .48rem; color: var(--quiet); font-size: .875rem; }

footer { margin-top: 3.2rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5.1rem; padding-block: 1rem; }
.footer-inner p { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; color: var(--quiet); font-size: .88rem; }
.footer-inner strong { color: var(--ink); }
.footer-inner a { flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
dialog {
  width: min(100% - 1.5rem, 28rem);
  max-height: calc(100% - 1.5rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 1.3rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.25rem 5rem #163d2c33;
}
dialog::backdrop { background: #143b2d66; }
.dialog-inner { position: relative; padding: 1.55rem 1.35rem 1.1rem; text-align: center; }
.dialog-close {
  position: absolute;
  top: .68rem;
  right: .68rem;
  width: 2.3rem;
  height: 2.3rem;
  border: none;
  border-radius: .5rem;
  background: #eef8f2;
  color: var(--ink);
  font-size: 1.55rem;
  cursor: pointer;
}
.dialog-close:hover { background: #e2f4e9; }
.dialog-icon { margin-bottom: .75rem; }
.dialog-inner h2 { font-size: 1.6rem; }
.dialog-description { max-width: 21rem; margin: .55rem auto 0; color: var(--quiet); font-size: .93rem; line-height: 1.55; }
.dialog-plan { width: fit-content; margin: .9rem auto 0; padding: .4rem .7rem; border-radius: .5rem; background: #e9f9f0; color: #1d5a42; font-weight: 650; }
.dialog-qr { width: min(100%, 13.5rem); height: auto; margin: .9rem auto .36rem; border: 1px solid var(--border); border-radius: .85rem; }
.scan-label { color: var(--quiet); font-size: .88rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: .95rem; }
.button-neutral { border-color: var(--border); background: #f3faf6; }
.copy-feedback { min-height: 1.25rem; margin-top: .44rem; color: var(--green); font-size: .85rem; line-height: 1.5; }

@media (max-width: 880px) {
  .container { width: min(100% - 2.6rem, 1220px); }
  .header-inner { gap: 1.1rem; }
  .brand small, .brand-divider { display: none; }
  .hero::before { background-position: 61% center; }
  .plan-card { padding-inline: .87rem; }
  .help-grid { gap: 1.15rem; }
  .support { padding-inline: .95rem; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 4.5rem; }
  .container { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.65rem; grid-template-columns: 1fr auto; }
  nav { display: none; }
  .button-header { min-height: 2.35rem; padding-inline: .7rem; }
  .hero-shell { margin-top: 1rem; border-radius: 1.15rem; }
  .hero { min-height: 0; }
  .hero::before {
    background-image: linear-gradient(90deg, #f8fffbf5 0%, #f8fffbd6 46%, #f8fffb30 100%), url('assets/hero-light.png');
    background-position: center, right -4.3rem bottom -1rem;
    background-size: cover, auto 100%;
    background-repeat: no-repeat;
  }
  .hero-content { padding: 1.8rem 1.25rem; }
  .hero h1 span { display: block; }
  .hero-description { margin-top: .8rem; }
  .hero-actions { margin-top: 1.15rem; }
  .hero-actions .button { padding-inline: .85rem; }
  .service-facts { padding: .65rem 0; }
  .service-facts > div { padding-inline: .25rem; }
  .service-facts dd { font-size: .875rem; }
  .section { margin-top: 2.05rem; }
  .section-heading { align-items: baseline; gap: .25rem .75rem; flex-wrap: wrap; margin-bottom: .9rem; }
  .section-heading p { font-size: .91rem; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .67rem; }
  .plan-card { gap: .67rem; padding: 1rem .87rem .75rem; border-radius: .9rem; }
  .price { font-size: clamp(1.9rem, 8.9vw, 2.55rem); }
  .button-plan { min-height: 2.45rem; }
  .how { padding: 1.2rem; }
  .steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .help-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .support { min-height: 0; padding: 1rem 1.2rem; }
  .footer-inner { align-items: flex-start; }
  .footer-inner p { display: grid; }
  footer { margin-top: 2.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 365px) {
  .support { padding-inline: .82rem; }
  .support h2 { font-size: 1.125rem; }
}
