/* ==========================================================================
   AtomHouse Cloud — commercial SaaS landing page
   Light, product-led, and deliberately separate from the console stylesheet.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #1d2939;
  --body: #475467;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-soft: #eef1f5;
  --paper: #ffffff;
  --canvas: #f7f9fc;
  --canvas-2: #f2f6fc;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-ink: #123a8c;
  --blue-soft: #eff5ff;
  --cyan: #0891b2;
  --green: #079455;
  --violet: #7c3aed;
  --amber: #d97706;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 16px 40px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 30px 80px rgba(16, 44, 85, 0.12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--ink);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

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

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -70px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ---------------------------------------------------------------- type */
.section-label {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

h2 {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.13;
  color: var(--ink);
}

.section-lede {
  color: var(--body);
  font-size: 17px;
  line-height: 1.75;
}

.section {
  padding: 112px 0;
}

.section--soft {
  background: var(--canvas);
}

.section--blue {
  background:
    radial-gradient(700px 420px at 82% 0%, rgba(37, 99, 235, 0.08), transparent 64%),
    linear-gradient(180deg, #f3f8ff 0%, #f9fbff 100%);
}

.section-head {
  margin-bottom: 66px;
}

.section-head--center {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 66px;
  text-align: center;
}

.section-head--center .section-lede {
  max-width: 650px;
  margin: 20px auto 0;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 72px;
}

.section-head--split h2 {
  flex: 0 0 auto;
}

.section-head--split .section-lede {
  max-width: 430px;
  padding-bottom: 4px;
}

.mobile-br {
  display: none;
}

/* ---------------------------------------------------------------- buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 8px 20px rgba(37, 99, 235, 0.22);
}

.button--primary:hover {
  background: var(--blue-dark);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 26px rgba(37, 99, 235, 0.26);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}

.button--ghost:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.button--small {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px;
  background: var(--ink);
  color: #fff;
}

.button--small:hover {
  background: #1f2b3d;
}

.button--white {
  background: #fff;
  color: #0b1b33;
  box-shadow: 0 10px 24px rgba(2, 10, 25, 0.24);
}

.button--white:hover {
  background: #f3f7ff;
}

.button--dark-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.button--dark-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.34);
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(228, 231, 236, 0.8);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-mark {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  object-fit: contain;
}

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

.brand-cloud {
  margin-left: -2px;
  padding: 3px 6px;
  border: 1px solid #d7e3f8;
  border-radius: 5px;
  background: #f6f9ff;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.site-nav > a {
  color: #344054;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav > a:hover {
  color: var(--blue);
}

.site-nav .nav-divider {
  width: 1px;
  height: 18px;
  margin-inline: 4px;
  background: var(--line);
}

.site-nav .nav-login {
  color: var(--ink);
}

.site-nav .button--small {
  margin-left: 3px;
  color: #fff;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition:
    top 0.2s ease,
    transform 0.2s ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 22px;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    radial-gradient(900px 620px at 82% 24%, rgba(62, 130, 255, 0.13), transparent 65%),
    radial-gradient(600px 500px at 14% 8%, rgba(8, 145, 178, 0.07), transparent 62%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 74%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.13) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 72%);
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 11px 6px 9px;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #2c5aa8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}

.eyebrow-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hero h1 {
  max-width: 640px;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.gradient-text {
  background: linear-gradient(100deg, #1d4ed8 2%, #2563eb 44%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 570px;
  margin-top: 26px;
  color: var(--body);
  font-size: 17.5px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-fineprint {
  margin-top: 15px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.hero-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 42px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.hero-capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.hero-capability-icon {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #dbe7fa;
  border-radius: 7px;
  background: #f3f8ff;
  color: var(--blue);
}

.hero-capability-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-capabilities strong {
  display: block;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.hero-capabilities small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- hero product */
.hero-stage {
  position: relative;
  min-width: 0;
  padding: 20px 0 18px;
}

.stage-halo {
  position: absolute;
  inset: -40px -60px -50px -30px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(37, 99, 235, 0.18), transparent 72%),
    radial-gradient(closest-side at 65% 35%, rgba(8, 145, 178, 0.12), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.stage-grid {
  position: absolute;
  inset: 14% -2% 4% 8%;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 55% 50%, #000 15%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 50%, #000 15%, transparent 74%);
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  pointer-events: none;
}

.product-shell {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 34px 90px rgba(16, 44, 85, 0.16),
    0 8px 24px rgba(16, 44, 85, 0.06);
  transform: perspective(1800px) rotateY(-1.4deg) rotateX(0.8deg);
}
.hero-console-shot {
  display: block;
  width: 100%;
  height: auto;
}


.shell-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #e9edf3;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
}

.shell-dots {
  display: inline-flex;
  gap: 4px;
}

.shell-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7dde7;
}

.shell-dots i:first-child {
  background: #f3b7ad;
}

.shell-dots i:nth-child(2) {
  background: #f4d59e;
}

.shell-dots i:nth-child(3) {
  background: #a9d8b7;
}

.shell-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 4px 9px;
  border: 1px solid #e8ecf2;
  border-radius: 5px;
  background: #fff;
  color: #7b8798;
  font-size: 8.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.shell-url svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: #95a1b2;
  stroke-width: 1.2;
}

.shell-spacer {
  flex: 1;
}

.shell-body {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 424px;
  background: #fff;
}

.shell-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 12px 12px;
  border-right: 1px solid #edf0f5;
  background: #f9fbfd;
}

.rail-logo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  width: 18px;
  height: 18px;
  margin-bottom: 2px;
}

.rail-logo i {
  border-radius: 1.5px;
  background: var(--ink);
}

.rail-logo i:nth-child(2) {
  background: var(--blue);
}

.rail-logo i:nth-child(3) {
  background: #60a5fa;
}

.rail-logo i:nth-child(4) {
  background: #dbeafe;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border-radius: 5px;
  color: #7a879a;
  font-size: 8.5px;
  font-weight: 500;
}

.rail-item.is-active {
  background: #eaf2ff;
  color: #245fc4;
}

.rail-icon {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.72;
}

.rail-icon--home {
  border-radius: 1px;
  border-width: 1.2px;
}

.rail-icon--db {
  border-radius: 50%;
}

.rail-icon--shield {
  border-radius: 1px 1px 4px 4px;
}

.rail-icon--clock {
  border-radius: 50%;
}

.rail-bottom {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}

.rail-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 8px;
  font-weight: 700;
}

.rail-bottom strong {
  display: block;
  color: #465466;
  font-size: 7.5px;
  font-weight: 600;
  line-height: 1.3;
}

.rail-bottom small {
  display: block;
  color: #98a2b3;
  font-size: 6.5px;
}

.shell-main {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding: 18px 18px 16px;
}

.shell-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shell-kicker {
  color: #98a2b3;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shell-heading h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.12);
}

.shell-new {
  padding: 6px 9px;
  border: 1px solid #e1e7f0;
  border-radius: 5px;
  background: #fff;
  color: #475467;
  font-size: 7.5px;
  font-weight: 600;
  white-space: nowrap;
}

.shell-metrics {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 7px;
}

.shell-metric {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e9edf3;
  border-radius: 7px;
  background: #fbfcfe;
}

.shell-metric > span {
  display: block;
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.shell-metric strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #1d2939;
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell-metric small {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
  color: #12a06b;
  font-size: 6.5px;
}

.shell-metric:nth-child(2) small,
.shell-metric:nth-child(3) small {
  color: #98a2b3;
}

.mini-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #12b76a;
}

.shell-apps {
  overflow: hidden;
  border: 1px solid #e9edf3;
  border-radius: 8px;
}

