/* CLOAK — GPT / Apple inspired monochrome system */

:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface-2: #ededed;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #dedede;
  --line-dark: rgba(255, 255, 255, .16);
  --black: #101010;
  --white: #ffffff;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.intro-lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: #111; color: #fff; }

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

.display {
  margin: 0;
  font-family: var(--font);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.065em;
  text-transform: none;
}

.eyebrow,
.kicker,
.doc-number {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #606060;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 420;
  line-height: 1.55;
}

.section {
  padding: clamp(92px, 10vw, 150px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(48px, 5.8vw, 82px);
}

.section-head p { margin: 0; }

/* Buttons */
.pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.pill.cream,
.btn.sun {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.pill.outline,
.btn.ghost {
  border-color: #c9c9c9;
  background: transparent;
  color: var(--ink);
}

.pill:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px var(--pad);
  color: var(--ink);
  transition: padding .3s ease, background .3s ease, border-color .3s ease;
}

.site-header.scrolled {
  padding-block: 11px;
  border-bottom: 1px solid rgba(17, 17, 17, .09);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(120%) blur(20px);
  -webkit-backdrop-filter: saturate(120%) blur(20px);
}

.site-header > .nav,
.site-header .inner {
  width: min(var(--max), 100%);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -.035em;
}

.brand img,
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
}

.nav-links,
.site-header .inner .nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 560;
}

.nav-links a:not(.pill),
.site-header .inner .nav a {
  position: relative;
  padding: 8px 0;
}

.nav-links a:not(.pill)::after,
.site-header .inner .nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.site-header .inner .nav a:hover::after,
.site-header .inner .nav a.active::after { right: 0; }

.nav-links .pill.cream {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.menu-button,
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn { min-height: 44px; padding-inline: 18px; }
.btn .arrow { margin-left: 7px; }

/* Minimal monochrome opening sequence. */
.opener {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid !important;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: #111;
  opacity: 1;
  visibility: visible;
  transition: opacity .72s cubic-bezier(.22, .8, .24, 1), visibility 0s linear .72s;
}

.opener.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.opener-seen .opener {
  display: none !important;
}

.opener-skip {
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 30px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #666;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
}

.opener-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.opener-mark {
  width: 82px;
  height: 82px;
  margin: 0 0 27px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .13);
  animation: openerMarkIn .72s cubic-bezier(.22, .8, .24, 1) both;
}

.opener-word {
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 720;
  line-height: .9;
  letter-spacing: -.075em;
  animation: openerTextIn .72s .12s cubic-bezier(.22, .8, .24, 1) both;
}

.opener-sub {
  margin-top: 22px;
  color: #777;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .19em;
  animation: openerTextIn .72s .2s cubic-bezier(.22, .8, .24, 1) both;
}

.opener-core::after {
  content: "";
  width: 150px;
  height: 1px;
  margin-top: 34px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left;
  animation: openerProgress 2.15s .18s cubic-bezier(.2, .7, .2, 1) forwards;
}

.opener-orbit,
.veil,
.opener-playfield,
.opener-hint,
.hero-playfield,
.hero-play-hint,
.float-tag,
.path-art,
.cursor-halo { display: none !important; }

@keyframes openerMarkIn {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: none; }
}

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

@keyframes openerProgress {
  to { transform: scaleX(1); }
}

/* Homepage hero */
.hero {
  min-height: 100svh;
  padding: 160px 0 105px;
  display: flex;
  align-items: center;
  background: #fff;
}

.hero-grid {
  width: 100%;
  text-align: center;
}

.hero .eyebrow { justify-content: center; }

.hero h1 {
  max-width: 980px;
  margin: 22px auto 0;
  font-size: clamp(55px, 7.4vw, 108px);
}

.hero .lead {
  max-width: 770px;
  margin: 30px auto 0;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin: 34px 0 0;
}

.hero-stage {
  position: relative;
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  margin: 72px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 36px 95px rgba(0, 0, 0, .12);
}

.hero-screenshot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  border-radius: 16px;
  background: #fff;
  transform: none !important;
}

.hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Direct paths */
.path-section { background: var(--surface); }

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

.path-card {
  min-height: 370px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .08);
}

