/* SPBros — ArisBot landing page.
   Colors, radii, and shadows follow the ArisBot product tokens (web/tokens.css). */

:root {
  --canvas: #fcfcfc;
  --card: #ffffff;
  --text: #11191c;
  --muted: #60696f;
  --soft-text: #7f898f;
  --line: #eeeef0;
  --field-line: #8c979e;
  --rail: #f3f4f5;
  --fill: #f1f3f4;
  --hover: #e7eaec;
  --blue: #c8e7ff;
  --blue-hover: #b5ddfb;
  --blue-dark: #1473c8;
  --blue-text: #0e5ca0;
  --sky: #edf7fd;
  --green: #e3f3e8;
  --lavender: #f0eefa;
  --orange: #fdf0df;
  --danger: #aa4a45;
  --danger-bg: #fbefed;
  --success-text: #1f5a3a;
  --success-bg: #e3f3e8;
  --warn-bg: #fdf0df;
  --amber-text: #8a5a12;
  --ivory: #f8f2ed;
  --ivory-line: #efe5da;

  --r-row: 12px;
  --r-input: 19px;
  --r-card: 23px;
  --r-button: 24px;
  --r-sheet: 26px;
  --r-composer: 32px;
  --shadow-composer: 0 4px 20px #18384b0f;
  --shadow-float: 0 4px 20px #13263114;
  --shadow-dialog: 0 16px 60px #13263126;

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;

  --font: "SUIT Variable", SUIT, "Apple SD Gothic Neo", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: light;
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--canvas);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

p,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

:lang(ko) {
  word-break: keep-all;
}

::selection {
  background: var(--blue);
}

:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
  border-radius: 8px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg.i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(252, 252, 252, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  transition: border-color 0.25s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ivory-line);
  border-radius: 10px;
  background: var(--ivory);
  object-fit: cover;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-by {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

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

.header-cta {
  margin-left: 4px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-button);
  font: 600 15.5px/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn svg.i {
  width: 17px;
  height: 17px;
  transition: transform 0.2s;
}

.btn:hover svg.i {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(20, 115, 200, 0.6);
}

.btn-primary:hover {
  background: #0f66b3;
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-float);
}

.btn-secondary:hover {
  border-color: #dfe3e6;
  transform: translateY(-1px);
}

.btn-soft {
  background: var(--blue);
  color: var(--text);
}

