/* =========================================================
   Header — transparent over the hero, solid once scrolled
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header__inner {
  max-width: 1440px; margin: 0 auto; height: var(--header-h); padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: height .3s ease;
}
.brand { justify-self: start; font-size: 27px; font-weight: 900; letter-spacing: -0.045em; color: inherit; }
.brand:hover { color: inherit; }
.brand__dot { color: inherit; }
.brand--ink { color: var(--ink); }
.brand__dot--accent { color: var(--cobalt); }
.nav { display: flex; gap: 36px; }
.nav__link { color: inherit; font-size: 15px; font-weight: 650; padding: 10px 2px; opacity: .92; }
.nav__link:hover { color: inherit; opacity: 1; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.preview-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .78); }
.header-cta { height: 44px; padding: 0 20px; font-size: 15px; }
.site-header .icon-btn { color: inherit; }
.menu-btn { display: none; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

.site-header.is-solid {
  background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 22, 27, .06);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-solid .site-header__inner { height: 72px; }
.site-header.is-solid .brand__dot { color: var(--cobalt); }
.site-header.is-solid .preview-tag { color: var(--muted); }
.site-header.is-solid .icon-btn { border-color: var(--line-chip); }
.site-header.is-solid .icon-btn:hover { background: var(--mist); color: var(--ink); }
.site-header.is-solid .pill--ghost { border-color: var(--ink); color: var(--ink); }
.site-header.is-solid .pill--ghost:hover { background: var(--ink); color: #fff; }
.site-header.is-solid :focus-visible { outline-color: var(--cobalt); }

.mobile-menu {
  position: absolute; top: calc(var(--header-h) + 4px); left: 12px; right: 12px;
  display: flex; flex-direction: column; padding: 8px 20px 20px; border-radius: 22px;
  background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(18, 15, 24, .35);
}
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between; height: 52px;
  font-size: 18px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--line-3);
}
.mobile-menu__cta { margin-top: 18px; }
.preview-tag--dark { margin-top: 14px; text-align: center; color: var(--muted); }

@media (max-width: 1099px) {
  .nav, .preview-tag:not(.preview-tag--dark) { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 719px) {
  .brand { font-size: 23px; }
  .site-header__actions > a.icon-btn, .header-cta { display: none; }
  .site-header.is-solid .site-header__inner { height: 60px; }
  .mobile-menu { top: calc(100% + 4px); }
}

/* =========================================================
   Hero — a shared 3D scene, with tool panels around a cylinder
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--dusk); color: #fff; }
.hero__washes, .hero__scrim { position: absolute; inset: 0; }
.wash { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s cubic-bezier(.22,.61,.36,1); }
.wash.is-active { opacity: 1; }
.hero__scrim { background: linear-gradient(90deg, rgba(24,20,27,.32), rgba(24,20,27,.08) 48%, transparent); }
.hero__inner {
  position: relative; max-width: 1600px; min-height: max(790px,100svh); margin: 0 auto;
  padding: 108px var(--gutter) 40px;
  display: grid; grid-template-columns: 44% minmax(0,1fr); align-items: center;
}
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 28px; }
.hero__title { margin-top: 24px; font-size: clamp(64px,5.7vw,88px); line-height: .99; font-weight: 900; letter-spacing: -.05em; }
.hero__lede { margin-top: 26px; max-width: 420px; font-size: 18px; line-height: 1.55; color: #fff; }
.hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.hero__actions .textlink { font-size: 14px; }

/* All panels keep their place on one rotating cylinder. Nothing is swapped or
   teleported between left/right slots when the loop crosses the first tool. */