.shell-apps-head {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shell-app {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f4f8;
}

.shell-app:last-child {
  border-bottom: 0;
}

.app-icon {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
}

.app-icon--blue {
  background: #eaf2ff;
  color: #2563eb;
}

.app-icon--amber {
  background: #fff5e6;
  color: #b45309;
}

.app-icon--violet {
  background: #f2ecff;
  color: #7c3aed;
}

.app-name {
  flex: 1;
  min-width: 0;
  color: #344054;
  font-size: 8.5px;
  font-weight: 600;
}

.app-name small {
  display: block;
  margin-top: 1px;
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 400;
}

.app-status {
  padding: 3px 6px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 6.5px;
  font-weight: 600;
}

.app-status--ai {
  background: #f4f0ff;
  color: #6941c6;
}

.shell-insight {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 9px;
  border: 1px solid #edf1f6;
  border-radius: 7px;
  background: #fbfcfe;
}

.shell-insight-copy {
  flex: 0 0 auto;
  line-height: 1.2;
}

.shell-insight-copy span {
  display: block;
  color: #98a2b3;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.shell-insight-copy strong {
  display: block;
  margin-top: 1px;
  color: #344054;
  font-size: 10px;
  font-weight: 650;
}

.shell-bars {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.shell-bars i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #dbeafe;
}

.shell-bars i:nth-child(6),
.shell-bars i:nth-child(8) {
  background: #60a5fa;
}

.shell-insight-delta {
  color: #079455;
  font-size: 7px;
  font-weight: 650;
}

.shell-agent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 9px;
  border: 1px solid #dfe7f4;
  border-radius: 7px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.agent-orb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 7%, transparent 8%),
    conic-gradient(from 210deg, #2563eb, #0891b2, #7c3aed, #2563eb);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px #dbeafe,
    0 0 18px rgba(37, 99, 235, 0.3);
}

.agent-orb::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8) inset;
  opacity: 0.35;
}

.agent-orb--tiny {
  width: 15px;
  height: 15px;
  box-shadow: 0 0 0 1.5px #dbeafe, 0 0 10px rgba(37, 99, 235, 0.22);
}

.agent-orb--tiny::after {
  inset: 5px;
}

.shell-agent-text {
  flex: 1;
  color: #98a2b3;
  font-size: 7.5px;
}

.shell-send {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(219, 226, 236, 0.9);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(16, 44, 85, 0.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.float-card--db {
  left: -18px;
  bottom: 2px;
  animation: float-in-left 0.8s 0.35s both;
}

.float-card--perm {
  right: -16px;
  top: 38px;
  animation: float-in-right 0.8s 0.5s both;
}

.float-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
}

.float-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-icon--green {
  background: #ecfdf3;
  color: #079455;
}

.float-icon--blue {
  background: #eff5ff;
  color: #2563eb;
}

.float-card strong {
  display: block;
  color: #1d2939;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.float-card small {
  display: block;
  margin-top: 1px;
  color: #8a96a6;
  font-size: 7.5px;
  line-height: 1.4;
  white-space: nowrap;
}

@keyframes float-in-left {
  from {
    opacity: 0;
    transform: translate3d(-16px, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes float-in-right {
  from {
    opacity: 0;
    transform: translate3d(16px, -10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ---------------------------------------------------------------- tools */
.tools-band {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.82);
}

.tools-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 25px;
}

.tools-label {
  flex: 0 0 auto;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.tools-label span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 28px;
}

.tools-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tool-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #e4e7ec;
}

.tool-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.9;
}

.tool-dot--a {
  color: #2563eb;
  background: #dbeafe;
}
.tool-dot--b {
  color: #7c3aed;
  background: #ede9fe;
}
.tool-dot--c {
  color: #0891b2;
  background: #cffafe;
}
.tool-dot--d {
  color: #111827;
  background: #e5e7eb;
}
.tool-dot--e {
  color: #d97706;
  background: #fef3c7;
}

/* ---------------------------------------------------------------- install skill */
/* The highest-intent action on the page. It sits between the compatibility strip and
   the product tour, so a reader who already has an AI tool open can act before reading
   six feature sections. */
.install-band {
  padding: 54px 0 0;
  background: #fff;
}

.install-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  overflow: hidden;
  padding: 48px 50px;
  border: 1px solid #d6e4fa;
  border-radius: 26px;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(37, 99, 235, 0.1), transparent 64%),
    radial-gradient(500px 320px at 0% 100%, rgba(8, 145, 178, 0.05), transparent 62%),
    linear-gradient(145deg, #fbfdff, #f7fbff);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 60px rgba(16, 44, 85, 0.07);
}

.install-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.install-glow--one {
  top: -150px;
  right: -90px;
  width: 360px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.12), transparent);
}

.install-glow--two {
  bottom: -180px;
  left: 36%;
  width: 360px;
  height: 300px;
  background: radial-gradient(closest-side, rgba(8, 145, 178, 0.07), transparent);
}

.install-intro,
.install-steps {
  position: relative;
  z-index: 1;
}

.install-intro h2 {
  font-size: clamp(34px, 3vw, 43px);
  line-height: 1.16;
}

.install-lede {
  max-width: 430px;
  margin-top: 18px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.75;
}

.install-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #e1eaf6;
}

.install-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.install-points li > i {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #d9e5f7;
  border-radius: 7px;
  background: #fff;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
}

.install-points strong {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.install-points small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.install-step {
  padding: 15px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

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

.install-step-number {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #d8e5f9;
  border-radius: 7px;
  background: #eff5ff;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 650;
}

.install-step-head strong {
  display: block;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.install-step-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.install-step-tag {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid #e1e7f0;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.install-step-tag--accent {
  border-color: #d5e4fb;
  background: #f3f8ff;
  color: var(--blue);
}

.install-command {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 11px;
  border: 1px solid #1b2a42;
  border-radius: 9px;
  background:
    radial-gradient(340px 180px at 100% 0%, rgba(59, 130, 246, 0.16), transparent 64%),
    #0b172a;
}

.install-command pre {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 11px 10px 11px 13px;
  color: #d6e4f7;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.install-command code {
  font-size: inherit;
}

.install-command--prompt {
  background:
    radial-gradient(300px 160px at 100% 0%, rgba(8, 145, 178, 0.13), transparent 64%),
    #0b172a;
}

.install-command--prompt pre {
  color: #e8f4ff;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
}

.install-command .copy-button {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 62px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #c5d7ef;
}

.install-command .copy-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.install-command .copy-button svg {
  width: 12px;
  height: 12px;
}

.install-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 3px 3px 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.install-note-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 4px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.11);
}

/* ---------------------------------------------------------------- feature layout */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 74px;
  align-items: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.feature:last-of-type {
  padding-bottom: 0;
}

.feature--reverse .feature-copy {
  order: 2;
}

.feature--reverse .feature-visual {
  order: 1;
}

.feature-index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.07em;
}

.feature-index span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
}

.feature-copy h3 {
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.feature-lede {
  max-width: 500px;
  margin-top: 22px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.78;
}

.feature-lede code {
  padding: 2px 5px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84em;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 26px;
}

.feature-list li {
  position: relative;
  padding-left: 27px;
  color: #344054;
  font-size: 14px;
  line-height: 1.65;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eaf2ff;
  box-shadow: 0 0 0 1px #d5e5ff inset;
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.feature-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.feature-proof span {
  padding: 5px 9px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 23px 23px 17px;
  border: 1px solid #dfe8f4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 320px at 100% 0%, rgba(37, 99, 235, 0.1), transparent 65%),
    linear-gradient(145deg, #f8fbff, #eef5ff);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 50px rgba(16, 44, 85, 0.06);
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.13) 1px, transparent 0);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 48%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 48%);
}

.feature-shot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 12px 28px rgba(16, 44, 85, 0.08);
}

.feature-shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  padding: 0 11px;
  border-bottom: 1px solid #e9eef5;
  background: linear-gradient(180deg, #fbfcfe, #f6f8fb);
}

.feature-url {
  flex: 1;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid #e8ecf2;
  border-radius: 4px;
  background: #fff;
  color: #7b8798;
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.visual-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  color: #6b7a8f;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tiny-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #dce5f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #5f6d80;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.tiny-pill--blue {
  border-color: #d2e2ff;
  background: #eff6ff;
  color: #1d4ed8;
}

.tiny-pill--green {
  border-color: #ccebdd;
  background: #ecfdf3;
  color: #067647;
}

.tiny-pill--violet {
  border-color: #e4d8ff;
  background: #f5f0ff;
  color: #6941c6;
}

