:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --black-3: #121212;
  --white: #f6f6f2;
  --paper: #e9e9e3;
  --gray-1: #cacac3;
  --gray-2: #92928d;
  --gray-3: #4a4a47;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(5, 5, 5, 0.16);
  --max-width: 1440px;
  --side: clamp(20px, 5vw, 80px);
  --radius: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open, body.modal-open, body.intro-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
::selection { background: var(--white); color: var(--black); }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--black);
  overflow: hidden;
  transition: opacity .65s var(--ease), visibility .65s var(--ease);
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-grid, .cta-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
}
.intro::before, .intro::after {
  content: "";
  position: absolute;
  background: var(--white);
  opacity: .9;
  animation: introScan 1.8s var(--ease) forwards;
}
.intro::before { width: 1px; height: 100%; left: 50%; transform: scaleY(0); }
.intro::after { width: 100%; height: 1px; top: 50%; transform: scaleX(0); }
.intro-mark { display: flex; align-items: center; gap: 22px; opacity: 0; animation: introReveal .65s .25s var(--ease) forwards; }
.intro-line { width: clamp(40px, 8vw, 110px); height: 1px; background: var(--white); transform: scaleX(0); animation: lineGrow .8s .55s var(--ease) forwards; }
.intro-e {
  display: grid;
  place-items: center;
  width: 94px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.8);
  font-size: 45px;
  font-weight: 800;
  letter-spacing: -.08em;
  transform: rotate(45deg) scale(.5);
  animation: logoTurn .9s .35s var(--ease) forwards;
}
.intro-e::first-letter { transform: rotate(-45deg); }
.intro-name { margin: 34px 0 8px; font-size: clamp(24px, 4vw, 48px); font-weight: 800; letter-spacing: .12em; opacity: 0; transform: translateY(16px); animation: introText .65s .95s var(--ease) forwards; }
.intro-sub { margin: 0; color: var(--gray-2); font-size: 10px; letter-spacing: .32em; opacity: 0; animation: introText .65s 1.15s var(--ease) forwards; }
.intro-skip { position: absolute; right: 28px; bottom: 24px; border: 0; border-bottom: 1px solid var(--gray-3); padding: 8px 0; background: transparent; color: var(--gray-2); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
@keyframes introScan { to { transform: scale(1); opacity: .08; } }
@keyframes introReveal { to { opacity: 1; } }
@keyframes lineGrow { to { transform: scaleX(1); } }
@keyframes logoTurn { to { transform: rotate(0) scale(1); } }
@keyframes introText { to { opacity: 1; transform: translateY(0); } }

.site-shell { opacity: 0; transition: opacity .5s ease; }
.site-shell.is-ready { opacity: 1; }
.section-pad { padding-left: var(--side); padding-right: var(--side); }
.section { position: relative; padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(90px, 12vw, 170px); }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled { height: 70px; background: rgba(5,5,5,.87); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--white); font-weight: 800; font-size: 19px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 14px; letter-spacing: .18em; }
.brand-copy small { color: var(--gray-2); font-size: 7px; letter-spacing: .28em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.desktop-nav a { position: relative; color: var(--gray-1); font-size: 12px; letter-spacing: .08em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--white); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-button { display: none; gap: 5px; }
.menu-button span { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-button.active span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button.active span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; top: 70px; left: 0; right: 0; display: none; flex-direction: column; padding: 20px var(--side) 36px; background: rgba(5,5,5,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s var(--ease); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-light { background: var(--white); color: var(--black); }
.button-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.button-outline { border-color: var(--line); color: var(--white); }
.button-outline:hover { border-color: var(--white); }
.button-dark { background: var(--black); color: var(--white); }
.button-outline-dark { border-color: rgba(5,5,5,.28); color: var(--black); }

.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr); align-items: center; gap: clamp(40px, 6vw, 100px); padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 74% 46%, rgba(255,255,255,.095), transparent 30%), linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%); }
.hero-noise { position: absolute; inset: 0; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--gray-2); font-size: 10px; font-weight: 700; letter-spacing: .23em; }
.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.centered { justify-content: center; }
.hero h1, .section-heading h2, .api-copy h2, .faq-intro h2, .cta-content h2 { margin: 0; font-size: clamp(52px, 6.5vw, 112px); line-height: .92; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em, .section-heading h2 em, .api-copy h2 em, .faq-intro h2 em, .cta-content h2 em { color: var(--gray-1); }
.hero-description { max-width: 650px; margin: 34px 0 0; color: var(--gray-1); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 52px; color: var(--gray-2); font-size: 8px; letter-spacing: .15em; }
.hero-trust span { position: relative; padding-left: 15px; }
.hero-trust span::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border: 1px solid currentColor; transform: translateY(-50%); }

