/* Koi Launch public site: landing, docs and legal pages. (/authorize uses site.css.)
   Every colour is a token below; light and dark are defined together. */
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #fbfaf8;
  --bg-tint: #f3f1ec;
  --card: #ffffff;
  --card-2: #f7f5f1;
  --ink: #171614;
  --ink-2: #3a3834;
  --muted: #66625c;
  --line: #e6e2da;
  --line-2: #d4cfc5;
  --accent: #c2512c;
  --accent-soft: #fbe9e1;
  --accent-ink: #9e3d1d;
  --primary: #171614;
  --on-primary: #ffffff;
  --primary-hover: #34312d;
  --ok: #1d7a45;
  --ok-soft: #e5f4ea;
  --code: #efece6;
  --shadow: 0 1px 2px rgb(20 18 15 / 0.05), 0 8px 28px rgb(20 18 15 / 0.06);
  --shadow-lg: 0 2px 6px rgb(20 18 15 / 0.05), 0 24px 60px rgb(20 18 15 / 0.1);
  --demo-bg: linear-gradient(140deg, #f6e1d6 0%, #f4efe8 45%, #e3e9f3 100%);
  --toast-bg: #171614;
  --toast-ink: #ffffff;
  --frame: #171614;
  --no: #b42318;
  --partial: #8a5a00;
  --icon-invert: invert(0);
  --bubble: #efede8;
  --band: #0f0f0e;
  --band-2: #1b1a18;
  --band-line: #2e2c29;
  --band-ink: #f4f2ee;
  --band-muted: #a8a39b;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 20px;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --bg-tint: #191816;
    --card: #1e1d1b;
    --card-2: #262422;
    --ink: #f3f1ec;
    --ink-2: #d2cec7;
    --muted: #a19c94;
    --line: #2f2d2a;
    --line-2: #44413c;
    --accent: #ef8a62;
    --accent-soft: #3a2219;
    --accent-ink: #f6a584;
    --primary: #f3f1ec;
    --on-primary: #141312;
    --primary-hover: #d9d5ce;
    --ok: #5cc68a;
    --ok-soft: #173323;
    --code: #262422;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 28px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 24px 60px rgb(0 0 0 / 0.45);
    --demo-bg: linear-gradient(140deg, #3a2219 0%, #1f1d1b 50%, #1b2230 100%);
    --toast-bg: #f3f1ec;
    --toast-ink: #141312;
    --frame: #3b3935;
    --no: #ff8f85;
    --partial: #f0bf5a;
    --icon-invert: invert(1);
    --bubble: #34312d;
    --band: #000000;
    --band-2: #151413;
    --band-line: #2a2826;
    --band-ink: #f4f2ee;
    --band-muted: #a8a39b;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 17px/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
button {
  font: inherit;
  color: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}
.i {
  width: 22px;
  height: 22px;
  flex: none;
}
.i-sm {
  width: 18px;
  height: 18px;
}
.i-xs {
  width: 15px;
  height: 15px;
}
.i-xl {
  width: 120px;
  height: 120px;
  stroke-width: 1.1;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}
.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
  max-width: 360px;
}
@media (max-width: 640px) {
  .btn-block {
    max-width: none;
  }
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-ghost {
  background: var(--card);
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--card-2);
}
.btn-invert {
  background: var(--on-primary);
  color: var(--primary);
}
.btn.copied {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--on-primary);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration-color: currentColor;
}

