:root {
  --ink: #141416;
  --muted: #5c6570;
  --faint: #8b919a;
  --line: #e6e8ee;
  --paper: #ffffff;
  --wash: #f6f7f9;
  --blue: #2f5bff;
  --blue-ink: #2436b0;
  --blue-soft: #eef1ff;
  --shadow: 0 18px 50px rgba(20, 20, 22, 0.06);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.mark svg { display: block; }
.menu {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}
.menu a {
  text-decoration: none;
  color: #3a3f46;
  font-size: 14.5px;
}
.menu a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 8px; font-size: 13px; font-weight: 650; }
.langs a { text-decoration: none; color: var(--faint); }
.langs a[aria-current="page"] { color: var(--ink); }
.acct { position: relative; display: flex; }
.acct-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #141416;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
}
.acct-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 232px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(20, 20, 22, 0.12);
}
.acct-who { padding: 8px 10px 10px; }
.acct-who strong, .acct-who span { display: block; }
.acct-who span { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--wash); }
html[lang="zh"] {
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", Inter, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 18px;
  background: #111;
  color: #fff;
  font-weight: 600;
}
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #244cf0; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.menu-btn {
  display: none;
  margin-left: 8px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: none;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: #111;
}
.drawer {
  display: none;
  padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
}
.drawer a { display: block; padding: 10px 0; text-decoration: none; }

.hero { padding: 72px 0 28px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}
.hero h1 {
  margin: 22px 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 em {
  font-style: italic;
  font-weight: 450;
  color: #6d7380;
  white-space: nowrap;
}
.lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18.5px;
}

.stage { padding: 28px 0 10px; }
.bench {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: stretch;
}
.composer, .preview {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 0;
}
.composer { padding: 18px; display: flex; flex-direction: column; }
.composer-top, .composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tabs, .lane, .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { background: transparent; }
.tab, .lane button, .pills button, .icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.tab[aria-selected="true"], .lane button[aria-pressed="true"], .pills button[aria-pressed="true"] {
  background: #151515;
  color: #fff;
  border-color: #151515;
}
.lane {
  background: var(--wash);
  padding: 4px;
  border-radius: 999px;
}
.lane button { border: 0; background: transparent; }
.lane button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.composer textarea {
  width: 100%;
  flex: 1;
  min-height: 72px;
  margin: 12px 0;
  border: 0;
  resize: none;
  outline: none;
  font-size: 18px;
  line-height: 1.45;
}
.choices {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.choice { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.choice span { font-size: 12px; font-weight: 650; color: var(--muted); }
.choice select {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%23666' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 999px;
  padding: 9px 34px 9px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}
.more-toggle, .linkish {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 10px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
}
.more-toggle:hover, .linkish:hover { color: var(--ink); }
.more-panel {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.more-panel[hidden] { display: none; }
.more-panel p { margin: 0 0 8px; flex: 1 1 180px; color: var(--muted); font-size: 13.5px; }
.grow { flex: 1; }
.hint { margin: 12px 4px 0; color: var(--faint); font-size: 13.5px; }
.note { margin: 8px 4px 0; color: var(--muted); font-size: 13.5px; }

.preview { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  min-height: 0;
  height: 100%;
}
.shot img, .shot object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 0;
}
.shot.is-example { aspect-ratio: auto; background: #111; }
.shot.is-example img { object-fit: cover; background: #111; }
.shot span, .badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 650;
}
.result-copy { color: var(--muted); font-size: 14.5px; margin: 0; }
.result-copy strong { color: var(--ink); }
.result-copy a.btn { margin-top: 8px; }

.block { padding: 84px 0; }
.block h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }
.edit-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.edit-pair figure { margin: 0; }
.edit-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; border-radius: 14px; background: #111; }
.edit-pair figcaption { margin: 8px 0 0; font-size: 13px; font-weight: 650; color: var(--ink); }
.quad.trio { grid-template-columns: repeat(3, 1fr); }

.quad, .six, .samples, .lanes, .prices {
  display: grid;
  gap: 16px;
}
.quad { grid-template-columns: repeat(4, 1fr); }
.six { grid-template-columns: repeat(3, 1fr); }
.samples { grid-template-columns: repeat(4, 1fr); }
.lanes, .prices { grid-template-columns: 1fr 1fr; }
.prices { grid-template-columns: repeat(3, 1fr); }

.card, .sample, .lane-card, .price {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 20px;
}
.card { min-height: 180px; display: flex; flex-direction: column; }
.card.edit-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 16px; min-height: 0; }
.card-top { display: flex; justify-content: space-between; gap: 12px; }
.card h3, .sample h3, .price h3, .lane-card h3 { margin: 8px 0; font-size: 18px; }
.card p, .sample p, .price p, .lane-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}