.path-card h3 {
  margin: 56px 0 15px;
  font-size: clamp(32px, 3vw, 45px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.path-card p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.path-card .pill {
  margin-top: auto;
  align-self: flex-start;
}

.path-card .pill.cream {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

/* Downloads */
.downloads-section { background: #fff; }

.downloads-title {
  margin-bottom: 58px;
  text-align: center;
}

.downloads-title .eyebrow { justify-content: center; }

.downloads-title h2 {
  margin: 15px 0 16px;
  font-size: clamp(48px, 5.8vw, 80px);
  font-weight: 700;
  letter-spacing: -.06em;
}

.downloads-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.release-runtime-status,
.downloads-title .release-runtime-status {
  width: fit-content;
  margin: 16px auto 0;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.release-runtime-status[data-state="success"] { color: var(--ink); }
.release-runtime-status[data-state="error"] { border-style: dashed; }
.docs-release-status { margin: -6px 0 20px; }

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

.system-card {
  position: relative;
  min-height: 330px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 20px 52px rgba(0, 0, 0, .08);
}

.system-card.recommended {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.system-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--surface);
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.recommended .system-icon {
  background: #292929;
  color: #fff;
}

.windows-icon {
  grid-template-columns: repeat(2, 15px);
  grid-template-rows: repeat(2, 15px);
  gap: 3px;
}

.windows-icon i {
  width: 15px;
  height: 15px;
  background: currentColor;
}

.system-card h3 {
  margin: 24px 0 8px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.system-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.recommended p { color: rgba(255, 255, 255, .58); }

.system-button {
  margin-top: auto;
  padding: 11px 16px;
  border: 1px solid #c9c9c9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
}

.recommended .system-button {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.system-recommend {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 9px;
  font-weight: 700;
}

.system-card.recommended .system-recommend { display: block; }

.download-note {
  margin-top: 20px;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.download-note a { color: var(--ink); font-weight: 650; }

/* Product preview */
.section.dark {
  background: var(--black);
  color: #fff;
}

.section.dark .eyebrow { color: rgba(255, 255, 255, .54); }
.section.dark .lead { color: rgba(255, 255, 255, .62); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: center;
}

.showcase-copy h2 {
  margin: 16px 0 25px;
  font-size: clamp(48px, 5.7vw, 78px);
}

.ticks {
  margin: 34px 0;
  display: grid;
}

.tick {
  padding: 15px 0;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.5;
}

.tick:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tick::before { content: "✓"; color: #fff; }

.section.dark .pill.cream {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.screen-frame {
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 22px;
  background: #202020;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
}

.screen-frame img {
  width: 100%;
  border-radius: 14px;
}

.screen-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.screen-tabs button {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  cursor: pointer;
}

.screen-tabs button.active {
  border-color: #fff;
  background: #fff;
  color: #111;
}

/* Admin */
.section.cream { background: var(--surface); }

.admin-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, .68fr);
  gap: 20px;
}

.dashboard-window {
  height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .08);
}

.dashboard-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dashboard-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
}

.mini-card {
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.mini-card h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.04em;
}

.mini-card p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.feature-cloud .feature {
  min-height: 168px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center !important;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: left;
}

.feature-cloud .feature b {
  width: 100%;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-align: left;
}

.feature-cloud .feature span {
  width: 100%;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

/* Personal / team */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel {
  min-height: 520px;
  padding: clamp(46px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 90px;
}

.split-panel.personal { background: var(--surface); }

.split-panel.team {
  background: var(--black);
  color: #fff;
}

.split-panel.team .eyebrow { color: rgba(255, 255, 255, .52); }

.split-panel h2 {
  margin-top: 18px;
  font-size: clamp(50px, 6.2vw, 88px);
}

.split-panel .lead { max-width: 580px; }
.split-panel.team .lead { color: rgba(255, 255, 255, .62); }
.split-panel.team .pill.cream { border-color: #fff; background: #fff; color: #111; }
.orb { display: none !important; }

/* Internal pages */
.page-hero {
  min-height: 650px;
  padding: 180px 0 100px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero h1 {
  max-width: 1050px;
  margin: 20px 0 28px;
  font-size: clamp(62px, 8.6vw, 120px);
}

.page-hero .lead { max-width: 740px; margin: 0; }
.page-hero > .container > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}
.page-hero-art { display: none; }
.section.soft { background: var(--surface); }

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

.value {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.value .n {
  color: #777777;
  font-size: 13px;
  font-weight: 700;
}

.value h3 {
  margin: 78px 0 15px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.04em;
}

.value p { margin: 0; color: var(--muted); line-height: 1.65; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.qr-card,
.contact-form {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qr-card img {
  width: min(270px, 80%);
  margin: 0 auto;
}

.qr-card h2 { font-family: var(--font) !important; font-weight: 680; letter-spacing: -.05em; }
.qr-card p { color: var(--muted); }

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #cecece;
  border-radius: 13px;
  outline: none;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, .06);
}

.contact-form .pill.cream {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.contact-form small { color: var(--muted); line-height: 1.5; }

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 24px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Pricing */
body.pricing-v2 { background: #fff; color: #111; }

.pricing-hero {
  min-height: 720px;
  padding: 180px 0 100px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #111;
}

.pricing-hero-glow { display: none; }

.pricing-hero h1 {
  max-width: 1050px;
  margin: 20px 0 28px;
  font-size: clamp(62px, 8.4vw, 116px);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.07em;
}

.pricing-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

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

.pricing-hero .pill.cream {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.pricing-stage {
  padding: 120px 0 140px;
  background: var(--surface);
  color: #111;
}

.pricing-heading { text-align: center; }
.pricing-heading .eyebrow { justify-content: center; }

.pricing-heading h2 {
  margin: 15px 0;
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -.06em;
}

.pricing-heading p { margin: 0 auto; max-width: 700px; color: var(--muted); line-height: 1.6; }

.plan-tabs {
  width: max-content;
  max-width: 100%;
  margin: 34px auto;
  padding: 5px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.plan-tabs span,
.plan-tabs a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.plan-tabs .active { background: #111; color: #fff; }

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

.price-card {
  position: relative;
  min-height: 590px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #111;
}

.price-card.featured {
  border-color: #111;
  background: #111;
  color: #fff;
}

.plan-label {
  color: #737373;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.featured .plan-label { color: rgba(255, 255, 255, .48); }

.price-card h3 {
  margin: 18px 0 12px;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.04em;
}

.price-card .price {
  margin: 0 0 20px;
  font-size: clamp(31px, 3vw, 41px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.price-card .price small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 480;
  line-height: 1.45;
  letter-spacing: 0;
}

.featured .price small { color: rgba(255, 255, 255, .5); }

.price-card > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-card.featured > p { color: rgba(255, 255, 255, .58); }

.price-card ul {
  margin: 0 0 30px;
  padding: 20px 0 0;
  display: grid;
  gap: 13px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.featured ul { border-top-color: rgba(255, 255, 255, .16); }

.price-card li {
  display: flex;
  gap: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.price-card li::before { content: "✓"; font-weight: 700; }
.price-card .pill { margin-top: auto; }

.price-card.featured .pill {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.plan-badge {
  position: absolute;
  top: 17px;
  right: 17px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 9px;
  font-weight: 700;
}

.pricing-detail { background: #fff; }

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

.pricing-cap-grid > div {
  min-height: 200px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.pricing-cap-grid b { width: 100%; font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
.pricing-cap-grid span { width: 100%; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Documentation */
.brand-word { font-weight: 700; }
.docs-page-hero {
  min-height: 760px;
  padding: 150px 0 88px;
  align-items: center;
}

.docs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.docs-hero-copy h1 {
  margin: 20px 0 28px;
  font-size: clamp(62px, 7.8vw, 110px);
}

.docs-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.6;
}

.docs-ai-download {
  padding: 32px;
  border: 1px solid #dedede;
  border-radius: 24px;
  background: #f7f7f7;
  color: #111;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .08);
}

.docs-ai-label {
  color: #737373;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.docs-ai-download h2 {
  margin: 18px 0 15px;
  font-size: clamp(31px, 3.2vw, 44px);
  font-weight: 670;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.docs-ai-download > p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

.docs-ai-files {
  margin-top: 25px;
  display: grid;
  gap: 9px;
}

.docs-ai-file {
  min-height: 70px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #d8d8d8;
  border-radius: 15px;
  background: #fff;
  color: #111;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.docs-ai-file.primary {
  border-color: #111;
  background: #111;
  color: #fff;
}

.docs-ai-file:hover {
  transform: translateY(-2px);
  border-color: #bdbdbd;
  background: #f0f0f0;
}

.docs-ai-file.primary:hover { border-color: #292929; background: #292929; }
.docs-ai-file span { display: grid; gap: 4px; }
.docs-ai-file strong { font-size: 14px; font-weight: 650; }
.docs-ai-file small { color: #777; font-size: 10px; }
.docs-ai-file.primary small { color: rgba(255, 255, 255, .55); }
.docs-ai-file > b { font-size: 22px; font-weight: 450; }

.docs-ai-steps {
  margin-top: 22px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid #d8d8d8;
}

.docs-ai-steps span {
  display: grid;
  gap: 4px;
  color: #737373;
  font-size: 10px;
}

.docs-ai-steps b {
  color: #111;
  font-size: 9px;
  letter-spacing: .08em;
}

.docs-shell {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: auto;
  padding: 80px 0 130px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 98px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.docs-sidebar input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: #fff;
}

.docs-sidebar input:focus { border-color: #111; }

.docs-nav {
  margin-top: 16px;
  display: grid;
  gap: 3px;
}

.docs-nav a {
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 540;
}

.docs-nav a:hover,
.docs-nav a.active { background: var(--surface); color: #111; }

.docs-main { min-width: 0; }

.docs-banner {
  margin-bottom: 54px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 20px;
  background: #111;
  color: #fff;
}

.docs-banner strong { display: block; margin-bottom: 8px; font-size: 19px; }
.docs-banner p { margin: 0; color: rgba(255, 255, 255, .62); line-height: 1.65; }
.docs-banner .mini-qr { width: 94px; padding: 7px; border-radius: 12px; background: #fff; }

.doc-section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.doc-section:first-of-type { padding-top: 0; }
.doc-number { color: #737373; }

.doc-section h2 {
  margin: 13px 0 28px;
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 680;
  line-height: 1.05;
  letter-spacing: -.055em;
}

.doc-section h3 { margin: 34px 0 13px; font-size: 24px; letter-spacing: -.025em; }
.doc-section h4 { margin: 26px 0 9px; font-size: 18px; }

.doc-section p,
.doc-section li {
  color: #414141;
  font-size: 16px;
  line-height: 1.78;
}

.doc-section ul,
.doc-section ol { padding-left: 22px; }
.doc-section li { margin: 6px 0; }
.doc-section a { font-weight: 620; text-decoration: underline; text-underline-offset: 3px; }

.doc-callout {
  margin: 24px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.doc-callout.dark { border-color: #111; background: #111; color: #fff; }
.doc-callout.dark h3 { color: #fff; }
.doc-callout.dark p { color: rgba(255, 255, 255, .65); }

.doc-grid {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.doc-card,
.capability {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.doc-card h4 { margin-top: 0; }

.doc-table-wrap {
  margin: 24px 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.doc-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.doc-table th,
.doc-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.doc-table th { background: var(--surface); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.doc-table tr:last-child td { border-bottom: 0; }

.doc-table [data-release-url] { overflow-wrap: anywhere; }

.doc-media {
  margin: 26px 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .06);
}

.doc-media img { width: 100%; border-radius: 11px; }
.doc-media figcaption { padding: 11px 6px 3px; color: var(--muted); font-size: 11px; text-align: center; }

.doc-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.capability-list {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.capability { display: flex; gap: 13px; }
.capability .emoji { font-size: 22px; }
.capability strong { display: block; margin-bottom: 5px; }
.capability p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.version { margin: 26px 0; padding-left: 18px; border-left: 2px solid #111; }
.version h3 { margin-top: 0; }
.faq-group { margin-top: 34px; }
.faq-group > h3 { font-size: 17px; }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 620;
  cursor: pointer;
}

.faq-q span:last-child { font-size: 22px; transition: transform .25s ease; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 20px; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }

.search-empty {
  display: none;
  padding: 42px;
  border: 1px dashed #bdbdbd;
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.footer,
.site-footer {
  padding: 80px var(--pad) 28px;
  overflow: hidden;
  background: #0c0c0c;
  color: #fff;
}

.footer-grid,
.site-footer > .container { width: min(var(--max), 100%); margin: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr .65fr;
  gap: 60px;
}

.footer .eyebrow,
.site-footer .kicker { color: rgba(255, 255, 255, .48); }

.footer h2 {
  margin: 18px 0 28px;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 580;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.footer .pill.cream,
.site-footer .btn.sun { border-color: #fff; background: #fff; color: #111; }

.footer-links {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links small,
.footer-links h4 {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links a { color: rgba(255, 255, 255, .72); font-size: 13px; }
.footer-links a:hover { color: #fff; }

.footer-word {
  margin-top: 78px;
  color: #fff;
  font-size: clamp(100px, 22vw, 310px);
  font-weight: 700;
  line-height: .75;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 58px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .4);
  font-size: 10px;
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
}

.site-footer .newsletter h3 { margin: 16px 0 10px; font-size: 25px; }
.site-footer .newsletter p { max-width: 460px; color: rgba(255, 255, 255, .58); line-height: 1.6; }
.site-footer .newsletter-form { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.site-footer .btn.ghost { border-color: rgba(255, 255, 255, .35) !important; color: #fff !important; }
.site-footer .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer .footer-links a { display: block; margin-bottom: 10px; }

/* Restrained reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible,
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-button { display: block; }

  .nav-links.open {
    position: absolute;
    top: 70px;
    right: var(--pad);
    left: var(--pad);
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .12);
  }

  .nav-links.open a { padding: 11px 8px; }
  .nav-links.open .pill { margin-top: 7px; }

  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 320px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .admin-wall { grid-template-columns: 1fr; }
  .dashboard-window { height: 560px; }
  .dashboard-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .feature-cloud { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  .site-header .inner .nav { display: none; }
  .mobile-toggle { display: block; }
  .site-header .inner .nav.open {
    position: absolute;
    top: 70px;
    right: var(--pad);
    left: var(--pad);
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .12);
  }

  .docs-shell { grid-template-columns: 1fr; gap: 42px; }
  .docs-page-hero { min-height: auto; padding: 140px 0 90px; }
  .docs-hero-grid { grid-template-columns: 1fr; }
  .docs-ai-download { max-width: 680px; }
  .docs-sidebar { position: relative; top: auto; max-height: none; }
  .docs-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }

  .site-header { padding: 11px var(--pad); }
  .header-actions > .btn.ghost { display: none; }
  .header-actions > .btn.black { min-height: 42px; padding-inline: 14px; }

  .hero { min-height: auto; padding: 132px 0 78px; }
  .hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .hero .lead { font-size: 17px; }
  .hero-stage { margin-top: 52px; padding: 7px; border-radius: 17px; }
  .hero-screenshot { border-radius: 11px; }

  .section { padding: 88px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-head h2 { font-size: 50px; }

  .path-card { min-height: 290px; padding: 26px; }
  .path-card h3 { margin-top: 42px; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 300px; }
  .download-note { flex-direction: column; }
  .showcase { gap: 45px; }
  .dashboard-window { height: 420px; }
  .dashboard-side { grid-template-columns: 1fr; }
  .feature-cloud { grid-template-columns: 1fr; }
  .feature { min-height: 155px; }
  .split-cta { grid-template-columns: 1fr; }
  .split-panel { min-height: 430px; gap: 70px; }
  .split-panel h2 { font-size: 58px; }

  .page-hero,
  .pricing-hero { min-height: 570px; padding: 145px 0 75px; }
  .page-hero h1,
  .pricing-hero h1 { font-size: clamp(55px, 16vw, 82px); }

  .about-values,
  .contact-layout,
  .pricing-grid,
  .pricing-cap-grid,
  .doc-grid,
  .doc-media-grid,
  .capability-list { grid-template-columns: 1fr; }

  .value { min-height: 255px; }
  .qr-card,
  .contact-form { padding: 24px; }
  .price-card { min-height: 520px; }

  .docs-shell { padding-top: 40px; }
  .docs-page-hero { padding: 125px 0 70px; }
  .docs-hero-copy h1 { font-size: clamp(55px, 16vw, 82px); }
  .docs-ai-download { padding: 24px; border-radius: 19px; }
  .docs-ai-download h2 { font-size: 34px; }
  .docs-nav { grid-template-columns: 1fr 1fr; }
  .docs-banner { grid-template-columns: 1fr; }
  .doc-section h2 { font-size: 43px; }

  .footer-grid,
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 42px; }
  .footer-grid > div:first-child { margin-bottom: 15px; }
  .footer-word { margin-top: 64px; font-size: 31vw; }
  .footer-bottom { flex-direction: column; }
  .site-footer .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
