:root {
  color-scheme: light dark;
  --bg: #f4f2ed;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fbfaf7;
  --ink: #20201f;
  --muted: #66645f;
  --line: rgba(32, 32, 31, 0.12);
  --accent: #df9848;
  --accent-deep: #bd702a;
  --accent-soft: rgba(223, 152, 72, 0.15);
  --on-accent: #211408;
  --shadow: 0 28px 80px rgba(38, 34, 27, 0.12);
  --radius: 28px;
  --page: min(1180px, calc(100vw - 48px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic UI", Meiryo, sans-serif;
  font-synthesis: none;
}

body[data-character="bronze"] {
  --accent: #d88056;
  --accent-deep: #ad5333;
  --accent-soft: rgba(216, 128, 86, 0.16);
  --on-accent: #220e07;
}

body[data-character="towa"] {
  --accent: #33b5b3;
  --accent-deep: #168d91;
  --accent-soft: rgba(51, 181, 179, 0.16);
  --on-accent: #071b1c;
}

body[data-character="sage"] {
  --accent: #83a999;
  --accent-deep: #527969;
  --accent-soft: rgba(131, 169, 153, 0.17);
  --on-accent: #091b15;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 7%, var(--accent-soft), transparent 26rem),
    var(--bg);
  color: var(--ink);
  transition: background-color 420ms ease, color 240ms ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 18px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  width: 100%;
  min-height: 76px;
  padding: 13px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(22px) saturate(130%);
  transition: background 180ms ease;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 56%, transparent), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}
.site-header.is-scrolled::after { opacity: 1; }
.wordmark { display: inline-flex; width: max-content; align-items: center; gap: 11px; }
.wordmark-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(28, 63, 181, 0.2);
}
.wordmark > span:last-child { display: grid; }
.wordmark strong { font-size: 15px; letter-spacing: -0.01em; }
.wordmark small { margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { color: var(--muted); font-size: 13px; font-weight: 650; transition: color 150ms ease; }
.site-header nav a:hover { color: var(--ink); }
.header-cta {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  transition: transform 120ms ease, border-color 160ms ease;
}
.header-cta:hover { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); }
.header-cta:active { transform: scale(.97); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}
.language-switch a {
  min-width: 38px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  transition: background-color 140ms ease, color 140ms ease, transform 100ms ease;
}
.language-switch a:active { transform: scale(.96); }
.language-switch a.is-active { background: var(--surface-strong); box-shadow: 0 2px 8px rgba(28,25,20,.08); color: var(--ink); }

.hero {
  width: var(--page);
  margin: 0 auto;
  padding: 78px 0 84px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
}
.hero-copy { position: relative; z-index: 2; max-width: 920px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .eyebrow span { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 770;
}
h1 em { color: var(--accent-deep); font-style: normal; }
html[lang="en"] .hero h1 { max-width: 1080px; font-size: clamp(50px, 6.3vw, 82px); letter-spacing: -.055em; }
.hero-lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 730;
  transition: transform 120ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary {
  border-color: transparent;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ink) 18%, transparent);
}
.button-secondary { background: var(--surface); }
.button-secondary:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.release-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; }

.policy-header { grid-template-columns: 1fr auto; }
.policy-shell { width: min(880px, calc(100vw - 48px)); margin: 0 auto; padding: 72px 0 110px; }
.policy-hero { padding: 0 0 46px; border-bottom: 1px solid var(--line); }
.policy-hero h1 { max-width: 760px; font-size: clamp(42px, 7vw, 72px); }
.policy-hero > p:not(.eyebrow) { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.policy-language-link { display: inline-flex; margin-top: 24px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); font-size: 12px; font-weight: 700; }
.policy-content { padding-top: 44px; }
.policy-content h2, .policy-content h3 { margin: 42px 0 14px; letter-spacing: -.025em; }
.policy-content > h2:first-child, .policy-content > .eyebrow + h2 { margin-top: 0; }
.policy-content h2 { font-size: clamp(25px, 3vw, 34px); }
.policy-content h3 { font-size: 22px; }
.policy-content p, .policy-content li { color: var(--muted); font-size: 15px; line-height: 1.95; }
.policy-content p { margin: 0 0 18px; }
.policy-content ul { margin: 14px 0 24px; padding-left: 1.35em; }
.policy-content li + li { margin-top: 10px; }
.policy-content strong { color: var(--ink); }
.policy-content a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.policy-divider { margin: 76px 0 24px; border: 0; border-top: 1px solid var(--line); }
.policy-footer { width: min(880px, calc(100vw - 48px)); }

