/* Voice agent — one world: warm paper chrome, ink line stage, one signal ember. */

/* Self-hosted brand type (latin + latin-ext), served from /static/fonts. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f2ede3;
  --bg-gradient: none;
  --card: #fbf8f2;
  --card-sub: #ece5d8;
  --card-border: #ddd2c0;
  --card-hover: #f3ede1;
  --node-bg: #fbf8f2;
  --node-border: #ddd2c0;
  --task-bg: #ece5d8;
  --accent: #b8431f;
  --accent-hover: #92320f;
  --accent-glow: rgba(184, 67, 31, 0.18);
  --accent-light: #d9663c;
  --accent-title: #2a211a;
  --primary: var(--accent);
  --primary-hover: var(--accent-hover);
  --success: #3c6b46;
  --success-bg: #e8efe2;
  --warning: #96621a;
  --warning-bg: #f6ecd7;
  --danger: #a32e22;
  --danger-bg: #f6e5e0;
  --purple: #b8431f;
  --purple-bg: #f7e9e2;
  --text: #241c14;
  --text-muted: #6d6152;
  --text-dim: #776b5b;
  --btn-bg: #fbf8f2;
  --btn-border: #d8ccb9;
  --shadow: 0 1px 2px rgba(52, 38, 22, 0.07);
  --shadow-sm: 0 1px 2px rgba(52, 38, 22, 0.05);
  --shadow-md: 0 24px 48px -28px rgba(52, 38, 22, 0.4);
  --primary-glow: transparent;
  --stage: #221a12;
  --stage-2: #2c2218;
  --stage-line: #3d3125;
  --stage-text: #f4ede1;
  --stage-muted: #b3a28c;
  --signal: #e8542a;
  --radius: 8px;
  --radius-lg: 14px;
  --font-ui: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-display: "Newsreader", Georgia, "Iowan Old Style", serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", "Menlo", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--accent-title);
}

a { color: var(--accent); }

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.micro-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.lamp {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}

.lamp.quiet { background: var(--text-dim); opacity: 0.5; }

.lamp.live {
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(232, 84, 42, 0.18);
  animation: lamp-pulse 1.8s ease-in-out infinite;
}

@keyframes lamp-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232, 84, 42, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(232, 84, 42, 0.06); }
}

/* ---------- shared chrome ---------- */

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

.mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: transparent;
}

.console-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
}

.console-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: var(--radius);
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.console-nav a:hover {
  color: var(--text);
  background: var(--card-hover);
}

.console-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--card);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.btn-primary,
.btn,
.text-link,
button {
  font-family: var(--font-ui);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-primary:active { transform: translateY(1px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--card-hover);
  border-color: var(--text-dim);
  color: var(--text);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

label {
  display: block;
  margin: 18px 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="search"],
input:not([type]),
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea { min-height: 92px; resize: vertical; }

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

input[aria-invalid="true"] { border-color: var(--danger); }

.toast-pill {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: none;
  max-width: min(480px, calc(100vw - 32px));
  padding: 11px 18px;
  border-radius: var(--radius);
  background: var(--stage);
  color: var(--stage-text);
  border-left: 3px solid var(--signal);
  font-size: 14px;
  font-weight: 600;
  z-index: 80;
  animation: toastPop 0.25s ease-out;
}

@keyframes toastPop {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ---------- setup studio chrome ---------- */

.setup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--card-border);
  background: var(--card);
}

.step-bar {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  counter-reset: station;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-bar button {
  counter-increment: station;
  border: 0;
  border-right: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 650;
  padding: 10px 16px;
  min-height: 42px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.step-bar button:last-child { border-right: 0; }

.step-bar button::before {
  content: counter(station, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-right: 8px;
}

.step-bar button:hover { background: var(--card-hover); color: var(--text); }

.step-bar button[aria-current="step"] {
  background: var(--stage);
  color: var(--stage-text);
}

.step-bar button[aria-current="step"]::before { color: var(--signal); }

.more-menu { position: relative; }

.more-menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-muted);
  padding: 10px 12px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.more-menu summary::-webkit-details-marker { display: none; }

.more-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

.more-menu a:hover { background: var(--card-hover); }

.more-menu div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 170px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow-md);
  z-index: 30;
}

.call-status {
  margin: 14px 0;
  font-size: 15px;
  color: var(--text-muted);
}

.meter {
  height: 6px;
  background: var(--card-sub);
  border-radius: 99px;
  overflow: hidden;
  margin: 16px 0;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--signal);
  transition: width 0.12s linear;
}

.ready-note {
  margin-top: 20px;
  padding: 13px 16px;
  background: var(--success-bg);
  border-left: 3px solid var(--success);
  color: var(--success);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 650;
}

/* ---------- home ---------- */

.home {
  background: var(--bg);
  color: var(--text);
}

.home-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(242, 237, 227, 0.92);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.home-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--radius);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.home-nav a:hover { color: var(--text); background: var(--card-hover); }

.home-signin {
  margin-left: 10px;
  color: var(--text) !important;
  border: 1px solid var(--btn-border);
  background: var(--card);
}

#flows, #live { scroll-margin-top: 84px; }

.home-hero-wrap {
  border-bottom: 1px solid var(--card-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 240px),
    var(--bg);
}

.home-hero {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: start;
  padding: 72px 0 64px;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-kicker::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.home-hero .lead {
  margin: 26px 0 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.home-facts {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--card-border);
}

.home-facts li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--card-border);
  color: var(--text);
  font-size: 15px;
}

.home-facts li::before {
  content: "—";
  color: var(--accent);
  flex: none;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}

.home-quiet {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--text-dim);
  padding-bottom: 2px;
}

.home-quiet:hover { color: var(--accent); border-color: var(--accent); }