.hero-visual { position: relative; z-index: 2; }
.visual-frame { border: 1px solid rgba(255,255,255,.22); background: rgba(11,11,11,.72); box-shadow: 0 45px 120px rgba(0,0,0,.45); backdrop-filter: blur(10px); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform .5s var(--ease); }
.hero-visual:hover .visual-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.visual-topbar { height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--gray-2); font-size: 7px; letter-spacing: .16em; }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 6px; height: 6px; border: 1px solid var(--gray-3); border-radius: 50%; }
.live-indicator { justify-self: end; display: flex; align-items: center; gap: 6px; }
.live-indicator i, .status-dot, .footer-status i { width: 6px; height: 6px; background: var(--white); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.visual-body { display: grid; grid-template-columns: 54px 1fr; min-height: 490px; }
.visual-sidebar { padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 23px; border-right: 1px solid var(--line); }
.mini-logo { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 8px; background: var(--white); color: var(--black); font-size: 12px; font-weight: 800; }
.side-item { width: 15px; height: 15px; border: 1px solid var(--gray-3); }
.side-item.active { background: var(--white); border-color: var(--white); }
.visual-dashboard { padding: clamp(18px, 2vw, 28px); min-width: 0; }
.visual-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.visual-heading div:first-child { display: grid; gap: 5px; }
.visual-heading small { color: var(--gray-2); font-size: 7px; letter-spacing: .2em; }
.visual-heading strong { font-size: clamp(17px, 1.7vw, 25px); letter-spacing: -.03em; }
.visual-pill { border: 1px solid var(--line); padding: 8px 10px; color: var(--gray-2); font-size: 7px; letter-spacing: .12em; }
.metric-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 9px; }
.metric-card { min-height: 103px; padding: 15px; display: grid; align-content: space-between; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.metric-card.featured { background: var(--white); color: var(--black); }
.metric-card small { color: var(--gray-2); font-size: 6px; letter-spacing: .16em; }
.metric-card.featured small { color: var(--gray-3); }
.metric-card strong { font-size: clamp(23px, 2.6vw, 38px); letter-spacing: -.06em; }
.metric-card span { color: var(--gray-2); font-size: 7px; }
.metric-card.featured span { color: var(--gray-3); }
.chart-card { margin-top: 9px; padding: 15px; border: 1px solid var(--line); }
.chart-meta { display: flex; justify-content: space-between; color: var(--gray-1); font-size: 9px; }
.chart-meta small { color: var(--gray-2); font-size: 6px; letter-spacing: .12em; }
.line-chart { width: 100%; height: 145px; margin-top: 12px; overflow: visible; }
.chart-grid-line { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; }
.chart-area { fill: url(#none); opacity: .13; }
.chart-stroke { fill: none; stroke: var(--white); stroke-width: 2; vector-effect: non-scaling-stroke; }
.status-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 9px; }
.status-row > div { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); }
.status-row p { display: grid; gap: 3px; margin: 0; }
.status-row strong { font-size: 8px; }
.status-row small { color: var(--gray-2); font-size: 6px; }
.floating-label { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); background: var(--black); color: var(--gray-1); font-size: 7px; letter-spacing: .15em; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
.floating-label span { color: var(--white); }
.label-one { left: -25px; top: 20%; }
.label-two { right: -25px; top: 55%; }
.label-three { left: 14%; bottom: -18px; }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); color: var(--black); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 32px; padding: 17px 0; animation: ticker 28s linear infinite; }
.ticker span { font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.ticker i { font-style: normal; font-size: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { max-width: var(--max-width); margin: 0 auto clamp(52px, 7vw, 92px); display: grid; grid-template-columns: 1.6fr .65fr; align-items: end; gap: 40px; }
.section-heading h2 { max-width: 980px; font-size: clamp(42px, 5.5vw, 84px); }
.section-heading > p { margin: 0 0 7px; color: var(--gray-2); font-size: 15px; line-height: 1.7; }
.center-heading { display: block; text-align: center; max-width: 940px; }
.center-heading > p { max-width: 680px; margin: 25px auto 0; }

.product-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.product-card { position: relative; min-height: 410px; padding: clamp(25px, 3vw, 45px); border: 1px solid var(--line); background: var(--black-2); overflow: hidden; transition: transform .35s var(--ease), border-color .35s ease; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.38); }
.product-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; bottom: -100px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.015), 0 0 0 90px rgba(255,255,255,.01); }
.product-card-large { grid-row: span 2; min-height: 834px; display: flex; flex-direction: column; justify-content: flex-end; }
.product-card-wide { grid-column: 1 / -1; min-height: 340px; }
.card-number { position: absolute; top: 23px; left: 25px; color: var(--gray-3); font-size: 9px; letter-spacing: .15em; }
.product-icon { position: relative; margin: 20px auto 75px; }
.server-icon { width: min(78%, 390px); display: grid; gap: 16px; }
.server-icon span { position: relative; display: block; height: 78px; border: 1px solid rgba(255,255,255,.32); background: linear-gradient(110deg, rgba(255,255,255,.04), transparent); box-shadow: 10px 14px 0 rgba(255,255,255,.025); }
.server-icon span::before { content: ""; position: absolute; left: 20px; top: 50%; width: 11px; height: 11px; border: 1px solid var(--white); border-radius: 50%; transform: translateY(-50%); }
.server-icon span::after { content: ""; position: absolute; left: 52px; right: 20px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, var(--gray-3) 0 8px, transparent 8px 15px); }
.mail-icon { width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); transform: rotate(-8deg); box-shadow: 18px 18px 0 rgba(255,255,255,.035); }
.mail-icon span { font: italic 65px Georgia, serif; transform: rotate(8deg); }
.bot-icon { width: 150px; height: 125px; border: 1px solid rgba(255,255,255,.3); border-radius: 30px; }
.bot-icon::before { content: ""; position: absolute; width: 1px; height: 30px; left: 50%; top: -30px; background: var(--white); }
.bot-icon span { position: absolute; left: 50%; top: -38px; width: 14px; height: 14px; background: var(--white); border-radius: 50%; transform: translateX(-50%); }
.bot-icon i { position: absolute; top: 50px; width: 18px; height: 6px; background: var(--white); }
.bot-icon i:nth-of-type(1) { left: 35px; }
.bot-icon i:nth-of-type(2) { right: 35px; }
.product-copy { position: relative; z-index: 2; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.product-tags span { padding: 6px 8px; border: 1px solid var(--line); color: var(--gray-2); font-size: 7px; letter-spacing: .13em; }
.product-copy h3 { margin: 0; font-size: clamp(27px, 3.1vw, 48px); letter-spacing: -.045em; }
.product-copy p { max-width: 620px; margin: 18px 0 0; color: var(--gray-2); font-size: 14px; line-height: 1.75; }
.feature-list { display: grid; gap: 11px; margin: 25px 0 0; padding: 0; list-style: none; color: var(--gray-1); font-size: 12px; }
.feature-list li { position: relative; padding-left: 19px; }
.feature-list li::before { content: "+"; position: absolute; left: 0; color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px,-3px); }
.wide-card-layout { height: 100%; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 65px; }
.code-window { position: relative; z-index: 2; padding: 24px; border: 1px solid var(--line); background: var(--black); font-size: clamp(10px, 1.1vw, 14px); line-height: 2; overflow: hidden; }
.code-window::before { content: "SOURCE / INDEX.JS"; display: block; margin-bottom: 13px; color: var(--gray-3); font-size: 7px; letter-spacing: .16em; }
.code-window div { display: flex; gap: 18px; }
.code-window span { color: var(--gray-3); }
.code-window code { color: var(--gray-1); }