@media (max-width: 680px) {
  .policy-header { min-height: 68px; padding-inline: 18px; }
  .policy-shell { width: min(100% - 36px, 880px); padding-top: 48px; }
  .policy-hero h1 { font-size: 40px; }
  .policy-content p, .policy-content li { font-size: 14px; }
}

.hero-visual {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 42px;
  background: #211f1d;
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.22);
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.11), inset 0 -80px 100px rgba(0,0,0,.08);
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signal-row {
  width: 100%;
  min-height: 78px;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-block: 1px solid var(--line);
  color: var(--muted);
}
.signal-row p { margin: 0; font-size: 9px; font-weight: 750; letter-spacing: .15em; white-space: nowrap; }
.signal-row i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }

.section { width: var(--page); margin: 0 auto; padding: 145px 0; }
.section-heading { max-width: 690px; margin-bottom: 58px; }
.section-heading.compact { max-width: 620px; }
h2 { margin: 0; font-size: clamp(39px, 5vw, 68px); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p:last-child, .experience-copy > p:not(.eyebrow), .get-started > div > p:last-child {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.bento-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: inset 0 1px rgba(255,255,255,.45);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 44%, var(--line)); box-shadow: 0 18px 50px rgba(30,27,22,.07); }
.feature-wide { grid-column: 1 / -1; min-height: 360px; display: grid; grid-template-columns: .93fr 1.07fr; gap: 48px; align-items: center; }
.feature-number { position: absolute; right: 28px; top: 26px; color: var(--muted); font: 650 10px/1 monospace; }
.feature-kicker { margin: 0 0 14px; color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.feature-card h3 { max-width: 540px; margin: 0; font-size: clamp(26px, 2.8vw, 39px); line-height: 1.12; letter-spacing: -.04em; }
.feature-card > p:not(.feature-kicker), .feature-card > div > p:not(.feature-kicker) { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.card-chat { background: linear-gradient(135deg, var(--surface-strong), color-mix(in srgb, var(--accent-soft) 60%, var(--surface))); }
.mini-conversation { display: grid; gap: 12px; justify-items: end; }
.mini-conversation p { max-width: 85%; margin: 0; padding: 16px 18px; border-radius: 18px 18px 5px 18px; background: var(--ink); color: var(--bg); font-size: 13px; }
.mini-conversation p:last-child { justify-self: start; border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; background: var(--surface-strong); color: var(--ink); }
.mini-conversation span { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--accent); }
.motion-orbit { position: absolute; width: 210px; height: 210px; right: -28px; bottom: -34px; border: 1px solid var(--line); border-radius: 50%; }
.motion-orbit::before, .motion-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--line); border-radius: 50%; }
.motion-orbit::after { inset: 37%; background: var(--accent-soft); border-color: var(--accent); }
.motion-orbit span, .motion-orbit i { position: absolute; border-radius: 50%; background: var(--accent); }
.motion-orbit span { width: 12px; height: 12px; left: 7%; top: 34%; }
.motion-orbit i { width: 7px; height: 7px; right: 11%; top: 22%; }
.task-list { display: grid; gap: 9px; margin: 35px 0 0; padding: 0; list-style: none; }
.task-list li { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 12px; }
.task-list li > span { width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.task-list .done { color: var(--ink); opacity: .7; }
.task-list .active { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 54%, var(--line)); background: var(--accent-soft); }
.task-list .active > span { border: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent-deep); }
.studio-flow { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 150px; border: 1px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 22px; background: var(--accent-soft); }
.studio-flow span { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-strong); font: 650 11px/1 monospace; }
.studio-flow i { color: var(--accent-deep); font-style: normal; }
.wave { position: absolute; right: 27px; bottom: 34px; display: flex; height: 82px; align-items: center; gap: 6px; }
.wave i { width: 6px; height: 25%; border-radius: 10px; background: var(--accent); animation: wave 1.3s ease-in-out infinite alternate; }
.wave i:nth-child(2), .wave i:nth-child(6) { height: 52%; animation-delay: -.5s; }
.wave i:nth-child(3), .wave i:nth-child(5) { height: 77%; animation-delay: -.8s; }
.wave i:nth-child(4) { height: 100%; animation-delay: -.2s; }
.permission-pill { position: absolute; right: 28px; bottom: 32px; display: flex; gap: 8px; }
.permission-pill span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; font-weight: 700; }
.permission-pill span:first-child { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }

