:root {
  --orange: #e8541a;
  --orange-2: #c44712;
  --peach: #fff0e8;
  --peach-2: #ffe3d4;
  --ink: #1a1a23;
  --ink-2: #5b5b68;
  --line: #ece7e4;
  --paper: #ffffff;
  --shadow: 0 18px 50px rgba(232, 84, 26, 0.12);
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 var(--sans);
}

img { max-width: 100%; }

a { color: var(--orange-2); }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 20;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img,
.brand svg {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.btn-sm { min-height: 36px; padding: 0 14px; }

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover { background: var(--orange-2); }

.btn-ghost {
  color: var(--ink);
  background: var(--peach);
  border: 1px solid var(--peach-2);
}

.hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--peach-2), transparent 60%),
    linear-gradient(#fff, #fff8f4);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 0 28px;
  max-width: 540px;
  color: var(--ink-2);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.note {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.panel-top span.seal {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.panel-top strong { font-size: 14px; }

.thread {
  padding: 16px 16px 8px;
  min-height: 280px;
  background: #fff;
}

.msg { margin: 0 0 14px; font-size: 13.5px; }

.msg.user {
  margin-left: 48px;
  padding: 10px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--peach);
}

.msg.bot { color: var(--ink); }

.msg.bot small {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
  font-weight: 700;
}

.composer {
  margin: 8px 12px 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.composer p {
  margin: 0 0 8px;
  color: #b0b0ba;
  font-size: 13px;
}

.chips { display: flex; gap: 6px; }

.chips span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--orange-2);
  font-size: 11px;
  font-weight: 650;
}

section { padding: 72px 0; }

.section-title {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.section-copy {
  margin: 0 0 32px;
  color: var(--ink-2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

.card .n {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps article {
  padding: 8px 8px 0 0;
}

.steps h3 { margin: 0 0 8px; }

.steps p { margin: 0; color: var(--ink-2); }

.faq details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq p {
  margin: 10px 0 0;
  color: var(--ink-2);
}

.legal,
.support-prose {
  max-width: 720px;
  padding: 48px 0 88px;
}

.legal h1,
.support-prose h1 {
  font-size: 40px;
}

.legal h2,
.support-prose h2 {
  margin-top: 32px;
  font-size: 20px;
}

.legal p,
.support-prose p,
.legal li,
.support-prose li {
  color: var(--ink-2);
}

code {
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.92em;
  background: var(--peach);
  padding: 0 5px;
  border-radius: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf7;
}

.site-footer small { color: var(--ink-2); }

.site-footer nav { gap: 16px; }

@media (max-width: 860px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }
  nav {
    order: 3;
    width: 100%;
    padding-bottom: 10px;
    gap: 16px;
  }
  .hero-grid,
  .grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 40px; }
  section { padding: 52px 0; }
}
