:root {
  color-scheme: light;
  --bg: #ffffff;
  --section: #f8f8f8;
  --text: #0e1318;
  --muted: #5e6267;
  --purple: #8a4fff;
  --purple-hover: #9c57ff;
  --purple-active: #6f3fcc;
  --purple-soft: #f3e8ff;
  --cyan: #00c6ff;
  --border: #e5e5e5;
  --paper: var(--bg);
  --paper-strong: var(--section);
  --ink: var(--text);
  --line: var(--border);
  --line-strong: #cccccc;
  --violet: var(--purple);
  --violet-deep: var(--purple-active);
  --clay: var(--purple-active);
  --mint: var(--purple-hover);
  --blue: var(--cyan);
  --shadow: 0 24px 80px rgb(14 19 24 / 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgb(243 232 255 / 0.72), transparent 28rem),
    radial-gradient(circle at 84% 12%, rgb(0 198 255 / 0.14), transparent 24rem),
    linear-gradient(90deg, rgb(229 229 229 / 0.2) 1px, transparent 1px),
    linear-gradient(180deg, rgb(229 229 229 / 0.2) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 100%, 100% 100%, 18px 18px, 18px 18px;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Avenir Next",
    "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 78%, rgb(156 87 255 / 0.1), transparent 24rem);
  transform: translate3d(0, calc(var(--page-drift, 0px) * 1), 0);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgb(138 79 255 / 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-strong);
  padding: 10px 14px;
  font-weight: 700;
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.promo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 18px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.4;
}

.promo-strip p {
  margin: 0;
}

.promo-strip a {
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 999px;
  padding: 6px 11px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

.promo-strip a:hover {
  border-color: rgb(255 255 255 / 0.68);
  background: rgb(255 255 255 / 0.08);
  transform: translateY(-1px);
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transform: translateZ(0);
  transition:
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 180ms ease-out;
}

.brand:hover {
  transform: translate3d(0, -2px, 0);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 10px 30px rgb(138 79 255 / 0.1);
  color: var(--violet-deep);
  font-weight: 900;
}

.logo-mark {
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  padding: 5px;
}

.logo-mark img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-name,
.brand-note {
  display: block;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
}

.brand-note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-violet {
  color: #8a4fff;
}

.brand-violet-alt {
  color: #9c57ff;
}

.brand-word {
  display: inline-block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  position: relative;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition:
    background 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8a4fff, #9c57ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links a:hover {
  border-color: var(--line);
  background: var(--section);
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(34px, 6vw, 74px) 0 clamp(42px, 6vw, 76px);
}

.hero-copy,
.handoff-panel,
[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.6vw, 5.85rem);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero-lede {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.72;
}

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

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.5), transparent);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform 520ms cubic-bezier(0.19, 1, 0.22, 1);
}

.button:hover::after {
  transform: translateX(420%) skewX(-18deg);
}

.button.primary {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #ffffff;
  box-shadow: 0 18px 42px rgb(138 79 255 / 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--ink);
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.proof-line span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.78);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    border-color 180ms ease-out,
    color 180ms ease-out,
    transform 180ms cubic-bezier(0.19, 1, 0.22, 1);
}

.proof-line span:hover {
  border-color: rgb(138 79 255 / 0.48);
  color: var(--text);
  transform: translateY(-2px);
}

.docushell-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.9);
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px rgb(14 19 24 / 0.05);
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.docushell-lockup:hover {
  border-color: rgb(138 79 255 / 0.42);
  box-shadow: 0 16px 38px rgb(138 79 255 / 0.13);
  transform: translate3d(0, -3px, 0);
}

.docushell-lockup img,
.mini-lockup img {
  display: block;
  border-radius: 10px;
}

.docushell-lockup img {
  width: 48px;
  height: 48px;
}

.mini-lockup img {
  width: 30px;
  height: 30px;
}

.docushell-lockup strong,
.docushell-lockup small {
  display: block;
}

.docushell-lockup small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.handoff-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(243 232 255 / 0.7)),
    var(--paper-strong);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition:
    border-color 220ms ease-out,
    box-shadow 220ms ease-out;
}

.handoff-panel:hover {
  border-color: rgb(138 79 255 / 0.34);
  box-shadow: 0 28px 90px rgb(138 79 255 / 0.13);
}

.handoff-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 47%, rgb(138 79 255 / 0.12) 47% 53%, transparent 53%),
    radial-gradient(circle at 88% 12%, rgb(0 198 255 / 0.18), transparent 30%);
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.32), 0);
}

.handoff-panel > * {
  position: relative;
}

