:root {
  color-scheme: light;
  --ink: #14231c;
  --muted: #64716b;
  --line: #dbe3de;
  --paper: #f3f6f3;
  --panel: #fff;
  --green: #167b50;
  --green-dark: #0d5337;
  --lime: #c7f45b;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 13% 10%, rgba(199,244,91,.26), transparent 26%), radial-gradient(circle at 89% 90%, rgba(22,123,80,.12), transparent 31%); }
.shell { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: auto; display: grid; grid-template-columns: 1.05fr .85fr; gap: clamp(40px, 8vw, 110px); align-items: center; padding: 56px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--green-dark); background: var(--lime); }
.intro .brand { margin-bottom: clamp(70px, 12vh, 150px); }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 84px); line-height: 1.03; letter-spacing: -.065em; }
h1 span { color: var(--green); }
.lead { max-width: 600px; margin: 25px 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.features { display: flex; flex-wrap: wrap; gap: 18px; color: #4e5d55; font-size: 13px; }
.features span::first-letter { color: var(--green); }
.promo-link { display: flex; align-items: center; gap: 13px; width: max-content; max-width: 100%; margin-top: 30px; padding: 13px 16px; border: 1px solid rgba(22,123,80,.18); border-radius: 14px; background: rgba(255,255,255,.72); color: var(--ink); text-decoration: none; transition: border .2s, transform .2s, box-shadow .2s; }
.promo-link:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,35,28,.08); }
.promo-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--lime); color: var(--green-dark); font-size: 18px; }
.promo-link > span:last-child { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 18px; }
.promo-link small { grid-column: 1 / -1; margin-bottom: 3px; color: var(--muted); font-size: 10px; }
.promo-link strong { font-size: 13px; }
.promo-link em { color: var(--green); font-size: 11px; font-style: normal; font-weight: 750; white-space: nowrap; }
.card { padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(20,35,28,.1); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: 0 24px 70px rgba(20,35,28,.09); backdrop-filter: blur(10px); }
.card-heading { margin-bottom: 28px; }
.card h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.card-heading > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.form-stack { display: grid; gap: 11px; }
label { font-size: 13px; font-weight: 750; }
.label-row { display: flex; justify-content: space-between; align-items: end; margin-top: 8px; }
.label-row span { color: var(--muted); font-size: 11px; }
input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: #fbfcfb; color: var(--ink); font: inherit; transition: border .2s, box-shadow .2s; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22,123,80,.1); }
button, .button-link { border: 0; cursor: pointer; font: inherit; }
.form-stack > button, .button-link { display: flex; align-items: center; justify-content: space-between; min-height: 54px; margin-top: 15px; padding: 0 19px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 750; text-decoration: none; transition: background .2s, transform .2s; }
.form-stack > button:hover, .button-link:hover { background: var(--green-dark); transform: translateY(-1px); }
.privacy { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
.messages { display: grid; gap: 8px; margin: -5px 0 18px; }
.message { padding: 11px 13px; border-radius: 10px; background: #eef2ef; font-size: 13px; line-height: 1.5; }
.message.success { color: #145d3e; background: #e8f6ed; }
.message.error { color: #952f2f; background: #fbecec; }
.dashboard-wrap { grid-column: 1 / -1; align-self: stretch; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 80px; }
.button-ghost { padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 470px; gap: clamp(50px, 9vw, 120px); align-items: center; flex: 1; }
.dashboard-title { font-size: clamp(50px, 6.5vw, 80px); }
.account-pill { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.7); }
.account-pill div { display: grid; gap: 2px; }
.account-pill small { color: var(--muted); font-size: 10px; }
.account-pill strong { font-size: 13px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #35b36f; box-shadow: 0 0 0 5px rgba(53,179,111,.12); }
.step-input { position: relative; }
.step-input input { height: 70px; padding-right: 58px; font-size: 27px; font-weight: 750; }
.step-input span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.quick-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 2px; }
.quick-values button { padding: 9px 4px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9f7; color: var(--muted); font-size: 12px; }
.quick-values button:hover { border-color: var(--green); color: var(--green); }
.error-card { grid-column: 1 / -1; width: min(560px, 100%); margin: auto; }
.error-card h1 { font-size: 48px; }
.button-link { width: max-content; gap: 50px; }
@media (max-width: 850px) {
  .shell { grid-template-columns: 1fr; width: min(600px, calc(100% - 28px)); gap: 40px; padding: 30px 0; }
  .intro .brand { margin-bottom: 60px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 35px; }
  .topbar { padding-bottom: 55px; }
}
@media (max-width: 480px) {
  h1, .dashboard-title { font-size: 43px; }
  .card { padding: 24px 20px; border-radius: 18px; }
  .features { display: grid; gap: 8px; }
  .promo-link > span:last-child { grid-template-columns: 1fr; }
  .promo-link em { margin-top: 4px; }
  .quick-values { grid-template-columns: repeat(2, 1fr); }
  .label-row span { display: none; }
}