/* ---------------------------------------------------------------- header */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-right: auto;
}
.nav-links a,
.nav-sheet a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--card-2);
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.beta {
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.language-menu,
.nav-menu {
  position: relative;
}
.language-menu summary,
.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.language-menu summary::-webkit-details-marker,
.nav-menu summary::-webkit-details-marker,
.faq summary::-webkit-details-marker,
.cf-peek summary::-webkit-details-marker {
  display: none;
}
.language-menu summary:hover,
.nav-menu summary:hover {
  background: var(--card-2);
}
.language-menu[open] summary,
.nav-menu[open] summary {
  border-color: var(--line-2);
  background: var(--card);
}
.chev {
  transition: transform 0.2s;
}
.language-menu[open] .chev {
  transform: rotate(180deg);
}
.pop-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  transform-origin: top right;
  animation: pop-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pop-title {
  margin: 4px 10px 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.pop-panel .langs {
  display: grid;
  gap: 2px;
}
.pop-panel .langs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.pop-panel .langs a:hover {
  background: var(--card-2);
}
.pop-panel .langs a[aria-current="page"] {
  font-weight: 650;
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
}
.nav-menu {
  display: none;
}
.nav-menu summary {
  width: 42px;
  padding: 0;
  justify-content: center;
}
.nav-menu .ic-close,
.nav-menu[open] .ic-open {
  display: none;
}
.nav-menu[open] .ic-close {
  display: block;
}
.nav-sheet {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 35;
  max-height: calc(100dvh - 60px);
  padding: 8px 20px 24px;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 24px 40px rgb(0 0 0 / 0.12);
  animation: sheet-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-sheet nav {
  display: grid;
  margin-bottom: 20px;
}
.nav-sheet nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ---------------------------------------------------------------- sections */
.sec {
  padding-block: 112px;
  scroll-margin-top: 20px;
}
.sec-tint {
  background: var(--bg-tint);
}
.sec-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.sec-head h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.032em;
}
.sec-lead {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.6;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
h3 {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: 64px 0 48px;
  overflow: hidden;
}
/* The hero already ends with breathing room; the next section needn't add a full gap on top. */
.hero + .sec {
  padding-top: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 64px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
}
.hero-kicker .provider-icon {
  width: 18px;
  height: 18px;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero-lead {
  max-width: 32em;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.55;
}
/* One main action across the top, the two ways to open apps side by side below it, all the same width. */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 36px;
}
.hero-actions .btn {
  width: 100%;
  white-space: nowrap;
}
.hero-actions .btn-primary {
  grid-column: 1 / -1;
}
.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.provider-icon.chatgpt {
  filter: var(--icon-invert);
}
.wm-claude {
  display: block;
  width: auto;
  height: 22px;
  color: currentColor;
}
/* coverflow of real app screenshots: auto-advances, swipeable, tappable chips */
.cv {
  position: relative;
  padding: 36px 0 24px;
  border-radius: 28px;
  background: var(--bg-tint);
  overflow: hidden;
}
.cv-stage {
  position: relative;
  height: 520px;
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.cv-stage:active {
  cursor: grabbing;
}
.cv-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 260px;
  margin: 0 0 0 -130px;
  transition:
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.75s ease,
    filter 0.75s ease;
  will-change: transform, opacity;
}
.cv-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390 / 690;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}
.cv-card[data-pos="0"] {
  z-index: 5;
  transform: translate3d(0, 0, 0) scale(1);
}
.cv-card[data-pos="1"],
.cv-card[data-pos="-1"] {
  z-index: 4;
  opacity: 0.9;
  filter: saturate(0.9);
}
.cv-card[data-pos="1"] {
  transform: translate3d(64%, 26px, -60px) scale(0.84) rotateY(-16deg);
}
.cv-card[data-pos="-1"] {
  transform: translate3d(-64%, 26px, -60px) scale(0.84) rotateY(16deg);
}
.cv-card[data-pos="2"],
.cv-card[data-pos="-2"] {
  z-index: 3;
  opacity: 0.45;
  filter: saturate(0.7);
}
.cv-card[data-pos="2"] {
  transform: translate3d(118%, 52px, -140px) scale(0.7) rotateY(-24deg);
}
.cv-card[data-pos="-2"] {
  transform: translate3d(-118%, 52px, -140px) scale(0.7) rotateY(24deg);
}
.cv-card[data-pos="3"],
.cv-card[data-pos="4"] {
  z-index: 1;
  opacity: 0;
  transform: translate3d(160%, 70px, -200px) scale(0.6);
}
.cv-card[data-pos="-3"],
.cv-card[data-pos="-4"] {
  z-index: 1;
  opacity: 0;
  transform: translate3d(-160%, 70px, -200px) scale(0.6);
}
.cv-caption {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  text-align: center;
}
.cv-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 0 20px;
  max-width: 520px;
}
.cv-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.cv-chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}
.g-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
@media (max-width: 640px) {
  .cv {
    margin-inline: -20px;
    padding: 28px 0 20px;
    border-radius: 0;
  }
  .cv-stage {
    height: 400px;
  }
  .cv-card {
    width: 200px;
    margin-left: -100px;
  }
  .cv-card img {
    border-radius: 20px;
  }
  .cv-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cv-chips::-webkit-scrollbar {
    display: none;
  }
  .cv-chip {
    flex: none;
    min-height: 36px;
  }
}