.btn-soft:hover {
  background: var(--blue-hover);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(52px, 8vw, 100px) 0 clamp(72px, 9vw, 120px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(#d5dbe0 1.1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000 20%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px 340px at 10% 10%, rgba(200, 231, 255, 0.8), transparent 70%),
    radial-gradient(520px 360px at 90% 14%, rgba(240, 238, 250, 1), transparent 70%),
    radial-gradient(640px 400px at 72% 72%, rgba(253, 240, 223, 0.75), transparent 70%),
    radial-gradient(560px 380px at 20% 80%, rgba(227, 243, 232, 0.7), transparent 70%);
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-float);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.eyebrow-avatars {
  display: flex;
}

.eyebrow-avatars img {
  width: 26px;
  height: 26px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ivory);
  object-fit: cover;
}

.eyebrow-avatars img:first-child {
  margin-left: 0;
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(2.7rem, 6.8vw, 5.6rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hl {
  padding: 0 0.06em;
  background: linear-gradient(transparent 58%, var(--blue) 58%, var(--blue) 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  max-width: 690px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.lead strong {
  color: var(--text);
  font-weight: 650;
}

.hero .ko {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--soft-text);
  font-size: 15px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note b {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

/* App mock (ArisBot web layout) */

.app-wrap {
  position: relative;
  max-width: 1140px;
  margin: clamp(48px, 7vw, 80px) auto 0;
}

.app-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 3% -5%;
  z-index: -1;
  background: radial-gradient(closest-side at 30% 50%, rgba(200, 231, 255, 0.9), transparent),
    radial-gradient(closest-side at 75% 50%, rgba(240, 238, 250, 1), transparent);
  filter: blur(34px);
}

.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 272px;
  height: 580px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  background: var(--canvas);
  box-shadow: var(--shadow-dialog), 0 2px 6px rgba(19, 38, 49, 0.04);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.app svg.i {
  width: 16px;
  height: 16px;
}

.app-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  padding: 14px 10px 12px;
  background: var(--rail);
}

.rail-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 8px;
}

.rail-brand .brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.rail-brand b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 6px 11px 6px 8px;
  border-radius: var(--r-button);
  background: var(--blue);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.app .rail-new svg.i {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

.rail-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 8px 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.app .rail-label svg.i {
  width: 13px;
  height: 13px;
}

.rail-bot {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: var(--r-row);
}

.rail-bot.is-active {
  background: var(--card);
  box-shadow: var(--shadow-float);
}

.rail-av {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ivory);
  object-fit: cover;
}

.rail-bot b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.rail-bot span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rail-more {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.app .rail-item svg.i {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.rail-conv {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--r-row);
  background: var(--card);
  box-shadow: var(--shadow-float);
}

.rail-conv b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

.rail-conv span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
}

.rail-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.main-top {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  flex: none;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.crumbs {
  font-size: 12.5px;
}

.crumbs i {
  margin: 0 4px;
  font-style: normal;
}

.crumbs b {
  color: var(--text);
  font-weight: 500;
}

.main-top .end {
  margin-left: auto;
}

.bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.mascot-tile {
  position: relative;
  flex: none;
  width: 88px;
  height: 49px;
  overflow: hidden;
  border: 1px solid var(--ivory-line);
  border-radius: 12px;
  background: var(--ivory);
}

.mascot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pause {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.bot-id {
  min-width: 0;
}

.bot-id b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.bot-id span {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.bot-id em {
  font-style: normal;
  font-weight: 600;
  color: var(--amber-text);
  transition: color 0.3s;
}

.bot-id em[data-state="running"] {
  color: var(--blue-text);
}

.bot-id em[data-state="done"] {
  color: var(--success-text);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: var(--muted);
}

.settings-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-button);
  background: var(--fill);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.app .settings-pill svg.i {
  width: 14px;
  height: 14px;
}

.thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  padding: 18px 22px 14px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}

.msg-user {
  align-self: flex-end;
  flex: none;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px 18px 6px 18px;
  background: var(--fill);
}

.msg-bot {
  display: flex;
  align-self: flex-start;
  flex: none;
  gap: 10px;
  max-width: 94%;
}

.msg-bot img {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ivory);
  object-fit: cover;
}

.msg-bot p {
  padding-top: 3px;
}

.msg-bot.is-new {
  animation: slide-up 0.45s ease both;
}

.tool-card,
.approval {
  flex: none;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-float);
}

.tool-card {
  margin-left: 36px;
  transition: border-color 0.3s;
}

.tool-card[data-state="running"] {
  border-color: #cfe6f8;
}

.tool-card[data-state="done"] {
  border-color: #cfe9d8;
}

.tc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sky);
  color: var(--blue-dark);
}

.tc-title {
  min-width: 0;
}

.tc-title b {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
}

.tc-title span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tc-head .chip-state {
  margin-left: auto;
}

.tc-args {
  display: grid;
  gap: 4px;
  margin: 10px 0 12px;
  font-size: 12px;
}

.tc-args div {
  display: flex;
  gap: 12px;
}

.tc-args dt {
  flex: none;
  width: 58px;
  color: var(--muted);
}

.tc-args dd {
  margin: 0;
}

.tc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  transition: opacity 0.3s;
}

.tc-actions span {
  padding: 7px 13px;
  border-radius: var(--r-button);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s;
}

.b-allow {
  background: var(--blue-dark);
  color: #fff;
}

.b-allow.is-pressed {
  transform: scale(0.94);
  box-shadow: 0 0 0 4px rgba(20, 115, 200, 0.2);
}

.b-session {
  background: var(--blue);
  color: var(--blue-text);
}