.sample {
  padding: 10px 10px 14px;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.sample img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; object-position: center; background: #111; width: 100%; display: block; }
.sample h3 { font-size: 15px; }

.prose {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.points { display: grid; gap: 18px; }
.points article { padding-top: 16px; border-top: 1px solid var(--line); }
.points h3 { margin: 0 0 6px; font-size: 16px; }
.points p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 8px 8px 0 0; }
.num { font-family: var(--serif); font-size: 28px; color: var(--faint); }
.steps h3 { margin: 8px 0; }
.steps p { margin: 0; color: var(--muted); }

.lane-card header p { margin-top: 0; }
.spec { display: grid; gap: 10px; margin-top: 16px; }
.spec div { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec span { color: var(--faint); flex: none; }
.spec strong { text-align: right; font-weight: 650; }

.switch {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 4px;
  background: var(--wash);
  border-radius: 999px;
  margin: 8px 0 22px;
}
section[id], .stage { scroll-margin-top: 88px; }
.switch button { border: 0; background: transparent; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.switch button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.price { display: flex; flex-direction: column; }
.price .amount { font-family: var(--serif); font-size: 48px; letter-spacing: -0.04em; margin: 4px 0 0; color: var(--ink); }
.price .amount small { font-family: var(--sans); font-size: 16px; color: var(--muted); margin-left: 4px; }
.price .bill { min-height: 2.8em; margin-top: 6px; }
.price ul { list-style: none; padding: 8px 0 0; margin: 8px 0 18px; display: grid; gap: 8px; }
.price li { position: relative; padding-left: 22px; color: var(--muted); }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.price .btn { margin-top: auto; }
.price.featured { border-color: #111; box-shadow: var(--shadow); }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-ink);
}

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quotes blockquote { margin: 0; border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: #fff; }
.quotes p { margin: 0 0 14px; font-family: var(--serif); font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; }
.quotes footer { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.faq a { color: var(--blue-ink); }

.close { padding: 28px 0 80px; }
.close-card {
  text-align: center;
  border: 1px solid #e4e8f5;
  border-radius: 32px;
  padding: 72px 28px;
  background:
    radial-gradient(ellipse at 50% 0%, #eef1ff 0%, #f8f9ff 46%, #ffffff 78%);
}
.close-card h2 {
  margin: 0 auto;
  max-width: 14em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.close-card p {
  margin: 16px auto 0;
  max-width: 46ch;
  color: var(--muted);
}
.close-card .btn { margin-top: 26px; }

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  color: var(--muted);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot h4 { margin: 0 0 10px; color: var(--ink); font-size: 14px; }
.foot a { display: block; text-decoration: none; padding: 4px 0; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.legal { margin-top: 28px; font-size: 13px; }

@media (min-width: 1100px) {
  .bench { height: 500px; }
  .composer, .preview { height: 100%; overflow: hidden; }
  .shot, .shot.is-example { aspect-ratio: auto; height: 100%; }
}

@media (max-width: 1099px) {
  .menu, .top-cta { display: none; }
  .nav-end { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .drawer.open { display: block; }
  .hero { padding: 48px 0 20px; }
  .hero h1 { font-size: clamp(40px, 6vw, 60px); }
  .block { padding: 64px 0; }
  .bench { grid-template-columns: 1fr; height: auto; }
  .composer, .preview { height: auto; overflow: visible; }
  .composer textarea { min-height: 140px; flex: none; }
  .mosaic { grid-auto-rows: auto; }
  .shot, .shot.is-example { aspect-ratio: 1; height: auto; }
  .quad, .six, .lanes { grid-template-columns: 1fr 1fr; }
  .samples { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .prices { grid-template-columns: 1fr; }
  .quotes, .prose, .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .wrap, .wrap-narrow { width: min(1120px, calc(100% - 32px)); }
  .topbar-inner { min-height: 60px; gap: 12px; }
  .hero { padding: 32px 0 12px; }
  .hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .lede { font-size: 16.5px; }
  .block { padding: 44px 0; }
  .close { padding: 12px 0 48px; }
  .close-card { padding: 40px 18px; border-radius: 24px; }
  .block h2 { font-size: clamp(30px, 8vw, 40px); }
  .sub { margin-bottom: 18px; }
  .composer, .preview { border-radius: 20px; }
  .composer { padding: 14px; }
  .choice { flex: 1 1 calc(50% - 10px); }
  .choice select { width: 100%; }
  .choices .btn.grow { flex: 1 1 100%; }
  .quad, .six, .lanes, .steps, .prices, .quotes, .prose, .foot-grid { grid-template-columns: 1fr; }
  .samples { grid-template-columns: 1fr 1fr; }
  .card.edit-card { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; }
  .price .amount { font-size: 40px; }
  .quotes p { font-size: 20px; }
  .spec div { flex-direction: column; gap: 4px; }
  .spec strong { text-align: left; }
  .faq summary { line-height: 1.4; }
}

.kicker { margin: 0 0 12px; color: var(--blue-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.article { padding: 36px 0 72px; }
.article h1 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.08; }
.article h1 em { font-style: italic; font-weight: 450; white-space: nowrap; }
.article .meta { margin: 0 0 28px; color: var(--faint); font-size: 14px; }
.article .body { max-width: 68ch; }
.article .body p, .article .body li { font-size: 17.5px; line-height: 1.65; }
.article .body h2 { margin: 36px 0 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; line-height: 1.15; }
.article .body a { color: var(--blue-ink); }
.article .body ul, .article .body ol { padding-left: 1.2em; }
.article .body li { margin: 8px 0; }
.prompt { margin: 8px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--wash); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.article .body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; overflow-wrap: anywhere; }
.figure { margin: 18px 0 8px; }
.figure img { width: min(100%, 520px); border-radius: 16px; background: #111; }
.figure figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.blog-list { display: grid; gap: 12px; }
.blog-list a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-decoration: none; }
.blog-list a:hover { border-color: #111; }
.blog-list h2 { margin: 0 0 6px; font-family: var(--sans); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.blog-list p { margin: 0; color: var(--muted); }
.more-posts { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.more-posts h2 { font-size: 22px; }
.more-posts ul { list-style: none; padding: 0; }
.more-posts a { text-decoration: none; }
