@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/noto-sans-sc-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/noto-sans-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f5e9;
  --paper-2: #fbfcf6;
  --paper-3: #e9eddf;
  --ink: #12182a;
  --ink-soft: #4c5568;
  --ink-faint: #7b8394;
  --blue: #2f50f5;
  --blue-pale: #e7edff;
  --coral: #ff5c3a;
  --mint: #c9f2d8;
  --mint-pale: #e8f9ee;
  --lemon: #ffe45e;
  --pink: #ffc5d8;
  --white: #ffffff;
  --line: rgba(18, 24, 42, 0.16);
  --line-strong: rgba(18, 24, 42, 0.45);
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1240px;
  --shadow-ink: 5px 5px 0 var(--ink);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
  background: var(--lemon);
  color: var(--ink);
}

main:focus {
  outline: none;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

ul,
ol {
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  overflow: visible;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section--safety :focus-visible,
.closing :focus-visible,
.builder-output :focus-visible,
.code-drawer :focus-visible {
  outline-color: var(--lemon);
}

.noscript-note {
  margin-top: 10px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  border: 1.5px solid var(--ink);
  background: var(--lemon);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

#workbench,
.builder {
  scroll-margin-top: 96px;
}

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 245, 233, 0.92);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), var(--max));
  height: 78px;
  margin-inline: auto;
  gap: 28px;
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--blue);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.brand-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lemon);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-type strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.brand-type em {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 31px);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

.primary-nav a:hover {
  color: var(--ink);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.nav-mobile-cta {
  display: none;
}

.nav-cta {
  flex: none;
  padding: 10px 15px;
  border: 1.5px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.nav-cta span {
  margin-left: 4px;
  color: var(--lemon);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 66px 0 84px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(18, 24, 42, 0.14) 1px, transparent 1px);
  background-size: 23px 23px;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  z-index: -1;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(47, 80, 245, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(47, 80, 245, 0.035), 0 0 0 92px rgba(47, 80, 245, 0.025);
}

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

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--coral);
  transform: rotate(45deg);
}

.eyebrow-time {
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-faint);
}

.hero h1 {
  max-width: 670px;
  margin-top: 22px;
  font-size: clamp(3.15rem, 5.15vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.headline-line {
  display: block;
}

.headline-line--accent {
  position: relative;
  color: var(--ink);
}

.headline-line--accent em {
  position: relative;
  z-index: 1;
  color: var(--coral);
  font-style: normal;
}

.headline-dot {
  color: var(--ink);
}

.headline-scribble {
  position: absolute;
  left: 40%;
  bottom: -10px;
  width: min(55%, 240px);
  height: auto;
  color: var(--coral);
  opacity: 0.75;
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 555px;
  margin-top: 29px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 49px;
  padding: 12px 19px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  box-shadow: var(--shadow-ink);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms ease;
}

.button--primary {
  background: var(--blue);
  color: var(--white);
}

.button-arrow {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.text-link {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.text-link:hover span {
  transform: translateX(3px);
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  list-style: none;
}

.hero-assurances li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-assurances li::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--ink-faint);
  border-radius: 50%;
}

/* Hero workbench */
.hero-demo {
  position: relative;
  z-index: 2;
}

.bench-shell {
  position: relative;
  --bench-tilt: 0.55deg;
}

.bench-sticker {
  position: absolute;
  top: -18px;
  right: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--lemon);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  transform: rotate(4deg);
}

.bench-sticker span {
  color: var(--coral);
  font-size: 15px;
}

.bench {
  position: relative;
  padding: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: 11px 11px 0 var(--blue);
  transform: rotate(var(--bench-tilt));
}

.bench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1px 2px 10px;
}

.bench-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bench-spark {
  color: var(--blue);
  font-size: 13px;
}

.bench-live,
.preview-status,
.chat-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.bench-live i,
.preview-status i,
.chat-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.13);
}

.example-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-3);
}

.example-tab {
  flex: 1;
  padding: 6px 7px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.example-tab:hover {
  color: var(--ink);
}

.example-tab.is-active {
  border-color: var(--line);
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(18, 24, 42, 0.12);
  color: var(--ink);
  font-weight: 700;
}

.prompt-box {
  position: relative;
  min-height: 111px;
  margin-top: 9px;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
}

.prompt-label {
  display: block;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
}

.prompt-text {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}

.bench-bridge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 1px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
}

.bridge-line {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(to right, var(--line-strong) 40%, transparent 40%);
  background-size: 5px 1px;
}

.bridge-spark {
  color: var(--coral);
  font-size: 11px;
}

.bridge-label {
  white-space: nowrap;
}

.preview-window {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(18, 24, 42, 0.13);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 29px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #f0f2e8;
}

.preview-address {
  overflow: hidden;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-address::before {
  content: "○ ";
  color: #a7ae9a;
}

.preview-status {
  color: #21845a;
  font-size: 8px;
}

.preview {
  min-height: 252px;
  padding: 11px;
  background: #fdfbf4;
}

.preview[aria-busy="true"] {
  display: grid;
  place-items: center;
}

.bench-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px 1px;
}