.pulse-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2.5px rgba(18, 183, 106, 0.12);
}

.visual-footnote {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: #6b7a8f;
  font-size: 10px;
  line-height: 1.55;
}

.visual-footnote code {
  color: #344054;
  font-size: 0.95em;
}

/* ---------------------------------------------------------------- db visual */
.db-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 85, 0.07);
}

.db-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px 0;
  border-bottom: 1px solid #edf0f5;
  background: #f8fafc;
}

.db-tabs span {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 8px;
}

.db-tabs .is-active {
  border-color: #e4e9f0;
  background: #fff;
  color: #344054;
  font-weight: 600;
}

.db-grid {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 11px;
  padding: 12px;
}

.db-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-file {
  padding: 10px;
  border: 1px solid #e1eaf7;
  border-radius: 8px;
  background: linear-gradient(160deg, #f7faff, #fff);
}

.db-file-icon {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 7px;
  background: #eaf2ff;
  color: #2563eb;
}

.db-file-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.db-file strong {
  display: block;
  color: #1d2939;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
}

.db-file small {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 7px;
}

.schema-list {
  overflow: hidden;
  border: 1px solid #e8edf4;
  border-radius: 7px;
  background: #fff;
}

.schema-list span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-bottom: 1px solid #f1f4f8;
  color: #475467;
  font-family: var(--mono);
  font-size: 7.5px;
}

.schema-list span:last-child {
  border-bottom: 0;
}

.schema-list i {
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: #93c5fd;
}

.schema-list small {
  margin-left: auto;
  color: #98a2b3;
  font-family: var(--sans);
  font-size: 6.5px;
}

.db-query {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e8edf4;
  border-radius: 8px;
}

.query-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.query-run {
  padding: 2px 6px;
  border-radius: 3px;
  background: #ecfdf3;
  color: #067647;
  font-size: 6.5px;
  letter-spacing: 0;
}

.db-query pre {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  color: #344054;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.db-query pre b {
  color: #1d4ed8;
  font-weight: 600;
}

.db-query pre em {
  color: #b45309;
  font-style: normal;
}

.db-query pre i {
  color: #0891b2;
  font-style: normal;
}

.query-result {
  margin-top: auto;
  border-top: 1px solid #edf0f5;
  font-size: 7px;
}

.result-head,
.query-result > div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  padding: 5px 9px;
  border-bottom: 1px solid #f2f5f8;
}

.query-result > div:last-child {
  border-bottom: 0;
}

.result-head {
  background: #fbfcfe;
  color: #98a2b3;
  font-weight: 600;
}

.query-result span {
  color: #667085;
}

.query-result strong {
  color: #1d2939;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  text-align: right;
}

/* ---------------------------------------------------------------- permission visual */
.perm-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 85, 0.07);
}

.perm-head,
.perm-row {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 0.55fr));
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
}

.perm-head {
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.perm-head span:not(:first-child) {
  text-align: center;
}

.perm-row {
  border-bottom: 1px solid #f2f5f8;
}

.perm-user {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 8.5px;
  font-weight: 600;
}

.perm-user .avatar {
  grid-row: span 2;
}

.perm-user small {
  color: #98a2b3;
  font-size: 6.5px;
  font-weight: 400;
  line-height: 1.2;
}

.avatar {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}

.avatar--blue {
  background: #dbeafe;
  color: #1d4ed8;
}
.avatar--green {
  background: #d1fadf;
  color: #067647;
}
.avatar--amber {
  background: #fef0c7;
  color: #b54708;
}
.avatar--violet {
  background: #ede9fe;
  color: #6941c6;
}

.avatar--ai {
  border-radius: 50%;
}

.cap {
  justify-self: center;
  min-width: 28px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 6.5px;
  font-weight: 650;
  text-align: center;
}

.cap--write {
  background: #ecfdf3;
  color: #067647;
}

.cap--read {
  background: #eff5ff;
  color: #1d4ed8;
}

.cap--off {
  background: #f6f7f9;
  color: #b2bac6;
}

.policy {
  margin: 10px;
  padding: 6px 9px;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fbfcfe;
}

.policy-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  color: #667085;
  font-size: 7px;
}

.policy-row + .policy-row {
  border-top: 1px solid #eef1f5;
}

.policy-icon {
  color: #2563eb;
  font-size: 8px;
}

.policy-row code {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid #e3e9f2;
  border-radius: 3px;
  background: #fff;
  color: #344054;
  font-size: 6.5px;
}

.masked {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}

.masked s {
  padding: 2px 5px;
  border-radius: 3px;
  background: #fff1f0;
  color: #b54708;
  font-size: 6.5px;
  text-decoration: none;
}

.audit-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-top: 1px solid #edf0f5;
  background: #fbfcfe;
  color: #7b8798;
  font-size: 6.8px;
}

.audit-line strong {
  color: #475467;
  font-weight: 650;
}

.audit-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 2px rgba(18, 183, 106, 0.12);
}

/* ---------------------------------------------------------------- deploy visual */
.deploy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 10px;
}

.deploy-browser {
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 85, 0.07);
}

.deploy-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  padding: 0 9px;
  border-bottom: 1px solid #edf0f5;
  background: #fbfcfe;
}

.deploy-url {
  overflow: hidden;
  padding: 3px 7px;
  border: 1px solid #edf0f5;
  border-radius: 4px;
  background: #fff;
  color: #8a96a6;
  font-size: 6.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deploy-site {
  min-height: 265px;
  padding: 13px;
  background:
    radial-gradient(260px 170px at 85% 8%, rgba(37, 99, 235, 0.1), transparent 65%),
    #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.site-logo {
  color: #1d2939;
  font-size: 7px;
  font-weight: 700;
}

.site-logo span {
  color: #98a2b3;
  font-weight: 500;
}

.site-links {
  color: #98a2b3;
  font-size: 5.5px;
}

.deploy-site h4 {
  color: #101828;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.deploy-site > p {
  max-width: 230px;
  margin-top: 7px;
  color: #7b8798;
  font-size: 6.5px;
  line-height: 1.55;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 17px;
}

.feedback-card {
  position: relative;
  min-height: 85px;
  padding: 8px;
  border: 1px solid #e6ebf2;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 3px 9px rgba(16, 24, 40, 0.03);
}

.vote {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 4px;
  border-radius: 3px;
  background: #eff5ff;
  color: #2563eb;
  font-size: 5.5px;
  font-weight: 700;
}

.feedback-card strong {
  display: block;
  color: #344054;
  font-size: 7px;
  font-weight: 650;
}

.feedback-card small {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 5.5px;
  line-height: 1.4;
}

.feedback-tag {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 4px;
  border-radius: 3px;
  background: #f2f4f7;
  color: #667085;
  font-size: 4.8px;
}

.deploy-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 10px;
  border: 1px solid #dce5f1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 85, 0.06);
}

.deploy-side-label {
  margin-bottom: 3px;
  color: #98a2b3;
  font-size: 6px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deploy-step {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border-bottom: 1px solid #f2f5f8;
  color: #475467;
  font-size: 6.8px;
}

.deploy-step i {
  display: grid;
  width: 12px;
  height: 12px;
  place-items: center;
  border-radius: 50%;
  background: #ecfdf3;
  color: #079455;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.deploy-step b {
  margin-left: auto;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 500;
}

.deploy-domain {
  margin-top: auto;
  padding: 7px;
  border: 1px solid #e5eaf1;
  border-radius: 6px;
  background: #fbfcfe;
}

.deploy-domain span {
  display: block;
  color: #98a2b3;
  font-size: 5.5px;
}

.deploy-domain strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #2563eb;
  font-size: 5.8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- agent visual */
.agent-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 44, 85, 0.08);
}

.agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f5;
  background: linear-gradient(180deg, #fbfcfe, #f8fafc);
}

.agent-head .agent-orb {
  width: 24px;
  height: 24px;
}

.agent-head strong {
  display: block;
  color: #344054;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.3;
}

.agent-head small {
  display: block;
  color: #98a2b3;
  font-size: 6px;
}