/* ---------------------------------------------------------------- how */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how li {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.how-n {
  display: block;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.how h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.how p {
  margin: 12px 0 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 17px;
}

/* ---------------------------------------------------------------- open anywhere: web app + Telegram */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plat {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.plat-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.plat-head img {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.plat-web .plat-head img {
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.plat h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.plat-tag {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.plat-list {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.5;
}
.plat-list .i {
  flex: none;
  margin-top: 3px;
  color: var(--ok);
}
.plat .btn {
  align-self: flex-start;
}
.plat-same {
  max-width: 46em;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15.5px;
  text-align: center;
}
@media (max-width: 760px) {
  .plat-grid {
    grid-template-columns: 1fr;
  }
  .plat {
    padding: 24px;
  }
}

/* ---------------------------------------------------------------- prompt explorer */
.px {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.px-tabs {
  display: grid;
  border-left: 1px solid var(--line);
}
.px-tab {
  position: relative;
  min-height: 44px;
  margin-left: -1px;
  padding: 8px 0 8px 20px;
  border: 0;
  border-left: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 17px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}
.px-tab:hover {
  color: var(--ink);
}
.px-tab[aria-selected="true"] {
  border-left-color: var(--ink);
  color: var(--ink);
  font-weight: 650;
}
.px-panel h3 {
  font-size: 30px;
  letter-spacing: -0.025em;
}
.px-panel > p {
  max-width: 38em;
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}
.px-chat {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  list-style: none;
}
.px-chat li {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.px-prompt {
  max-width: min(84%, 560px);
  padding: 12px 16px;
  border: 0;
  border-radius: 20px 20px 6px 20px;
  background: var(--bubble);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.px-prompt:hover {
  background: color-mix(in srgb, var(--bubble) 85%, var(--ink));
}
.px-prompt.copied {
  background: var(--ok-soft);
}
.px-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-right: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
}
.px-copy .i {
  width: 15px;
  height: 15px;
}
@media (max-width: 640px) {
  .px-chat {
    gap: 14px;
    margin-top: 20px;
    padding: 16px 14px;
    border-radius: 20px;
  }
  .px-prompt {
    max-width: 90%;
    padding: 11px 14px;
    font-size: 16px;
  }
}
.px-tools {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.px-tools code {
  margin-left: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

/* ---------------------------------------------------------------- features: bento of real product views */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bt {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-radius: 28px;
  background: var(--bg-tint);
  overflow: hidden;
}
.bt-copy {
  padding: 30px 30px 0;
}
.bt-copy h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.bt-copy p {
  margin: 8px 0 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.55;
}
.bt-media {
  position: relative;
  flex: 1;
  min-height: 190px;
  margin-top: 26px;
}
.bt-media img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 66%;
  max-width: 300px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--card);
  box-shadow: var(--shadow);
}
.bt-media.bottom {
  min-height: 250px;
}
.bt-media.bottom img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: bottom;
  border-bottom: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
}
.bt-hub {
  grid-row: span 2;
}
.bt-hub .bt-media img {
  width: 72%;
  max-width: 340px;
}
.bt-native {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 340px;
}
.bt-native .bt-copy {
  flex: 1;
  align-self: center;
  padding: 40px;
}
.bt-native .bt-copy h3 {
  font-size: 28px;
}
.bt-native .bt-copy p {
  font-size: 18px;
}
.bt-media.duo {
  flex: 1.1;
  margin: 36px 0 0;
}
.bt-media.duo img {
  width: 42%;
}
.bt-media.duo img:first-child {
  left: 30%;
}
.bt-media.duo img:last-child {
  left: 74%;
  top: 40px;
}
.bt-viz {
  margin: auto 30px 30px;
}
.share-viz {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  overflow-wrap: anywhere;
  box-shadow: var(--shadow);
}
.pill:nth-child(2) {
  margin-left: 24px;
}
.ver-viz {
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.ver-viz li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
}
.ver-viz li:first-child {
  border-top: 0;
}
.ver-viz b {
  color: var(--ink);
  font-family: var(--mono);
}
.ver-viz span {
  flex: 1;
}
.ver-viz em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}
.ver-viz u {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- security: dark band */
.sec-dark {
  background: var(--band);
  color: var(--band-ink);
}
.sec-dark .eyebrow,
.sec-dark .sec-lead {
  color: var(--band-muted);
}
.sec-dark h2,
.sec-dark h3,
.sec-dark strong {
  color: var(--band-ink);
}
.sb-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  align-items: center;
  margin: 8px 0 64px;
}
.sb-node {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--band-line);
  border-radius: 20px;
  background: var(--band-2);
}
.sb-node b {
  font-size: 19px;
}
.sb-node small {
  color: var(--band-muted);
  font-size: 14px;
}
.sb-sandbox {
  border-style: dashed;
  border-color: var(--band-muted);
}
.sb-link {
  position: relative;
  min-width: 150px;
  padding: 0 14px;
  text-align: center;
}
.sb-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--band-line);
}
.sb-link span {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--band-line);
  border-radius: 999px;
  background: var(--band);
  color: var(--band-muted);
  font-size: 14px;
}
.sb-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.sb-cols div {
  padding-top: 22px;
  border-top: 1px solid var(--band-line);
}
.sb-cols h3 {
  font-size: 20px;
}
.sb-cols p {
  margin: 10px 0 0;
  color: var(--band-muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.sb-note {
  margin-top: 48px;
  padding: 22px 24px;
  border: 1px solid var(--band-line);
  border-radius: 18px;
}
.sb-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.sb-note p {
  margin: 0;
  max-width: 70ch;
  color: var(--band-muted);
  font-size: 16.5px;
}
.sec-dark a {
  color: var(--band-ink);
}
@media (max-width: 1080px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bt-hub {
    grid-row: span 2;
  }
  .bt-ver {
    grid-column: 1 / -1;
  }
  .sb-diagram {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sb-link {
    min-height: 56px;
    padding: 10px 0;
  }
  .sb-link::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
  }
  .sb-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .bt {
    min-height: 0;
    border-radius: 22px;
  }
  .bt-hub {
    grid-row: auto;
  }
  .bt-copy {
    padding: 24px 22px 0;
  }
  .bt-media {
    min-height: 230px;
  }
  .bt-hub .bt-media {
    min-height: 320px;
  }
  .bt-native {
    flex-direction: column;
  }
  .bt-native .bt-copy {
    padding: 24px 22px 0;
  }
  .bt-native .bt-copy h3 {
    font-size: 21px;
  }
  .bt-native .bt-copy p {
    font-size: 16.5px;
  }
  .bt-media.duo {
    min-height: 300px;
    margin-top: 24px;
  }
  .bt-viz {
    margin: 22px 22px 24px;
  }
  .sb-node {
    padding: 18px 20px;
  }
}

/* ---------------------------------------------------------------- connect flow */
.cf {
  max-width: 920px;
  margin: 0 auto;
}
.cf-where {
  display: flex;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 16px;
}
.cf-where .i {
  flex: none;
  margin-top: 3px;
  color: var(--ink);
}
.cf-pick {
  max-width: 560px;
  margin: 0 auto;
}
.cf-pick-label {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.cf-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.cf-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 52px;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  background: none;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.cf-tab .provider-icon {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}
.cf-tab[aria-selected="true"] {
  background: var(--card-2);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  color: var(--ink);
}
.cf-tab[aria-selected="true"] .provider-icon {
  opacity: 1;
}
.cf-panel {
  display: none;
  margin-top: 28px;
}
.cf[data-provider="chatgpt"] #connect-chatgpt,
.cf[data-provider="claude"] #connect-claude {
  display: block;
}
.cf-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cf-step {
  padding: 28px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.cf-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cf-head h3 {
  font-size: 22px;
}
.cf-num {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 700;
}
.cf-body {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}
.cf-body p {
  margin: 0 0 16px;
}
.cf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cf-url {
  margin: 12px 0 0 !important;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 14px;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
}
.cf-hints {
  margin: 18px 0 0;
  padding-left: 24px;
  color: var(--ink);
}
.cf-hints li + li {
  margin-top: 6px;
}
.cf-hints li::marker {
  color: var(--ink-2);
  font-weight: 700;
}
.cf-callout {
  display: flex;
  gap: 10px;
  margin: 18px 0 0 !important;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card-2);
  color: var(--ink-2);
  font-size: 16px;
}
.cf-callout .i {
  margin-top: 3px;
  color: var(--ink-2);
}
.cf-send {
  display: inline;
  font-size: 16px;
  line-height: 1.6;
}
.cf-send .i {
  display: inline-block;
  margin-left: 4px;
  vertical-align: -2px;
}
.cf-only-touch > .cf-send {
  display: block;
  margin-top: 18px;
}
.cf-mode {
  margin: 20px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.cf-switch {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.cf-only-touch,
.cf-only-narrow {
  display: none;
}
html[data-device="touch"] .cf-only-touch {
  display: block;
}
html[data-device="touch"] .cf-only-mouse {
  display: none;
}
html[data-device="mouse"] .cf-only-mouse {
  display: block;
}
html[data-device="touch"] .cf-callout.cf-only-narrow {
  display: none;
}
@media (hover: none), (pointer: coarse) {
  html:not([data-device]) .cf-only-touch {
    display: block;
  }
  html:not([data-device]) .cf-only-mouse {
    display: none;
  }
}
@media (max-width: 640px) {
  .cf-only-narrow,
  html[data-device="touch"] .cf-callout.cf-only-narrow {
    display: flex;
  }
}
.cf-fill {
  display: grid;
  gap: 8px;
}
.cf-rows {
  display: grid;
  gap: 10px;
}
.cf-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card-2);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.cf-row:hover {
  border-color: var(--line-2);
}
.cf-row-label {
  grid-column: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}
.cf-row-value {
  grid-column: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.cf-row-icon {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-2);
}
.cf-prompt .cf-row-value {
  font-weight: 550;
}
.cf-sub {
  margin: 0 0 22px;
  padding: 0;
  counter-reset: sub;
  list-style: none;
}
.cf-sub li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.cf-sub li:last-child {
  border-bottom: 1px solid var(--line);
}
.cf-sub li::before {
  counter-increment: sub;
  content: counter(sub, lower-alpha) ".";
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--muted);
  font-weight: 650;
}
.cf-sub b,
.cf-body p b {
  color: var(--ink);
  font-weight: 650;
}
.cf-two {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}
.cf-two .cf-sub {
  margin-bottom: 20px;
}
@media (min-width: 900px) {
  .cf-two {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 32px;
    align-items: start;
  }
}
.cf-shot {
  margin: 0;
}
.cf-step-fill .cf-sub + .cf-rows-label {
  margin-top: 0 !important;
}
.cf-rows + .cf-shot {
  margin-top: 20px;
}
.cf-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}
.cf-shot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.cf-shot figcaption b {
  color: var(--ink);
  font-weight: 600;
}
.cf-rows-label {
  margin: 0 0 10px !important;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.cf-foot {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
/* ---------------------------------------------------------------- faq + cta */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary .i {
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary .i {
  transform: rotate(180deg);
}
.faq details p {
  margin: -4px 0 24px;
  max-width: 40em;
  color: var(--ink-2);
  font-size: 17px;
}
.faq a,
.prose a,
.cf-body a:not(.btn) {
  color: var(--ink);
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.cta-sec {
  padding-top: 0;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border-radius: 28px;
  background: var(--bg-tint);
}
.cta h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.cta p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}

/* ---------------------------------------------------------------- footer */
.foot {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-tint);
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
}
.foot-brand p {
  max-width: 22em;
  margin: 16px 0 24px;
  color: var(--ink-2);
  font-size: 16px;
}
.foot-lang > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.foot-lang .langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.foot-lang .langs a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}
.foot-lang .langs a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 600;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.foot-col h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.foot-col ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-col a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot-bottom p {
  margin: 0;
}

/* ---------------------------------------------------------------- docs + legal */
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 112px;
}
.doc-nav {
  position: sticky;
  top: 96px;
  align-self: start;
}
.doc-nav nav {
  display: grid;
  gap: 2px;
}
.doc-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}
.doc-nav a:hover,
.doc-nav a[aria-current="page"] {
  background: var(--card-2);
  color: var(--ink);
}
.doc-nav a[aria-current="page"] {
  font-weight: 600;
}
.toc-label {
  margin-top: 28px;
}
.toc-sm a {
  padding: 5px 12px;
  font-size: 14px;
}
.doc-main {
  min-width: 0;
  max-width: 820px;
}
.doc-main h1 {
  margin-bottom: 40px;
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.legal .doc-main h1 {
  margin-bottom: 12px;
}
.doc-sec {
  padding-bottom: 56px;
  scroll-margin-top: 88px;
}
.doc-sec > h2,
.prose h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.doc-sec .cf {
  margin: 0;
}
.doc-sec .cf-pick,
.doc-sec .cf-pick-label {
  margin-inline: 0;
  text-align: left;
}
.doc-sec .cf-foot {
  text-align: left;
}
.prose {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}
.prose section {
  padding-top: 8px;
  padding-bottom: 32px;
  scroll-margin-top: 88px;
}
.prose p,
.prose ul {
  margin: 0 0 16px;
}
.prose ul {
  padding-left: 22px;
}
.prose li + li {
  margin-top: 8px;
}
.prose strong {
  color: var(--ink);
}
.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--code);
  color: var(--ink);
}
.prose pre {
  margin: 0 0 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--code);
  overflow-x: auto;
}
.prose pre code {
  padding: 0;
  background: none;
  font-size: 14px;
  line-height: 1.6;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--card-2);
  color: var(--ink);
  font-weight: 650;
}
.prose tr:last-child td {
  border-bottom: 0;
}
/* Two-column tables become stacked rows on a phone, so neither column is squeezed to a few letters. */
@media (max-width: 640px) {
  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
    width: 100%;
  }
  .prose tr:first-child:has(th) {
    display: none;
  }
  .prose tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .prose tr:last-child {
    border-bottom: 0;
  }
  .prose td {
    padding: 0;
    border: 0;
  }
  .prose td:first-child {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 14px;
  }
}
.updated {
  margin: 0 0 28px !important;
  color: var(--muted);
  font-size: 15px;
}
.legal-notice {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card-2);
  font-size: 15px;
}