.code-toggle {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
  transition: color 160ms ease, border-color 160ms ease;
}

.code-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.code-toggle-sign {
  display: inline-block;
  margin-left: 3px;
  font-size: 11px;
  transition: transform 180ms ease;
}

.code-toggle[aria-expanded="true"] .code-toggle-sign {
  transform: rotate(45deg);
}

.bench-tip {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.code-drawer {
  margin-top: 9px;
  padding: 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #eef2e7;
}

.code-drawer[hidden] {
  display: none;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #aeb8ca;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
}

.code-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.code-drawer pre {
  max-height: 190px;
  margin: 10px 0 0;
  overflow: auto;
  color: #dfe5f2;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  white-space: pre;
}

.code-drawer code {
  font-family: inherit;
}

.code-drawer > p {
  margin-top: 9px;
  color: #9ba6b9;
  font-family: var(--font-body);
  font-size: 9.5px;
  line-height: 1.6;
}

.bench-caption {
  max-width: 500px;
  margin: 22px 8px 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
}

/* Mini apps inside preview */
.mini-app {
  color: #1a2030;
  font-family: var(--font-body);
  animation: mini-in 360ms var(--ease-out) both;
}

@keyframes mini-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mini-kicker {
  display: block;
  color: #737b8d;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.mini-head h3 {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.mini-saved {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
  color: #21845a;
  font-family: var(--font-mono);
  font-size: 7.5px;
  white-space: nowrap;
}

.mini-saved::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22a06b;
}

.mini-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 8px;
  padding: 3px;
  border-radius: 6px;
  background: #e9ede1;
}

.mini-tab {
  padding: 5px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #60697a;
  font-size: 10px;
  line-height: 1.3;
  transition: background 160ms ease, color 160ms ease;
}

.mini-tab:hover {
  color: var(--ink);
}

.mini-tab.is-active {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.person-panel {
  padding-top: 9px;
}

.person-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.mini-avatar--blue {
  background: var(--blue-pale);
  color: #2a49dc;
}

.mini-avatar--coral {
  background: #ffe3d9;
  color: #b84028;
}

.mini-avatar--mint {
  background: var(--mint);
  color: #226a44;
}

.person-top div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.person-top strong {
  font-size: 12.5px;
  font-weight: 700;
}

.person-top div span {
  color: #7b8394;
  font-size: 9px;
}

.order-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid #cdd9f5;
  border-radius: 6px;
  background: #edf2ff;
}

.mini-label {
  color: #67748f;
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.order-card strong {
  font-size: 11.5px;
  font-weight: 700;
}

.mini-tag {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 3px;
  background: #ffdfd5;
  color: #9d3d28;
  font-size: 7.5px;
  white-space: nowrap;
}

.person-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  color: #7b8394;
  font-size: 9px;
}

.mini-history {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #dde1d6;
  color: #8a9188;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.5;
}

.mini-action {
  padding: 5px 8px;
  border: 1px solid #203bbd;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 160ms ease, transform 160ms ease;
}

.mini-action:hover {
  background: #203bbd;
  transform: translateY(-1px);
}

.mini-action.is-done {
  border-color: #79c795;
  background: var(--mint);
  color: #185f39;
}

.mini-app.is-celebrating .person-panel {
  animation: mini-pop 300ms var(--ease-out);
}

@keyframes mini-pop {
  50% { transform: scale(0.99); }
}

/* Packing demo */
.pack-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #6a7283;
  font-family: var(--font-mono);
  font-size: 8px;
}

.pack-track {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: #e4e8dc;
}

.pack-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #2f9e6b;
  transition: width 260ms var(--ease-out);
}

.pack-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 7px;
  border-top: 1px solid #e5e8dd;
}

.pack-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 1px;
  border-bottom: 1px solid #eceee5;
  color: #313849;
  font-size: 9.5px;
  line-height: 1.4;
  cursor: pointer;
}

.pack-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pack-check {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex: none;
  border: 1px solid #aab2a3;
  border-radius: 3px;
  background: #fff;
  transition: background 160ms ease, border-color 160ms ease;
}

