:root {
  color-scheme: light;
  --canvas: light-dark(#fffdf9, #191a1d);
  --ink: light-dark(#242422, #f2f0eb);
  --muted: light-dark(#63635f, #b8b8b2);
  --blue: light-dark(#2459e8, #90b0ff);
  --pink: light-dark(#b53270, #f394be);
  --green: light-dark(#357256, #95d9b2);
  --surface: light-dark(#fff, #25262b);
  --line: light-dark(#e8e5df, #3c3d42);
  --band: light-dark(#f3f0e9, #24252a);
  --chip: light-dark(#f0ede7, #303136);
  --mail: light-dark(#f6f3ed, #2d2e33);

  --tint-blue: light-dark(#e5edff, #26334e);
  --ink-blue: light-dark(#12296b, #c9d8ff);
  --tint-orange: light-dark(#fff0d6, #453924);
  --ink-orange: light-dark(#5c2d08, #f6c89a);
  --tint-pink: light-dark(#ffe7f1, #422e3b);
  --ink-pink: light-dark(#6e1a3f, #f7b9d4);
  --tint-green: light-dark(#e3f2e9, #293e35);
  --ink-green: light-dark(#1f4d36, #a9dfc0);
  --tint-amber: light-dark(#ffe3a0, #574329);
  --ink-amber: light-dark(#5c3d0a, #f3d59a);
  --tint-purple: light-dark(#eee8ff, #342d4a);
  --ink-purple: light-dark(#3d2a7a, #d3c6ff);

  --button: #2459e8;
  --button-glow: light-dark(#2459e88c, #2459e8b3);
  --button-glow-hover: light-dark(#2459e8a6, #2459e8d9);
  --button-contact: light-dark(#12296b26, #00000059);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Noto Sans TC", sans-serif;
  --round: "Arial Rounded MT Bold", ui-rounded, "SF Pro Rounded", Nunito, var(--font);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
body { font-size: 16px; line-height: 1.6; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button:not(:disabled), a { cursor: pointer; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }
img { display: block; }
::selection { color: #242422; background: #ffcbe2; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section[id] { scroll-margin-top: 28px; }

.page-width { width: min(1240px, 100% - 96px); margin-inline: auto; }

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

h1, h2, h3, h4 {
  font-family: var(--round);
  font-weight: 800;
  text-wrap: balance;
}
.blue-text { color: var(--blue); }
.pink-text { color: var(--pink); }
.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.015em;
}

/* tones shared by chips, marks, notes */
.tone-blue { --tone-bg: var(--tint-blue); --tone-ink: var(--ink-blue); }
.tone-orange { --tone-bg: var(--tint-orange); --tone-ink: var(--ink-orange); }
.tone-pink { --tone-bg: var(--tint-pink); --tone-ink: var(--ink-pink); }
.tone-green { --tone-bg: var(--tint-green); --tone-ink: var(--ink-green); }
.tone-amber { --tone-bg: var(--tint-amber); --tone-ink: var(--ink-amber); }
.tone-purple { --tone-bg: var(--tint-purple); --tone-ink: var(--ink-purple); }

/* ---------- brand + header ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--round);
  font-size: 38px;
  font-weight: 850;
  letter-spacing: -2.5px;
  line-height: 1;
}
.brand-mark { width: 1.5em; height: 1.5em; pointer-events: none; }
.brand-text {
  display: grid;
  grid-template-areas: "name beta" "by by";
  justify-content: start;
  align-items: center;
  gap: 5px 10px;
  white-space: nowrap;
}
.brand-wordmark { grid-area: name; }
.brand-beta {
  grid-area: beta;
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink-amber);
  background: var(--tint-amber);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transform: rotate(-6deg);
}
.brand-by {
  grid-area: by;
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand-mark { transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .brand:hover .brand-mark { transform: translateY(-2px) rotate(-8deg); }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}
.nav-link { padding-block: 12px; }
.nav-link:hover { color: var(--blue); }

.btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--button);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 6px 14px -6px var(--button-glow), 0 1px 3px var(--button-contact);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-compact:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -8px var(--button-glow-hover), 0 2px 4px var(--button-contact); }
.btn-compact:active { transform: translateY(1px); box-shadow: 0 3px 8px -4px var(--button-glow); }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--chip);
}
.lang-switch button {
  min-width: 36px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 3px #24242218;
}

.theme-switcher {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: none;
}
.theme-switcher:hover { color: var(--ink); background: var(--chip); }
.theme-icon {
  display: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-mode="light"] .theme-light, [data-mode="dark"] .theme-dark { display: block; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 220px;
  min-height: 58px;
  padding: 16px 27px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--button);
  font-size: 16px;
  font-weight: 650;
  box-shadow: 0 10px 24px -8px var(--button-glow), 0 2px 4px var(--button-contact);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn > span { font-size: 20px; line-height: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px var(--button-glow-hover), 0 3px 6px var(--button-contact); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -4px var(--button-glow); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn-block { width: 100%; justify-content: space-between; }
.btn-small { min-width: 0; min-height: 42px; padding: 10px 18px; font-size: 14px; box-shadow: 0 8px 18px -8px var(--button-glow), 0 1px 3px var(--button-contact); }
.btn-small:hover { box-shadow: 0 12px 24px -10px var(--button-glow-hover), 0 2px 4px var(--button-contact); }
.btn-small:active { box-shadow: 0 3px 8px -4px var(--button-glow); }
.btn-inverted {
  --button-glow: #0b1f6b99;
  --button-glow-hover: #0b1f6bb3;
  --button-contact: #0b1f6b33;
  color: #2459e8;
  background: #fffdf9;
}

.action { text-align: center; }
.action-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero ---------- */

.home-hero { padding-block: 24px 12px; }
.hero-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
}
.home-hero h1 {
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}
.hero-intro h2 {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
}
.persona-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 650;
}
.chip {
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  transform: rotate(var(--chip-tilt));
  transition: transform 0.35s var(--spring);
}
:root[data-theme="dark"] .chip { box-shadow: inset 0 0 0 1px #ffffff29; }
.persona-chips b { margin-left: 4px; color: var(--blue); font-weight: 650; }
.persona-chips:hover .chip { transform: translateY(-3px); }
.hero-actions { display: flex; flex-shrink: 0; gap: 24px; }

/* ---------- desk demo ---------- */

.desk-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}
.desk-intro h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.eyebrow-pill {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--ink-amber);
  background: var(--tint-amber);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  transform: rotate(-2deg);
}
.desk-intro p { max-width: 360px; color: var(--muted); }

.desk-window {
  overflow: hidden;
  border: 1px solid light-dark(#dcdad3, #393b40);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 20px 60px light-dark(#24252314, #0004);
}
.desk-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: light-dark(#f3f0e9, #202125);
}
.window-dots { display: flex; flex-shrink: 0; gap: 7px; padding-left: 4px; }
.window-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-dots i:nth-child(2) { background: #febc2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.desk-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.desk-tab {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.desk-tab:hover { color: var(--ink); }
.desk-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 2px #2424220f, 0 0 0 1px var(--line);
}
.mark {
  display: inline-grid;
  flex-shrink: 0;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  font-family: var(--round);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.desk-steps {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  scrollbar-width: none;
}
.desk-step {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.desk-step b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--chip);
  font-size: 10.5px;
}
.desk-step.is-done b { color: var(--green); background: var(--tint-green); }
.desk-step.is-active { color: var(--ink-blue); background: var(--tint-blue); }
.desk-step.is-active b { color: #fff; background: var(--blue); }
:root[data-theme="dark"] .desk-step.is-active b { color: #191a1d; }
.desk-step.is-held.is-active { color: var(--ink-pink); background: var(--tint-pink); }
.desk-step.is-held.is-active b { background: var(--pink); }

.desk-body { display: grid; grid-template-columns: 1fr 1fr; height: 580px; }
.desk-pane { display: flex; flex-direction: column; min-height: 0; }
.pane-kit { border-left: 1px solid var(--line); background: light-dark(#fffefa, #222327); }
.pane-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.pane-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pane-head small { color: var(--muted); font-size: 12px; }
.pane-tag {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--chip);
  font-size: 11.5px;
  font-weight: 600;
}
.avatar { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; object-fit: cover; }
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: light-dark(#39845e, #79be98);
}

.pane-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 18px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.pane-hint { margin: auto; max-width: 280px; color: var(--muted); font-size: 13px; text-align: center; }

.mail {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--mail);
  animation: pop-in 0.35s var(--spring) both;
}
.mail p + p { margin-top: 2px; }
.mail-meta { color: var(--muted); font-size: 11.5px; }
.mail-subject { font-size: 14px; font-weight: 650; line-height: 1.4; }
.mail-body { color: var(--muted); font-size: 13px; line-height: 1.5; }
.mail.is-sent { align-self: flex-end; max-width: 88%; }
.mail.is-reply {
  align-self: flex-start;
  max-width: 88%;
  color: var(--ink-blue);
  background: var(--tint-blue);
}
.mail.is-reply .mail-meta, .mail.is-reply .mail-body { color: inherit; opacity: 0.8; }
.mail.is-reply.is-held { color: var(--ink-pink); background: var(--tint-pink); }
.mail.is-draft { background: transparent; padding: 0; animation: none; }
.mail.is-incoming { border: 1px solid var(--line); background: var(--surface); }

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
  color: var(--muted);
  font-size: 12.5px;
  animation: pop-in 0.3s ease both;
}
.status-line.is-working { color: var(--blue); font-weight: 600; }
.status-line.is-done > span { color: var(--green); }
.status-line.is-reply > span { color: var(--blue); }

.spinner { display: inline-flex; gap: 3px; }
.spinner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: bounce 0.9s ease-in-out infinite;
}
.spinner i:nth-child(2) { animation-delay: 0.12s; }
.spinner i:nth-child(3) { animation-delay: 0.24s; }

.tool-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  animation: pop-in 0.35s var(--spring) both;
}
.tool-card strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
.tool-card small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.tool-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--green);
  background: var(--tint-green);
  font-size: 15px;
}
.tool-card.is-held { border-color: light-dark(#f3c2d7, #6b3c52); background: light-dark(#fff7fa, #2f2429); }
.tool-card.is-held .tool-icon { color: var(--pink); background: var(--tint-pink); }

.flag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  color: var(--ink-pink);
  background: var(--tint-pink);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.composer { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.queue { margin-bottom: 12px; }
.queue > p { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.queue-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.queue-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
  transition: border-color 0.15s, transform 0.2s var(--spring);
}
.queue-chip:not(:disabled):hover { border-color: var(--blue); transform: translateY(-2px); }
.queue-chip:disabled { opacity: 0.55; cursor: default; }
.compose {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid light-dark(#e2ded6, #45464d);
  border-radius: 20px;
}
.compose .btn-small { justify-self: start; }
.compose-label { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.compose-done { justify-items: start; color: var(--muted); font-size: 14px; }

.empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 300px;
  margin: auto;
  text-align: center;
}
.empty-state img { width: 64px; height: 64px; margin-bottom: 6px; border-radius: 20px; object-fit: cover; transform: rotate(-4deg); }
.empty-state strong { font-family: var(--round); font-size: 19px; letter-spacing: -0.03em; }
.empty-state small { color: var(--muted); font-size: 13px; line-height: 1.55; }

.desk-caption { padding: 12px 6px 0; color: var(--muted); font-size: 13px; text-align: right; }

@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- founder letter ---------- */

.founder-letter {
  display: grid;
  grid-template-columns: 0.86fr 1.3fr;
  gap: 88px;
  margin-top: 92px;
  padding-top: 54px;
  border-top: 1px solid light-dark(#dedbd3, #414247);
}
.founder-letter h2, .section-heading h2, .isolation-copy h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.letter-body {
  color: light-dark(#454541, #d1d0ca);
  font-size: 18px;
  line-height: 1.8;
  text-wrap: pretty;
}
.letter-body p { margin-bottom: 22px; }
.letter-body strong { color: var(--ink); font-weight: 650; }
.letter-signature {
  margin-top: 30px;
  color: var(--blue);
  font-family: Hurricane, cursive;
  font-size: 48px;
  line-height: 1.1;
}
.letter-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.letter-link { color: var(--blue); font-size: 16px; }
.letter-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- section headings ---------- */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.section-heading > p {
  max-width: 340px;
  padding-bottom: 4px;
  color: var(--muted);
}

/* ---------- what you get ---------- */

.home-features { padding-block: 110px 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-card {
  overflow: hidden;
  border: 1px solid light-dark(#eae7df, #38393e);
  border-radius: 24px;
  background: var(--surface);
}
.feature-art {
  display: grid;
  place-items: center;
  height: 210px;
  padding: 22px;
  background: var(--tint-blue);
}
.feature-card[data-color="orange"] .feature-art { background: var(--tint-orange); }
.feature-card[data-color="pink"] .feature-art { background: var(--tint-pink); }
.feature-card[data-color="green"] .feature-art { background: var(--tint-green); }
.feature-copy { padding: 22px 24px 26px; }
.feature-copy h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 1.9vw, 1.75rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.feature-copy p { color: var(--muted); font-size: 15px; text-wrap: pretty; }

.art-card {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 250px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px light-dark(#22356a18, #0005);
  font-size: 12px;
  transition: transform 0.4s var(--spring);
}
.feature-card:hover .art-card { transform: rotate(-2deg) translateY(-4px); }
.art-card small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.art-nameplate { grid-template-columns: 44px 1fr; align-items: center; }
.art-nameplate img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.art-nameplate strong { font-family: var(--round); font-size: 18px; letter-spacing: -0.03em; }
.art-nameplate p {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.art-nameplate p span { display: inline-flex; align-items: center; gap: 5px; }
.art-to { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.art-to code {
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--ink-orange);
  background: var(--tint-orange);
  font-size: 11px;
}
.art-mail strong { font-size: 13px; line-height: 1.35; }
.art-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.art-attachment svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.art-drafts p { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.art-drafts p + p { padding-top: 8px; border-top: 1px solid var(--line); }
.draft-label { font-weight: 650; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.is-draft { color: var(--ink-green); background: var(--tint-green); }
.badge.is-waiting { color: var(--ink-blue); background: var(--tint-blue); }
.badge.is-held { color: var(--ink-pink); background: var(--tint-pink); }
.art-held p { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- roles ---------- */

.home-roles { padding-block: 90px 40px; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid light-dark(#eae7df, #38393e);
  border-radius: 24px;
  background: var(--surface);
  transition: transform 0.35s var(--spring), box-shadow 0.25s;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px light-dark(#22356a12, #0004); }
.role-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.role-head .mark { width: 46px; height: 46px; border-radius: 14px; font-size: 14px; }
.role-card:nth-child(odd) .mark { transform: rotate(-4deg); }
.role-card:nth-child(even) .mark { transform: rotate(3deg); }
.role-head h3 { font-size: 1.6rem; letter-spacing: -0.045em; line-height: 1.1; }
.role-head small { color: var(--muted); font-size: 12.5px; }
.role-card p { color: light-dark(#454541, #d1d0ca); }
.role-card .role-intake { flex: 1; color: var(--muted); font-size: 14px; }
.role-card .text-link { align-self: flex-start; }

/* ---------- how it works ---------- */

.home-how { padding-block: 90px 60px; }
.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-top: 10px;
}
.note {
  padding: 24px 22px 26px;
  border-radius: 22px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  box-shadow: 0 12px 32px light-dark(#7a571a12, #0003);
  transform: rotate(var(--tilt));
  transition: transform 0.4s var(--spring);
}
.note:hover { transform: rotate(0) translateY(-6px); }
.note-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--round);
  font-size: 20px;
  font-weight: 800;
}
.note h3 { margin-bottom: 8px; font-size: 1.4rem; letter-spacing: -0.04em; line-height: 1.15; }
.note p { font-size: 15px; opacity: 0.85; }

/* ---------- isolation + will not ---------- */

.home-isolation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 72px;
  padding-block: 90px 110px;
}
.isolation-lead { max-width: 520px; margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.icon-list { display: grid; gap: 20px; margin-top: 34px; }
.icon-list li { display: flex; align-items: center; gap: 18px; }
.icon-list li > span {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--blue);
  background: var(--tint-blue);
  font-size: 19px;
  font-weight: 700;
}
.icon-list strong { display: block; font-size: 17px; font-weight: 600; }
.icon-list small { color: var(--muted); font-size: 14px; }

.will-not {
  padding: 36px;
  border: 1px solid light-dark(#eae7df, #38393e);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 20px 60px light-dark(#24252310, #0003);
  transform: rotate(1.2deg);
}
.will-not h3 { font-size: 2rem; letter-spacing: -0.045em; line-height: 1.1; }
.will-not > p { margin-top: 10px; color: var(--muted); }
.will-not ul { display: grid; margin-top: 22px; }
.will-not li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 500;
}
.no-tag {
  flex-shrink: 0;
  min-width: 42px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--ink-pink);
  background: var(--tint-pink);
  font-family: var(--round);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

/* ---------- getting started ---------- */

.home-start { padding: 80px 0 70px; background: var(--band); }
.start-wrap { width: min(1192px, 100% - 96px); margin-inline: auto; }

.weeks-title { margin-bottom: 40px; font-size: clamp(38px, 4.7vw, 65px); letter-spacing: -0.04em; line-height: 1.07; }
.week-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.week { position: relative; }
.week-chip {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--tone-ink);
  background: var(--tone-bg);
  font-size: 13px;
  font-weight: 700;
}
.week:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: -18px;
  left: 96px;
  border-top: 2px dashed light-dark(#d9d4c9, #4a4b51);
}
.week h4 { margin-bottom: 8px; font-size: 1.3rem; letter-spacing: -0.035em; line-height: 1.2; }
.week p { color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */

.home-faq { padding-block: 110px; }
.home-faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  width: min(1192px, 100% - 96px);
  margin-inline: auto;
}
.home-faq h2 { font-size: clamp(38px, 4.7vw, 65px); letter-spacing: -0.04em; line-height: 1.07; }
.faq-list details { padding: 22px 0; border-bottom: 1px solid light-dark(#e4e0d8, #3d3e43); }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 15.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { flex-shrink: 0; color: var(--muted); font-size: 23px; font-weight: 400; transition: transform 0.2s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { margin: 14px 34px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* ---------- closing band ---------- */

.home-close {
  position: relative;
  overflow: hidden;
  padding-block: 85px 90px;
  color: #fffdf9;
  background: #2459e8;
}
.home-close > .page-width { position: relative; z-index: 1; width: min(1192px, 100% - 96px); }
.close-mark { margin-bottom: 25px; }
.home-close h2 { font-size: clamp(45px, 6.2vw, 88px); letter-spacing: -0.04em; line-height: 1.06; text-wrap: initial; }
.home-close h2 span { color: #ffd392; }
.close-lead { max-width: 560px; margin-top: 24px; color: #dfe7ff; font-size: 18px; line-height: 1.7; }
.close-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 35px; }
.home-close .action-note { color: #c9d6ff; }
.home-close-zero {
  position: absolute;
  right: -20px;
  bottom: -250px;
  color: #ffffff12;
  font-family: var(--round);
  font-size: 720px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-14deg);
}
.home-close-zero::after {
  content: "";
  position: absolute;
  top: 48%;
  left: -4%;
  width: 108%;
  height: 70px;
  border-radius: 999px;
  background: #ffffff12;
  transform: rotate(-38deg);
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 150px;
  padding-block: 32px;
  color: var(--muted);
  font-size: 13px;
}
.footer-identity, .footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-identity { align-items: flex-start; max-width: 420px; }
.footer-identity p { line-height: 1.5; }
.footer-legal { font-size: 12px; opacity: 0.85; }
.site-footer .brand { color: var(--ink); font-size: 34px; }
.footer-meta { align-items: flex-end; }
.footer-actions { display: flex; gap: 8px; margin-bottom: 6px; }
.footer-meta > a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta .footer-mail { padding: 5px 12px; border: 1px solid; border-radius: 20px; color: var(--blue); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.note.reveal.is-visible { transform: rotate(var(--tilt)); }
.note.reveal.is-visible:hover { transform: rotate(0) translateY(-6px); }
.will-not.reveal.is-visible { transform: rotate(1.2deg); }
.feature-grid .reveal:nth-child(2), .role-grid .reveal:nth-child(3n + 2), .notes .reveal:nth-child(2), .week-list .reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-grid .reveal:nth-child(3), .role-grid .reveal:nth-child(3n), .notes .reveal:nth-child(3), .week-list .reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-grid .reveal:nth-child(4), .notes .reveal:nth-child(4), .week-list .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Chinese ---------- */

:root:lang(zh-Hans) { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: -0.01em; line-height: 1.2; }
:lang(zh) .home-hero h1 { line-height: 1.15; }
:lang(zh) .letter-body, :lang(zh) .isolation-lead { line-height: 1.9; }

/* ---------- responsive ---------- */

@media (width <= 1120px) {
  .page-width, .start-wrap, .home-faq-inner, .home-close > .page-width { width: calc(100% - 64px); }
  .hero-intro { flex-direction: column; align-items: flex-start; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .week-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .week:nth-child(2)::after { display: none; }
}

@media (width <= 960px) {
  .site-header nav .nav-link { display: none; }
  .founder-letter { grid-template-columns: 1fr; gap: 36px; }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-isolation { grid-template-columns: 1fr; gap: 48px; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .desk-intro { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (width <= 800px) {
  .desk-body { grid-template-columns: 1fr; height: auto; }
  .desk-pane { height: 480px; }
  .pane-kit { border-top: 1px solid var(--line); border-left: 0; }
  .home-faq-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (width <= 600px) {
  .page-width, .start-wrap, .home-faq-inner, .home-close > .page-width { width: calc(100% - 40px); }
  .site-header { min-height: 84px; }
  .site-header nav { gap: 10px; }
  .site-header nav > .btn-compact { display: none; }
  .brand { font-size: 30px; letter-spacing: -2px; }
  .site-header .brand { gap: 8px; font-size: 22px; letter-spacing: -1px; }
  .site-header .brand-by { font-size: 11px; }
  .brand-text { grid-template-areas: "name name" "by beta"; column-gap: 6px; }
  .site-header .brand-beta { padding: 3px 7px; font-size: 10px; }
  .lang-switch button { min-width: 30px; padding: 0 7px; }
  .home-hero h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero-intro { margin-bottom: 48px; }
  .hero-intro h2 { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 18px; }
  .hero-actions .btn, .close-actions .btn { width: 100%; }
  .close-actions { flex-direction: column; }
  .close-actions .action { width: 100%; }
  .desk-window { border-radius: 14px; }
  .pane-mail { display: none; }
  .desk-caption { text-align: left; }
  .founder-letter { margin-top: 64px; }
  .letter-body { font-size: 16px; }
  .feature-grid, .role-grid, .notes, .week-list { grid-template-columns: 1fr; }
  .week::after { display: none; }
  .home-features, .home-roles, .home-how { padding-block: 64px 24px; }
  .home-isolation { padding-block: 64px 80px; }
  .will-not { padding: 26px; transform: none; }
  .will-not.reveal.is-visible { transform: none; }
  .home-faq { padding-block: 64px; }
  .home-close { padding-block: 56px 65px; }
  .home-close h2 { font-size: clamp(34px, 9.6vw, 54px); }
  .home-close-zero { font-size: 380px; bottom: -130px; right: -60px; }
  .home-close-zero::after { height: 38px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
}

@media (width <= 400px) {
  .site-header .brand { font-size: 19px; }
  .site-header .brand-by { font-size: 10px; }
}

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