.inverse-section { background: var(--paper); color: var(--black); }
.inverse-section .section-heading > p { color: var(--gray-3); }
.eyebrow-dark { color: var(--gray-3); }
.inverse-section .section-heading h2 em { color: var(--gray-3); }
.service-list { max-width: var(--max-width); margin: 0 auto; border-top: 1px solid var(--line-dark); }
.service-row { display: grid; grid-template-columns: 70px 1.1fr 1fr 60px; align-items: center; gap: 25px; min-height: 155px; border-bottom: 1px solid var(--line-dark); transition: padding .3s var(--ease), background .3s ease; }
.service-row:hover { padding: 0 20px; background: rgba(5,5,5,.04); }
.service-index { color: var(--gray-3); font-size: 10px; }
.service-title small { color: var(--gray-3); font-size: 7px; letter-spacing: .17em; }
.service-title h3 { margin: 9px 0 0; font-size: clamp(24px, 3vw, 42px); letter-spacing: -.04em; }
.service-row > p { color: var(--gray-3); font-size: 14px; line-height: 1.7; }
.service-arrow { justify-self: end; font-size: 26px; transition: transform .25s ease; }
.service-row:hover .service-arrow { transform: translate(4px,-4px); }

.api-section { overflow: hidden; }
.api-section::before { content: "API"; position: absolute; right: -1vw; bottom: -7vw; color: rgba(255,255,255,.025); font-size: 38vw; font-weight: 900; line-height: .75; letter-spacing: -.12em; pointer-events: none; }
.api-layout { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 130px); align-items: center; }
.api-copy h2 { font-size: clamp(45px, 5.8vw, 88px); }
.api-copy > p { max-width: 570px; margin: 28px 0 0; color: var(--gray-2); line-height: 1.75; }
.api-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.api-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 50px 0 0; }
.api-stats div { padding-top: 17px; border-top: 1px solid var(--line); }
.api-stats dt { font-size: clamp(23px, 2.2vw, 34px); font-weight: 700; }
.api-stats dd { margin: 7px 0 0; color: var(--gray-2); font-size: 9px; letter-spacing: .08em; }
.api-console { border: 1px solid rgba(255,255,255,.24); background: var(--black-2); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.console-header { height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 0 17px; border-bottom: 1px solid var(--line); color: var(--gray-2); font-size: 8px; letter-spacing: .12em; }
.console-tabs { height: 100%; display: flex; gap: 20px; }
.console-tabs button { position: relative; border: 0; background: transparent; color: var(--gray-3); font-size: 8px; letter-spacing: .15em; cursor: pointer; }
.console-tabs button.active { color: var(--white); }
.console-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--white); }
.endpoint-line { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); }
.method { padding: 7px 9px; background: var(--white); color: var(--black); font-size: 8px; font-weight: 800; }
.endpoint-line code { flex: 1; color: var(--gray-1); font-size: 12px; }
.copy-symbol { color: var(--gray-3); }
.api-console pre { min-height: 290px; margin: 0; padding: clamp(24px, 4vw, 42px); overflow: auto; color: var(--gray-1); font-size: clamp(11px, 1.2vw, 15px); line-height: 1.85; }
.code-muted { color: var(--gray-3); }
.code-key { color: var(--white); }
.code-value { color: var(--gray-2); }
.console-response { padding: 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,.025); }
.response-meta { display: flex; justify-content: space-between; margin-bottom: 14px; color: var(--gray-2); font-size: 8px; }
.response-meta span:first-child { display: flex; align-items: center; gap: 8px; color: var(--white); }
.response-meta i { width: 6px; height: 6px; background: var(--white); border-radius: 50%; }
.console-response code { color: var(--gray-1); font-size: 11px; }
.console-footer { display: flex; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--gray-3); font-size: 7px; letter-spacing: .1em; }