.agent-model {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid #e6e2f5;
  border-radius: 4px;
  background: #f8f6ff;
  color: #6941c6;
  font-family: var(--mono);
  font-size: 5.5px;
}

.agent-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px;
  background:
    radial-gradient(360px 260px at 95% 0%, rgba(124, 58, 237, 0.055), transparent 70%),
    #fff;
}

.msg {
  max-width: 86%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 7px;
  line-height: 1.55;
}

.msg--user {
  align-self: flex-end;
  border: 1px solid #dbeafe;
  border-bottom-right-radius: 2px;
  background: #eff6ff;
  color: #1e40af;
}

.msg--agent {
  align-self: flex-start;
  border: 1px solid #e8edf4;
  border-bottom-left-radius: 2px;
  background: #fbfcfe;
  color: #475467;
}

.msg--agent strong {
  color: #1d2939;
  font-weight: 650;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.tool-chips span {
  padding: 2px 5px;
  border: 1px solid #e1e7f0;
  border-radius: 3px;
  background: #fff;
  color: #667085;
  font-family: var(--mono);
  font-size: 5.2px;
}

.agent-app {
  margin-top: 2px;
  padding: 9px;
  border: 1px solid #e5e2f4;
  border-radius: 9px;
  background: linear-gradient(160deg, #fdfcff, #fff);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.05);
}

.agent-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #344054;
  font-size: 7.5px;
  font-weight: 650;
}

.agent-app-head > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.agent-app-logo {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 4px;
  background: #ede9fe;
  color: #6941c6;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.agent-ai-badge {
  padding: 2px 5px;
  border-radius: 999px;
  background: #f4f0ff;
  color: #6941c6;
  font-size: 5px;
  font-weight: 600;
}

.agent-app-summary {
  margin-top: 5px;
  color: #667085;
  font-size: 6.5px;
  line-height: 1.5;
}

.agent-app-summary strong {
  color: #1d2939;
  font-weight: 650;
}

.risk-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f1eefb;
}

.risk-avatar {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 4px;
  font-size: 5.5px;
  font-weight: 700;
}

.risk-avatar--1 {
  background: #fee4e2;
  color: #b42318;
}

.risk-avatar--2 {
  background: #fef0c7;
  color: #b54708;
}

.risk-name {
  flex: 0 0 92px;
  color: #475467;
  font-size: 6.2px;
  font-weight: 600;
  line-height: 1.25;
}

.risk-name small {
  display: block;
  color: #98a2b3;
  font-size: 5.2px;
  font-weight: 400;
}

.risk-bar {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f4f7;
}

.risk-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97066, #f04438);
}

.risk-row:nth-child(5) .risk-bar i {
  background: linear-gradient(90deg, #fdb022, #f79009);
}

.risk-score {
  width: 14px;
  color: #667085;
  font-family: var(--mono);
  font-size: 5.5px;
  text-align: right;
}

.agent-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 11px 11px;
  padding: 7px 8px;
  border: 1px solid #e1e7f0;
  border-radius: 6px;
  background: #fff;
  color: #a2acba;
  font-size: 6.5px;
}

.agent-input span:first-child {
  flex: 1;
}

.agent-send {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 3px;
  background: #7c3aed;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

/* ---------------------------------------------------------------- bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 190px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e5eaf1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: #d3e0f3;
  box-shadow: var(--shadow-md);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid #dbe7fb;
  border-radius: 10px;
  background: #f2f7ff;
  color: var(--blue);
}

.bento-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-copy h3 {
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.bento-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.bento-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 10px;
  border: 1px solid #e8edf4;
  border-radius: 7px;
  background: #fbfcfe;
  font-size: 8px;
}

.bento-code span {
  padding: 2px 4px;
  border-radius: 3px;
  background: #ecfdf3;
  color: #067647;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 700;
}

.bento-code code {
  overflow: hidden;
  color: #667085;
  font-size: 7.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: auto;
  padding: 7px 9px;
  border: 1px solid #e4eaf2;
  border-radius: 6px;
  background: #fbfcfe;
  color: #475467;
  font-size: 8px;
  font-weight: 600;
}

.domain-pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 2px rgba(18, 183, 106, 0.12);
}

.bento-more {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

/* ---------------------------------------------------------------- how */
.how {
  scroll-margin-top: 84px;
}

.how-switcher {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  max-width: 1000px;
  margin: 0 auto;
}

.how-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.how-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  overflow: hidden;
  min-height: 72px;
  padding: 16px 17px;
  border: 1px solid #dbe6f6;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.how-tab::before {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 0;
  left: 17px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 0.18s ease;
}

.how-tab:hover {
  border-color: #bfd5f3;
  background: rgba(255, 255, 255, 0.94);
}

.how-tab.is-active {
  border-color: #b9d5fa;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 44, 85, 0.08);
}

.how-tab.is-active::before {
  background: var(--blue);
}

.how-tab-num {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #d7e4f8;
  border-radius: 8px;
  background: #f3f8ff;
  color: #5f7fb0;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 650;
}

.how-tab.is-active .how-tab-num {
  border-color: #c7ddfb;
  background: #eaf3ff;
  color: var(--blue);
}

.how-tab-copy {
  flex: 1;
  min-width: 0;
}

.how-tab-copy strong {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.how-tab-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.how-tab-state {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.how-tab.is-active .how-tab-state {
  border-color: #d5e4fb;
  background: #f3f8ff;
  color: var(--blue);
}

.how-stage {
  display: flex;
  min-width: 0;
}

.how-panel {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 258px;
  padding: 21px 24px;
  overflow: hidden;
  border: 1px solid rgba(103, 139, 190, 0.34);
  border-radius: 20px;
  background:
    radial-gradient(520px 280px at 92% -10%, rgba(59, 130, 246, 0.25), transparent 66%),
    radial-gradient(360px 260px at 2% 120%, rgba(8, 145, 178, 0.1), transparent 66%),
    #0b172a;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 56px rgba(7, 22, 44, 0.19);
}

.how-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 58%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 58%);
  pointer-events: none;
}

.how-panel[hidden] {
  display: none;
}

.how-panel > * {
  position: relative;
  z-index: 1;
}

.how-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.how-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9d9ee;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.how-panel-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.how-panel-tag {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #a9bcd5;
  font-size: 8px;
  font-weight: 600;
}

.how-panel-tag--accent {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(8, 145, 178, 0.15);
  color: #a5f3fc;
}

.how-panel-note {
  max-width: 620px;
  margin-top: 14px;
  color: #91a8c4;
  font-size: 10.5px;
  line-height: 1.65;
}

.how-command {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.how-command pre {
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  color: #dbe8fa;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.how-command code {
  font-size: inherit;
}

.how-command .copy-button {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 64px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #c5d7ef;
}

.how-command .copy-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.how-prompt .copy-button {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 12px;
  min-width: 60px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #c5d7ef;
  font-size: 10px;
}

.how-prompt .copy-button:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}

.how-prompt {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 17px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 11px;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(8, 145, 178, 0.14), transparent 65%),
    rgba(255, 255, 255, 0.045);
}

.how-prompt-main {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.how-prompt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.how-prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8da4c0;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.how-prompt-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
}

.how-prompt-label b {
  color: #c9d9ee;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
}

.how-shuffle {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: transparent;
  color: #a9bcd5;
  font: inherit;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.how-shuffle:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.how-prompt blockquote {
  min-width: 0;
  margin: 7px 0 0;
  color: #f1f7ff;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
  transition: opacity 160ms ease;
}

.how-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.how-panel-foot p {
  max-width: 480px;
  color: #8da4c0;
  font-size: 10px;
  line-height: 1.55;
}

.how-next {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe8ff;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.how-next:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
}

.how-next--subtle {
  border-color: transparent;
  background: transparent;
  color: #8da4c0;
}

.how-next--subtle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  max-width: 1000px;
  margin: 0 auto 54px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9dcf6 25%, #c9dcf6 75%, transparent);
}

.steps li {
  position: relative;
  text-align: center;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  width: 37px;
  height: 37px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid #cfe0f7;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 650;
  box-shadow: 0 0 0 7px #f5f9ff;
}