.call-sheet {
  background: var(--stage);
  color: var(--stage-text);
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-md);
}

.call-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--stage-line);
  margin-bottom: 14px;
}

.call-sheet-top p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stage-muted);
}

.call-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.call-turn {
  padding: 12px 8px;
  border-bottom: 1px solid var(--stage-line);
}

.call-turn:last-child { border-bottom: 0; }

.call-turn .turn-who {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stage-muted);
}

.call-turn.agent .turn-who { color: var(--signal); }

.call-turn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--stage-text);
}

.call-foot {
  margin: 12px 8px 4px;
  padding-top: 12px;
  border-top: 1px solid var(--stage-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stage-muted);
}

.home-points {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.home-points ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-points li {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--card-border);
}

.home-points li:last-child { border-right: 0; }

.home-points li + li { padding-left: 32px; }

.home-points .num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.home-points strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--accent-title);
}

.home-points p {
  margin: 0;
  max-width: 26rem;
  color: var(--text-muted);
  font-size: 15px;
}

.home-flows {
  background: var(--card);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.home-flows-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 76px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.section-head p {
  margin: 0;
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 16px;
}

.flow-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--card-border);
}

.flow-row {
  display: grid;
  grid-template-columns: 52px minmax(150px, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px 12px;
  border-bottom: 1px solid var(--card-border);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.flow-row:hover {
  background: var(--bg);
  padding-left: 20px;
}

.flow-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.flow-row:hover .flow-num { color: var(--accent); }

.flow-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--accent-title);
}

.flow-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.flow-line {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

.flow-line .turn-who {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.home-section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--text);
}

.live-grid li {
  position: relative;
  padding: 28px 24px 8px 0;
}

.live-grid li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.live-grid .num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.live-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--accent-title);
}

.live-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.home-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 26px 28px;
  background: var(--stage);
  border-radius: var(--radius-lg);
}

.home-close p {
  margin: 0;
  max-width: 32rem;
  color: var(--stage-text);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
}

.home-foot {
  background: var(--stage);
  color: var(--stage-text);
}

.home-foot .brand { color: var(--stage-text); }

.home-foot-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

.home-foot p {
  margin: 16px 0 0;
  max-width: 26rem;
  color: var(--stage-muted);
  font-size: 15px;
}

.home-foot h2 {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stage-muted);
}

.home-foot nav a {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: var(--stage-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.home-foot nav a:hover { border-color: var(--signal); }

p.home-foot-note {
  width: min(1180px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--stage-line);
  color: var(--stage-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ---------- start / sign in ---------- */

.start-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.start-main {
  display: flex;
  flex-direction: column;
  padding: 22px 48px 48px;
  background: var(--bg);
}

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

.start-head a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.start-head a:hover { color: var(--text); }

.start-form-wrap {
  width: min(420px, 100%);
  margin: auto;
  padding: 48px 0;
}

.start-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.start-form-wrap h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.start-help {
  margin: 0 0 26px;
  color: var(--text-muted);
  font-size: 16px;
}

.start-error {
  margin: 0 0 18px;
  padding: 11px 14px;
  background: var(--danger-bg);
  border-left: 3px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
  font-weight: 650;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.start-error:empty { display: none; }

.start-form-wrap .btn-primary {
  width: 100%;
  margin-top: 22px;
}

.start-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.start-note code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--card-sub);
  padding: 1px 6px;
  border-radius: 4px;
}

.start-aside {
  background: var(--stage);
  color: var(--stage-text);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.start-aside h2 {
  margin: 0;
  color: var(--stage-text);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.start-stations {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stage-line);
}

.start-stations li {
  padding: 18px 0;
  border-bottom: 1px solid var(--stage-line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: baseline;
}

.start-stations .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
}

.start-stations strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 550;
}

.start-stations p {
  margin: 0;
  color: var(--stage-muted);
  font-size: 14px;
}

.start-foot-note {
  margin: 0;
  color: var(--stage-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

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

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 52px 0 56px;
  }
  .home-points ol,
  .live-grid { grid-template-columns: 1fr 1fr; }
  .home-points li,
  .home-points li + li {
    padding: 26px 24px 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--card-border);
  }
  .live-grid li:nth-child(3),
  .live-grid li:nth-child(4) { border-top: 1px solid var(--card-border); margin-top: 8px; padding-top: 32px; }
  .flow-row {
    grid-template-columns: 44px minmax(0, 1fr);
    row-gap: 6px;
  }
  .flow-desc, .flow-line { grid-column: 2; }
  .start-body { grid-template-columns: 1fr; }
  .start-aside { order: 2; padding: 40px 32px; }
  .start-main { padding: 18px 28px 32px; }
}

@media (max-width: 720px) {
  .home-bar {
    padding: 12px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
  .home-nav { flex-wrap: wrap; }
  .home-hero,
  .home-points,
  .home-flows-inner,
  .home-section,
  .home-foot-inner,
  p.home-foot-note { width: min(1180px, calc(100% - 36px)); }
  .home-hero h1 { font-size: 42px; }
  .home-points ol,
  .live-grid { grid-template-columns: 1fr; }
  .home-points li,
  .home-points li + li { padding: 22px 0; }
  .live-grid li { padding: 22px 24px 8px 0; }
  .live-grid li:nth-child(n) { border-top: 0; margin-top: 0; padding-top: 22px; }
  .section-head,
  .home-close,
  .home-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .home-close { padding: 22px; }
  .home-foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .setup-top { flex-wrap: wrap; }
  .step-bar { width: 100%; }
  .step-bar button { flex: 1; padding: 10px 8px; }
  .step-bar button::before { display: block; margin: 0 0 2px; }
  .start-main { padding: 16px 20px 28px; }
  .start-aside { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
