:root {
  --ink: #123a4e;
  --ink-deep: #0b2736;
  --accent: #2e8b74;
  --accent-deep: #246c5b;
  --gold: #b0781e;
  --paper: #ffffff;
  --paper-2: #f4f7f9;
  --paper-3: #eaf0f4;
  --text: #1f2937;
  --muted: #667085;
  --line: #e3e8ed;
  --blue: #3e7cb1;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -24px rgba(18, 58, 78, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(18, 58, 78, 0.28);
  --wrap: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 86px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button { font: inherit; color: inherit; }

code { font-family: var(--mono); }

::selection { background: rgba(46, 139, 116, 0.18); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.narrow-wrap { width: min(100% - 40px, 840px); }

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(227, 232, 237, 0.7);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark.small { width: 34px; height: 34px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; letter-spacing: 0.02em; }
.brand-text small { font-size: 12px; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  font-size: 14.5px;
  color: var(--text);
  padding: 6px 0;
  position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  font-size: 14px !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- shared ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow.light { color: #9fd8c8; }

h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-lead { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
}

.fine {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { transform: translateY(-1px); }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(46, 139, 116, 0.14), transparent 62%),
    radial-gradient(700px 380px at 8% 8%, rgba(18, 58, 78, 0.08), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; color: var(--ink); letter-spacing: -0.02em; }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

.hero-note { margin: 18px 0 0; font-size: 12.5px; color: var(--muted); max-width: 460px; }

.hero-visual { position: relative; }

.chat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-0.6deg);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink);
  color: #fff;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.chat-title { display: flex; flex-direction: column; line-height: 1.3; }
.chat-title strong { font-size: 14.5px; }
.chat-title span { font-size: 11.5px; color: #bfe0ea; }
.chat-flag {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #dceff5;
  white-space: nowrap;
}

.chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    linear-gradient(180deg, rgba(244, 247, 249, 0.6), rgba(255, 255, 255, 0) 40%),
    #fbfcfd;
}

.msg { display: flex; }
.msg.me { justify-content: flex-end; }
.msg.me p {
  margin: 0;
  background: var(--accent);
  color: #fff;
  padding: 9px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
}
.msg.bot { justify-content: flex-start; }
.msg.bot > .bubble,
.msg.bot > img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px;
  box-shadow: var(--shadow-soft);
}
.msg.bot .bubble { max-width: 100%; overflow: hidden; }
.msg.bot p { margin: 0; padding: 10px 14px; font-size: 13.5px; }
.msg.bot p + p { border-top: 1px dashed var(--line); }
.msg.bot img { width: min(100%, 420px); border-radius: 10px; }
.msg .dim { color: var(--muted); font-size: 12.5px !important; }

.chat-foot {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: #a3adb9;
  font-size: 13px;
  background: #fff;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.float-tag {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-deep);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

/* ---------- pains ---------- */
.pains { padding: clamp(56px, 8vw, 96px) 0; background: var(--paper-2); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.pain h3 { font-size: 16.5px; color: var(--ink); }
.pain p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- features ---------- */
.features { padding: clamp(64px, 9vw, 112px) 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfdae2; }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(46, 139, 116, 0.1);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature h3 { font-size: 20px; color: var(--ink); }
.feature > p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip {
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-family: var(--mono);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.chip:hover { background: #fff; border-color: var(--accent); transform: translateY(-1px); }
.chip:active { transform: translateY(0); }

/* ---------- capabilities ---------- */
.capabilities { padding: clamp(64px, 9vw, 112px) 0; background: var(--paper-2); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }

.tag {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 11px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
}
.tag.free { background: rgba(46, 139, 116, 0.12); color: var(--accent-deep); }
.tag.token { background: rgba(62, 124, 177, 0.13); color: #2c5f8c; }
.tag.ticket { background: rgba(176, 120, 30, 0.14); color: #8a5d12; }
.tag.wss { background: rgba(18, 58, 78, 0.1); color: var(--ink); }
.tag.limit { background: rgba(102, 112, 133, 0.13); color: #4b5563; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  width: fit-content;
  max-width: 100%;
}
.tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }

.panels {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}

.panel[hidden] { display: none; }

.cmd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 28px;
}
.cmd-list li {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.cmd-list code {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmd-list span { color: var(--muted); font-size: 12.5px; }

.panel-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- spotlight ---------- */
.spotlight { padding: clamp(64px, 9vw, 112px) 0; }
.spotlight.alt { background: var(--paper-2); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split.reverse .split-copy { order: 2; }
.split.reverse .split-visual { order: 1; }

.check-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 139, 116, 0.14);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(-45deg);
}

.split-visual { margin: 0; }
.split-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.split-visual.narrow img { width: min(100%, 520px); margin-inline: auto; }
.split-visual figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.level-table {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.level-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.level-row strong { color: var(--ink); }
.level-row span { color: var(--muted); }

.push-panel { display: flex; flex-direction: column; gap: 18px; }
.push-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.push-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 14px;
}
.push-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 139, 116, 0.16);
}
.push-head .chat-flag { background: var(--paper-3); color: var(--muted); }
.push-body { padding: 16px 18px; }
.push-body + .push-body { border-top: 1px dashed var(--line); }
.push-body p { margin: 0; font-size: 14px; }
.push-body .dim { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.push-tag {
  display: inline-block;
  margin-bottom: 8px !important;
  font-size: 11.5px !important;
  font-weight: 600;
  color: var(--accent-deep);
  background: rgba(46, 139, 116, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.push-tag.gold { color: #8a5d12; background: rgba(176, 120, 30, 0.14); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list li {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
}

/* ---------- images ---------- */
.images { padding: clamp(64px, 9vw, 112px) 0; }

/* ---------- admin ---------- */
.admin { padding: clamp(64px, 9vw, 112px) 0; background: var(--paper-2); }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-card h3 { font-size: 16.5px; color: var(--ink); }
.admin-card p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 112px) 0; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.price-card h3 { font-size: 16.5px; color: var(--muted); font-weight: 600; }
.price {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.price strong { font-size: 34px; color: var(--ink); letter-spacing: -0.03em; margin-right: 4px; }
.price span { font-size: 12.5px; margin-left: 2px; }
.price-meta { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.price-card ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
}
.price-card li { position: relative; padding-left: 20px; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.price-card .btn { margin-top: auto; }

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.price-card.featured h3 { color: #bfe0ea; }
.price-card.featured .price strong { color: #fff; }
.price-card.featured .price,
.price-card.featured .price-meta,
.price-card.featured ul { color: #dceff5; }
.price-card.featured li::before { background: #9fd8c8; }
.price-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  margin: 0;
  background: var(--gold);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-note {
  margin: 22px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- limits ---------- */
.limits { padding: clamp(64px, 9vw, 112px) 0; background: var(--paper-2); }

.limit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.limit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
}
.limit-card h3 { font-size: 16px; color: var(--ink); }
.limit-card p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { padding: clamp(64px, 9vw, 112px) 0; }

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-list details[open] { border-color: #cfdae2; box-shadow: var(--shadow-soft); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  margin: 0;
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 66ch;
}

/* ---------- contact ---------- */
.contact {
  padding: clamp(64px, 9vw, 104px) 0;
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(46, 139, 116, 0.28), transparent 60%),
    var(--ink);
  color: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.contact h2 { color: #fff; }
.contact p { color: #cfe4ec; margin: 16px 0 0; }
.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.contact-label { margin: 0 !important; font-size: 12px; letter-spacing: 0.16em; color: #9fd8c8 !important; }
.contact-line { margin: 10px 0 0 !important; font-size: 15px; color: #fff !important; }
.placeholder {
  display: inline-block;
  min-width: 76px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  color: #ffd9a3;
}
.contact-hint { font-size: 12px !important; color: #9fb6c0 !important; }
.contact-card .btn { margin-top: 20px; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--ink-deep);
  color: #c9dde5;
  padding: 40px 0 32px;
}
.foot-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand strong { color: #fff; font-size: 15px; }
.foot-brand p { margin: 2px 0 0; font-size: 12px; color: #93aeb9; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.foot-links a { text-decoration: none; color: #c9dde5; }
.foot-links a:hover { color: #fff; }
.foot-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #8fa8b3;
}
.icp { margin-left: 14px; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .pain-grid, .admin-grid, .limit-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
}

@media (max-width: 840px) {
  .cmd-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 1; }
  .split.reverse .split-visual { order: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0 !important; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 21px; }
  .tabs { border-radius: 16px; }
  .tab { padding: 7px 12px; font-size: 12.5px; }
  .foot-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wrap, .narrow-wrap { width: min(100% - 28px, var(--wrap)); }
  .pain-grid, .admin-grid, .limit-grid, .price-grid { grid-template-columns: 1fr; }
  .cmd-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .cmd-list li code { grid-column: 1; grid-row: 1; }
  .cmd-list li em { grid-column: 2; grid-row: 1; justify-self: end; }
  .cmd-list li span { grid-column: 1 / -1; grid-row: 2; }
  .cmd-list code { white-space: normal; }
  .hero-stats { flex-wrap: wrap; row-gap: 14px; }
  .icp { display: block; margin: 6px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

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