:root {
  --ink: #143026;
  --muted: #5c7366;
  --green: #0e7a3d;
  --green-dark: #0b5e2f;
  --deep: #08331c;
  --mint: #e7f6ec;
  --mint-2: #f4fbf6;
  --line: #d5e7db;
  --card: #ffffff;
  --gold: #e7a322;
  --gold-soft: #fff4d8;
  --blue: #2f7de1;
  --orange: #ef8b2c;
  --shadow: 0 18px 50px rgba(14, 80, 40, 0.08);
  --radius: 24px;
  --header: 76px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header) + 12px); }
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #d9f5e2 0%, transparent 60%),
    radial-gradient(700px 380px at -10% 8%, #e8f8ee 0%, transparent 55%),
    var(--mint-2);
  line-height: 1.6;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font-family: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--deep);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  background: transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  background: rgba(244, 251, 246, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled { background: transparent; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand img { width: 36px; height: 36px; }
.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-evenly;
  gap: 8px;
  min-width: 0;
  margin-left: 6px;
}
.nav a, .mobile-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a { white-space: nowrap; padding: 8px 0; }
.nav-home {
  flex: 0 1 auto;
  justify-content: flex-start;
  gap: 22px;
  margin-left: 28px;
}
.nav a:hover, .mobile-nav a:hover { color: var(--green); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang {
  display: flex;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn.is-active { background: var(--green); color: #fff; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.nav-cta, .btn-primary {
  background: var(--green);
  color: #fff;
  padding: 11px 16px;
  box-shadow: 0 8px 18px rgba(14, 122, 61, 0.22);
}
.nav-cta:hover, .btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 11px 16px;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle.is-open span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: rgba(244, 251, 246, 0.98);
  z-index: 29;
  padding: 18px 24px 32px;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a { font-size: 1.15rem; min-height: 44px; display: flex; align-items: center; }
.mobile-nav:not([hidden]) { display: flex; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 84px 0; }
.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.section h2, .page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 680px; margin-top: 12px; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

.hero { position: relative; padding: 28px 0 20px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }
.money-bits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bit { position: absolute; display: block; animation: bit-float 5.6s ease-in-out infinite; }
.coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff1c4 0 16%, transparent 17%),
    radial-gradient(circle at 50% 50%, #f8d56a 0 46%, #e2a728 47% 62%, #c88812 63% 100%);
  box-shadow: 0 6px 12px rgba(160, 100, 10, 0.16), inset 0 0 0 2px rgba(255, 236, 180, 0.75);
}
.coin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(138, 84, 8, 0.35);
}
.note {
  width: 36px;
  height: 20px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72) 0 4px, transparent 5px),
    linear-gradient(160deg, #49c774, #0e7a3d);
  box-shadow: 0 6px 12px rgba(8, 51, 28, 0.12);
  transform: rotate(-16deg);
}
.note::before,
.note::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 5px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
}
.note::before { left: 4px; }
.note::after { right: 4px; }
.c1 { left: 3%; top: 14%; }
.c2 { right: 4%; top: 18%; width: 16px; height: 16px; animation-delay: -1.6s; }
.c3 { left: 12%; bottom: 10%; width: 14px; height: 14px; animation-delay: -2.4s; }
.n1 { right: 11%; bottom: 14%; animation-delay: -0.7s; }
.n2 { left: 16px; top: 58%; width: 28px; height: 16px; animation-delay: -3.1s; }
.money-bits--band .b1 { left: 16px; top: 14px; }
.money-bits--band .b2 { right: 16px; top: 14px; width: 16px; height: 16px; animation-delay: -1.2s; }
.money-bits--band .b3 { right: 22px; bottom: 16px; animation-delay: -2.6s; }
@keyframes bit-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}
.licensed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: #8a5a08;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.licensed i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 .accent { color: var(--green); display: block; }
.hero .lede { font-size: 1.08rem; margin: 18px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.hero-stats li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 12px 10px;
}
.hero-stats strong { display: block; font-size: 1.05rem; letter-spacing: -0.03em; }
.hero-stats span { color: var(--muted); font-size: 0.78rem; }