/* ---------------------------------------------------------------- toast */
.copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 50;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--toast-bg);
  color: var(--toast-ink);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.15s,
    transform 0.15s;
}
.copy-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .shots {
    max-width: 720px;
  }
  .px {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .sec-split,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sec-split .sec-head {
    position: static;
  }
  .foot-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .nav-menu {
    display: block;
  }
  .how {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .how li {
    padding: 20px 0 28px;
    border-top-color: var(--line);
  }
  .how-n {
    margin-bottom: 10px;
  }
  .px {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .px-tabs {
    display: flex;
    gap: 8px;
    margin-inline: -24px;
    padding: 2px 24px 4px;
    border-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .px-tabs::-webkit-scrollbar {
    display: none;
  }
  .px-tab {
    flex: none;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink-2);
    font-size: 15px;
    white-space: nowrap;
  }
  .px-tab[aria-selected="true"] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--on-primary);
  }
  .rows-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .doc {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .doc-nav {
    position: static;
  }
  .doc-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .doc-nav a {
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .toc-label,
  .toc-sm {
    display: none !important;
  }
  .foot-cols {
    grid-template-columns: 1fr 1fr;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16.5px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .px-tabs {
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .nav-inner {
    height: 60px;
    gap: 12px;
  }
  .language-menu summary span {
    display: none;
  }
  .sec {
    padding-block: 72px;
  }
  .sec-head {
    margin-bottom: 32px;
  }
  .sec-lead {
    font-size: 18px;
  }
  .hero {
    padding: 32px 0 24px;
  }
  .hero + .sec {
    padding-top: 56px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-kicker {
    margin-bottom: 18px;
    font-size: 14px;
  }
  .hero-lead {
    font-size: 18px;
  }
  .hero-actions .btn {
    padding-inline: 14px;
  }
  .shots {
    padding: 28px 16px 0;
    border-radius: 22px;
  }
  .shots-row {
    gap: 12px;
  }
  .shots-row {
    min-height: 0;
  }
  .shot-hub {
    display: none;
  }
  .shot-app {
    width: 76%;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
  }
  .how h3 {
    font-size: 21px;
  }
  .px-panel h3 {
    font-size: 24px;
  }
  .px-panel > p {
    font-size: 17px;
  }
  .px-prompt {
    min-height: 60px;
    padding: 16px 0;
    font-size: 17px;
  }
  .px-copy span {
    display: none;
  }
  .rows-item h3 {
    font-size: 20px;
  }
  .rows-item p {
    font-size: 17px;
  }
  .cf-step {
    padding: 22px 18px 24px;
  }
  .cf-head h3 {
    font-size: 20px;
  }
  .cf-tab {
    font-size: 16px;
  }
  .cf-actions .btn {
    flex: 1 1 100%;
  }
  .faq summary {
    font-size: 17px;
    min-height: 64px;
  }
  .cta {
    padding: 32px 22px;
    border-radius: 22px;
  }
  .cta .btn {
    width: 100%;
  }
  .cta p {
    font-size: 17px;
  }
  .foot {
    padding-top: 56px;
  }
  .foot-cols {
    gap: 28px 20px;
  }
  .doc-main h1 {
    margin-bottom: 28px;
  }
  .doc-sec > h2,
  .prose h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cv-card {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
.prose p,
.prose ul {
  max-width: 68ch;
}
html[lang="ja"] h1,
html[lang="ja"] h2 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.rows-note p {
  max-width: 68ch;
}
.px-tools code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hero-grid > *,
.hero-visual {
  min-width: 0;
}
.cp-in {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}
.cp-in .i {
  flex: none;
  margin: 2px 0 0 !important;
}
@media (max-width: 640px) {
  .nav-sheet {
    top: 60px;
  }
}
@media (min-width: 641px) {
  .nav-sheet {
    top: 68px;
  }
}
@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }
  .nav-actions {
    gap: 4px;
  }
}
@media (max-width: 640px) {
  .px-prompt {
    max-width: 82%;
    font-size: 15.5px;
  }
  .px-tools code {
    display: inline;
  }
}
.sb-cols p {
  max-width: 68ch;
}
.cv-chip {
  min-height: 40px;
}
/* chat bubbles: even inner padding, regular weight, breathing room from the panel edge */
.px-prompt {
  padding: 14px 20px;
  border-radius: 22px 22px 8px 22px;
  font-weight: 450;
  letter-spacing: 0;
}
.px-chat li {
  padding-left: 12%;
}
.px-chat .px-prompt {
  max-width: 100%;
}
@media (max-width: 640px) {
  .px-chat {
    gap: 16px;
    padding: 20px 18px;
  }
  .px-chat li {
    padding-left: 10%;
  }
  .px-chat .px-prompt {
    padding: 13px 18px;
    font-size: 16px;
    line-height: 1.5;
  }
  .px-copy {
    padding-right: 6px;
  }
}
@media (prefers-color-scheme: dark) {
  .px-chat .px-prompt {
    font-weight: 400;
  }
}
.cf-backup {
  margin: 18px 0 10px !important;
  color: var(--ink-2);
  font-size: 16px;
}
.cf-backup-row .cf-row-value {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 640px) {
  #connect-claude .cf-actions .btn {
    flex: 1 1 100%;
  }
}
.cf-manual {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.cf-manual summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.cf-manual summary::-webkit-details-marker {
  display: none;
}
.cf-manual[open] summary .i {
  transform: rotate(180deg);
}
.cf-manual > :not(summary) {
  margin-inline: 18px;
}
.cf-manual > p {
  margin-top: 0 !important;
}
.cf-manual > .cf-shot {
  margin-bottom: 18px;
}
.cf-backup-row .cf-row-value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tg-notice {
  display: none;
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--card);
}
html[data-tg] .tg-notice {
  display: block;
}
.tg-notice strong {
  display: block;
  font-size: 17px;
}
.tg-notice p {
  margin: 6px 0 14px;
  color: var(--ink-2);
  font-size: 16px;
}
.btn-telegram {
  background: #2aabee;
  border-color: #2aabee;
  color: #fff;
  gap: 10px;
}
.btn-telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
}
.btn-telegram img {
  width: 20px;
  height: 20px;
}
