/* New Genesis homepage. One dark world: particle hero, studio, swarm build, work cylinder, then services, pricing, process, FAQ and contact. */
:root { color-scheme: dark; --sans: "Geist", "Helvetica Neue", Arial, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace; --gut: max(20px, env(safe-area-inset-left, 0px)); --gutr: max(20px, env(safe-area-inset-right, 0px)); }
body { --night: #0b0e24; --night2: #161a3e; --glow: #ff9fb8; --hot: #fff2f5; --accent: #353aa3; --on: #f3f1fb; --soft: #a9a8cc; --line: rgba(243,241,251,.12); --btn: #fff2f5; --btn-ink: #0b0e24; }
* { box-sizing: border-box; }
html { background: #0b0e24; }
body { margin: 0; background: var(--night); color: var(--on); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background .5s; overflow-x: hidden; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; font-weight: 600; }
p { margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font: 600 14.5px/1 var(--sans); white-space: nowrap; padding: 13px 20px; text-decoration: none; border: 0; cursor: pointer; }
.btn.pri { background: var(--btn); color: var(--btn-ink); }
.btn.gho { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on) 30%, transparent); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gutr); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--soft); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
.top { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 20; background: color-mix(in srgb, var(--night) 70%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ibar { text-align: right; font-size: 12px; padding: 6px var(--gutr) 0 var(--gut); color: var(--soft); }
.ibar a { color: inherit; text-underline-offset: 3px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 8px var(--gutr) 10px var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--on); text-decoration: none; white-space: nowrap; }
.logo svg { width: 22px; height: 22px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--soft); text-decoration: none; font-size: 14px; }
.nav ul a:hover { color: var(--on); }
.nav .btn { padding: 10px 16px; font-size: 14px; }
@media (max-width: 820px) { .nav ul { display: none; } }
@media (max-width: 420px) { .nav .btn { display: none; } }

/* ===== hero: particle disintegration ===== */
.hero { position: relative; height: 240vh; }
.hero .pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .shade { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 38%, transparent 0%, transparent 45%, color-mix(in srgb, var(--night) 70%, transparent) 100%); pointer-events: none; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: max(40px, 6vh); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: end; pointer-events: none; }
.hero-copy > * { pointer-events: auto; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); line-height: .96; letter-spacing: -0.045em; max-width: 12ch; }
.hero-side { display: grid; gap: 18px; justify-items: start; }
.hero-side p { color: var(--soft); font-size: clamp(15px, 1.3vw, 18px); max-width: 42ch; }
.hero-side .row { display: flex; gap: 8px; flex-wrap: wrap; }
.tags { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 96px); left: 0; right: 0; display: flex; justify-content: space-between; pointer-events: none; }
.tags span { display: block; }
.hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; font: 400 11px/1 var(--mono); color: var(--soft); letter-spacing: .08em; opacity: .8; }
@media (max-width: 760px) { .hero-copy { grid-template-columns: 1fr; } .tags { display: none; } .hint { display: none; } }