.workspace-showcase {
  width: var(--page);
  margin: 0 auto;
  padding: 145px 0;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  scroll-margin-top: 72px;
}
.workspace-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.workspace-copy h2 { font-size: clamp(39px, 4.8vw, 64px); }
.workspace-points { display: grid; gap: 0; margin: 38px 0 0; padding: 0; list-style: none; }
.workspace-points li { display: grid; grid-template-columns: 32px 1fr; gap: 13px; padding: 17px 0; border-top: 1px solid var(--line); }
.workspace-points li > span { padding-top: 2px; color: var(--accent-deep); font: 700 9px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.workspace-points div { display: grid; gap: 5px; }
.workspace-points strong { font-size: 13px; }
.workspace-points small { max-width: 440px; color: var(--muted); font-size: 11px; line-height: 1.65; }

.workspace-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 32px;
  background: #191918;
  box-shadow: 0 34px 90px rgba(25, 22, 18, .24), inset 0 1px rgba(255,255,255,.08);
  color: #f5f2ea;
}
.demo-toolbar {
  min-height: 58px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}
.demo-toolbar > strong { font-size: 11px; letter-spacing: .01em; }
.demo-lights { display: flex; gap: 6px; }
.demo-lights i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); }
.demo-lights i:first-child { background: color-mix(in srgb, var(--accent) 80%, white); }
.demo-status { justify-self: end; display: flex; align-items: center; gap: 7px; color: #aaa79f; font-size: 9px; font-weight: 650; }
.demo-status i { width: 6px; height: 6px; border-radius: 50%; background: #62c990; box-shadow: 0 0 0 4px rgba(98,201,144,.12); }
.demo-body { min-height: 510px; display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.demo-projects { padding: 22px 14px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.demo-projects > p { margin: 0 8px 10px; color: #74726d; font-size: 7px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.demo-projects > p:not(:first-child) { margin-top: 28px; }
.demo-project {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-bottom: 5px;
  padding: 10px 9px;
  border-radius: 10px;
  color: #aaa79f;
}
.demo-project > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; font-size: 12px; }
.demo-project > div { min-width: 0; display: grid; gap: 3px; }
.demo-project strong, .demo-project small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-project strong { font-size: 9px; }
.demo-project small { color: #77756f; font-size: 7px; }
.demo-project.is-active { background: color-mix(in srgb, var(--accent) 17%, transparent); color: #f5f2ea; }
.demo-project.is-active > span { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.demo-artifact { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; padding: 7px 9px; color: #aaa79f; }
.demo-artifact span { color: var(--accent); font: 700 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.demo-artifact strong { overflow: hidden; font-size: 8px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.demo-preview { min-width: 0; padding: 17px; background: radial-gradient(circle at 75% 16%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 45%); }
.demo-preview-head { min-height: 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #aaa79f; }
.demo-preview-head > div { display: grid; gap: 3px; }
.demo-preview-head small { color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.demo-preview-head strong { color: #f5f2ea; font-size: 11px; }
.demo-preview-head > span { padding: 8px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; font-size: 7px; }
.demo-document {
  min-height: 410px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #f7f5ef;
  box-shadow: 0 22px 44px rgba(0,0,0,.22);
  color: #272624;
}
.demo-document-label { color: var(--accent-deep); font: 800 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .14em; }
.demo-document h3 { max-width: 390px; margin: 18px 0 0; font-size: clamp(24px, 3.1vw, 36px); line-height: 1.08; letter-spacing: -.045em; }
.demo-document > p:not(.demo-check) { max-width: 390px; margin: 17px 0 0; color: #77736b; font-size: 10px; line-height: 1.75; }
.demo-rule { height: 1px; margin: 24px 0 17px; background: rgba(39,38,36,.1); }
.demo-check { margin: 9px 0; display: flex; align-items: center; gap: 9px; color: #57544e; font-size: 9px; }
.demo-check i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 17%, white); color: var(--accent-deep); font-size: 9px; font-style: normal; font-weight: 800; }
.demo-live { margin-top: 25px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(39,38,36,.09); border-radius: 11px; background: #efede7; color: #65625c; font-size: 8px; }
.demo-live span { display: flex; align-items: center; gap: 7px; }
.demo-live span i { width: 6px; height: 6px; border-radius: 50%; background: #62a979; }
.demo-live strong { padding: 7px 9px; border-radius: 7px; background: #272624; color: #f7f5ef; font-size: 8px; }

.experience {
  width: 100%;
  padding: 135px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 72px;
  background: #171716;
  color: #f5f2ea;
}
.experience .eyebrow { color: color-mix(in srgb, var(--accent) 78%, white); }
.experience-copy > p:not(.eyebrow) { color: #a9a7a1; }
.experience dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 50px 0 0; }
.experience dl div { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.experience dt { color: var(--accent); font-size: 30px; font-weight: 740; }
.experience dd { margin: 6px 0 0; color: #aaa8a1; font-size: 10px; line-height: 1.55; }
.product-shot { position: relative; margin: 0; min-height: 560px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 38px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 58%), #111; overflow: hidden; }
.product-shot img { width: min(500px, 95%); max-height: 520px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.38)); }
.product-shot figcaption { position: absolute; left: 24px; bottom: 21px; color: #898782; font-size: 10px; letter-spacing: .08em; }

.character-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.character-card { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.character-card:hover { transform: translateY(-4px); }
.character-card:active { transform: translateY(-1px) scale(.99); }
.character-card.is-active { border-color: var(--accent); box-shadow: 0 18px 50px color-mix(in srgb, var(--accent) 16%, transparent); }
.character-image { height: 380px; display: block; overflow: hidden; background: linear-gradient(150deg, var(--accent-soft), rgba(255,255,255,.15)); }
.character-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
.character-card:hover img { transform: scale(1.025); }
.character-meta { display: grid; gap: 5px; padding: 21px 22px 23px; }
.character-meta strong { font-size: 17px; }
.character-meta small { color: var(--muted); font-size: 11px; }
.character-credit-note { margin: 22px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.character-credit-note a { color: var(--accent-deep); font-weight: 700; }

.safety-panel { padding: 62px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 65px; border: 1px solid var(--line); border-radius: 36px; background: var(--surface-strong); box-shadow: var(--shadow); }
.safety-panel h2 { font-size: clamp(35px, 4vw, 55px); }
.safety-panel ul { margin: 0; padding: 0; list-style: none; }
.safety-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.safety-panel li:first-child { padding-top: 0; }
.safety-panel li:last-child { padding-bottom: 0; border: 0; }
.safety-panel li > span { color: var(--accent-deep); font: 700 10px/1.7 monospace; }
.safety-panel strong { display: block; font-size: 14px; }
.safety-panel li p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.get-started { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
.get-started h2 { font-size: clamp(38px, 4.5vw, 58px); }
.command-card { position: relative; padding: 28px 30px; border: 1px solid rgba(255,255,255,.07); border-radius: 24px; background: #171716; box-shadow: 0 24px 60px rgba(22,20,16,.15); color: #efede6; }
.command-card code { font: 500 13px/2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.command-card button { position: absolute; right: 14px; top: 14px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.07); color: #d5d2ca; cursor: pointer; font-size: 10px; }

.final-cta { width: var(--page); margin: 0 auto 30px; padding: 110px 24px; border-radius: 40px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 25%, var(--surface-strong)), var(--surface-strong)); text-align: center; }
.final-cta h2 { font-size: clamp(44px, 6vw, 76px); }
.final-cta .hero-actions { justify-content: center; }
.legal-note { max-width: 580px; margin: 28px auto 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
footer { width: var(--page); min-height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); }
footer p { font-size: 9px; }

@keyframes wave { to { transform: scaleY(.35); opacity: .55; } }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151514;
    --surface: rgba(43, 42, 40, .72);
    --surface-strong: #232321;
    --ink: #f1eee7;
    --muted: #aaa7a0;
    --line: rgba(255, 255, 255, .11);
    --accent-deep: color-mix(in srgb, var(--accent) 80%, white);
    --shadow: 0 28px 80px rgba(0,0,0,.27);
  }
  .product-shot img { filter: drop-shadow(0 32px 28px rgba(0,0,0,.35)); }
  .button-primary { background: #f1eee7; color: #181716; }
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 16px; }
  .site-header nav { display: none; }
  .hero { padding-top: 54px; gap: 38px; }
  .hero-copy { max-width: 690px; }
  .signal-row { overflow: hidden; gap: 26px; justify-content: flex-start; }
  .section { padding-block: 100px; }
  .workspace-showcase { padding-block: 100px; grid-template-columns: 1fr; }
  .workspace-copy { max-width: 680px; }
  .experience { grid-template-columns: 1fr; padding-block: 100px; }
  .product-shot { min-height: 520px; }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
  .character-image { height: 300px; }
  .safety-panel { grid-template-columns: 1fr; padding: 45px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100% - 24px); --radius: 22px; }
  .site-header { min-height: 66px; }
  .header-actions { gap: 6px; }
  .header-cta { padding: 9px 11px; }
  .language-switch a { min-width: 34px; padding-inline: 7px; }
  .hero { padding: 44px 0 64px; }
  h1 { font-size: clamp(40px, 11.7vw, 52px); }
  html[lang="en"] .hero h1 { font-size: clamp(40px, 10.8vw, 48px); }
  .hero-lead { line-height: 1.75; }
  .hero-visual { border-radius: 24px; }
  .bento-grid, .feature-wide, .character-grid, .get-started { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; gap: 28px; }
  .feature-card { min-height: 350px; padding: 27px; }
  .studio-flow { overflow: hidden; gap: 5px; }
  .studio-flow span { padding-inline: 8px; font-size: 9px; }
  .experience { padding-inline: 16px; }
  .workspace-showcase { gap: 42px; }
  .workspace-demo { border-radius: 23px; }
  .demo-toolbar { grid-template-columns: 1fr auto; }
  .demo-toolbar > strong { display: none; }
  .demo-body { min-height: 0; grid-template-columns: 1fr; }
  .demo-projects { padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .demo-projects > p, .demo-artifact { display: none; }
  .demo-project { margin: 0; }
  .demo-preview { padding: 12px; }
  .demo-document { min-height: 370px; padding: 28px 24px; }
  .demo-preview-head > span { display: none; }
  .experience dl { gap: 10px; }
  .product-shot { min-height: 420px; border-radius: 27px; }
  .character-grid { gap: 12px; }
  .character-card { display: grid; grid-template-columns: 130px 1fr; }
  .character-image { height: 170px; }
  .character-meta { align-content: center; }
  .safety-panel { padding: 30px 24px; border-radius: 28px; }
  .final-cta { padding: 80px 16px; border-radius: 28px; }
  footer { padding: 30px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .site-header .wordmark small { display: none; }
  .site-header { padding-inline: 12px; }
  .header-cta { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 160ms !important; }
  .feature-card:hover, .character-card:hover, .button:hover, .hero-visual img { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .feature-card { backdrop-filter: none; background: var(--surface-strong); }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(32, 32, 31, .3); --muted: #4a4945; }
  .site-header, .feature-card, .character-card, .safety-panel { background: var(--surface-strong); border-color: var(--line); }
}

@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, .32); --muted: #cbc8c1; }
}

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 66%, transparent); outline-offset: 3px; }
