:root {
  --ink: #111321;
  --ink-soft: #252a43;
  --violet: #6b4eff;
  --violet-dark: #4a2ed1;
  --lavender: #f1efff;
  --lavender-strong: #c1b4ff;
  --blue: #77a5ff;
  --paper: #f8f8fb;
  --line: rgba(17, 19, 33, 0.12);
  --muted: #676c7e;
  --shadow: 0 20px 70px rgba(27, 22, 76, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow { color: var(--violet); font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.variant-one .eyebrow { font-size: 17px; letter-spacing: .045em; }
.muted { color: var(--muted); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 27px 0; font-size: 14px; }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 13px; height: 13px; border-radius: 50% 50% 50% 2px; background: var(--violet); transform: rotate(-45deg); }
.nav-links { display: flex; gap: 24px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--violet-dark); font-weight: 800; }
.hero { padding: 66px 0 90px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 50px; }
.hero h1 { max-width: 700px; margin: 20px 0 24px; font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.075em; }
.hero-copy { max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(17, 19, 33, .12); }
.button.primary { color: white; background: var(--ink); border-color: var(--ink); }
.button.secondary { background: transparent; }
.hero-image { position: relative; overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); background: var(--ink); }
.hero-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.image-tag { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(17, 19, 33, .72); color: white; font-family: "DM Mono", monospace; font-size: 11px; backdrop-filter: blur(12px); }
.variant-one .hero-image { background: linear-gradient(145deg, #d8ccff 0%, #a98cf4 100%); box-shadow: 0 24px 70px rgba(107, 78, 255, .2); }
.variant-one .hero-image img { aspect-ratio: 1 / 1; object-position: center 33%; mix-blend-mode: normal; }
.variant-one .hero-image:after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 70px rgba(107, 78, 255, .16); }
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section h2 { max-width: 640px; margin: 12px 0 0; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.06em; }
.section-intro { max-width: 420px; color: var(--muted); line-height: 1.7; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.service-number { color: var(--violet); font-family: "DM Mono", monospace; }
.service h3 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.service p { display: none; max-width: 680px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.service.open p { display: block; }
.service-toggle { color: var(--violet); font-size: 22px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; transition: transform .2s ease, border-color .2s ease; }
.proof:hover { transform: translateY(-6px); border-color: var(--lavender-strong); }
.proof h3 { margin: 14px 0 9px; font-size: 24px; letter-spacing: -.05em; }
.proof p { margin: 0; color: var(--muted); line-height: 1.6; }
.proof-link { margin-top: 26px; color: var(--violet-dark); font-size: 14px; font-weight: 800; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: stretch; }
.step { padding: 22px; border-radius: 20px; background: var(--lavender); }
.process-step { position: relative; }
.process-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -25px; z-index: 2; color: var(--violet); font-size: 25px; font-weight: 700; transform: translateY(-50%); }
.step strong { display: block; margin: 28px 0 9px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact { padding: 94px 0 150px; }
.contact-card { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 44px; border-radius: 32px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.contact-card:after { content: ""; position: absolute; width: 300px; height: 300px; right: 10%; top: -160px; border-radius: 50%; background: var(--violet); filter: blur(12px); opacity: .72; }
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { max-width: 620px; margin: 14px 0 0; font-size: clamp(32px, 5vw, 62px); line-height: 1; letter-spacing: -.07em; }
.contact-card .button { border-color: white; background: white; color: var(--ink); white-space: nowrap; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 120px; color: var(--muted); font-size: 13px; }

/* Variant 2 - the same content, but a more kinetic systems-first hierarchy. */
.variant-two { background: var(--ink); color: white; }
.variant-two .nav { color: white; }
.variant-two .nav-links, .variant-two .muted { color: rgba(255,255,255,.62); }
.variant-two .nav-cta { color: var(--lavender-strong); }
.variant-two .hero { padding-top: 48px; }
.variant-two .hero-grid { grid-template-columns: 1fr; gap: 34px; }
.variant-two .hero h1 { max-width: 880px; font-size: clamp(50px, 8vw, 112px); }
.variant-two .hero-copy { max-width: 610px; }
.variant-two .hero-image { max-width: 960px; margin-left: auto; }
.variant-two .section { border-top-color: rgba(255,255,255,.16); }
.variant-two .section h2 { max-width: 760px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.flow-node { min-height: 185px; position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 20px; background: rgba(255,255,255,.05); transition: background .25s ease, border-color .25s ease, transform .25s ease; cursor: pointer; }
.flow-node:after { content: "→"; position: absolute; right: -17px; top: 50%; color: var(--lavender-strong); font-size: 20px; }
.flow-node:last-child:after { display: none; }
.flow-node.active, .flow-node:hover { transform: translateY(-7px); border-color: var(--lavender-strong); background: rgba(107, 78, 255, .33); }
.flow-index { color: var(--lavender-strong); font-family: "DM Mono", monospace; font-size: 12px; }
.flow-node h3 { margin: 36px 0 8px; font-size: 19px; letter-spacing: -.04em; }
.flow-node p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.5; }
.flow-detail { min-height: 92px; margin-top: 18px; padding: 18px 20px; border-left: 2px solid var(--violet); color: rgba(255,255,255,.72); line-height: 1.7; }
.variant-two .proof { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.variant-two .proof:hover { border-color: var(--lavender-strong); }
.variant-two .proof h3, .variant-two .proof-link { color: white; }
.variant-two .proof p { color: rgba(255,255,255,.62); }
.variant-two .step { background: rgba(255,255,255,.07); }
.variant-two .step p { color: rgba(255,255,255,.62); }
.variant-two .contact-card { background: var(--violet); }
.variant-two .contact-card:after { background: var(--lavender-strong); opacity: .45; }

.prototype-switcher { position: fixed; z-index: 10; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(17,19,33,.9); color: white; box-shadow: 0 12px 35px rgba(0,0,0,.18); backdrop-filter: blur(14px); font-size: 12px; white-space: nowrap; }
.prototype-switcher a { padding: 9px 12px; border-radius: 999px; color: rgba(255,255,255,.65); }
.prototype-switcher a.active { background: var(--violet); color: white; }
.prototype-label { padding: 0 7px; color: var(--lavender-strong); font-family: "DM Mono", monospace; font-size: 10px; }

@media (max-width: 760px) {
  .shell { padding: 0 18px; }
  .nav-links { display: none; }
  .hero { padding: 36px 0 64px; }
  .hero-grid, .variant-two .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1, .variant-two .hero h1 { font-size: clamp(42px, 13vw, 68px); }
  .hero-copy { font-size: 16px; }
  .variant-one .eyebrow { font-size: 14px; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .section-intro { margin-top: 18px; }
  .service { grid-template-columns: 40px 1fr auto; gap: 13px; }
  .proof-grid, .process { grid-template-columns: 1fr; }
  .process { gap: 24px; }
  .process-step:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -25px; left: 50%; transform: translateX(-50%); }
  .flow { grid-template-columns: 1fr; }
  .flow-node { min-height: auto; }
  .flow-node h3 { margin-top: 20px; }
  .flow-node:after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -20px; }
  .contact-card { display: block; padding: 28px; }
  .contact-card .button { margin-top: 28px; }
  .footer { display: block; padding-bottom: 120px; }
  .footer span { display: block; margin-top: 10px; }
  .prototype-switcher { max-width: calc(100% - 20px); overflow-x: auto; }
  .prototype-label { display: none; }
}