/* ===== section heads ===== */
.sec { position: relative; padding-block: clamp(80px, 12vw, 150px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1; }
.sec-head p { color: var(--soft); font-size: clamp(15px, 1.3vw, 18px); max-width: 46ch; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ===== studio ===== */
.studio { position: relative; background: #fbfbfc; color: #17181d; border-radius: 14px; overflow: hidden; font-size: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -40px color-mix(in srgb, var(--glow) 45%, transparent); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #e3e4e8; color: #6b6e78; font-size: 12px; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9dadf; display: block; }
.win-bar span { flex: 1; text-align: center; }
.cols { display: grid; grid-template-columns: 0.9fr 1.35fr 0.95fr; min-height: 360px; }
.col { border-right: 1px solid #e3e4e8; padding: 14px; min-width: 0; }
.col:last-child { border-right: 0; background: #f3f3f5; }
.col h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: 500; color: #6b6e78; }
.q { display: grid; grid-template-columns: 16px 1fr; gap: 2px 8px; padding: 8px; border-radius: 6px; }
.q.on { background: #eeeff3; }
.q b { font-weight: 500; font-size: 13px; } .q small { grid-column: 2; color: #6b6e78; font-size: 11.5px; }
.q svg { width: 14px; height: 14px; margin-top: 2px; color: var(--accent); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d4d6dc; border-top-color: var(--accent); margin-top: 3px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.plan-title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 2px; }
.plan-sub { color: #6b6e78; margin-bottom: 12px; font-size: 12.5px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-family: var(--mono); font-size: 12px; }
.steps li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; min-height: 1.5em; }
.steps li::before { content: ""; width: 12px; height: 12px; border: 1.5px solid #c6c8cf; border-radius: 3px; margin-top: 2px; }
.steps li.done::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px #fbfbfc; }
.steps li.typing span::after { content: "\258D"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ship { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; transition: opacity .4s; }
.ship span { padding: 4px 9px; border-radius: 999px; background: #eceef2; color: #6b6e78; }
.ship span.live { background: var(--accent); color: #fff; }
.phone { width: min(100%, 220px); margin: 0 auto; background: #fff; border: 1px solid #e0e1e6; border-radius: 22px; padding: 12px 10px; min-height: 312px; display: flex; flex-direction: column; gap: 7px; }
.phone .who { text-align: center; font-size: 11px; color: #6b6e78; padding-bottom: 6px; border-bottom: 1px solid #f0f0f3; }
.msg { max-width: 86%; padding: 7px 10px; border-radius: 14px; font-size: 12px; line-height: 1.35; transition: opacity .35s, transform .35s; }
.msg.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg.in { align-self: flex-start; background: #ececf0; border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: none; color: #6b6e78; font-size: 11px; font-weight: 600; padding: 2px; }
.msg.hide { opacity: 0; transform: translateY(6px); }
@media (max-width: 860px) { .cols { grid-template-columns: 1.3fr 1fr; } .col.queue { display: none; } }
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } .col.plan { border-right: 0; border-bottom: 1px solid #e3e4e8; } }

/* ===== swarm build ===== */
.sw-frame { border-radius: 14px; overflow: hidden; background: #f6f6f8; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -40px rgba(0,0,0,.8); }
.sw-frame .win-bar { background: #fbfbfc; }
.sw-url { font-family: var(--mono); font-size: 11.5px; }
.sw-box { position: relative; width: 100%; overflow: hidden; }
.sw-canvas { position: absolute; left: 0; top: 0; width: 1100px; height: 700px; transform-origin: 0 0; font-family: var(--sans); color: #1d2327; overflow: hidden; background: #ffffff; }
.sw-el { position: absolute; }
.sw-rect { border-radius: var(--r, 0); transition: background-color .35s, box-shadow .35s; }
.sw-rect.drawing { background: rgba(120,130,150,.12); box-shadow: inset 0 0 0 1.5px #3b82f6; }
.sw-badge { position: absolute; transform: translate(-50%, 6px); background: #3b82f6; color: #fff; font: 600 11px/1 var(--mono); padding: 4px 6px; border-radius: 4px; white-space: nowrap; z-index: 6; }
.sw-text { white-space: pre-wrap; line-height: 1.12; }
.sw-text.box { box-shadow: inset 0 0 0 1px #3b82f6; }
.sw-caret::after { content: ""; display: inline-block; width: 1.5px; height: .95em; background: #3b82f6; vertical-align: -0.1em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.sw-img { overflow: hidden; }
.sw-img .fill { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); }
.sw-line { height: 1.5px; background: #3b82f6; transform-origin: 0 50%; }
.sw-anchor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; box-shadow: inset 0 0 0 1.5px #3b82f6; }
.sw-guide { background: #ef4444; opacity: .85; }
.sw-ruler { position: absolute; background: #23262e; z-index: 8; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sw-ruler.h { left: 0; top: 0; width: 1100px; height: 18px; transform: translateY(-18px); background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 1px, transparent 1px 100px); background-size: auto 5px, auto 10px; background-repeat: repeat-x; background-position: 0 100%, 0 100%; }
.sw-ruler.v { left: 0; top: 0; width: 18px; height: 700px; transform: translateX(-18px); background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.35) 0 1px, transparent 1px 10px), repeating-linear-gradient(180deg, rgba(255,255,255,.6) 0 1px, transparent 1px 100px); background-size: 5px auto, 10px auto; background-repeat: repeat-y; background-position: 100% 0, 100% 0; }
.sw-ruler.on { transform: none; }
.sw-measure { position: absolute; height: 1px; background: #ef4444; z-index: 6; }
.sw-measure b { position: absolute; left: 50%; top: -9px; transform: translate(-50%, -100%); background: #ef4444; color: #fff; font: 600 10.5px/1 var(--mono); padding: 3px 5px; border-radius: 3px; }
.sw-sel { box-shadow: 0 0 0 1.5px #3b82f6; }
.cur { position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; will-change: transform; transition: opacity .4s; }
.cur .ci { transform: scale(var(--inv, 1)); transform-origin: 0 0; }
.cur svg { display: block; width: 22px; height: 22px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.35)); }
.cur .tool { position: absolute; left: 0; top: 0; }
.cur .name { position: absolute; left: 16px; top: 18px; font: 600 11px/1 var(--sans); color: #fff; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.sw-done { position: absolute; right: 26px; top: 88px; transform: translateY(-10px); opacity: 0; background: #111318; color: #fff; padding: 10px 16px; border-radius: 999px; font: 600 13px/1 var(--sans); z-index: 12; transition: opacity .5s, transform .5s; display: flex; gap: 8px; align-items: center; }
.sw-done.on { opacity: 1; transform: none; }
.sw-done i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.sw-ctrl { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.sw-ctrl button { background: transparent; color: var(--on); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font: 500 13.5px/1 var(--sans); cursor: pointer; }
.sw-ctrl button:hover { border-color: var(--soft); }

/* ===== cylinder ===== */
.work { overflow: hidden; }
.cyl-wrap { position: relative; height: var(--cyl-h, 560px); perspective: var(--persp, 1300px); perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cyl-wrap.drag { cursor: grabbing; }
.cyl { position: absolute; left: 50%; top: 40px; width: 0; height: 0; transform-style: preserve-3d; }
.slice { position: absolute; top: 0; backface-visibility: hidden; background-repeat: no-repeat; border-radius: 0; }
.slice.first { border-top-left-radius: 10px; border-bottom-left-radius: 10px; }
.slice.last { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
.cap { position: absolute; top: 0; backface-visibility: hidden; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cap b { font-weight: 600; display: block; }
.cap span { color: var(--soft); font-size: 13px; }
.cap em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--soft); white-space: nowrap; }
.work-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ===== close ===== */
.close { padding-block: clamp(90px, 12vw, 160px) 40px; }
.close-box { display: grid; gap: 22px; justify-items: start; border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 70px); }
.close h2 { font-size: clamp(36px, 6vw, 84px); line-height: .98; max-width: 14ch; letter-spacing: -0.045em; }
.close p { color: var(--soft); max-width: 56ch; font-size: 17px; }
.close .row { display: flex; gap: 8px; flex-wrap: wrap; }
footer { margin-top: 80px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 18px; }

/* ===== services, pricing, process, FAQ, contact ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.svc { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.svc h3 { font-size: 20px; letter-spacing: -0.02em; }
.svc p { color: var(--soft); font-size: 15.5px; max-width: 44ch; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.price-group { display: grid; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.price-group > h3 { font-size: 24px; letter-spacing: -0.02em; }
.price-group > p { color: var(--soft); max-width: 60ch; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.tier { position: relative; display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 16px; background: color-mix(in srgb, var(--on) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.tier.featured { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--glow) 70%, transparent), 0 30px 80px -40px color-mix(in srgb, var(--glow) 50%, transparent); }
.tier h4 { margin: 0; font-size: 19px; letter-spacing: -0.015em; font-weight: 600; }
.tier .for { color: var(--soft); font-size: 15px; }
.tier .amount { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .amount small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--soft); margin-left: 8px; }
.tier .monthly { color: var(--soft); font-size: 15px; margin-top: -4px; }
.tier ul { margin: 4px 0 6px; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.tier .btn { justify-self: start; }
.badge { position: absolute; top: -12px; left: 22px; background: var(--btn); color: var(--btn-ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { font-size: 13px; font-weight: 600; color: var(--soft); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap .product { font-weight: 600; width: 22%; }
.table-wrap .p { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.table-wrap .d { display: block; color: var(--soft); font-size: 14px; margin-top: 2px; }
.fineprint { color: var(--soft); font-size: 14px; max-width: 80ch; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.process-steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.process-steps li::before { content: counter(s, decimal-leading-zero); font: 500 12px/1 var(--mono); color: var(--glow); }
.process-steps h3 { font-size: 19px; letter-spacing: -0.015em; }
.process-steps p { color: var(--soft); font-size: 15px; }
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; color: var(--soft); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding: 0 0 22px; max-width: 70ch; }
.faq a, .contact-card a:not(.btn) { color: var(--on); text-underline-offset: 3px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: start; }
.contact-card { display: grid; gap: 16px; padding: 26px; border-radius: 16px; background: color-mix(in srgb, var(--on) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.contact-card h3 { font-size: 19px; }
.contact-card dl { margin: 0; display: grid; gap: 12px; }
.contact-card dl div { display: grid; gap: 2px; }
.contact-card dt { font-size: 13px; color: var(--soft); }
.contact-card dd { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.copy { background: transparent; color: var(--on); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font: 500 12.5px/1 var(--sans); cursor: pointer; }
.contact-card .btn { justify-self: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: var(--soft); text-underline-offset: 3px; }
footer nav a:hover { color: var(--on); }
.close-box.contact-grid { justify-items: stretch; }
@media (min-width: 1101px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== testimonials ===== */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote { margin: 0; display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 34px); border-radius: 18px; background: color-mix(in srgb, var(--on) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
.quote .stars { display: flex; gap: 3px; color: var(--glow); }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; letter-spacing: -0.01em; max-width: none; }
.quote figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote figcaption b { font-weight: 600; font-size: 15px; }
.quote figcaption span { color: var(--soft); font-size: 14px; }
.proof { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.proof li { display: grid; gap: 4px; align-content: start; padding: 18px 16px 0 0; }
.proof b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.proof span { color: var(--soft); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 1000px) { .proof { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; } }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote.wide { grid-column: 1 / -1; }
.quote.wide blockquote p { font-size: clamp(19px, 2vw, 26px); line-height: 1.42; max-width: 62ch; }