.pack-check::after {
  content: "";
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid white;
  border-left: 1.5px solid white;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

.pack-item input:checked + .pack-check {
  border-color: #2f9e6b;
  background: #2f9e6b;
}

.pack-item input:checked + .pack-check::after {
  opacity: 1;
}

.pack-item input:checked ~ .pack-label {
  color: #8a9188;
  text-decoration: line-through;
}

.pack-item:focus-within .pack-check {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.pack-label {
  transition: color 160ms ease;
}

.pack-note {
  margin-top: 8px;
  color: #7b8394;
  font-size: 8.5px;
  line-height: 1.5;
}

/* Split demo */
.split-bill {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 7px;
  border-bottom: 1px dashed #d8ddd0;
}

.split-bill span {
  color: #737b8d;
  font-family: var(--font-mono);
  font-size: 8px;
}

.split-bill strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.split-bill small {
  margin-left: auto;
  color: #8a9188;
  font-size: 8px;
}

.split-line,
.split-each {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 9.5px;
}

.split-line {
  border-bottom: 1px solid #eceee5;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid #ccd1c4;
  border-radius: 4px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
}

.stepper button:hover {
  border-color: var(--ink);
  background: var(--lemon);
}

.stepper span {
  min-width: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
}

.split-each {
  padding-top: 8px;
}

.split-each strong {
  color: #1f47c7;
  font-size: 14px;
  font-weight: 700;
}

.split-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 3px;
  padding: 6px 8px;
  border-radius: 5px;
  background: #eef4e8;
  color: #6b7365;
  font-size: 8px;
  cursor: pointer;
}

.switch-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.switch-track {
  position: relative;
  width: 24px;
  height: 14px;
  flex: none;
  border-radius: 10px;
  background: #c9cec2;
  transition: background 160ms ease;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 1px rgba(18, 24, 42, 0.15);
  transition: transform 160ms ease;
}

.switch-input:checked + .switch-track {
  background: #2f9e6b;
}

.switch-input:checked + .switch-track::after {
  transform: translateX(10px);
}

.switch-input:focus-visible + .switch-track {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Building skeleton */
.mini-skeleton {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  padding: 10px;
}

.skeleton-line {
  height: 9px;
  border-radius: 3px;
  background: #e7eadf;
  animation: skeleton-pulse 800ms ease-in-out infinite alternate;
}

.skeleton-line:nth-child(1) {
  width: 40%;
  height: 14px;
}

.skeleton-line:nth-child(2) {
  width: 92%;
}

.skeleton-line:nth-child(3) {
  width: 74%;
}

.skeleton-line:nth-child(4) {
  width: 100%;
  height: 48px;
}

.skeleton-line:nth-child(5) {
  width: 64%;
}

.skeleton-copy {
  margin-top: 6px;
  color: #7b8394;
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-align: center;
}

@keyframes skeleton-pulse {
  to { opacity: 0.45; }
}

/* Motto strip */
.motto-strip {
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.motto-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 4vw, 54px);
  width: min(calc(100% - 64px), var(--max));
  min-height: 46px;
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.motto-inner b {
  color: var(--lemon);
  font-weight: 400;
}

.motto-star {
  color: var(--coral);
  font-size: 11px;
}

/* Section frame */
.section {
  position: relative;
  padding: 112px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 62px);
}

.section-marker {
  position: sticky;
  top: 108px;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding-top: 9px;
  font-family: var(--font-mono);
}

.section-num {
  color: var(--blue);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-name {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.section-mark {
  margin-top: 5px;
  color: var(--coral);
  font-size: 12px;
}

.section-marker::after {
  content: "";
  width: 1px;
  height: 54px;
  margin-top: 7px;
  background: var(--line);
}

.section-content {
  min-width: 0;
}

.section-heading {
  max-width: 920px;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 3.6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.18;
  text-wrap: balance;
}

.section-heading h2 em {
  position: relative;
  color: var(--coral);
  font-style: normal;
}

.section-heading h2 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  background: var(--lemon);
  opacity: 0.65;
  z-index: -1;
  transform: rotate(-0.4deg);
}

.section-lede {
  max-width: 690px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.9;
  text-wrap: pretty;
}

/* Definition */
.section--what {
  border-top: 1px solid var(--line);
}

.definition-board {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(250px, 0.77fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 48px;
}

.definition-card {
  position: relative;
  padding: 29px 30px 27px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: 7px 7px 0 var(--mint);
}

.card-label {
  display: inline-block;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.definition-card > p:not(.definition-note) {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.58;
}

.mark {
  display: inline;
  padding: 0 3px;
  border-radius: 2px;
  background: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.mark--mint {
  background: var(--mint);
}

.mark--lemon {
  background: var(--lemon);
}

.mark--pink {
  background: var(--pink);
}

.definition-note {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.75;
}

.definition-roles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line-strong);
}

.role {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.role-who {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 37px;
  padding: 3px 7px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.role-who--you {
  background: var(--blue);
  color: var(--white);
}

.role-who--ai {
  background: var(--lemon);
}

.role-who--both {
  background: var(--mint);
}

.role p {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.75;
}

.big-thesis {
  position: relative;
  margin-top: 76px;
  padding-top: 42px;
  border-top: 1px solid var(--line-strong);
}

.thesis-mark {
  position: absolute;
  top: 20px;
  right: 2%;
  color: var(--blue);
  font-size: 29px;
  line-height: 1;
  transform: rotate(12deg);
}

.big-thesis > p {
  max-width: 890px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.36;
}

.big-thesis strong {
  position: relative;
  color: var(--coral);
  font-weight: inherit;
  white-space: nowrap;
}

.big-thesis strong::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 3px;
  height: 9px;
  background: var(--lemon);
  opacity: 0.72;
  z-index: -1;
  transform: rotate(-0.5deg);
}

.thesis-note {
  position: absolute;
  right: 0;
  bottom: 4px;
  max-width: 150px;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--lemon);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  transform: rotate(3deg);
}

.footnote {
  max-width: 700px;
  margin-top: 32px;
  padding-left: 13px;
  border-left: 2px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.75;
}

/* Conversation */
.section--how {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--blue-pale);
}

.section--how::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(47, 80, 245, 0.14) 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
  opacity: 0.55;
}

.section--how .section-grid {
  position: relative;
  z-index: 1;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(230px, 0.58fr);
  gap: 30px;
  align-items: start;
  margin-top: 45px;
}

.chat-shell {
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--ink);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 17px;
  border-bottom: 1.5px solid var(--ink);
  background: #dce5ff;
}