.panel-top,
.handoff-route,
.api-console,
.panel-caption {
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.82);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.mini-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  color: var(--violet-deep);
}

.handoff-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
  border-radius: 14px;
  padding: 18px;
}

.route-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-route strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: clamp(0.9rem, 1.6vw, 1.08rem);
}

.route-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--violet-deep);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
}

.api-console {
  margin-top: 12px;
  border-radius: 14px;
  background: var(--text);
  color: #e6edf3;
  padding: 16px;
}

.console-line {
  display: flex;
  gap: 12px;
  align-items: center;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.7;
}

.console-line span {
  min-width: 42px;
  color: var(--mint);
  font-weight: 950;
}

.panel-caption {
  margin: 12px 0 0;
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  padding: clamp(56px, 8vw, 108px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.52fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading p:not(.section-kicker) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.api-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper-strong);
}

.api-list a {
  display: grid;
  min-height: 142px;
  align-content: space-between;
  gap: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
  text-decoration: none;
  transition:
    background 180ms ease-out,
    color 180ms ease-out,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.api-list a:nth-child(2n) {
  border-right: 0;
}

.api-list a:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.api-list a:hover {
  background: var(--purple-soft);
  transform: translate3d(0, -2px, 0);
}

.api-list span,
.plan-strip span,
.tool-column h3 {
  color: var(--violet-deep);
  font-weight: 900;
}

.api-list strong {
  max-width: 62ch;
  font-size: clamp(1rem, 1.8vw, 1.32rem);
  line-height: 1.36;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-strong);
  overflow: hidden;
}

.trust-grid > div {
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid var(--line);
  transition:
    background-color 180ms ease-out,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.trust-grid > div:hover {
  background: rgb(243 232 255 / 0.38);
  transform: translate3d(0, -2px, 0);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.number {
  display: block;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.trust-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.trust-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.trust-grid a,
.inline-actions a,
.faq-list a {
  color: var(--violet-deep);
  font-weight: 850;
}

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

.tool-column {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.78);
  padding: clamp(20px, 3vw, 30px);
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.tool-column:hover {
  border-color: rgb(138 79 255 / 0.32);
  box-shadow: 0 18px 44px rgb(138 79 255 / 0.08);
  transform: translate3d(0, -2px, 0);
}

.tool-column h3 {
  margin-bottom: 22px;
  font-size: 1.25rem;
}

.tool-column ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-column a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 180ms ease-out;
}

.tool-column a:hover {
  transform: translateY(-2px);
  border-color: rgb(138 79 255 / 0.48);
}

.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.plan-strip div {
  min-height: 150px;
  background: var(--paper-strong);
  padding: 24px;
  transition:
    background-color 180ms ease-out,
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.plan-strip div:hover {
  background: #ffffff;
  transform: translate3d(0, -2px, 0);
}

.plan-strip strong {
  display: block;
  margin-top: 16px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.inline-actions a {
  border-bottom: 2px solid rgb(138 79 255 / 0.34);
  padding-bottom: 3px;
  text-decoration: none;
}

.faq-list {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-strong);
  overflow: hidden;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
  transition: background-color 180ms ease-out;
}

.faq-list details:hover {
  background: rgb(243 232 255 / 0.28);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 880;
}

.faq-list summary::marker {
  color: var(--purple);
}

.faq-list p {
  max-width: 78ch;
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 780;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.js-ready .hero-copy,
.js-ready .handoff-panel,
.js-ready .reveal-block,
.js-ready .reveal-group > * {
  opacity: 0;
  transform: translate3d(0, calc(18px + var(--parallax-y, 0px)), 0);
  transition:
    opacity 560ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    transform 680ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms);
}

.js-ready .hero-copy.is-visible,
.js-ready .handoff-panel.is-visible,
.js-ready .reveal-block.is-visible,
.js-ready .reveal-group > *.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
}

@media (max-width: 960px) {
  .hero,
  .section-heading,
  .tool-columns,
  .plan-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12.5ch;
  }

  .hero {
    min-height: auto;
  }

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

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .promo-strip {
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .handoff-route {
    grid-template-columns: 1fr;
  }

  .handoff-panel {
    display: none;
  }

  .route-arrow {
    width: auto;
    height: auto;
    padding: 8px 12px;
  }

  .api-list,
  .tool-column ul {
    grid-template-columns: 1fr;
  }

  .api-list a,
  .api-list a:nth-child(2n),
  .api-list a:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .api-list a:last-child {
    border-bottom: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 12.5vw, 3.15rem);
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