.steps h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.steps p {
  max-width: 260px;
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.prompt-card {
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  padding: 26px 28px 24px;
  border: 1px solid rgba(116, 149, 199, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(560px 260px at 88% -20%, rgba(59, 130, 246, 0.25), transparent 65%),
    radial-gradient(420px 260px at 5% 120%, rgba(8, 145, 178, 0.12), transparent 65%),
    #0b172a;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 28px 60px rgba(7, 22, 44, 0.22);
}

.prompt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.11) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 60%);
  pointer-events: none;
}

.prompt-top,
.prompt-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8d6ea;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.prompt-tag {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #9fb3cf;
  font-size: 9px;
}

.prompt-card blockquote {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin: 20px 0 26px;
  color: #f3f7ff;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.prompt-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-bottom p {
  color: #91a5c2;
  font-size: 11.5px;
}

.copy-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe8ff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.copy-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------- security */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  position: relative;
  min-height: 255px;
  padding: 25px 23px;
  border: 1px solid #e5eaf1;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.trust-index {
  position: absolute;
  top: 23px;
  right: 22px;
  color: #c3ccd9;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.trust-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid #dbe7fb;
  border-radius: 10px;
  background: #f2f7ff;
  color: var(--blue);
}

.trust-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.72;
}

/* ---------------------------------------------------------------- pricing */
.pricing {
  scroll-margin-top: 84px;
}

.pricing-head {
  margin-bottom: 50px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 30px;
  padding: 4px;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.billing-toggle button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.billing-toggle button.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.14);
}

.billing-toggle button span {
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 9px;
  font-weight: 650;
}

.billing-toggle button.is-active span {
  background: rgba(255, 255, 255, 0.14);
  color: #d1fadf;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px 22px 22px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.plan--featured {
  z-index: 1;
  border-color: transparent;
  background:
    radial-gradient(320px 260px at 92% 0%, rgba(59, 130, 246, 0.28), transparent 68%),
    linear-gradient(160deg, #0b1c34 0%, #0c2344 58%, #0b1a30 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 24px 54px rgba(9, 32, 66, 0.24);
}

.plan--featured:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 32px 64px rgba(9, 32, 66, 0.3);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 5px 10px;
  border: 1px solid rgba(147, 197, 253, 0.38);
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.5);
  color: #dbeafe;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.plan-head h3 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.plan--featured .plan-head h3 {
  color: #fff;
}

.plan-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

.plan--featured .plan-head p {
  color: #9fb4d1;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-height: 52px;
  margin-top: 20px;
}

.plan-price .currency {
  color: #475467;
  font-size: 17px;
  font-weight: 600;
}

.plan-price strong {
  color: var(--ink);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.plan-price .period {
  margin-left: 4px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 400;
}

.plan--featured .plan-price .currency,
.plan--featured .plan-price strong {
  color: #fff;
}

.plan--featured .plan-price .period {
  color: #8fa8c8;
}

.annual-note {
  margin-left: 6px;
  color: #667085;
  font-size: 9.5px;
  white-space: nowrap;
}

.plan--featured .annual-note {
  color: #9fb4d1;
}

.plan-specs {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 20px 0 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.plan-specs > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f4f8;
}

.plan-specs > div:last-child {
  border-bottom: 0;
}

.plan-specs dt {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.plan-specs dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.plan--featured .plan-specs {
  border-color: rgba(255, 255, 255, 0.1);
}

.plan--featured .plan-specs > div {
  border-color: rgba(255, 255, 255, 0.09);
}

.plan--featured .plan-specs dt {
  color: #8fa8c8;
}

.plan--featured .plan-specs dd {
  color: #fff;
}

.button--plan {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
}

.button--plan:hover {
  border-color: #b9cce6;
  background: #f8faff;
}

.button--plan-featured {
  border-color: transparent;
  background: #fff;
  color: #0b1c34;
  box-shadow: 0 8px 18px rgba(2, 10, 25, 0.2);
}

.button--plan-featured:hover {
  background: #eef5ff;
}

.included {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}

.included-label {
  color: #344054;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.included ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.included li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11.5px;
}

.included i {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: #ecfdf3;
  color: #079455;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

/* ---------------------------------------------------------------- FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 96px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 110px;
}

.faq-intro h2 {
  font-size: clamp(34px, 3.2vw, 45px);
}

.faq-intro > p:not(.section-label) {
  max-width: 310px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  transition: transform 0.15s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid #cfd8e5;
  border-radius: 50%;
  background:
    linear-gradient(#667085, #667085) center / 7px 1px no-repeat,
    linear-gradient(#667085, #667085) center / 1px 7px no-repeat;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.faq-list details[open] summary::after {
  background:
    linear-gradient(#fff, #fff) center / 7px 1px no-repeat,
    var(--blue);
  border-color: var(--blue);
  transform: rotate(180deg);
}

.faq-answer {
  max-width: 640px;
  padding: 0 44px 24px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

/* ---------------------------------------------------------------- closing */
.closing {
  padding: 0 0 106px;
  background: #f7f9fc;
}

.closing-panel {
  position: relative;
  overflow: hidden;
  padding: 76px 64px;
  border-radius: 28px;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(37, 99, 235, 0.28), transparent 65%),
    radial-gradient(500px 360px at 0% 100%, rgba(8, 145, 178, 0.16), transparent 65%),
    linear-gradient(145deg, #081426 0%, #0b1d37 58%, #091a31 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 32px 80px rgba(7, 22, 44, 0.2);
}

.closing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 72% 35%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 72% 35%, #000 0%, transparent 68%);
  pointer-events: none;
}

.closing-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.closing-glow--one {
  top: -110px;
  right: -70px;
  width: 360px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.42), transparent);
}

.closing-glow--two {
  bottom: -160px;
  left: 30%;
  width: 420px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(8, 145, 178, 0.18), transparent);
}

.closing-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.closing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #b9cee9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing-eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 4px rgba(125, 211, 252, 0.12);
}

.closing h2 {
  color: #fff;
  font-size: clamp(38px, 4vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.closing-content > p:not(.closing-eyebrow) {
  max-width: 430px;
  margin-top: 20px;
  color: #a9bdd6;
  font-size: 15px;
  line-height: 1.7;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.closing-content > small {
  display: block;
  margin-top: 16px;
  color: #7f96b4;
  font-size: 10.5px;
}

.closing-mark {
  position: absolute;
  right: 66px;
  bottom: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 158px;
  height: 158px;
  transform: rotate(-9deg);
  opacity: 0.88;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.22));
}

.closing-mark span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(6px);
}

.closing-mark span:nth-child(2) {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.68), rgba(37, 99, 235, 0.2));
}

.closing-mark span:nth-child(3) {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.55), rgba(8, 145, 178, 0.16));
}