.b-deny {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}

.tool-card[data-state="running"] .tc-actions,
.tool-card[data-state="done"] .tc-actions {
  opacity: 0.4;
}

.composer {
  flex: none;
  width: calc(100% - 44px);
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-composer);
  background: var(--card);
  box-shadow: var(--shadow-composer);
}

.composer-ph {
  color: var(--muted);
}

.composer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
}

.send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--fill);
}

.composer-note {
  flex: none;
  padding: 7px 0 12px;
  color: var(--muted);
  font-size: 10.5px;
  text-align: center;
}

.app-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
  border-left: 1px solid var(--line);
  background: var(--card);
}

.seg {
  display: flex;
  padding: 3px;
  border-radius: var(--r-button);
  background: var(--fill);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.seg span {
  flex: 1;
  padding: 6px 8px;
  border-radius: var(--r-button);
  text-align: center;
  white-space: nowrap;
}

.seg .on {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(19, 38, 49, 0.1);
}

.panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 2px 0;
  font-size: 13.5px;
  font-weight: 700;
}

.panel-title small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.runs {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-row);
  background: var(--card);
}

.runs li.is-hot {
  border-color: #d6eaf9;
  background: #f8fbfe;
}

.runs b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.runs small {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* State chips */

.chip-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

.chip-state::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip-state[data-state="pending"] {
  background: var(--warn-bg);
  color: var(--amber-text);
}

.chip-state[data-state="running"] {
  background: var(--sky);
  color: var(--blue-text);
}

.chip-state[data-state="done"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.chip-state[data-state="attention"] {
  background: var(--lavender);
  color: #4f4592;
}

.chip-state[data-state="pending"]::before,
.chip-state[data-state="running"]::before {
  animation: pulse 1.6s ease-in-out infinite;
}

/* Facts */

.facts {
  border-block: 1px solid var(--line);
  background: var(--card);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.fact {
  padding: 24px 24px 26px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact dt {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.fact dd {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Sections */

.section {
  position: relative;
  padding: clamp(80px, 10vw, 128px) 0;
}

.section.tint {
  background: linear-gradient(180deg, var(--canvas) 0%, #f4f8fb 14%, #f4f8fb 86%, var(--canvas) 100%);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-text);
  font-size: 13px;
  font-weight: 650;
}

h2 {
  margin: 18px 0 0;
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

h2 .soft {
  color: var(--soft-text);
}

.section-head p:not(.ko) {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-head .ko,
.control .ko,
.company .ko {
  margin-top: 8px;
  color: var(--soft-text);
  font-size: 0.95rem;
}

.body {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Cards */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(19, 38, 49, 0.03);
}

.card h3 {
  margin: 20px 0 6px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Characters */

.picker-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  background: var(--card);
  box-shadow: var(--shadow-dialog);
}

.picker-label {
  margin: 0 0 12px 2px;
  font-size: 15px;
  font-weight: 700;
}

.picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.pick:hover {
  border-color: #dfe3e6;
  transform: translateY(-2px);
}

.pick input {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid var(--field-line);
  border-radius: 50%;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.pick input:checked {
  border-color: var(--blue-dark);
}

.pick input:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-dark);
}

.pick input:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.pick:has(input:checked) {
  background: #f8f1ea;
  box-shadow: inset 0 0 0 2px #b8957a;
}

.pick-img {
  display: block;
  width: min(100%, 150px);
  aspect-ratio: 432 / 240;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ivory);
}

.pick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.sub-title {
  margin: clamp(56px, 7vw, 80px) 0 20px;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  text-align: center;
}

.states {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.state {
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.state img {
  width: 100%;
  height: auto;
  aspect-ratio: 432 / 240;
  border-radius: 14px;
  background: var(--ivory);
  object-fit: cover;
}

.state figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 0 4px;
}

.state small {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.states-note {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.97rem;
  text-align: center;
}

.states-note span {
  display: block;
  margin-top: 4px;
  color: var(--soft-text);
  font-size: 0.92rem;
}

/* Workspace */

.banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  margin-bottom: 16px;
  padding: clamp(26px, 3.6vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-sheet);
  background: linear-gradient(120deg, var(--sky) 0%, var(--lavender) 55%, var(--orange) 115%);
}

.banner h3 {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.banner > div > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
}

.page-art {
  position: relative;
  width: 340px;
  height: 190px;
  margin-right: 8px;
}

.pa-page {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  padding: 16px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-float);
  transform: rotate(2deg);
}

.pa-crumb {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.pa-page b {
  display: block;
  margin: 4px 0 8px;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.pa-page i {
  display: block;
  height: 7px;
  margin: 8px 0;
  border-radius: 4px;
  background: var(--fill);
}

.pa-chat {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 6px;
  background: var(--card);
  box-shadow: var(--shadow-dialog);
  font-size: 12.5px;
  line-height: 1.4;
}

.pa-chat img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ivory);
  object-fit: cover;
}

.pa-chat b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
}

.mini {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  height: 236px;
  padding: 14px;
  border-radius: 18px;
  background: var(--rail);
  font-size: 12.5px;
}

.mini b {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
}

.mini small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.mini-title {
  margin: 0 2px 2px;
  font-size: 12px;
  font-weight: 700;
}

.acc {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-row);
  background: var(--card);
}

.cb {
  display: grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1.5px solid var(--field-line);
  border-radius: 4px;
}

.acc.is-on .cb {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.acc.is-on .cb::after {
  content: "";
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg);
}

.grp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-row);
  background: var(--card);
  box-shadow: var(--shadow-float);
}

.grp-stack {
  display: flex;
}

.grp-stack img {
  width: 30px;
  height: 30px;
  margin-left: -9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ivory);
  object-fit: cover;
}

.grp-stack img:first-child {
  margin-left: 0;
}

.grp-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 4px;
}

.grp-msg img {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--ivory);
  object-fit: cover;
}