.chat-kicker {
  display: block;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.chat-head strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.chat-live {
  color: #176543;
  font-size: 8px;
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 18px;
}

.chat-msg {
  animation: chat-in 420ms var(--ease-out) both;
}

.chat-msg:nth-child(2) { animation-delay: 70ms; }
.chat-msg:nth-child(3) { animation-delay: 120ms; }
.chat-msg:nth-child(4) { animation-delay: 170ms; }
.chat-msg:nth-child(5) { animation-delay: 210ms; }
.chat-msg:nth-child(6) { animation-delay: 250ms; }

@keyframes chat-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-who {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.3;
}

.chat-who em {
  color: var(--ink-faint);
  font-style: normal;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
}

.chat-avatar--you {
  background: var(--blue);
  color: var(--white);
}

.chat-avatar--ai {
  background: var(--ink);
  color: var(--lemon);
}

.chat-bubble {
  max-width: 93%;
  padding: 11px 13px;
  border: 1px solid #c0cdf0;
  border-radius: 3px 11px 11px 11px;
  background: #eef3ff;
  font-size: 13.5px;
  line-height: 1.75;
}

.chat-msg--ai .chat-bubble {
  border-color: #d5dacd;
  background: #f3f5ec;
}

.chat-msg--you .chat-bubble {
  margin-left: 12px;
}

.chat-msg--ai .chat-bubble {
  margin-left: 27px;
}

.chat-preview {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #d6dbd0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.chat-preview-head,
.chat-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  background: #edf0e6;
  color: #70786c;
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.chat-preview-head {
  border-bottom: 1px solid #e0e4d9;
}

.event-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-bottom: 1px solid #edf0e6;
  font-size: 8.5px;
}

.event-line > span:first-child {
  color: #7b8394;
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.event-line strong {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spots {
  color: #21845a;
  font-size: 7.5px;
  white-space: nowrap;
}

.chat-preview-foot {
  background: #fafbf7;
  padding-top: 7px;
  padding-bottom: 7px;
}

.fake-button {
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 7.5px;
}

.chat-tag {
  display: inline-block;
  margin-top: 9px;
  padding: 3px 6px;
  border: 1px solid #b9d8c1;
  border-radius: 3px;
  background: var(--mint-pale);
  color: #296c46;
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.5;
}

.chat-msg--last .chat-bubble {
  border-style: dashed;
}

.chat-foot {
  padding: 10px 17px;
  border-top: 1px dashed var(--line);
  background: #f7f8f2;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.6;
}

.chat-notes {
  padding-top: 2px;
}

.chat-note {
  padding: 17px 0 18px;
  border-top: 1.5px solid var(--ink);
}

.chat-note:last-child {
  border-bottom: 1.5px solid var(--ink);
}

.note-label {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
}

.chat-note h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.chat-note p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.75;
}

.section-pullquote {
  max-width: 820px;
  margin-top: 39px;
  padding-left: 18px;
  border-left: 4px solid var(--coral);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.75vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.75;
}

/* Fit */
.section--fit {
  background: var(--paper);
}

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 24px;
  margin-top: 48px;
}

.fit-card {
  padding: 26px 26px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
}

.fit-card--yes {
  background: var(--mint-pale);
  box-shadow: 7px 7px 0 #a9ddb8;
}

.fit-card--no {
  background: #ffe9e1;
  box-shadow: 7px 7px 0 #ffb9a4;
}

.fit-card header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fit-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.fit-card--no .fit-symbol {
  color: var(--coral);
}

.fit-card--yes .fit-symbol {
  color: #21774a;
}

.fit-kicker {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
}

.fit-card h3 {
  margin-top: 4px;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.fit-card ul {
  margin-top: 18px;
  border-top: 1px solid rgba(18, 24, 42, 0.22);
  list-style: none;
}

.fit-card li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(18, 24, 42, 0.15);
  font-size: 13.5px;
  line-height: 1.65;
}

.fit-card li::before {
  position: absolute;
  left: 0;
  top: 11px;
  color: #21774a;
  font-family: var(--font-mono);
  font-size: 10px;
}

.fit-card--yes li::before {
  content: "✓";
}

.fit-card--no li::before {
  content: "—";
  color: #b1432d;
}

.readiness {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr);
  align-items: center;
  gap: 22px;
  margin-top: 35px;
  padding: 20px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper-2);
}