.closing-mark span:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  padding: 66px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-bottom: 54px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.footer-col a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 10.5px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ---------------------------------------------------------------- reveals */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-grid {
    gap: 38px;
  }

  .shell-body {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .shell-main {
    padding-inline: 14px;
  }

  .float-card--db {
    left: -6px;
  }

  .float-card--perm {
    right: -6px;
  }

  .feature {
    gap: 50px;
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 19px;
  }

  .site-nav > a {
    font-size: 12.5px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .float-card--perm {
    top: 20px;
  }

  .shell-metrics {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

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

  .bento-card--wide {
    grid-column: span 1;
  }

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

  .plan--featured {
    transform: none;
  }

  .plan--featured:hover {
    transform: translateY(-3px);
  }

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

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

@media (max-width: 900px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .header-inner {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 12px 12px;
    border-radius: 7px;
    font-size: 14px;
  }

  .site-nav > a:hover {
    background: #f6f9fe;
  }

  .site-nav .nav-divider {
    width: 100%;
    height: 1px;
    margin: 7px 0;
  }

  .site-nav .button--small {
    width: 100%;
    min-height: 42px;
    margin: 4px 0 0;
    padding: 0 14px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(44px, 8vw, 62px);
  }

  .hero-lede {
    max-width: 590px;
  }

  .hero-stage {
    width: min(620px, 100%);
    margin: 0 auto;
    padding-inline: 14px;
  }

  .float-card--db {
    left: -14px;
  }

  .float-card--perm {
    right: -14px;
  }

  .tools-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .tools-list {
    justify-content: flex-start;
    gap: 10px 24px;
  }

  .section {
    padding: 86px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .section-head--split {
    display: block;
  }

  .section-head--split .section-lede {
    max-width: 620px;
    margin-top: 18px;
  }

  .install-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 34px;
  }

  .install-lede {
    max-width: 620px;
  }

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

  .feature {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 0;
  }

  .feature:first-of-type {
    padding-top: 0;
  }

  .feature:last-of-type {
    padding-bottom: 0;
  }

  .feature--reverse .feature-copy,
  .feature--reverse .feature-visual {
    order: initial;
  }

  .feature-copy {
    max-width: 650px;
  }

  .feature-visual {
    width: min(660px, 100%);
    margin: 0 auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq-intro {
    position: static;
    max-width: 540px;
  }

  .closing-panel {
    padding: 60px 44px;
  }

  .closing-mark {
    right: 34px;
    bottom: 34px;
    width: 125px;
    height: 125px;
    opacity: 0.5;
  }

  .footer-main {
    grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  .brand-name {
    font-size: 17px;
  }

  .hero {
    padding: 45px 0 54px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.4vw, 50px);
    letter-spacing: -0.05em;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 27px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-capabilities {
    gap: 13px 14px;
    margin-top: 32px;
    padding-top: 19px;
  }

  .hero-capabilities small {
    font-size: 9.5px;
  }

  .hero-stage {
    margin-top: 8px;
    padding: 0;
  }

  .product-shell {
    transform: none;
    border-radius: 14px;
  }

  .shell-body {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 380px;
  }

  .shell-rail {
    gap: 12px;
    padding: 13px 8px 10px;
  }

  .rail-item {
    padding: 5px 5px;
    font-size: 7.5px;
  }

  .rail-item .rail-icon {
    display: none;
  }

  .shell-main {
    gap: 10px;
    padding: 13px 11px 11px;
  }

  .shell-heading h2 {
    font-size: 16px;
  }

  .shell-new {
    font-size: 6.5px;
  }

  .shell-metrics {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 5px;
  }

  .shell-metric {
    padding: 7px;
  }

  .shell-metric strong {
    font-size: 8px;
  }

  .shell-app {
    padding: 7px;
  }

  .float-card {
    display: none;
  }

  .tools-list li {
    font-size: 12px;
  }

  .install-band {
    padding-top: 38px;
  }

  .install-panel {
    gap: 27px;
    padding: 27px 18px;
    border-radius: 19px;
  }

  .install-intro h2 {
    font-size: 33px;
  }

  .install-lede {
    font-size: 13px;
  }

  .install-points {
    display: flex;
    gap: 13px;
    margin-top: 22px;
    padding-top: 19px;
  }

  .install-step {
    padding: 12px;
  }

  .install-step-head {
    align-items: flex-start;
  }

  .install-step-tag {
    display: none;
  }

  .install-command pre {
    font-size: 10px;
  }

  .install-command--prompt pre {
    font-size: 11.5px;
  }

  .install-command .copy-button {
    min-width: 54px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .section {
    padding: 68px 0;
  }

  .section-label {
    margin-bottom: 12px;
    font-size: 10px;
  }

  h2 {
    font-size: clamp(32px, 8.7vw, 40px);
  }

  .section-lede {
    font-size: 15px;
    line-height: 1.72;
  }

  .mobile-br {
    display: block;
  }

  .section-head,
  .section-head--center {
    margin-bottom: 38px;
  }

  .feature {
    gap: 30px;
    padding: 50px 0;
  }

  .feature-copy h3 {
    font-size: clamp(28px, 7.6vw, 34px);
  }

  .feature-lede {
    margin-top: 17px;
    font-size: 14.5px;
  }

  .feature-list {
    margin-top: 20px;
  }

  .feature-list li {
    font-size: 13px;
  }

  .feature-proof {
    margin-top: 21px;
  }

  .feature-visual {
    padding: 14px 12px 11px;
    border-radius: 18px;
  }

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

  .db-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .db-file {
    min-width: 0;
  }

  .schema-list {
    min-width: 0;
  }

  .db-query pre {
    font-size: 6.8px;
  }

  .visual-footnote {
    font-size: 9px;
  }

  .perm-head,
  .perm-row {
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.5fr));
    padding-inline: 8px;
  }

  .perm-user {
    font-size: 7.5px;
  }

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

  .deploy-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
  }

  .deploy-side-label {
    grid-column: span 2;
  }

  .deploy-domain {
    grid-column: span 2;
  }

  .deploy-site {
    min-height: 235px;
  }

  .deploy-site h4 {
    font-size: 18px;
  }

  .agent-chat {
    padding: 9px;
  }

  .msg {
    max-width: 94%;
  }

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

  .bento-card {
    min-height: auto;
    padding: 21px;
  }

  .bento-icon {
    margin-bottom: 19px;
  }

  .bento-code,
  .domain-pill {
    margin-top: 17px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-shot {
    padding: 7px;
    border-radius: 14px;
  }

  .showcase-shot img {
    border-radius: 8px;
  }

  .how-switcher {
    gap: 11px;
  }

  .how-tabs {
    gap: 9px;
  }

  .how-panel {
    min-height: 250px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-bottom: 40px;
    text-align: left;
  }

  .steps::before {
    top: 18px;
    bottom: 24px;
    left: 18px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, #c9dcf6 15%, #c9dcf6 85%, transparent);
  }

  .steps li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    text-align: left;
  }

  .step-num {
    grid-row: span 2;
    margin: 0;
    box-shadow: 0 0 0 5px #f5f9ff;
  }

  .steps h3 {
    align-self: end;
  }

  .steps p {
    max-width: none;
    margin: 4px 0 0;
  }

  .how-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 64px;
    padding: 11px;
    border-radius: 11px;
  }

  .how-tab::before {
    right: 11px;
    left: 11px;
  }

  .how-tab-num {
    width: 24px;
    height: 24px;
  }

  .how-tab-copy strong {
    font-size: 12px;
  }

  .how-tab-copy small,
  .how-tab-state {
    display: none;
  }

  .how-panel {
    min-height: 0;
    padding: 20px 17px;
    border-radius: 16px;
  }

  .how-panel-note {
    font-size: 10px;
  }

  .how-command pre {
    padding: 11px;
    font-size: 9.5px;
  }

  .how-command .copy-button {
    min-width: 54px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .how-prompt-main {
    padding: 11px 12px;
  }

  .how-prompt .copy-button {
    min-width: 50px;
    margin: 0 9px;
    padding-inline: 8px;
    font-size: 9.5px;
  }

  .how-prompt blockquote {
    font-size: 14.5px;
  }

  .how-panel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 15px;
  }

  .how-next {
    width: 100%;
    text-align: center;
  }

  .prompt-card {
    padding: 21px 18px 18px;
    border-radius: 15px;
  }

  .prompt-card blockquote {
    margin: 17px 0 21px;
    font-size: 19px;
  }

  .prompt-bottom {
    align-items: flex-end;
    gap: 12px;
  }

  .prompt-bottom p {
    max-width: 210px;
    font-size: 10px;
  }

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

  .trust-card {
    min-height: auto;
    padding: 22px;
  }

  .trust-icon {
    margin-bottom: 27px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .plan {
    padding: 24px 21px 21px;
  }

  .plan--featured {
    margin-top: 4px;
  }

  .included {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
  }

  .included ul {
    gap: 8px 18px;
  }

  .pricing-note {
    text-align: left;
    line-height: 1.6;
  }

  .billing-toggle {
    margin-top: 23px;
  }

  .billing-toggle button {
    padding: 0 11px;
  }

  .faq-intro h2 {
    font-size: 35px;
  }

  .faq-list summary {
    padding: 20px 0;
    font-size: 14px;
  }

  .faq-answer {
    padding-right: 20px;
    font-size: 12.8px;
  }

  .closing {
    padding-bottom: 68px;
  }

  .closing-panel {
    padding: 44px 22px;
    border-radius: 21px;
  }

  .closing h2 {
    font-size: 38px;
  }

  .closing-content > p:not(.closing-eyebrow) {
    font-size: 13.5px;
  }

  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .closing-actions .button {
    width: 100%;
  }

  .closing-mark {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-bottom: 38px;
  }

  .footer-brand {
    grid-column: span 2;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

@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;
  }
}

/* ==========================================================================
   Two-step workbench — light product surface
   ========================================================================== */

.how-shell {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dbe6f5;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 60px rgba(16, 44, 85, 0.08);
}

.how-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #e8eff8;
  background: #f8fbff;
}

.how-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 18px 24px;
  border: 0;
  border-right: 1px solid #e8eff8;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}

.how-tab:last-child {
  border-right: 0;
}

.how-tab:hover {
  border-color: #e8eff8;
  background: rgba(255, 255, 255, 0.7);
}

.how-tab.is-active {
  border-color: #e8eff8;
  background: #fff;
  box-shadow: none;
}

.how-tab::before {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -1px;
  left: 24px;
  width: auto;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 0.16s ease;
}

.how-tab.is-active::before {
  background: var(--blue);
}

.how-tab-num {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #dce7f6;
  border-radius: 8px;
  background: #f3f8ff;
  color: #8193ab;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 650;
}

.how-tab.is-active .how-tab-num {
  border-color: #c7ddfb;
  background: #eaf3ff;
  color: var(--blue);
}

.how-tab-copy {
  flex: 1;
  min-width: 0;
}

.how-tab-copy strong {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.how-tab-copy small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.how-tab-state {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.how-tab.is-active .how-tab-state {
  border-color: #d5e4fb;
  background: #f3f8ff;
  color: var(--blue);
}

.how-stage {
  display: block;
  min-width: 0;
}

.how-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) 316px;
  gap: 0;
  min-height: 318px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--ink);
}

.how-panel::before {
  display: none;
}

.how-panel[hidden] {
  display: none;
}

.how-panel > * {
  position: relative;
  z-index: 1;
}

.how-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 28px 22px;
}