.grp-msg p {
  font-size: 12px;
}

.grp-msg b {
  display: inline;
  margin-right: 4px;
}

.mem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--r-row);
  background: var(--card);
}

.mem-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--sky);
  color: var(--blue-dark);
}

.mem-ic svg.i {
  width: 15px;
  height: 15px;
}

/* Control */

.control {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.points {
  display: grid;
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
}

.tick {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--blue-dark);
}

.tick svg.i {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}

.points h3 {
  margin: 3px 0 4px;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.points p {
  color: var(--muted);
  font-size: 0.98rem;
}

.control-visual {
  display: grid;
  gap: 14px;
}

.approval {
  padding: 18px;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-dialog);
  font-size: 13px;
}

.approval .tc-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.approval .tc-title b {
  font-size: 13.5px;
}

.approval .tc-title span {
  font-size: 12px;
}

.approval .tc-args {
  font-size: 12.5px;
}

.bypass-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.bypass {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--amber-text) 45%, transparent);
  border-radius: var(--r-button);
  background: var(--warn-bg);
  color: var(--amber-text);
  font-size: 12px;
  font-weight: 600;
}

.bypass svg.i {
  width: 14px;
  height: 14px;
}

.bypass-note {
  color: var(--muted);
  font-size: 12px;
}

.history {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--shadow-float);
}

/* Platforms */

.plat-ic,
.deploy-ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue-dark);
}

.plat-ic svg.i,
.deploy-ic svg.i {
  width: 22px;
  height: 22px;
}

.plat h3 {
  margin-top: 18px;
}

.seg-lg {
  margin-top: 12px;
  font-size: 12px;
}

.seg-lg span {
  padding: 8px 6px;
}

/* Claude */

.stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
}

.stage i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.stage.now {
  background: var(--success-bg);
  color: var(--success-text);
}

.stage.next {
  border: 1px dashed var(--blue-dark);
  color: var(--blue-text);
}

.claude-card h3,
.deploy-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.term {
  margin-top: 24px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--text);
  color: #e8ecee;
  font: 13.5px/1.4 var(--mono);
}