.hero-visual { position: relative; display: grid; justify-items: center; }
.phone {
  width: min(300px, 78vw);
  background: #10281c;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 70px rgba(8, 51, 28, 0.28);
}
.phone img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: #f4fbf6;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.float-card strong { display: block; color: var(--green); letter-spacing: -0.03em; }
.float-card span { color: var(--muted); font-size: 0.75rem; }
.float-card--limit { left: 0; top: 18%; }
.float-card--speed { right: 0; bottom: 16%; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.calc-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  overflow: hidden;
}
.calc-controls { padding: 28px; display: grid; gap: 22px; }
.calc-field-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.calc-field-top span { color: var(--muted); font-weight: 600; }
.calc-field-top strong { font-size: 1.35rem; letter-spacing: -0.04em; }
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--progress, 50%), #dceee3 var(--progress, 50%));
  outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
  box-shadow: 0 2px 8px rgba(14, 122, 61, 0.25);
  cursor: pointer;
}
.calc-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.calc-result {
  background: linear-gradient(180deg, #0f7a3e, #0b5a2d);
  color: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-result p { display: flex; justify-content: space-between; gap: 12px; opacity: 0.92; }
.calc-summary { margin: 12px 0; }
.calc-summary div { margin-bottom: 12px; }
.calc-summary dt { opacity: 0.8; font-size: 0.85rem; }
.calc-summary dd { margin: 0; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; }
.calc-note, .fine { font-size: 0.82rem; color: var(--muted); }
.calc-result .calc-note { color: rgba(255, 255, 255, 0.78); }
.calc-result .btn-primary { background: #fff; color: var(--green-dark); box-shadow: none; margin-top: auto; }
.apr-line { margin-top: 14px; font-weight: 700; color: var(--deep); }

.params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.params li, .example, .card, .step, .elig li, .use li, .promise li, .legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.params li { padding: 18px 18px 16px; }
.params span { color: var(--muted); font-size: 0.85rem; }
.params strong { display: block; margin-top: 4px; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--green-dark); }

.example { padding: 22px; margin-bottom: 22px; }
.example h3 { margin-bottom: 8px; }
.example ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.example li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.example li span { font-weight: 800; color: var(--green); }

.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pay-row span {
  background: var(--mint);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.85rem;
}

.use {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.use li, .promise li { padding: 18px; }
.use strong, .promise strong, .step h3, .elig strong { display: block; margin-bottom: 4px; }
.use p, .promise p, .step p, .elig p, .doc p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature {
  padding: 20px;
  border-radius: 20px;
  background: var(--deep);
  color: #fff;
}
.feature p { color: rgba(255, 255, 255, 0.78); margin-top: 6px; }
.feature span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9be7b4; font-weight: 800; }

.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.doc { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.doc i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-style: normal;
  font-weight: 800;
}
.doc--phone i { background: #e7f1ff; color: var(--blue); }
.doc--bank i { background: #e5f6ea; color: var(--green); }
.doc--id i { background: #fff1e4; color: var(--orange); }

.steps { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 16px 18px; align-items: start; }
.step b {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--green-dark);
}
.elig { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.elig li { padding: 16px 18px; }

.promise { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.legal-card { padding: 20px; }
.legal-card h3 { margin-bottom: 4px; }
.facts { margin: 12px 0 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.legal-card ul, .dispute ol { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.dispute { margin-top: 12px; padding: 20px; }

.download {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0f7a3e, #08331c);
  color: #fff;
  border-radius: 32px;
  padding: 42px 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: center;
}
.download > :not(.money-bits) { position: relative; z-index: 1; }
.money-bits--band .note {
  background:
    radial-gradient(circle at 50% 50%, #fff6d8 0 4px, transparent 5px),
    linear-gradient(160deg, #fff4d2, #f0c14b);
}
.download h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.04em; }
.download p { color: rgba(255, 255, 255, 0.82); margin-top: 10px; }
.download .btn-primary { background: #fff; color: var(--deep); margin-top: 18px; }
.store-note { font-size: 0.85rem; }

.responsible {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff8e8;
  border: 1px solid #f0ddb0;
  color: #6d5316;
}

.site-footer { padding: 28px 0 48px; }
html.is-app-webview body.footer-off-handheld .site-footer { display: none; }
html.is-app-webview body[data-no-zh-handheld] .lang-btn[data-lang="zh"] { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: inherit; text-decoration: none; }
.footer-contact p, .footer-meta p { margin: 4px 0; color: var(--muted); font-size: 0.92rem; }
.footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-legal a { text-decoration: none; font-weight: 700; color: var(--ink); }
.footer-legal a:hover { color: var(--green); }
.copy-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  margin-left: 6px;
  cursor: pointer;
  vertical-align: middle;
}
.copy-btn.is-copied { background: var(--mint); border-color: var(--green); }
.copy-inline {
  border: 0;
  padding: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-line: underline;
}
a[href^="mailto:"].is-copied,
a[href^="tel:"].is-copied,
.copy-inline.is-copied {
  background: var(--mint);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--green);
  text-decoration: none;
}
.page-hero { padding: 36px 0 10px; }
.page-hero .lede { margin-bottom: 8px; }
.subhead { display: flex; justify-content: space-between; gap: 16px; align-items: center; }

.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.faq-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.faq-tab.is-active { background: var(--green); color: #fff; border-color: var(--green); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--ink);
}
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.is-open .faq-a { display: block; }
.help-box { margin: 22px 0 40px; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 28px; }
.support-card { padding: 22px; }
.support-card strong { font-size: 1.25rem; letter-spacing: -0.03em; }
.hours { color: var(--muted); margin-bottom: 40px; }
.template {
  background: var(--mint);
  border-radius: 16px;
  padding: 16px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
}
.tips { color: var(--muted); padding-left: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 48px; }

.legal-doc { padding-bottom: 64px; }
.legal-doc .lead { font-size: 1.05rem; color: var(--ink); }
.legal-doc h2 { margin: 28px 0 8px; font-size: 1.25rem; letter-spacing: -0.03em; }
.legal-doc p, .legal-doc li { color: #3e5648; }
.legal-doc ul, .legal-doc ol { padding-left: 18px; }
.legal-updated { color: var(--muted); margin-top: 8px; }

.about-split, .about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.about-split article, .about-highlights li, .journey li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  list-style: none;
}
.journey { padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.journey li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; }
.mark { font-weight: 800; color: var(--green); }

@media (max-width: 1160px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: inline-block; }
}

@media (max-width: 980px) {
  body.footer-off-handheld .site-footer { display: none; }
  body[data-no-zh-handheld] .lang-btn[data-lang="zh"] { display: none; }
  .download .phone { display: none; }
  .hero-grid, .calc-layout, .download, .footer-grid, .legal-grid, .about-split { grid-template-columns: 1fr; }
  .hero-stats, .params, .use, .features, .docs, .elig, .promise, .support-grid, .about-highlights { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
  .n1, .n2, .c1, .c3 { display: none; }
  .c2 { right: 12px; top: 8px; }
  .example li { grid-template-columns: 1fr; gap: 2px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 640px) {
  .site-header { width: min(var(--max), calc(100% - 28px)); }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 56px 0; }
  .hero-stats, .params, .use, .features, .docs, .elig, .promise, .support-grid, .about-highlights { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .download { padding: 28px 20px; }
  .subhead { align-items: flex-start; flex-direction: column; }
  .lang-btn { min-height: 40px; padding: 8px 11px; }
  .menu-toggle, .copy-btn { width: 40px; height: 40px; }
  .calc-range { height: 12px; }
  .calc-range::-webkit-slider-thumb { width: 28px; height: 28px; }
}

.cancel-page { padding-top: 20px; padding-bottom: max(48px, env(safe-area-inset-bottom)); }
.cancel-intro, .cancel-email, .cancel-card { width: min(640px, 100%); margin-left: auto; margin-right: auto; }
.cancel-intro, .cancel-email { margin-bottom: 16px; }
.cancel-intro h1 { font-size: clamp(1.7rem, 3vw, 2.15rem); letter-spacing: -0.04em; line-height: 1.2; }
.cancel-intro .lede { margin-top: 10px; }
.cancel-intro h2, .cancel-email h2 { margin: 22px 0 10px; font-size: 1.15rem; letter-spacing: -0.03em; }
.cancel-guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cancel-guide li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.cancel-guide .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint);
  font-size: 0.85rem;
}
.cancel-guide strong { display: block; margin-bottom: 2px; }
.cancel-guide li span:last-child { color: var(--muted); font-size: 0.92rem; }
.cancel-email {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 18px 16px;
}
.cancel-email h2 { margin-top: 0; }
.cancel-email p { color: var(--muted); margin-top: 6px; }
.cancel-email-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
}
.cancel-email-line a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.cancel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}
.cancel-card h2 { font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1.25; }
.cancel-card .lede { font-size: 0.98rem; margin: 8px 0 0; }
.cancel-progress { display: flex; align-items: flex-start; margin-bottom: 26px; }
.cancel-step {
  width: 88px;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8aa094;
  text-align: center;
  line-height: 1.2;
}
.cancel-line { flex: 1; height: 2px; background: #e3eee7; margin-top: 15px; }
.cancel-line.is-done { background: var(--green); }
.cancel-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: #f4f7f5;
  border: 1px solid #e1ebe5;
  color: #8aa094;
}
.cancel-step.is-current { color: var(--green); }
.cancel-step.is-current .cancel-dot { background: #fff; border: 2px solid var(--green); color: var(--green); }
.cancel-step.is-done { color: var(--green); }
.cancel-step.is-done .cancel-dot {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.2 16.7 19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: var(--green);
  color: transparent;
}
.cancel-panel { margin-top: 4px; }
.cancel-card label.field { display: block; margin-top: 16px; font-weight: 800; font-size: 0.92rem; }
.cancel-card .req { color: #d4533a; }
.cancel-card input[type="text"],
.cancel-card input[type="tel"],
.cancel-card select {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e1ebe6;
  background: #fff;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}
.cancel-card input[type="text"]::placeholder,
.cancel-card input[type="tel"]::placeholder { color: #9aada3; }
.cancel-card input[type="text"]:focus,
.cancel-card input[type="tel"]:focus,
.cancel-card select:focus { outline: 2px solid rgba(14, 122, 61, 0.22); border-color: var(--green); }
.cancel-card label.field.is-invalid input[type="text"],
.cancel-card label.field.is-invalid input[type="tel"],
.cancel-card label.field.is-invalid select { border-color: #e36a4f; }
.phone-row { display: flex; gap: 8px; margin-top: 6px; min-width: 0; }
.phone-prefix {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  background: #f3f6f4;
  border: 1px solid #e1ebe6;
  font-weight: 800;
  color: #3d4f46;
}
.phone-row input { margin-top: 0; width: auto; flex: 1; min-width: 0; }
.field-error { color: #d4533a; font-size: 0.86rem; font-weight: 600; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-weight: 500; color: var(--muted); font-size: 0.95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: 0 0 auto; }
.cancel-actions { display: flex; gap: 12px; margin-top: 22px; }
.cancel-card .btn { flex: 1; min-height: 48px; padding: 12px 18px; font-size: 1rem; }
.cancel-card .btn-primary { flex: 1.25; }
.cancel-note {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f7fb;
  color: #3e5164;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.resend-row { margin-top: 12px; }
.resend-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  padding: 0;
  cursor: pointer;
}
.resend-btn:disabled { cursor: default; color: var(--muted); }
.resend-count {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  font-weight: 800;
  color: var(--ink);
}
.done-panel { text-align: center; padding-top: 8px; }
.done-mark {
  width: 84px;
  height: 84px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: #eef8f1;
  display: grid;
  place-items: center;
  color: var(--green);
}
.done-panel .lede { margin-left: auto; margin-right: auto; }
.ref-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3f6f4;
  color: var(--muted);
  font-weight: 700;
}
.ref-pill strong { color: var(--ink); letter-spacing: 0.04em; }

@media (min-width: 980px) {
  .cancel-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    grid-template-areas:
      "intro form"
      "email form";
    column-gap: 36px;
    row-gap: 16px;
    align-items: start;
    width: min(1080px, calc(100% - 48px));
    padding-top: 28px;
    padding-bottom: 72px;
  }
  .cancel-intro { grid-area: intro; width: auto; margin: 0; }
  .cancel-card { grid-area: form; width: auto; margin: 0; }
  .cancel-email { grid-area: email; width: auto; margin: 0; }
}

@media (max-width: 640px) {
  .cancel-page { padding-top: 8px; }
  .cancel-intro h1 { font-size: 1.65rem; }
  .cancel-card { padding: 20px 16px 18px; border-radius: 22px; }
  .cancel-card h2 { font-size: 1.35rem; }
  .cancel-email { padding: 16px; border-radius: 18px; }
  .cancel-guide li { padding: 12px; }
  .cancel-step { font-size: 0.72rem; }
  .cancel-dot { width: 28px; height: 28px; }
  .cancel-line { margin-top: 13px; }
  .check { font-size: 0.92rem; }
  .check input { width: 22px; height: 22px; }
  .cancel-email-line { font-size: 0.98rem; }
  .done-panel .cancel-actions { flex-direction: column-reverse; }
  .done-panel .btn { width: 100%; flex: none; }
}

@media (max-width: 420px) {
  .cancel-actions { flex-direction: column-reverse; }
  .cancel-card .btn,
  .cancel-card .btn-primary { width: 100%; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bit { animation: none; }
}