.how-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.how-panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #667085;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-panel-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.how-panel-tag {
  padding: 4px 8px;
  border: 1px solid #e3e9f2;
  border-radius: 999px;
  background: #fff;
  color: #8a96a6;
  font-size: 8px;
  font-weight: 600;
}

.how-panel-tag--accent {
  border-color: #d5e4fb;
  background: #f3f8ff;
  color: var(--blue);
}

.how-panel-note {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.how-command {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #1b2a42;
  border-radius: 10px;
  background:
    radial-gradient(360px 180px at 100% 0%, rgba(59, 130, 246, 0.17), transparent 62%),
    #0b172a;
}

.how-command pre {
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  color: #dbe8fa;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.how-command code {
  font-size: inherit;
}

.how-command .copy-button {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 60px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: #c5d7ef;
  font-size: 10px;
}

.how-command .copy-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.how-prompt {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #e1ebf7;
  border-radius: 10px;
  background: #f8fbff;
}

.how-prompt-main {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.how-prompt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.how-prompt-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #98a2b3;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.how-prompt-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.how-prompt-label b {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
}

.how-shuffle {
  padding: 4px 7px;
  border: 1px solid #dfe7f2;
  border-radius: 5px;
  background: #fff;
  color: #7b8798;
  font: inherit;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.how-shuffle:hover {
  border-color: #b9d4f5;
  background: #f1f7ff;
  color: var(--blue);
}

.how-prompt-meta {
  padding: 3px 7px;
  border: 1px solid #e3e9f2;
  border-radius: 999px;
  background: #fff;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
}

.how-prompt-code {
  min-width: 0;
  margin: 7px 0 0;
  color: #1d2939;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.how-prompt-code code {
  font: inherit;
}

.how-prompt blockquote {
  min-width: 0;
  margin: 7px 0 0;
  color: #1d2939;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
  transition: opacity 160ms ease;
}

.how-prompt .copy-button {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 12px;
  min-width: 60px;
  border: 1px solid #d8e4f3;
  border-radius: 7px;
  background: #fff;
  color: #475467;
  font-size: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.how-prompt .copy-button:hover {
  border-color: #b9d4f5;
  background: #f1f7ff;
  color: var(--blue);
}

.how-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
}

.how-panel-foot p {
  max-width: 480px;
  color: #98a2b3;
  font-size: 10px;
  line-height: 1.55;
}

.how-next {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid #d6e4f8;
  border-radius: 7px;
  background: #f3f8ff;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.how-next:hover {
  border-color: #bcd6f8;
  background: #eaf3ff;
}

.how-next--subtle {
  border-color: transparent;
  background: transparent;
  color: #98a2b3;
}

.how-next--subtle:hover {
  background: #f5f8fc;
  color: #667085;
}

/* side rails ------------------------------------------------------------- */
.how-side {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-left: 1px solid #eaf0f8;
  background:
    radial-gradient(300px 240px at 100% 0%, rgba(37, 99, 235, 0.05), transparent 68%),
    #f9fbfe;
}

.how-side-label {
  margin-bottom: 14px;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.how-connect {
  position: relative;
  display: flex;
  flex-direction: column;
}

.how-connect-step {
  position: relative;
  display: flex;
  gap: 9px;
  padding-bottom: 16px;
}

.how-connect-step:last-child {
  padding-bottom: 0;
}

.how-connect-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 21px;
  bottom: 0;
  left: 10px;
  width: 1px;
  background: #e2ebf6;
}

.how-connect-mark {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #dfe8f3;
  border-radius: 50%;
  background: #fff;
  color: #98a2b3;
  font-size: 7px;
  font-weight: 700;
}

.how-connect-step.is-done .how-connect-mark {
  border-color: #c9e9d8;
  background: #ecfdf3;
  color: var(--ok);
}

.how-connect-step.is-current .how-connect-mark {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.how-connect-step strong {
  display: block;
  color: #475467;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
}

.how-connect-step small {
  display: block;
  margin-top: 2px;
  color: #98a2b3;
  font-size: 7.5px;
  line-height: 1.45;
}

.how-auth-card {
  margin-top: auto;
  padding: 11px;
  border: 1px solid #dce7f3;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 44, 85, 0.04);
}

.how-auth-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.how-auth-orb {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #2563eb, #0891b2, #7c3aed, #2563eb);
  box-shadow: 0 0 0 3px #f4f8ff;
}

.how-auth-orb::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
}

.how-auth-head strong {
  display: block;
  color: #344054;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.3;
}

.how-auth-head small {
  display: block;
  margin-top: 1px;
  color: #98a2b3;
  font-size: 7px;
}

.how-auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 9px;
}

.how-auth-deny,
.how-auth-allow {
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 7px;
  font-weight: 600;
}

.how-auth-deny {
  color: #98a2b3;
}

.how-auth-allow {
  background: var(--blue);
  color: #fff;
}

.how-plan {
  display: flex;
  flex-direction: column;
}

.how-plan-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f8;
}

.how-plan-item:last-child {
  border-bottom: 0;
}

.how-plan-item > span:first-child {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  background: #f2f6fc;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 600;
}

.how-plan-item > div {
  flex: 1;
  min-width: 0;
}

.how-plan-item strong {
  display: block;
  color: #667085;
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.35;
}

.how-plan-item small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: #98a2b3;
  font-size: 7.2px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.how-plan-item i {
  flex: 0 0 auto;
  color: #b2bcc9;
  font-size: 7px;
  font-style: normal;
}

.how-plan-item.is-done > span:first-child {
  background: #ecfdf3;
  color: var(--ok);
}

.how-plan-item.is-done i {
  color: var(--ok);
}

.how-plan-item.is-current > span:first-child {
  background: var(--accent-soft);
  color: var(--blue);
}

.how-plan-item.is-current strong {
  color: var(--ink-2);
}

.how-plan-item.is-current i {
  color: var(--blue);
}

.how-plan-result {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 9px 10px;
  border: 1px solid #d9e8fa;
  border-radius: 8px;
  background: #f4f9ff;
}

.how-plan-pulse {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.11);
}

.how-plan-result strong {
  display: block;
  color: #344054;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.3;
}