.readiness-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.readiness-label {
  flex: none;
  padding: 2px 6px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.5;
}

.readiness-item:first-child .readiness-label {
  background: var(--mint);
}

.readiness-item:last-child .readiness-label {
  background: var(--lemon);
}

.readiness-item p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.65;
}

.readiness-vs {
  color: var(--coral);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mobile-break {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.fit-footnote {
  margin-top: 17px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* Start */
.section--start {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 44px;
  align-items: start;
  margin-top: 47px;
}

.start-steps {
  border-top: 1px solid var(--line-strong);
}

.start-step {
  padding: 23px 0 24px;
  border-bottom: 1px solid var(--line);
}

.step-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.step-label {
  flex: none;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.start-step h3 {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.start-step > p {
  max-width: 650px;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.tool-note {
  margin-top: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  background: var(--paper);
}

.tool-note summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.tool-note summary::-webkit-details-marker {
  display: none;
}

.tool-note summary span {
  color: var(--blue);
  font-size: 13px;
  transition: transform 180ms ease;
}

.tool-note[open] summary span {
  transform: rotate(45deg);
}

.tool-note-body {
  padding: 0 11px 10px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.tool-note-body p + p {
  margin-top: 7px;
  color: var(--ink-faint);
  font-size: 10px;
}

.feedback-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 9px;
  margin-top: 16px;
}

.feedback {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper-2);
}

.feedback--bad {
  border-color: #f0c7bc;
  background: #fff4ef;
}

.feedback--good {
  border-color: #b9ddc5;
  background: #f1fbf4;
}

.feedback span {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.feedback--bad span {
  color: #b1432d;
}

.feedback--good span {
  color: #21774a;
}

.feedback p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.65;
}

.project-menu {
  position: sticky;
  top: 108px;
  padding: 24px 23px 21px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff8cf;
  box-shadow: 7px 7px 0 var(--ink);
}

.menu-kicker {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.project-menu h3 {
  margin-top: 7px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.4;
}

.project-menu ul {
  margin-top: 16px;
  border-top: 1px solid rgba(18, 24, 42, 0.3);
  list-style: none;
}

.project-menu li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(18, 24, 42, 0.25);
  font-size: 12px;
}

.project-menu li span {
  font-weight: 500;
}

.project-menu li em {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  white-space: nowrap;
}

.menu-foot {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.65;
}

/* Prompt builder */
.builder {
  margin-top: 62px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  background: var(--paper-2);
  box-shadow: 10px 10px 0 var(--blue);
  scroll-margin-top: 104px;
}

.builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 25px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--lemon);
}

.builder-kicker {
  display: block;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.builder-head h3 {
  margin-top: 4px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.preset-button {
  flex: none;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  transition: background 160ms ease, color 160ms ease;
}

.preset-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.preset-button span {
  display: inline-block;
  margin-left: 3px;
  font-size: 12px;
}

.builder-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.builder-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px 20px;
  padding: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.field input,
.field textarea {
  width: 100%;
  margin-top: 4px;
  padding: 5px 0 6px;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 56px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 2px 0 var(--blue);
}

.field > span {
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 9.5px;
  line-height: 1.6;
}

.builder-output {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
}

.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #aeb8ca;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.output-status {
  color: var(--lemon);
  font-size: 8px;
}

.output-text {
  flex: 1;
  min-height: 134px;
  margin-top: 16px;
  color: #f6f8f0;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.85;
  text-wrap: pretty;
}

.copy-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 20px;
  padding: 10px 12px;
  border: 1.5px solid var(--lemon);
  border-radius: 6px;
  background: var(--lemon);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.copy-button:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

.copy-button span:last-child {
  font-family: var(--font-mono);
  font-weight: 400;
}

.copy-button.is-copied {
  background: var(--mint);
  border-color: var(--mint);
}

.output-foot {
  margin-top: 9px;
  color: #9ca7ba;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.6;
}

/* Safety */
.section--safety {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.section--safety::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.32;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.section--safety .section-grid {
  position: relative;
  z-index: 1;
}

.section--safety .section-num {
  color: var(--lemon);
}

.section--safety .section-name {
  color: #aeb8ca;
}

.section--safety .section-mark {
  color: var(--coral);
}

.section--safety .section-marker::after {
  background: rgba(255, 255, 255, 0.22);
}

.section--safety .section-heading h2 {
  color: var(--paper);
}

.section--safety .section-heading h2 em {
  color: var(--lemon);
}

.section--safety .section-heading h2 em::after {
  background: var(--coral);
  opacity: 0.8;
}

.section--safety .section-lede {
  color: #b8c1d3;
}

.safety-list {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.safety-rule {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.rule-label {
  justify-self: start;
  align-self: start;
  padding: 3px 7px;
  border: 1px solid rgba(255, 228, 94, 0.56);
  border-radius: 3px;
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  white-space: nowrap;
}

.safety-rule h3 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.safety-rule p {
  max-width: 650px;
  margin-top: 7px;
  color: #b8c1d3;
  font-size: 13.3px;
  line-height: 1.8;
}

.preflight {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 37px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
}

.preflight-label {
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.preflight ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
}

.preflight li {
  position: relative;
  padding-left: 15px;
  color: #dbe1ec;
  font-size: 12px;
}

.preflight li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--coral);
  transform: rotate(45deg);
}

.safety-quote {
  max-width: 900px;
  margin-top: 58px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.4;
}

.safety-quote::first-line {
  color: var(--paper);
}

/* Glossary */
.section--glossary {
  background: var(--paper);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.term-card {
  align-self: start;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  transition: background 160ms ease;
}

.term-card:hover {
  background: #fffef8;
}

.term-card[open] {
  background: #fffef8;
}

.term-card summary {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  padding: 14px 15px;
  list-style: none;
  cursor: pointer;
}

.term-card summary::-webkit-details-marker {
  display: none;
}

.term-en {
  overflow: hidden;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-cn {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}

.term-plus {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform 180ms ease, color 180ms ease;
}

.term-card[open] .term-plus {
  color: var(--coral);
  transform: rotate(45deg);
}

.term-body {
  margin: 0 15px;
  padding: 11px 0 15px;
  border-top: 1px dashed var(--line);
}

.term-body p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.term-remember {
  margin-top: 8px;
  padding: 6px 8px;
  border-left: 2px solid var(--blue);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 9px !important;
  line-height: 1.65 !important;
}

.ask-ai {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 20px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 23px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff8cf;
}

.ask-label {
  grid-row: span 2;
  padding: 3px 6px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.ask-ai p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.ask-note {
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
}

/* Closing */
.closing {
  position: relative;
  overflow: hidden;
  padding: 102px 0;
  background: var(--blue);
  color: var(--white);
}

.closing::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 58%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.035), 0 0 0 80px rgba(255, 255, 255, 0.025);
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.closing-kicker {
  color: var(--lemon);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.closing h2 {
  max-width: 930px;
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(2.4rem, 4.3vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.closing-lede {
  max-width: 720px;
  margin-top: 22px;
  color: #dce3ff;
  font-size: 16px;
  line-height: 1.85;
}

.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 30px;
}

.button--light {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.button--light span {
  color: var(--coral);
}

.closing-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #e6eaff;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
}

.closing-link:hover {
  border-color: var(--lemon);
  color: var(--lemon);
}

.closing-ideas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 42px;
}

.closing-ideas span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce3ff;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
}

.closing-star {
  position: absolute;
  right: 6vw;
  bottom: 50px;
  z-index: 1;
  color: var(--lemon);
  font-family: var(--font-display);
  font-size: clamp(100px, 16vw, 230px);
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.95;
  transform: rotate(11deg);
}

/* Footer */
.site-footer {
  padding: 37px 0 44px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 40px;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
  box-shadow: 1.5px 1.5px 0 var(--ink);
  font-size: 17px;
}

.footer-brand .brand-type strong {
  font-size: 9px;
}

.footer-brand .brand-type em {
  font-size: 8px;
}

.footer-note {
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.7;
}

.footer-small {
  max-width: 300px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
}

.footer-top {
  display: inline-block;
  margin-left: 7px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--blue);
  white-space: nowrap;
}

.footer-top:hover {
  border-color: var(--blue);
}

/* Entry animations */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > .hero-lede,
  .hero-copy > .hero-actions,
  .hero-copy > .hero-assurances {
    animation: hero-rise 700ms var(--ease-out) both;
  }

  .hero-copy > h1 { animation-delay: 70ms; }
  .hero-copy > .hero-lede { animation-delay: 150ms; }
  .hero-copy > .hero-actions { animation-delay: 230ms; }
  .hero-copy > .hero-assurances { animation-delay: 300ms; }

  .bench-shell {
    animation: bench-in 850ms 190ms var(--ease-out) both;
  }

  .bench-sticker {
    animation: sticker-in 500ms 780ms var(--ease-out) both;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bench-in {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(1.6deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(var(--bench-tilt));
  }
}

@keyframes sticker-in {
  from {
    opacity: 0;
    transform: rotate(4deg) scale(0.85);
  }
  to {
    opacity: 1;
    transform: rotate(4deg) scale(1);
  }
}

/* Responsive */
@media (max-width: 1120px) {
  .nav-inner,
  .container {
    width: min(calc(100% - 48px), var(--max));
  }

  .primary-nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.45vw, 4.45rem);
  }

  .section-grid {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 35px;
  }

  .definition-board {
    grid-template-columns: minmax(0, 1.15fr) minmax(225px, 0.85fr);
    gap: 24px;
  }

  .start-grid {
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 52px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7.8vw, 4.7rem);
  }

  .hero-demo {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .bench-caption {
    margin-inline: auto;
  }

  .chat-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
    margin-top: 10px;
  }

  .chat-note {
    padding-top: 14px;
  }

  .chat-note:last-child {
    border-bottom: 1px solid var(--line);
  }

  .start-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-menu {
    position: static;
    align-self: start;
  }

  .builder-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .builder-output {
    min-height: 330px;
  }

  .output-text {
    min-height: 110px;
  }

  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-small {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    width: calc(100% - 40px);
    height: 70px;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px;
    border: 1.5px solid var(--ink);
    border-radius: 9px;
    background: var(--paper-2);
    box-shadow: 5px 5px 0 var(--ink);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 12px;
    border-radius: 5px;
    font-size: 14px;
  }

  .primary-nav a:hover {
    background: var(--paper);
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .nav-mobile-cta {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    background: var(--ink);
    color: var(--paper-2);
    font-weight: 700;
  }

  .primary-nav .nav-mobile-cta:hover {
    background: var(--blue);
    color: var(--white);
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .section {
    padding: 82px 0;
  }

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

  #workbench,
  .builder {
    scroll-margin-top: 78px;
  }

  .section-marker {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding-top: 0;
  }

  .section-num {
    font-size: 24px;
  }

  .section-mark {
    margin-top: 0;
    margin-left: auto;
  }

  .section-marker::after {
    width: 1px;
    height: 20px;
    margin-top: 0;
    margin-left: 2px;
  }

  .section-heading h2 {
    font-size: clamp(2.15rem, 6.8vw, 3rem);
  }

  .definition-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .definition-roles {
    border-top: 1px solid var(--line-strong);
  }

  .big-thesis {
    margin-top: 56px;
  }

  .thesis-note {
    position: static;
    display: inline-block;
    margin-top: 20px;
    transform: rotate(0);
  }

  .fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .readiness {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .readiness-vs {
    justify-self: start;
    margin-left: 12px;
    line-height: 1.2;
  }

  .glossary-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .closing {
    padding: 82px 0;
  }

  .closing-star {
    right: -20px;
    bottom: 25px;
    opacity: 0.22;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-inner {
    width: calc(100% - 40px);
  }

  .nav-inner {
    height: 66px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
    font-size: 18px;
  }

  .brand-type strong {
    font-size: 9.5px;
  }

  .brand-type em {
    font-size: 9px;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .eyebrow {
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .eyebrow-time {
    padding-left: 7px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(2.7rem, 11.4vw, 3.6rem);
    letter-spacing: -0.06em;
    line-height: 1.08;
  }

  .headline-scribble {
    bottom: -7px;
    width: 72%;
  }

  .hero-lede {
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
    font-size: 12.5px;
  }

  .hero-assurances {
    gap: 8px 15px;
    margin-top: 27px;
    font-size: 9px;
  }

  .hero-grid {
    gap: 44px;
  }

  .bench-shell {
    --bench-tilt: 0deg;
  }

  .bench {
    padding: 10px;
    box-shadow: 8px 8px 0 var(--blue);
  }

  .bench-sticker {
    top: -15px;
    right: 10px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .bench-caption {
    margin-top: 17px;
    font-size: 8.5px;
  }

  .bench-live {
    font-size: 7.5px;
  }

  .example-tab {
    font-size: 10px;
    padding: 6px 3px;
  }

  .prompt-box {
    min-height: 106px;
    padding: 9px 10px 10px;
  }

  .prompt-text {
    font-size: 11.5px;
    line-height: 1.65;
  }

  .bench-bridge {
    gap: 5px;
    font-size: 7px;
  }

  .preview {
    min-height: 247px;
    padding: 9px;
  }

  .bench-foot {
    padding-top: 8px;
  }

  .bench-tip {
    font-size: 7px;
  }

  .code-toggle {
    font-size: 8.5px;
  }

  .mini-head h3 {
    font-size: 16px;
  }

  .motto-inner {
    width: calc(100% - 28px);
    min-height: 54px;
    gap: 7px 13px;
    font-size: 8.5px;
    line-height: 1.5;
    text-align: center;
  }

  .motto-star {
    font-size: 8px;
  }

  .section {
    padding: 66px 0;
  }

  .section-marker {
    gap: 8px;
  }

  .section-num {
    font-size: 22px;
  }

  .section-name {
    font-size: 8.5px;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.6rem);
    letter-spacing: -0.04em;
    line-height: 1.24;
  }

  .mobile-break {
    display: inline;
  }

  .desktop-break {
    display: none;
  }

  .section-heading h2 em.em--split::after {
    display: none;
  }

  .section-lede {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.85;
  }

  .definition-board {
    margin-top: 33px;
  }

  .definition-card {
    padding: 21px 19px 19px;
    box-shadow: 5px 5px 0 var(--mint);
  }

  .definition-card > p:not(.definition-note) {
    font-size: 1.25rem;
    line-height: 1.65;
  }

  .definition-note {
    margin-top: 18px;
    font-size: 11.5px;
  }

  .role {
    padding: 13px 0;
  }

  .role p {
    font-size: 11.5px;
  }

  .big-thesis {
    margin-top: 44px;
    padding-top: 31px;
  }

  .thesis-mark {
    top: 13px;
    font-size: 23px;
  }

  .big-thesis > p {
    font-size: clamp(1.8rem, 8.2vw, 2.45rem);
    line-height: 1.45;
  }

  .big-thesis strong {
    white-space: normal;
  }

  .thesis-note {
    margin-top: 17px;
    font-size: 8.5px;
  }

  .footnote {
    margin-top: 24px;
    font-size: 8.5px;
  }

  .chat-layout {
    margin-top: 32px;
  }

  .chat-head {
    padding: 11px 12px;
  }

  .chat-head strong {
    font-size: 12.5px;
  }

  .chat-stream {
    gap: 16px;
    padding: 15px 12px;
  }

  .chat-bubble {
    max-width: 100%;
    padding: 9px 10px;
    font-size: 11.5px;
    line-height: 1.7;
  }

  .chat-msg--ai .chat-bubble {
    margin-left: 13px;
  }

  .chat-msg--you .chat-bubble {
    margin-left: 0;
  }

  .event-line {
    grid-template-columns: 51px minmax(0, 1fr) auto;
    gap: 5px;
    font-size: 7.5px;
  }

  .chat-preview-foot {
    font-size: 7px;
  }

  .chat-foot {
    padding: 9px 12px;
    font-size: 8px;
  }

  .chat-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 4px;
  }

  .chat-note {
    padding: 13px 0 14px;
  }

  .chat-note h3 {
    font-size: 15px;
  }

  .chat-note p {
    font-size: 11px;
  }

  .section-pullquote {
    margin-top: 26px;
    padding-left: 13px;
    font-size: 1.05rem;
  }

  .fit-grid {
    margin-top: 32px;
    gap: 18px;
  }

  .fit-card {
    padding: 20px 18px 17px;
    box-shadow: 5px 5px 0 #a9ddb8;
  }

  .fit-card--no {
    box-shadow: 5px 5px 0 #ffb9a4;
  }

  .fit-card h3 {
    font-size: 1.3rem;
  }

  .fit-card li {
    font-size: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .readiness {
    margin-top: 24px;
    padding: 16px;
  }

  .readiness-item {
    gap: 9px;
  }

  .readiness-item p {
    font-size: 10.5px;
  }

  .start-grid {
    margin-top: 32px;
  }

  .start-step {
    padding: 19px 0 20px;
  }

  .step-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .start-step h3 {
    font-size: 1.1rem;
  }

  .start-step > p {
    font-size: 12px;
  }

  .feedback-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-menu {
    padding: 20px 18px 17px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .builder {
    margin-top: 45px;
    box-shadow: 6px 6px 0 var(--blue);
  }

  .builder-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 17px 18px;
  }

  .builder-head h3 {
    font-size: 1.25rem;
  }

  .builder-body {
    display: block;
  }

  .builder-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
    padding: 21px 18px 23px;
  }

  .field--wide {
    grid-column: auto;
  }

  .field input,
  .field textarea {
    font-size: 13px;
  }

  .builder-output {
    min-height: 0;
    padding: 21px 18px;
  }

  .output-text {
    min-height: 0;
    font-size: 13px;
  }

  .copy-button {
    font-size: 12px;
  }

  .safety-list {
    margin-top: 32px;
  }

  .safety-rule {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 19px 0;
  }

  .safety-rule h3 {
    font-size: 1.05rem;
  }

  .safety-rule p {
    font-size: 11.5px;
  }

  .preflight {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    padding: 15px;
  }

  .preflight ol {
    flex-direction: column;
    gap: 7px;
  }

  .safety-quote {
    margin-top: 40px;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .glossary-grid {
    margin-top: 31px;
  }

  .term-card summary {
    grid-template-columns: 78px minmax(0, 1fr) 18px;
    gap: 7px;
    padding: 12px;
  }

  .term-cn {
    font-size: 13.5px;
  }

  .term-body {
    margin: 0 12px;
  }

  .ask-ai {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px;
  }

  .ask-label {
    grid-row: auto;
    justify-self: start;
  }

  .ask-ai p {
    font-size: 1rem;
  }

  .closing {
    padding: 65px 0 72px;
  }

  .closing h2 {
    font-size: clamp(2rem, 8.4vw, 2.8rem);
    line-height: 1.25;
  }

  .closing-lede {
    margin-top: 18px;
    font-size: 14px;
  }

  .closing-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    margin-top: 25px;
  }

  .closing-actions .button {
    width: 100%;
  }

  .closing-link {
    align-self: flex-start;
    font-size: 9px;
  }

  .closing-ideas {
    margin-top: 30px;
  }

  .closing-star {
    font-size: 130px;
    right: -34px;
    bottom: 10px;
  }

  .site-footer {
    padding: 29px 0 32px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .footer-small {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .example-tab {
    font-size: 9px;
  }

  .mini-tab {
    font-size: 9px;
  }

  .motto-inner {
    font-size: 8px;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .closing h2 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-copy > *,
  .bench-shell,
  .bench-sticker {
    opacity: 1 !important;
    transform: none !important;
  }
}
