:root {
  color-scheme: dark;
  --ink: #eef3f8;
  --muted: #9caabd;
  --faint: #718097;
  --paper: #0b111a;
  --panel: #121b28;
  --panel-strong: #172334;
  --line: #26364a;
  --accent: #8ed8c0;
  --accent-strong: #b5f0dc;
  --warm: #e7b77b;
  --danger: #f0a6a6;
  font-family: "PingFang TC", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.7; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a, input, select { min-height: 44px; }

.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.shell-header { border-bottom: 1px solid var(--line); background: rgb(11 17 26 / 94%); }
.shell-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { color: var(--ink); font-size: 1.08rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.brand-mark { display: inline-grid; width: 28px; height: 28px; margin-right: 9px; place-items: center; border: 1px solid var(--accent); border-radius: 9px; color: var(--accent); font-size: .75rem; vertical-align: -2px; }
.shell-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shell-nav a { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; }
.shell-nav a:hover, .shell-nav a:focus-visible { background: var(--panel); color: var(--ink); }
.shell-nav .nav-primary { border: 1px solid var(--line); color: var(--accent-strong); }

.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 48px; align-items: end; padding: clamp(56px, 9vw, 108px) 0 70px; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 em { color: var(--accent-strong); font-style: normal; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-aside { padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); }
.hero-aside strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover, .btn:focus-visible { border-color: var(--accent); color: var(--accent-strong); }
.btn-primary { border-color: var(--accent); background: var(--accent); color: #0b1718; font-weight: 700; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-strong); color: #0b1718; }
.btn-muted { color: var(--muted); }

.section { padding: 30px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 18px; }
.section h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.25; }
.section-note, .muted { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, var(--panel-strong), var(--panel)); }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); }
.notice { padding: 14px 16px; border-left: 3px solid var(--warm); background: rgb(231 183 123 / 9%); color: var(--muted); }

.form-card { width: min(560px, 100%); margin: 64px auto; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--panel-strong), var(--panel)); box-shadow: 0 20px 70px rgb(0 0 0 / 22%); }
.form-card h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; }
.form-card h2 { margin: 30px 0 8px; font-size: 1.05rem; }
.form-card p { color: var(--muted); }
.form-card form { display: grid; gap: 10px; }
label { color: var(--muted); font-size: .9rem; }
input, select { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: #0d1622; color: var(--ink); }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--faint); font-size: .85rem; }
.divider::before, .divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.line-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border-radius: 9px; background: #06c755; color: #04150b; font-weight: 700; text-decoration: none; }
.line-button:hover, .line-button:focus-visible { background: #39e47f; color: #04150b; }
.status { min-height: 24px; color: var(--muted); }
.status.error { color: var(--danger); }
.status.success { color: var(--accent-strong); }

.comparison { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--panel); color: var(--muted); font-size: .85rem; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.price-placeholder { color: var(--faint); }

.shell-footer { margin-top: 56px; padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.shell-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shell-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 620px); }
  .shell-header-inner { min-height: 68px; align-items: flex-start; padding: 12px 0; }
  .shell-nav { justify-content: flex-end; gap: 2px; }
  .shell-nav a { padding: 7px 8px; font-size: .92rem; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 54px 0 46px; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .hero-aside { padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-note { display: block; margin-top: 6px; }
  .form-card { margin: 28px auto; padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