.carousel {
  --card-w: 230px; --card-h: 300px; --radius: 300px; --perspective: 1100px;
  --front-w: 320px;
  position: relative; height: 610px; touch-action: pan-y pinch-zoom; user-select: none; outline-offset: -4px; border-radius: 24px;
}
.carousel__scene { position: absolute; inset: 0 0 72px; perspective: var(--perspective); touch-action: pan-y pinch-zoom; cursor: grab; }
.carousel.is-dragging .carousel__scene { cursor: grabbing; }
.carousel__track {
  position: absolute; left: 50%; top: 55%; width: var(--card-w); height: var(--card-h);
  margin-left: calc(var(--card-w) / -2); margin-top: calc(var(--card-h) / -2);
  transform-style: preserve-3d; will-change: transform;
}
.card {
  position: absolute; inset: 0; color: #fff; backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(var(--angle)) translateZ(var(--radius));
}
.carousel__caption {
  position: absolute; bottom: calc(100% + 26px); left: -12px; right: -12px;
  min-height: 54px; text-align: center; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
}
.carousel__caption-title { font-size: 19px; font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.carousel__caption-sub { font-size: 12px; line-height: 1.35; color: #fff; }
.card__surface {
  height: 100%; padding: 7px; border-radius: 17px;
  background: linear-gradient(145deg,rgba(255,255,255,.08),transparent 48%,rgba(0,0,0,.10)), var(--card-bg);
  box-shadow: 0 24px 40px -22px rgba(22,12,30,.42), inset 0 0 0 1px rgba(255,255,255,.13);
  transition: filter .8s ease;
  display: flex; flex-direction: column;
}
.card__cover {
  flex: none; aspect-ratio: 1; border-radius: 12px; background: radial-gradient(ellipse at 28% 12%,rgba(255,255,255,.72),transparent 72%), var(--cover-bg);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}
.card__logo { width: calc(var(--card-w) * var(--logo-scale)); height: calc(var(--card-w) * var(--logo-scale)); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.card__footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1; padding: 8px 7px 3px; }
.card:not([data-pos="active"]) .card__surface { filter: brightness(.88); }
.card__name { font-size: 19px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
.card--long .card__name { font-size: 17px; max-width: 142px; }
.card__maker { margin-top: 4px; font-size: 12px; line-height: 1.25; color: #fff; }
.card__cta { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.card__cta::before { content: ''; position: absolute; inset: 0; border-radius: 20px; }
.card__cta svg { width: 16px; height: 16px; transition: transform .25s ease; }
.card__cta:hover { color: #fff; background: rgba(255,255,255,.24); }
.card__cta:hover svg { transform: translate(1px,-1px); }
.card:focus-within .card__surface { outline: 2px solid white; outline-offset: 4px; }
/* Collection artwork uses the same frame but a different composition. */
.cover-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 106%; transform: rotate(-18deg); }
.cover-mosaic__tile { display: grid; place-items: center; aspect-ratio: 1; background: #F6EDE3; border-radius: 11px; box-shadow: 0 4px 10px #35224420; }
.cover-mosaic__tile--1 { background: #DFEEE6; }
.cover-mosaic__tile--2 { background: #E4EAFA; }
.cover-mosaic__tile--3 { background: #EDE4F8; }
.cover-mosaic img { width: 62%; height: 62%; object-fit: contain; -webkit-user-drag: none; }
.cover-mosaic img[src$="openai-platform.svg"] { width: 100%; height: 100%; }
.card--collection .card__name, .card--overview .card__name { font-size: 18px; }
.card--collection .card__maker, .card--overview .card__maker { font-size: 11px; }
.cover-overview { width: 84%; padding: 12px; background: white; border-radius: 10px; box-shadow: 0 12px 22px #192e5e20; color: #25355B; transform: rotate(-8deg); }
.cover-overview__title { display: block; font-size: 11px; font-weight: 800; }
.cover-overview__tools { display: flex; margin: 10px 0; gap: 7px; }
.cover-overview__tools span { background: #F0F2F6; border-radius: 6px; width: 28px; height: 28px; display: grid; place-items: center; }
.cover-overview__tools img { width: 18px; height: 18px; object-fit: contain; -webkit-user-drag: none; }
.cover-overview__tools img[src$="openai-platform.svg"] { width: 28px; height: 28px; }
.cover-overview__rows { display: grid; gap: 6px; }
.cover-overview__rows > span { display: flex; align-items: center; justify-content: space-between; font-size: 8px; border-bottom: 1px solid #E9EBF1; padding-bottom: 5px; }
.cover-overview__rows i { height: 4px; width: 22px; border-radius: 3px; background: #BDC8E8; }
.cover-overview strong { display: block; margin-top: 9px; font-size: 13px; letter-spacing: -.5px; }
.cover-overview strong span { color: #4264CE; }
.carousel__side { position: absolute; top: 90px; bottom: 28px; width: max(20px,calc((100% - var(--front-w)) / 2 - 10px)); z-index: 2; cursor: pointer; }
.carousel__side--prev { left: 0; }
.carousel__side--next { right: 0; }
.carousel__side:focus-visible { outline-offset: -5px; border-radius: 20px; }
.carousel__controls { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 9px; }
.carousel__controls .icon-btn { width: 34px; height: 34px; border-color: transparent; background: transparent; }
.carousel__controls .icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.carousel__dots { display: flex; align-items: center; }
.dot-btn { width: 21px; height: 44px; display: grid; place-items: center; }
.dot-btn span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); transition: transform .4s ease, background-color .4s ease; }
.dot-btn[aria-pressed="true"] span { background: #fff; transform: scale(1.45); }
.carousel__pause { margin-left: 6px; }
.carousel__pause .icon-play { display: none; }
.carousel__pause[aria-pressed="true"] .icon-play { display: block; }
.carousel__pause[aria-pressed="true"] .icon-pause { display: none; }

@media (min-width: 1100px) and (max-height: 800px) {
  .hero__inner { min-height: max(720px,100svh); padding-top: 96px; padding-bottom: 16px; }
  .carousel { --card-w: 210px; --card-h: 278px; --radius: 273px; --front-w: 280px; height: 560px; }
  .hero__title { font-size: clamp(64px,5.6vw,82px); }
}
@media (max-width: 1099px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(18,15,24,.25), transparent 75%); }
  .hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 42px; padding-top: 142px; padding-bottom: 16px; }
  .hero__copy { padding-bottom: 0; max-width: 660px; margin: auto; align-items: center; text-align: center; }
  .hero__title { font-size: 76px; }
  .hero__lede { max-width: 540px; }
  .hero__actions { justify-content: center; }
  .carousel { --card-w: 220px; --card-h: 290px; --radius: 286px; --front-w: 300px; height: 580px; }
}
@media (max-width: 719px) {
  .hero__inner { padding-top: 116px; gap: 38px; padding-bottom: 8px; }
  .hero__title { font-size: clamp(42px,11vw,66px); margin-top: 18px; }
  .hero__lede { margin-top: 20px; font-size: 16px; max-width: 400px; }
  .hero__actions { flex-direction: column; gap: 15px; margin-top: 24px; }
  .carousel { --card-w: 164px; --card-h: 226px; --radius: 210px; --perspective: 900px; --front-w: 220px; height: 424px; margin: 0 -20px; }
  .carousel__scene { bottom: 60px; }
  .carousel__caption { bottom: calc(100% + 20px); min-height: 44px; left: -4px; right: -4px; }
  .carousel__caption-title { font-size: 15px; }
  .carousel__caption-sub { font-size: 10px; }
  .card__surface { padding: 5px; border-radius: 13px; }
  .card__footer { padding: 7px 5px 3px; }
  .card__cover { border-radius: 9px; }
  .card__name { font-size: 16px; }
  .card--long .card__name { font-size: 13px; }
  .card__maker { font-size: 11px; margin-top: 4px; }
  .card--collection .card__name, .card--overview .card__name { font-size: 14px; }
  .card--collection .card__maker, .card--overview .card__maker { font-size: 9px; }
  .cover-overview { padding: 9px; transform: rotate(-8deg) scale(.88); width: 96%; }
  .card__cta { width: 28px; height: 28px; }
  .card__cta svg { width: 14px; height: 14px; }
  .carousel__side { top: 62px; bottom: 14px; }
  .carousel__controls { bottom: 6px; gap: 6px; }
}

/* =========================================================
   Shared section scaffolding
   ========================================================= */
.section { padding: var(--section-top) 0 var(--section-bottom); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head__text { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.section-head__text--wide { max-width: 1000px; }
.section-title { font-size: var(--fs-section); line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.section-title--compare { font-size: calc(var(--fs-section) - 4px); }
.section-lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--muted-2); }

@media (max-width: 719px) {
  .section-head--split { flex-direction: column; align-items: stretch; gap: 18px; }
  .section-head__text { gap: 14px; }
  .section-title--compare { font-size: var(--fs-section); }
}

/* =========================================================
   Discover
   ========================================================= */
.rail-arrows { display: flex; gap: 12px; }
.discover .chip-row { margin-top: 40px; }
.rail {
  --visible: 6;
  display: grid; grid-auto-flow: column; gap: 20px;
  grid-auto-columns: calc((100% - (var(--visible) - 1) * 20px) / var(--visible));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  margin: 24px -8px 0; padding: 12px 8px 8px; scroll-padding-inline: 8px;
}
.rail::-webkit-scrollbar { display: none; }
.tile-wrap { min-width: 0; scroll-snap-align: start; }
.tile { width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: left; color: var(--ink); min-width: 0; }
.tile__cover {
  aspect-ratio: 1 / 1; border-radius: 22px; background: var(--cover-bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile__cover img { width: 42%; height: 42%; object-fit: contain; }
.tile:hover .tile__cover { transform: translateY(-4px); box-shadow: 0 18px 32px rgba(24, 32, 60, .13); }
.tile[aria-pressed="true"] .tile__cover { box-shadow: 0 0 0 3px var(--ink); }
.tile__name { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.tile__cat { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }

.tool-detail {
  margin-top: 28px; padding: 26px 30px; border-radius: 26px; background: var(--mist);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) 250px; gap: 44px; align-items: center;
}
.tool-detail__id { display: flex; align-items: center; gap: 20px; }
.tool-detail__art { width: 76px; height: 76px; flex: none; border-radius: 18px; background: var(--cover-bg); display: flex; align-items: center; justify-content: center; }
.tool-detail__art img { width: 42px; height: 42px; object-fit: contain; }
.tool-detail__name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.tool-detail__maker { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tool-detail__use { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.tool-detail__cm { display: flex; flex-direction: column; gap: 10px; }
.tool-detail__cm-head { display: flex; align-items: center; gap: 10px; }
.tool-detail__cm p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tool-detail__actions { display: flex; flex-direction: column; gap: 10px; }
.tool-detail__actions .pill { justify-content: space-between; height: 48px; font-size: 15px; }

@media (max-width: 1099px) {
  .rail { --visible: 4; }
  .tool-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 36px; }
  .tool-detail__actions { grid-column: 1 / -1; flex-direction: row; }
  .tool-detail__actions .pill { flex: 1; }
}
@media (max-width: 719px) {
  .rail-arrows { display: none; }
  .discover .chip-row { margin-top: 26px; }
  .rail { grid-auto-columns: 148px; gap: 14px; margin: 14px calc(-1 * var(--gutter)) 0; padding: 8px var(--gutter); scroll-padding-inline: var(--gutter); }
  .tile { gap: 10px; }
  .tile__cover { border-radius: 18px; }
  .tile__name { font-size: 16px; }
  .tile__cat { font-size: 13px; }
  .tool-detail { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; padding: 22px 20px; border-radius: 24px; }
  .tool-detail__art { width: 60px; height: 60px; border-radius: 15px; }
  .tool-detail__art img { width: 34px; height: 34px; }
  .tool-detail__name { font-size: 20px; }
  .tool-detail__cm { padding-top: 14px; border-top: 1px solid var(--line-4); gap: 8px; }
  .tool-detail__actions { flex-direction: column; grid-column: auto; }
  .tool-detail__actions .pill { justify-content: center; }
}

/* =========================================================
   Manage
   ========================================================= */
.manage { background: var(--mist); }
.manage__head { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 72px; align-items: end; }
.manage__head .section-title { margin-top: 18px; }
.manage__head .section-lede { font-size: 18px; line-height: 1.6; padding-bottom: 4px; }
.manage__body { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 56px; }
.manage__side { display: flex; flex-direction: column; }
.caps { display: flex; flex-direction: column; gap: 6px; margin: 0 -22px; }
.cap {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; width: 100%;
  padding: 18px 22px; border-radius: 18px; text-align: left;
  transition: background-color .25s, box-shadow .25s;
}
.cap:hover { background: rgba(255, 255, 255, .65); }
.cap[aria-pressed="true"] { background: #fff; box-shadow: 0 12px 30px rgba(24, 32, 60, .08); }
.cap__num { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--muted-3); padding-top: 5px; }
.cap__title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.cap__desc { grid-column: 2; font-size: 15px; line-height: 1.45; color: #4A4F5A; }
.caps__desc-mobile { display: none; }
.manage__cta { align-self: flex-start; margin-top: 30px; }

.estate { position: relative; padding-top: 6px; }
.estate__backing { position: absolute; top: 34px; left: 28px; right: -14px; bottom: -22px; border-radius: 30px; background: var(--backing); transform: rotate(1.4deg); }
.estate__panel {
  position: relative; min-height: 676px; display: flex; flex-direction: column;
  padding: 28px 32px; border-radius: var(--r-panel); background: #fff;
  box-shadow: 0 30px 70px rgba(28, 36, 64, .10), 0 2px 6px rgba(28, 36, 64, .05);
}
.estate__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line-3); }
.estate__kicker { font-size: 13px; font-weight: 700; color: var(--muted-3); }
.estate__title { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-top: 3px; }
.estate__meta { display: flex; align-items: center; gap: 14px; }
.estate__view { flex: 1; display: flex; flex-direction: column; }
.estate__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border-radius: 16px; background: var(--mist-2);
}
.estate__foot p { font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 600px; }
.estate__foot a { font-size: 15px; font-weight: 700; white-space: nowrap; }
.estate__foot--line { background: none; border-top: 1px solid var(--line-3); border-radius: 0; padding: 18px 0 0; }
.attention { display: flex; align-items: center; gap: 12px; }
.attention span:last-child { font-size: 15px; font-weight: 600; }

/* Tables: grid rows; `display: contents` wrappers let the mobile layout regroup cells. */
.trow { display: grid; align-items: center; gap: 0 16px; border-top: 1px solid var(--line-3); }
.trow--head { border-top: 0; height: 40px; margin-top: 8px; }
.tcell-tool { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; font-weight: 700; }
.tcell { font-size: 14px; color: var(--ink-3); min-width: 0; }
.tcell--strong { font-weight: 600; color: var(--ink); }
.tcell--warn { color: var(--b-warn-fg); font-weight: 600; }
.tcell--amount { text-align: right; font-size: 15px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.tgroup { display: contents; }
.tdetail { display: flex; align-items: center; gap: 14px; }
.tdetail .bar { width: 96px; flex: none; }
.key-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.key-id__name { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.key-id__provider { display: block; font-size: 12px; color: var(--muted); }
.t-spend { grid-template-columns: 240px minmax(0, 1fr) 110px 96px; height: 62px; }
.t-people { grid-template-columns: 240px minmax(0, 1fr) auto; height: 58px; }
.t-people .t-right { display: flex; align-items: center; gap: 10px; }
.t-people .t-action { font-size: 14px; font-weight: 700; min-width: 116px; text-align: right; }
.t-keys { grid-template-columns: 230px 110px minmax(0, 1fr) 110px 70px; height: 64px; }
.t-policy { grid-template-columns: 230px 190px 140px minmax(0, 1fr); height: 64px; }
.person { display: flex; align-items: flex-end; gap: 14px; margin: 20px 0 14px; }
.person .field { flex: 1; }
.person__input-wrap { position: relative; }
.person__input-wrap svg { position: absolute; left: 14px; top: 15px; color: var(--muted-3); }
.person input { width: 100%; height: 48px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--line-input); font-size: 15px; font-weight: 600; background: #fff; }
.person__hint { font-size: 13px; color: var(--muted); max-width: 180px; padding-bottom: 6px; }

.coverage { margin-top: 104px; padding-top: 44px; border-top: 1px solid var(--line-4); display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 44px; }
.coverage__intro { display: flex; flex-direction: column; gap: 12px; }
.coverage__title { font-size: var(--fs-title); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; }
.coverage__intro .muted { font-size: 15px; line-height: 1.55; }
.coverage__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.cov { display: flex; flex-direction: column; gap: 14px; }
.cov .badge { align-self: flex-start; }
.cov p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cov__marks { display: flex; flex-wrap: wrap; gap: 8px; }
.cov__more { height: 36px; display: flex; align-items: center; padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--muted-2); }

@media (max-width: 1099px) {
  .manage__head { grid-template-columns: 1fr; gap: 20px; }
  .manage__body { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .caps { flex-direction: row; width: 100%; min-width: 0; margin: 0; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .caps::-webkit-scrollbar { display: none; }
  .cap { display: inline-flex; width: auto; flex: none; height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-chip); background: #fff; box-shadow: none; }
  .cap:hover { background: #fff; border-color: var(--ink); }
  .cap[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
  .cap__num, .cap__desc { display: none; }
  .cap__title { font-size: 15px; font-weight: 650; }
  .caps__desc-mobile { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
  .manage__cta { order: 3; margin-top: 0; }
  .manage__body { display: flex; flex-direction: column; }
  .manage__side { display: contents; }
  .estate { order: 2; }
  .estate__backing { display: none; }
  .coverage { grid-template-columns: 1fr; margin-top: 72px; }
}
@media (max-width: 719px) {
  .manage__head .section-title { margin-top: 14px; }
  .manage__head .section-lede { font-size: 17px; line-height: 1.55; }
  .caps { width: calc(100% + 2 * var(--gutter)); min-width: 0; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .cap { padding: 0 16px; }
  .estate__panel { min-height: 706px; padding: 20px 18px; border-radius: 24px; box-shadow: 0 20px 50px rgba(28, 36, 64, .10); }
  .estate__top { padding-bottom: 14px; }
  .estate__kicker { font-size: 12px; }
  .estate__title { font-size: 19px; }
  .estate__meta .stack-marks { display: none; }
  .manage__cta { width: 100%; }
  .trow--head { display: none; }
  .trow { gap: 6px 10px; height: auto; padding: 12px 0; }
  .tcell-tool { gap: 10px; }
  .t-spend { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tool amount" "detail source"; }
  .t-spend .tcell-tool { grid-area: tool; }
  .t-spend .tcell--amount { grid-area: amount; }
  .t-spend .tdetail { grid-area: detail; padding-left: 40px; font-size: 13px; }
  .t-spend .tdetail .bar { display: none; }
  .t-spend .t-source { grid-area: source; justify-self: end; }
  .t-people { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tool action" "detail detail"; }
  .t-people .tcell-tool { grid-area: tool; }
  .t-people .t-right { grid-area: action; }
  .t-people .t-right .badge { display: none; }
  .t-people .t-action { min-width: 0; font-size: 13px; }
  .t-people .t-detail { grid-area: detail; padding-left: 40px; font-size: 13px; }
  .t-keys { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "key flag" "meta meta"; padding: 14px 0; }
  .t-keys .key-id { grid-area: key; }
  .t-keys .t-flag { grid-area: flag; }
  .t-keys .tgroup { grid-area: meta; display: block; padding-left: 40px; font-size: 13px; color: var(--ink-3); }
  .t-keys .tgroup > span { display: inline; font-size: 13px; }
  .t-keys .tgroup > span + span::before { content: ' · '; color: var(--muted); font-weight: 400; }
  .t-policy { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "area area status" "owner review review"; column-gap: 0; padding: 14px 0; }
  .t-policy .t-area { grid-area: area; }
  .t-policy .t-status { grid-area: status; }
  .t-policy .t-owner { grid-area: owner; display: block; }
  .t-policy .t-review { grid-area: review; display: block; }
  .t-policy .tgroup .tcell { font-size: 13px; }
  .t-policy .t-review::before { content: ' · '; white-space: pre; font-size: 13px; color: var(--muted); }
  .person { flex-direction: column; align-items: stretch; margin: 14px 0 8px; gap: 6px; }
  .person__hint { max-width: none; padding: 0; }
  .estate__foot { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .estate__foot p { font-size: 13px; }
  .attention { flex-direction: column; align-items: flex-start; gap: 8px; }
  .attention span:last-child { font-size: 14px; }
  .estate__foot--line { padding: 14px 0 0; align-items: stretch; }
  .estate__foot--line .pill { width: 100%; }
  .coverage { margin-top: 56px; padding-top: 32px; gap: 28px; }
  .coverage__groups { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   Compare
   ========================================================= */
.compare__meta { display: flex; align-items: center; gap: 14px; padding-bottom: 8px; }
.compare__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 44px; border-bottom: 1px solid var(--line); }
.chip-row--tools { flex-wrap: nowrap; gap: 8px; padding-bottom: 12px; }
.compare__view { margin-top: 36px; }
.compare__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }

.value__axis, .vrow { display: grid; grid-template-columns: 32px 230px minmax(0, 1fr) 150px; gap: 0 18px; }
.value__axis { align-items: end; height: 36px; }
.value__ticks { position: relative; height: 20px; }
.tick { position: absolute; font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.tick--0 { left: 0; transform: translateX(-10%); }
.tick--1 { left: 33.33%; transform: translateX(-50%); }
.tick--2 { left: 66.67%; transform: translateX(-50%); }
.tick--3 { left: 100%; transform: translateX(-90%); }
.value__rows { min-height: 516px; margin-top: 10px; }
.vrow { align-items: center; height: 84px; border-top: 1px solid var(--line-2); }
.vrow__rank { font-size: 15px; font-weight: 700; color: var(--muted-3); font-variant-numeric: tabular-nums; }
.vrow__name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vrow__title { display: block; font-size: 16px; font-weight: 800; }
.vrow__plan { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.vrow__value { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.vrow__eff { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vrow__cmp { font-size: 13px; color: var(--muted); white-space: nowrap; }
.track { position: relative; height: 40px; }
.track__grid { position: absolute; top: -22px; bottom: -22px; width: 1px; background: #F0F1F4; }
.track__conn { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: #C5CBD8; transition: left .5s var(--ease), width .5s var(--ease); }
.track__api { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.track__plan { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 5px var(--cobalt-halo); transition: left .5s var(--ease); }
.value__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pager { display: flex; gap: 10px; }
.value__empty { height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid var(--line-2); text-align: center; }
.value__empty p { font-size: 17px; font-weight: 700; }

.refine { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 26px; background: var(--mist); }
.refine__big { font-size: 17px; line-height: 1.55; }
.refine__rule { padding-top: 16px; border-top: 1px solid var(--line-4); }
.refine__method { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line-4); }
.legend { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-4); }
.legend__item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.legend__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-halo); }
.legend__ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }

.task__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 36px; padding-bottom: 14px; }
.task__title { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.task__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.trank { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr) 90px; gap: 0 14px; align-items: center; height: 84px; border-top: 1px solid var(--line-2); }
.trank__rank { font-size: 15px; font-weight: 700; color: var(--muted-3); }
.trank__name { display: block; font-size: 16px; font-weight: 800; }
.trank__why { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.task__empty { padding: 40px 0; font-size: 16px; color: var(--muted-2); }
.task__empty button { font-weight: 700; color: var(--cobalt); padding: 10px 0; }

.ctx__head, .ctx { display: grid; grid-template-columns: 290px minmax(0, 1fr) 80px; gap: 0 20px; }
.ctx__head { height: 36px; align-items: end; }
.ctx { align-items: center; height: 68px; border-top: 1px solid var(--line-2); }
.ctx__name { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; }
.ctx .bar { height: 10px; }
.ctx__val { text-align: right; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }

@media (max-width: 1099px) {
  .compare__bar { flex-direction: column; align-items: stretch; gap: 16px; border-bottom: 0; }
  .compare__bar .tabs { border-bottom: 1px solid var(--line); }
  .chip-row--tools { order: 2; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .compare__grid { grid-template-columns: 1fr; gap: 28px; }
  .compare__grid > .refine { order: -1; }
  #view-tasks .compare__grid > .refine, #view-context .compare__grid > .refine { order: 0; }
}
@media (max-width: 719px) {
  .compare__meta { justify-content: space-between; padding: 0; }
  .compare__bar { margin-top: 12px; }
  .chip-row--tools { margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .compare__view { margin-top: 18px; }
  .refine { padding: 20px; border-radius: 22px; gap: 16px; }
  .legend { flex-direction: row; gap: 18px; padding-top: 12px; }
  .legend__long { display: none; }
  .legend__item { font-size: 13px; }
  .refine__method { display: none; }
  .value__axis { grid-template-columns: 1fr; height: 18px; margin: 20px 6px 4px; }
  .value__axis > :not(.value__ticks) { display: none; }
  .tick { font-size: 11px; }
  .tick--0 { transform: none; } .tick--3 { transform: translateX(-100%); }
  .value__rows { min-height: 660px; margin-top: 0; }
  .vrow { grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: "rank name value" "track track track"; gap: 10px; height: 110px; align-content: center; }
  .vrow__rank { grid-area: rank; font-size: 14px; }
  .vrow__name { grid-area: name; gap: 10px; }
  .vrow__title { font-size: 15px; }
  .vrow__plan { font-size: 12px; }
  .vrow__value { grid-area: value; }
  .vrow__eff { font-size: 17px; }
  .vrow__cmp { font-size: 11px; }
  .vrow .track { grid-area: track; height: 28px; margin: 0 6px; }
  .track__grid { top: -4px; bottom: -4px; }
  .value__foot { padding-top: 14px; }
  .task__head { margin-top: 26px; padding-bottom: 10px; }
  .task__title { font-size: 22px; }
  .task__list { grid-template-columns: 1fr; }
  .trank { grid-template-columns: 22px 36px minmax(0, 1fr) 56px; gap: 0 12px; height: 76px; }
  .trank__name { font-size: 15px; }
  .trank__why { font-size: 12px; }
  .ctx__head { display: none; }
  .ctx { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name val" "bar bar"; height: auto; gap: 10px; padding: 14px 0; }
  .ctx__name { grid-area: name; font-size: 15px; }
  .ctx__name .mark { width: 30px; height: 30px; }
  .ctx .bar { grid-area: bar; }
  .ctx__val { grid-area: val; font-size: 15px; }
}

/* =========================================================
   Security
   ========================================================= */
.security { padding: 24px 40px 40px; }
.security__panel { position: relative; overflow: hidden; max-width: 1360px; margin: 0 auto; border-radius: 40px; background: var(--night); color: #fff; padding: 104px 88px 88px; }
.security__glow { position: absolute; inset: 0; background: radial-gradient(48% 60% at 88% 8%, rgba(43, 85, 230, .34) 0%, rgba(43, 85, 230, 0) 70%), radial-gradient(42% 55% at 6% 100%, rgba(122, 92, 220, .22) 0%, rgba(122, 92, 220, 0) 70%); }
.security__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 64px; align-items: start; }
.security__copy { display: flex; flex-direction: column; align-items: flex-start; }
.security__title { margin-top: 20px; font-size: 70px; white-space: nowrap; line-height: .98; font-weight: 900; letter-spacing: -0.045em; }
.security__lede { margin-top: 26px; max-width: 470px; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.security__toggle { margin-top: 36px; }
.security__toggle .chevron { transition: transform .3s ease; }
.security__toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.findings { display: flex; flex-direction: column; gap: 14px; }
.findings__head { display: flex; align-items: center; justify-content: space-between; }
.findings__list { display: flex; flex-direction: column; gap: 14px; }
.findings__reset { display: flex; justify-content: flex-end; min-height: 44px; align-items: center; }
.finding { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px; padding: 20px 22px; }
.finding__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.finding__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.finding__kind { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lavender); }
.finding__title { display: block; margin-top: 2px; font-size: 18px; font-weight: 800; }
.finding__status { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.finding__detail { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .76); }
.finding__foot { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.finding__foot .finding__status { display: none; }
.steps { display: flex; gap: 6px; flex: 1; }
.steps span { height: 4px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, .16); transition: background-color .4s; }
.steps span.is-on { background: var(--step-on); }
.act { height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.act:hover { background: #DCE4FF; }
.act:disabled { background: rgba(255, 255, 255, .10); color: #C3CEFF; cursor: default; }

.approach { position: relative; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); min-height: 190px; }
.approach__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar .mono-num { color: rgba(255, 255, 255, .62); font-weight: 500; }
.pillar h3 { font-size: 22px; font-weight: 800; }
.pillar p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .74); }
.pillar .badge { align-self: flex-start; }
.pillar__strong { font-size: 16px !important; color: rgba(255, 255, 255, .84) !important; }
.approach__note { margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .66); }

@media (max-width: 1099px) {
  .security { padding: 16px 20px 32px; }
  .security__panel { padding: 72px 48px 56px; border-radius: 32px; }
  .security__grid { grid-template-columns: 1fr; gap: 40px; }
  .security__title { font-size: 60px; white-space: normal; }
}
@media (max-width: 719px) {
  .security { padding: 8px 12px 24px; }
  .security__panel { padding: 60px 20px 40px; border-radius: 30px; }
  .security__glow { background: radial-gradient(90% 30% at 90% 0%, rgba(43, 85, 230, .36) 0%, rgba(43, 85, 230, 0) 70%), radial-gradient(80% 25% at 0% 100%, rgba(122, 92, 220, .24) 0%, rgba(122, 92, 220, 0) 70%); }
  .security__grid { display: flex; flex-direction: column; gap: 0; }
  .security__copy { display: contents; }
  .security__copy .eyebrow { order: 1; }
  .security__title { order: 2; margin-top: 16px; font-size: 46px; letter-spacing: -0.05em; }
  .security__lede { order: 3; margin-top: 18px; font-size: 17px; }
  .findings { order: 4; margin-top: 34px; gap: 12px; }
  .security__toggle { order: 5; margin-top: 8px; width: 100%; }
  .finding { padding: 18px; border-radius: 18px; }
  .finding__head > .finding__status { display: none; }
  .finding__kind { font-size: 11px; }
  .finding__title { font-size: 16px; }
  .finding__detail { font-size: 14px; }
  .finding__foot { flex-wrap: wrap; gap: 12px 10px; margin-top: 14px; }
  .steps { flex: 1 0 100%; gap: 5px; }
  .finding__foot .finding__status { display: block; flex: 1; }
  .approach { margin-top: 30px; padding-top: 28px; min-height: 0; }
  .approach__grid { grid-template-columns: 1fr; gap: 26px; }
  .pillar { gap: 6px; }
  .pillar h3 { font-size: 20px; }
}

/* =========================================================
   CTA & footer
   ========================================================= */
.cta { padding: 128px var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta__title { margin-top: 20px; font-size: 76px; line-height: .98; font-weight: 900; letter-spacing: -0.045em; }
.cta .section-lede { margin-top: 26px; font-size: 20px; }
.cta__actions { display: flex; gap: 14px; margin-top: 38px; }

.footer { background: var(--mist); padding: 72px 0 48px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.5fr; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand .muted { font-size: 15px; line-height: 1.55; max-width: 280px; }
.footer__nav, .footer__contact, .footer__method { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--ink-2); font-size: 15px; font-weight: 600; }
.footer__nav a:hover { color: var(--cobalt); }
.footer__contact p:not(.th) { font-size: 15px; }
.footer__legal { display: flex; justify-content: space-between; gap: 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-4); }
.footer__legal p { font-size: 13px; line-height: 1.6; color: #4A4F5A; max-width: 900px; }

@media (max-width: 1099px) {
  .cta { padding: 96px var(--gutter); }
  .cta__title { font-size: 60px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .cta { padding: 80px var(--gutter); }
  .cta__title { margin-top: 16px; font-size: 44px; line-height: 1; }
  .cta .section-lede { margin-top: 18px; font-size: 17px; }
  .cta__actions { flex-direction: column; width: 100%; gap: 12px; margin-top: 30px; }
  .footer { padding: 56px 0 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .footer__nav .th { grid-column: 1 / -1; }
  .footer__nav a { padding: 6px 0; font-size: 16px; }
  .footer__legal { flex-direction: column; gap: 10px; margin-top: 36px; padding-top: 20px; }
  .footer__legal p { font-size: 12px; }
}