.how-plan-result small {
  display: block;
  margin-top: 1px;
  color: #98a2b3;
  font-size: 7px;
}

@media (max-width: 900px) {
  .how-shell {
    border-radius: 19px;
  }

  .how-tab {
    min-height: 72px;
    padding: 14px 17px;
  }

  .how-tab::before {
    right: 17px;
    left: 17px;
  }

  .how-panel {
    grid-template-columns: 1fr;
  }

  .how-main {
    padding: 22px 20px 20px;
  }

  .how-side {
    display: none;
  }
}

@media (max-width: 680px) {
  .how-tabs {
    gap: 0;
  }

  .how-tab {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 64px;
    padding: 11px;
  }

  .how-tab-num {
    width: 24px;
    height: 24px;
  }

  .how-tab-copy strong {
    font-size: 12px;
  }

  .how-tab-copy small,
  .how-tab-state {
    display: none;
  }

  .how-main {
    padding: 18px 14px 16px;
  }

  .how-panel-note {
    font-size: 10px;
  }

  .how-command pre {
    padding: 11px;
    font-size: 9.5px;
  }

  .how-command .copy-button {
    min-width: 54px;
    padding-inline: 9px;
    font-size: 9.5px;
  }

  .how-prompt-main {
    padding: 11px 12px;
  }

  .how-prompt .copy-button {
    min-width: 50px;
    margin: 0 9px;
    padding-inline: 8px;
    font-size: 9.5px;
  }

  .how-prompt blockquote {
    font-size: 14.5px;
  }

  .how-panel-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding-top: 14px;
  }

  .how-next {
    width: 100%;
    text-align: center;
  }
}

/* ---------------------------------------------------------------- homepage showcases */
.showcase-grid-home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e8f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: #cddcf1;
  box-shadow: 0 20px 44px rgba(16, 44, 85, 0.1);
}

.case-shot {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #f4f8fd;
}

.case-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-bottom: 1px solid #e9eef5;
  background: #fff;
}

.case-bar i {
  display: block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #e0e6ef;
}

.case-bar span {
  flex: 1;
  overflow: hidden;
  margin-left: 3px;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-img {
  height: 340px;
  overflow: hidden;
  background: #f4f8fd;
}

.case-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 500ms ease;
}

.case-card:hover .case-img img {
  transform: scale(1.012);
}

.case-card--app .case-shot {
  background: #0b0c0e;
}

.case-card--app .case-bar {
  border-bottom-color: #20242b;
  background: #12141a;
}

.case-card--app .case-bar i {
  background: #2a2e38;
}

.case-card--app .case-bar span {
  color: #7a808c;
}

.case-phones {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 340px;
  overflow: hidden;
  padding-top: 20px;
  background: radial-gradient(120% 90% at 50% 0, #1a2018, #0b0c0e 62%);
}

.case-phone {
  display: block;
  width: 31%;
  max-width: 112px;
  flex: none;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #0b0c0e;
  box-shadow:
    0 24px 54px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.13);
}

.case-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.case-phone:first-child {
  z-index: 1;
  transform: translate(18px, 14px) rotate(-5deg);
  opacity: 0.88;
}

.case-phone--main {
  width: 44%;
  max-width: 158px;
  z-index: 3;
}

.case-phone:last-child {
  z-index: 2;
  transform: translate(-18px, 14px) rotate(5deg);
  opacity: 0.88;
}
.case-phones--two .case-phone:first-child {
  width: 42%;
  max-width: 150px;
  z-index: 3;
  transform: translate(7px, 18px) rotate(-2deg);
  opacity: 1;
}

.case-phones--two .case-phone:last-child {
  width: 40%;
  max-width: 142px;
  z-index: 2;
  transform: translate(-5px, 42px) rotate(2.5deg);
  opacity: 0.94;
}


.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 17px 20px 18px;
}

.case-head {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.case-head h3 {
  overflow: hidden;
  margin: 0;
  color: #101828;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-kind {
  flex: none;
  padding: 2px 7px;
  border-radius: 5px;
  background: #eff5ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 700;
}

.case-meta {
  margin-left: auto;
  color: #98a2b3;
  font-family: var(--mono);
  font-size: 9.5px;
  white-space: nowrap;
}

.case-body p {
  margin: 0;
  color: #475467;
  font-size: 12.8px;
  line-height: 1.65;
}

.case-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.case-tags span {
  padding: 2px 6px;
  border-radius: 4px;
  background: #f4f6fa;
  color: #667085;
  font-size: 10px;
  white-space: nowrap;
}

.case-open {
  flex: none;
  margin-left: auto;
  color: #101828;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.case-open:hover {
  color: var(--blue);
}

.showcase-note-home {
  margin-top: 24px;
  color: #98a2b3;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .showcase-grid-home {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-img,
  .case-phones {
    height: 300px;
  }
}

@media (max-width: 760px) {
  .case-img,
  .case-phones {
    height: 260px;
  }

  .case-body {
    padding: 15px 16px 16px;
  }

  .case-body p {
    font-size: 12.5px;
  }
}

/* Mobile showcase polish: keep the app cards tall enough for three phone screens. */
@media (max-width: 900px) {
  .case-card--app .case-phones {
    height: 380px;
  }

  .case-head {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .case-meta {
    margin-left: 0;
  }

  .case-body {
    gap: 10px;
  }
}

@media (max-width: 760px) {
  .case-card--app .case-phones {
    height: 360px;
  }

  .case-img {
    height: 250px;
  }

  .case-head h3 {
    font-size: 16px;
  }

  .case-open {
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .case-card--app .case-phones {
    height: 340px;
    padding-top: 14px;
  }

  .case-card--app .case-phone:first-child {
    max-width: 92px;
    transform: translate(12px, 12px) rotate(-5deg);
  }

  .case-card--app .case-phone--main {
    max-width: 136px;
  }

  .case-card--app .case-phone:last-child {
    max-width: 92px;
    transform: translate(-12px, 12px) rotate(5deg);
  }

  .case-img {
    height: 220px;
  }

  .case-body p {
    min-height: 0;
  }
}

/* On phones the three app screens are a regular tiled row, not a fanned stack:
   equal columns, equal aspect ratio, no rotation or overlap. */
@media (max-width: 760px) {
  .case-card--app .case-phones {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    height: auto;
    min-height: 0;
    padding: 12px 12px 0;
    align-items: stretch;
  }

  .case-card--app .case-phone,
  .case-card--app .case-phone:first-child,
  .case-card--app .case-phone:last-child {
    width: 100%;
    max-width: none;
    aspect-ratio: 9 / 16;
    transform: none;
    opacity: 1;
    border-radius: 9px 9px 0 0;
  }

  .case-card--app .case-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .case-card--app .case-phone--main {
    width: 100%;
    max-width: none;
  }
}

/* Showcase app cards: all three screens sit side by side, at every width.
   The desktop version used to fan them; the cards now read as a clean
   three-up preview instead. */
.case-card--app .case-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 560px;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 22px 20px 0;
  align-items: start;
}

.case-card--app .case-phone,
.case-card--app .case-phone:first-child,
.case-card--app .case-phone:last-child,
.case-card--app .case-phone--main,
.case-card--app .case-phones--two .case-phone:first-child,
.case-card--app .case-phones--two .case-phone:last-child {
  width: 100%;
  max-width: none;
  aspect-ratio: 9 / 16;
  transform: none;
  opacity: 1;
  border-radius: 10px 10px 0 0;
}

.case-card--app .case-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 760px) {
  .case-card--app .case-phones {
    max-width: none;
    gap: 7px;
    padding: 12px 12px 0;
  }
}

/* ---------------------------------------------------------------- apps with agents inside */
.smart-section { background: var(--paper); }
.smart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.smart-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 22px 24px;
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}
.smart-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font: 11px var(--mono);
  letter-spacing: .04em;
}
.smart-card h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; }
.smart-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.smart-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.smart-note code {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--canvas);
  color: var(--ink-2);
  font: 11px var(--mono);
}
@media (max-width: 800px) {
  .smart-grid { grid-template-columns: 1fr; }
}