.t-dim {
  color: #8c979e;
}

.t-acc {
  color: #9ccff7;
}

.caret {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #9ccff7;
  animation: blink 1.1s steps(1) infinite;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 600;
}

.chip.next {
  border: 1px dashed var(--blue-dark);
  background: transparent;
  color: var(--blue-text);
}

.arrow {
  color: var(--soft-text);
  font-size: 13px;
}

/* Deployment */

.deploy-card .label {
  display: block;
  margin-top: 20px;
  color: var(--blue-text);
  font-size: 13px;
  font-weight: 700;
}

.deploy-card h3 {
  margin-top: 6px;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 500;
}

.checks svg.i {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--blue-dark);
  stroke-width: 2.2;
}

/* Company */

.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}

.company .body {
  max-width: 480px;
}

.info {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}

.info div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 22px;
  border-top: 1px solid var(--line);
}

.info div:first-child {
  border-top: 0;
}

.info dt {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.info dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.info small {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.info a {
  color: var(--blue-text);
  text-decoration: underline;
  text-decoration-color: rgba(14, 92, 160, 0.35);
  text-underline-offset: 3px;
}

/* Contact */

.section-cta {
  padding-top: clamp(40px, 6vw, 72px);
}

.cta {
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: radial-gradient(520px 260px at 15% 0%, rgba(200, 231, 255, 0.75), transparent 70%),
    radial-gradient(520px 280px at 90% 100%, rgba(240, 238, 250, 1), transparent 70%),
    radial-gradient(420px 240px at 60% 0%, rgba(253, 240, 223, 0.7), transparent 70%), var(--card);
  box-shadow: var(--shadow-dialog);
  text-align: center;
}

.cta-chars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.cta-chars img {
  width: clamp(88px, 12vw, 128px);
  height: auto;
  aspect-ratio: 432 / 240;
  border: 1px solid var(--ivory-line);
  border-radius: 16px;
  background: var(--ivory);
  object-fit: cover;
  box-shadow: var(--shadow-float);
}

.cta-chars img:first-child {
  transform: rotate(-5deg) translateY(4px);
}

.cta-chars img:last-child {
  transform: rotate(5deg) translateY(4px);
}

.cta h2 {
  margin: 0 auto;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.cta p:not(.ko) {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta .ko {
  margin-top: 6px;
  color: var(--soft-text);
  font-size: 0.95rem;
}

.cta .btn {
  margin-top: 30px;
}

/* Footer */

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.site-footer .brand-name {
  font-size: 16px;
}

.biz {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
}

.biz div {
  display: flex;
  gap: 6px;
}

.biz dt {
  flex: none;
  color: var(--text);
  font-weight: 600;
}

.biz dd {
  margin: 0;
}

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

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

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.foot-links a:hover {
  color: var(--text);
}

/* Motion */

.rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d, 0s);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-in,
.reveal-all .reveal {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1180px) {
  .app {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .app-panel {
    display: none;
  }
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .control,
  .company {
    grid-template-columns: 1fr;
  }

  .mini {
    height: auto;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    height: 540px;
  }

  .app-rail {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .banner {
    grid-template-columns: 1fr;
  }

  .page-art {
    width: min(100%, 340px);
    margin: 8px auto 0;
  }

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

  .fact {
    padding: 18px 16px;
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 600px) {
  .head-actions .ico {
    display: none;
  }

  .tool-card {
    margin-left: 0;
  }

  .thread {
    padding-inline: 16px;
  }

  .composer {
    width: calc(100% - 32px);
  }

  .picker {
    gap: 8px;
  }

  .pick {
    padding: 14px 6px 12px;
  }

  .pa-page {
    width: 230px;
  }

  .pa-chat {
    max-width: 250px;
  }

  .info div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 18px;
  }

  .state figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .state small {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .brand-by {
    display: none;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .bot-id span {
    font-size: 11px;
  }

  .settings-pill span {
    display: none;
  }
}