.ecosystem-section { border-top: 1px solid var(--line); background: var(--black-2); }
.ecosystem-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(6,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ecosystem-card { position: relative; min-height: 210px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, color .25s ease; }
.ecosystem-card:hover { background: var(--white); color: var(--black); }
.ecosystem-card > span { position: absolute; top: 16px; right: 16px; color: var(--gray-3); font-size: 8px; }
.ecosystem-card svg { width: 30px; margin-bottom: 33px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.ecosystem-card strong { font-size: 16px; }
.ecosystem-card small { margin-top: 6px; color: var(--gray-2); font-size: 9px; }
.ecosystem-card:hover small { color: var(--gray-3); }

.portfolio-section { background: #080808; }
.portfolio-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.portfolio-preview { position: relative; min-height: clamp(390px, 45vw, 680px); border: 1px solid var(--line); overflow: hidden; }
.preview-one { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #111 0 1px, transparent 1px 26px), #090909; }
.preview-browser { position: absolute; top: 12%; width: 76%; height: 64%; border: 1px solid rgba(255,255,255,.35); background: var(--black); box-shadow: 28px 30px 0 rgba(255,255,255,.035); }
.preview-browser > span { position: relative; display: inline-block; width: 6px; height: 6px; margin: 13px 1px 0 13px; border: 1px solid var(--gray-3); border-radius: 50%; }
.preview-content { position: absolute; inset: 70px 30px 30px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 12px; }
.preview-content strong { grid-column: span 2; font-size: clamp(25px, 4vw, 56px); letter-spacing: -.06em; }
.preview-content span, .preview-content div { border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.preview-content div { grid-column: span 2; }
.preview-two { display: grid; place-items: center; background: var(--paper); }
.phone-frame { width: 52%; min-width: 210px; aspect-ratio: .52; padding: 34px 20px; display: flex; flex-direction: column; justify-content: center; border: 8px solid var(--black); border-radius: 38px; background: var(--black-2); color: var(--white); box-shadow: 24px 28px 0 rgba(5,5,5,.14); transform: rotate(5deg); }
.phone-top { position: absolute; top: 13px; left: 50%; width: 40%; height: 15px; background: var(--black); border-radius: 20px; transform: translateX(-50%); }
.phone-frame strong { font-size: clamp(20px, 3vw, 40px); letter-spacing: -.04em; }
.monitor-bars { display: grid; gap: 10px; margin: 40px 0; }
.monitor-bars i { display: block; height: 20px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--white) 72%, transparent 72%); }
.monitor-bars i:nth-child(2) { background: linear-gradient(90deg, var(--white) 92%, transparent 92%); }
.monitor-bars i:nth-child(3) { background: linear-gradient(90deg, var(--white) 61%, transparent 61%); }
.phone-frame > span { color: var(--gray-2); font-size: 8px; letter-spacing: .17em; }
.portfolio-info { display: flex; justify-content: space-between; align-items: end; padding: 22px 2px 0; }
.portfolio-info small { color: var(--gray-2); font-size: 7px; letter-spacing: .16em; }
.portfolio-info h3 { margin: 7px 0 0; font-size: clamp(22px, 2.4vw, 35px); letter-spacing: -.04em; }
.portfolio-info > span { color: var(--gray-2); font-size: 10px; }

.process-section { background: var(--paper); color: var(--black); }
.process-section .section-heading h2 em { color: var(--gray-3); }
.process-section .eyebrow { color: var(--gray-3); }
.process-grid { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.process-card { min-height: 310px; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process-card > span { margin-bottom: auto; color: var(--gray-3); font-size: 10px; }
.process-card h3 { margin: 0; font-size: clamp(27px, 3vw, 43px); letter-spacing: -.05em; }
.process-card p { margin: 18px 0 0; color: var(--gray-3); line-height: 1.7; font-size: 13px; }

.faq-section { border-top: 1px solid var(--line); }
.faq-layout { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 140px); }
.faq-intro h2 { font-size: clamp(43px, 5vw, 76px); }
.faq-intro p { max-width: 500px; margin: 25px 0 0; color: var(--gray-2); line-height: 1.75; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: clamp(16px, 1.5vw, 21px); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font-size: 24px; font-weight: 300; transition: transform .25s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 760px; margin: -5px 0 30px; color: var(--gray-2); line-height: 1.7; font-size: 14px; }

.cta-section { position: relative; min-height: 630px; display: grid; place-items: center; padding: 80px var(--side); background: var(--white); color: var(--black); overflow: hidden; }
.cta-grid { opacity: .12; background-image: linear-gradient(rgba(5,5,5,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(5,5,5,.18) 1px, transparent 1px); }
.cta-content { position: relative; z-index: 2; max-width: 1100px; text-align: center; }
.cta-kicker { display: inline-block; margin-bottom: 26px; font-size: 10px; font-weight: 800; letter-spacing: .25em; }
.cta-content h2 { font-size: clamp(52px, 7vw, 105px); }
.cta-content h2 em { color: var(--gray-3); }
.cta-content p { max-width: 620px; margin: 28px auto 0; color: var(--gray-3); line-height: 1.7; }
.centered-actions { justify-content: center; }

.site-footer { padding: clamp(55px, 7vw, 95px) var(--side) 25px; background: var(--black); }
.footer-main { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1.8fr repeat(4,1fr); gap: 35px; }
.footer-brand p { max-width: 410px; margin: 25px 0; color: var(--gray-2); font-size: 13px; line-height: 1.7; }
.footer-status { display: inline-flex; align-items: center; gap: 10px; color: var(--gray-2); font-size: 8px; letter-spacing: .12em; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column strong { margin-bottom: 9px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { color: var(--gray-2); font-size: 12px; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-width); margin: 75px auto 0; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--gray-3); font-size: 7px; letter-spacing: .13em; }

.search-modal { position: fixed; z-index: 3000; inset: 0; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
.search-modal.open { visibility: visible; opacity: 1; }
.search-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.76); backdrop-filter: blur(10px); cursor: default; }
.search-panel { position: relative; width: min(820px, calc(100% - 32px)); margin: 11vh auto 0; border: 1px solid var(--line); background: var(--black-2); box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.search-input-wrap { height: 78px; display: flex; align-items: center; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.search-input-wrap svg { width: 20px; fill: none; stroke: var(--gray-2); stroke-width: 1.5; }
.search-input-wrap input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--white); font-size: clamp(16px, 2vw, 23px); }
.search-input-wrap input::placeholder { color: var(--gray-3); }
.search-input-wrap button { border: 1px solid var(--line); padding: 6px 8px; background: transparent; color: var(--gray-2); font-size: 8px; cursor: pointer; }
.search-caption { margin: 0; padding: 16px 22px 8px; color: var(--gray-3); font-size: 7px; letter-spacing: .16em; }
.search-results { max-height: 53vh; overflow: auto; padding: 8px 14px 16px; }
.search-result { display: flex; justify-content: space-between; gap: 20px; padding: 18px 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.search-result:hover { background: rgba(255,255,255,.04); }
.search-result strong { font-size: 14px; }
.search-result small { color: var(--gray-2); }
.no-results { padding: 30px 10px; color: var(--gray-2); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; }
.error-page main { max-width: 620px; }
.error-page main > span { color: var(--gray-3); font-size: clamp(100px, 25vw, 260px); font-weight: 900; line-height: .8; letter-spacing: -.1em; }
.error-page h1 { margin: 35px 0 0; font-size: clamp(34px, 6vw, 65px); letter-spacing: -.05em; }
.error-page p { margin: 20px 0 35px; color: var(--gray-2); }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .mobile-menu { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 170px; padding-bottom: 120px; }
  .hero-content { max-width: 920px; }
  .hero-visual { width: min(900px, 94%); margin: 40px auto 0; }
  .api-layout { grid-template-columns: 1fr; }
  .api-copy { max-width: 850px; }
  .ecosystem-grid { grid-template-columns: repeat(3,1fr); }
  .footer-main { grid-template-columns: 1.7fr repeat(2,1fr); }
}

@media (max-width: 820px) {
  :root { --side: 20px; }
  .site-header { height: 70px; }
  .header-actions .button { display: none; }
  .hero { min-height: auto; padding-top: 145px; padding-bottom: 95px; }
  .hero h1 { font-size: clamp(49px, 15vw, 76px); }
  .visual-frame { transform: none; }
  .visual-body { min-height: 390px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-card:last-child { display: none; }
  .status-row { grid-template-columns: 1fr; }
  .status-row > div:nth-child(n+2) { display: none; }
  .floating-label { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2 { font-size: clamp(40px, 12vw, 65px); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-large { grid-row: auto; min-height: 720px; }
  .product-card-wide { grid-column: auto; }
  .wide-card-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-row { grid-template-columns: 42px 1fr 36px; min-height: 140px; }
  .service-row > p { grid-column: 2 / -1; margin: -14px 0 24px; }
  .service-arrow { grid-column: 3; grid-row: 1; }
  .faq-layout { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-preview { min-height: 480px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; margin-bottom: 25px; }
}

@media (max-width: 540px) {
  .brand-copy { display: none; }
  .intro-name { font-size: 22px; }
  .intro-sub { max-width: 260px; text-align: center; line-height: 1.7; }
  .intro-line { width: 38px; }
  .intro-e { width: 76px; font-size: 36px; }
  .hero-actions .button, .api-actions .button, .centered-actions .button { width: 100%; }
  .hero-trust { display: grid; gap: 13px; }
  .hero-visual { width: 100%; }
  .visual-topbar { grid-template-columns: 1fr 1fr; }
  .visual-topbar > span:nth-child(2) { display: none; }
  .visual-body { grid-template-columns: 40px 1fr; }
  .visual-sidebar { padding: 10px 6px; gap: 19px; }
  .visual-dashboard { padding: 13px; }
  .metric-card { padding: 11px; }
  .metric-card strong { font-size: 25px; }
  .chart-card { padding: 10px; }
  .line-chart { height: 115px; }
  .product-card { min-height: 390px; }
  .product-card-large { min-height: 650px; }
  .server-icon span { height: 58px; }
  .api-stats { gap: 6px; }
  .api-stats dd { font-size: 7px; }
  .api-console pre { min-height: 245px; padding: 20px; font-size: 10px; }
  .console-footer { display: none; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .ecosystem-card { min-height: 180px; padding: 17px; }
  .portfolio-preview { min-height: 380px; }
  .preview-browser { width: 84%; height: 68%; }
  .preview-content { inset: 55px 18px 18px; }
  .phone-frame { width: 60%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 240px; }
  .cta-section { min-height: 580px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .search-panel { margin-top: 6vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .site-shell { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}


/* Page transition menuju halaman masuk/daftar */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 5000;
  visibility: hidden;
  pointer-events: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  letter-spacing: .32em;
}
.page-transition::before,
.page-transition::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transition: transform .58s cubic-bezier(.77,0,.18,1);
}
.page-transition::before { left: 0; background: #050505; transform: translateX(-102%); }
.page-transition::after { right: 0; background: #f5f5f0; transform: translateX(102%); }
.page-transition span { position: relative; z-index: 2; opacity: 0; mix-blend-mode: difference; }
.page-transition.active { visibility: visible; }
.page-transition.active::before,
.page-transition.active::after { transform: translateX(0); }
.page-transition.active span { opacity: 1; transition: opacity .2s ease .32s; }
