/* Gremnar — shared site styles */
:root {
  --bg: #06080d;
  --bg-2: #0a0e16;
  --panel: rgba(255,255,255,.028);
  --panel-2: rgba(255,255,255,.05);
  --line: rgba(255,255,255,.085);
  --line-2: rgba(255,255,255,.16);
  --text: #e9edf4;
  --muted: #8e97aa;
  --dim: #5d6679;
  --accent: #2ee6b7;
  --accent-2: #5ea8ff;
  --accent-ink: #052a21;
  --glow-a: rgba(46,230,183,.22);
  --glow-b: rgba(94,168,255,.20);
  --radius: 14px;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
code, kbd {
  font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px;
  background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap;
}

/* ---------- backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 80%);
}
.backdrop .orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .9; will-change: transform; }
.backdrop .orb-a { width: 620px; height: 620px; left: 52%; top: -220px; background: var(--glow-b); animation: drift 22s ease-in-out infinite alternate; }
.backdrop .orb-b { width: 520px; height: 520px; left: -160px; top: 220px; background: var(--glow-a); animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow .idx { color: var(--accent); }
.eyebrow .sep { width: 24px; height: 1px; background: var(--line-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(46,230,183,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,183,.55); } 70% { box-shadow: 0 0 0 9px rgba(46,230,183,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,183,0); } }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; font-weight: 600; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 540px; }
.z { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { max-width: 640px; color: var(--muted); font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer;
  font-family: var(--sans);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 1px rgba(46,230,183,.35), 0 8px 28px -8px rgba(46,230,183,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(46,230,183,.5), 0 14px 36px -10px rgba(46,230,183,.7); }
.btn-primary:disabled { opacity: .6; transform: none; cursor: wait; }
.btn-ghost { background: var(--panel); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: var(--panel-2); transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(140%); background: rgba(6,8,13,.62); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.progress { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, #141a26, #0b0f17); border: 1px solid var(--line-2);
  font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.brand .name { font-family: var(--display); font-weight: 700; letter-spacing: .08em; font-size: 15px; line-height: 1; }
.brand .tag { font-size: 10px; letter-spacing: .16em; margin-top: 4px; }
.links { display: flex; gap: 4px; }
.links a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.links a:hover, .links a[aria-current] { color: var(--text); background: var(--panel-2); }
.links a[aria-current] { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); place-items: center; cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(6,8,13,.92); }
.mobile-menu.open { display: block; }
.mobile-menu .wrap { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 14px; height: auto; align-items: stretch; }
.mobile-menu a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu a[aria-current] { color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vh, 84px) 0 clamp(40px, 6vh, 64px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); line-height: .98; font-weight: 700; margin: 22px 0 22px; }
.hero.home h1 { font-size: clamp(46px, 6.6vw, 86px); }
.hero .lead { font-size: 18px; max-width: 540px; }
.hero .actions { margin-top: 32px; }
.hero .meta { display: flex; gap: 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero .meta div { display: flex; flex-direction: column; gap: 4px; }
.hero .meta b { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.hero.solo .wrap { grid-template-columns: 1fr; max-width: 900px; }
.hero.solo h1 { font-size: clamp(38px, 5.4vw, 68px); }

/* ---------- panel (the terminal card) ---------- */
.panel-wrap { perspective: 1400px; position: relative; }
.panel {
  position: relative; border-radius: 18px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .35s var(--ease); overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(500px 220px at var(--mx, 70%) var(--my, 0%), rgba(46,230,183,.14), transparent 60%);
}
.panel .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.25); gap: 10px; }
.panel .lights { display: flex; gap: 6px; }
.panel .lights i { width: 10px; height: 10px; border-radius: 50%; background: #2a3140; }
.panel .lights i:first-child { background: #ff5f57; } .panel .lights i:nth-child(2) { background: #febc2e; } .panel .lights i:nth-child(3) { background: #28c840; }
.panel .body { padding: 26px 24px 22px; }
.panel h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; }
.panel h3 em { font-style: normal; color: var(--accent); }
.panel ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.panel li {
  display: grid; grid-template-columns: 30px 1fr 22px; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(0,0,0,.18); font-size: 14.5px; font-weight: 500;
  opacity: 0; transform: translateY(8px);
}
.in .panel li { animation: rise .6s var(--ease) forwards; }
.panel li:nth-child(1) { animation-delay: .25s; } .panel li:nth-child(2) { animation-delay: .4s; }
.panel li:nth-child(3) { animation-delay: .55s; } .panel li:nth-child(4) { animation-delay: .7s; }
.panel li:nth-child(5) { animation-delay: .85s; } .panel li:nth-child(6) { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.panel li .n { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.panel li .ck { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: rgba(46,230,183,.12); color: var(--accent); border: 1px solid rgba(46,230,183,.3); }
.panel li .ck svg { width: 11px; height: 11px; stroke-dasharray: 20; stroke-dashoffset: 20; }
.in .panel li .ck svg { animation: draw .5s .9s var(--ease) forwards; }
.panel li:nth-child(2) .ck svg { animation-delay: 1.05s; } .panel li:nth-child(3) .ck svg { animation-delay: 1.2s; }
.panel li:nth-child(4) .ck svg { animation-delay: 1.35s; } .panel li:nth-child(5) .ck svg { animation-delay: 1.5s; } .panel li:nth-child(6) .ck svg { animation-delay: 1.65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.panel .foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel .foot .mono { color: var(--text); font-size: 11px; }
.panel.shot .body { padding: 0; max-height: 520px; overflow: hidden; position: relative; }
.panel.shot .body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(6,8,13,.85)); pointer-events: none; }
.panel.shot img { display: block; width: 100%; }
.badge-float {
  position: absolute; right: -14px; top: -14px; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 700; font-size: 12px; line-height: 1.1; letter-spacing: .02em;
  box-shadow: 0 10px 30px -8px rgba(46,230,183,.8); animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(6deg); } }

/* ---------- strip ---------- */
.strip { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-list li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 12px; position: relative; transition: background .25s; text-align: center; }
.strip-list li + li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.strip-list li:hover { background: rgba(255,255,255,.025); }
.strip-list li:hover .strip-ico { color: var(--accent); border-color: rgba(46,230,183,.35); }
.strip-list li .mono { color: var(--text); font-size: 12px; }
.strip-list li .star { color: var(--accent); font-size: 12px; }
.strip-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--muted); transition: color .25s, border-color .25s; }
.strip-ico svg { width: 15px; height: 15px; }
.strip-list.five { grid-template-columns: repeat(5, 1fr); }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 7vh, 80px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 30px; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 12px; }
.section-head.split { grid-template-columns: 1fr 1fr; align-items: end; }
.section-head.split .lead { max-width: none; }

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

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { border-color: var(--line-2); background: var(--panel-2); }
.card:hover::after { transform: scaleX(1); }
a.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.9); }
.card .top { display: flex; justify-content: space-between; align-items: center; }
.card .top .mono { color: var(--accent); }
.card .top .n { color: var(--dim); }
.card h3 { font-size: 21px; }
.card > p { color: var(--muted); font-size: 15px; flex: 1; }
.card .go { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-top: 6px; }
.card .go svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card:hover .go svg { transform: translateX(4px); }
.card .go::after { content: ""; height: 1px; flex: 1; background: var(--line); margin-left: 8px; }
.card.compact { padding: 20px 20px 18px; gap: 10px; }
.card.compact h3 { font-size: 18px; }
.card.compact > p { font-size: 14.5px; }
.card .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--accent); }
.glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--accent); }
.glyph svg { width: 18px; height: 18px; }

/* checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.checks li::before {
  content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 5px;
  background: rgba(46,230,183,.14); border: 1px solid rgba(46,230,183,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee6b7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}
.checks.muted li { color: var(--muted); }

/* rail steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--line); }
.steps .line { position: absolute; left: 22px; top: 22px; height: 1px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.6s var(--ease); }
.steps.in .line { width: calc(100% - 44px); }
.step { position: relative; }
.step .node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--muted); position: relative; z-index: 1; transition: border-color .4s, color .4s, box-shadow .4s; }
.steps.in .step .node { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(46,230,183,.12); }
.steps.in .step:nth-child(2) .node { transition-delay: .3s; } .steps.in .step:nth-child(3) .node { transition-delay: .7s; }
.steps.in .step:nth-child(4) .node { transition-delay: 1.1s; } .steps.in .step:nth-child(5) .node { transition-delay: 1.5s; }
.step h3 { font-size: 19px; margin-top: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 260px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: transform .35s var(--ease), border-color .3s; }
.tier:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tier.featured { border-color: rgba(46,230,183,.5); background: linear-gradient(170deg, rgba(46,230,183,.10), rgba(255,255,255,.02) 55%); box-shadow: 0 30px 70px -40px rgba(46,230,183,.5); }
.tier .ribbon { position: absolute; top: -12px; left: 20px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.tier .ribbon.soon { background: var(--bg-2); color: var(--muted); border: 1px solid var(--line-2); }
.tier h3 { font-size: 19px; }
.tier .price { display: flex; align-items: baseline; gap: 8px; }
.tier .price b { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.tier .terms { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tier > p { color: var(--muted); font-size: 14.5px; }
.tier .checks { flex: 1; }
.tier .btn { justify-content: center; width: 100%; }
.fineprint { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.fineprint p { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13.5px; }
.fineprint p::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 8px; }
.fineprint p.wide { grid-column: 1 / -1; color: var(--text); }

/* FAQ */
.faq-group + .faq-group { margin-top: 28px; }
.faq-group h2 { font-size: 22px; margin-bottom: 12px; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .25s; }
.faq + .faq { margin-top: 8px; }
.faq[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; font-weight: 600; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 18px 16px; color: var(--muted); font-size: 14.5px; }

/* legal / aside layout */
.aside-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.aside-layout aside { position: sticky; top: 84px; }
.aside-layout article section { padding: 22px 0; border-top: 1px solid var(--line); }
.aside-layout article section:first-child { border-top: 0; padding-top: 0; }
.aside-layout article h2 { font-size: 22px; margin-bottom: 8px; }
.aside-layout article p { color: var(--muted); font-size: 15.5px; }
.aside-layout article p + p { margin-top: 8px; }
.aside-layout article a { color: var(--accent); }
.aside-card { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 12px; }
.aside-card p { font-size: 15px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.aside-card p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 9px; }
.aside-card a.mail { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--accent); margin-top: 6px; }
.aside-card code { white-space: normal; }

/* contact blocks */
.contact-block { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, background .25s; }
a.contact-block:hover { border-color: rgba(46,230,183,.4); background: var(--panel-2); }
.contact-block h2, .contact-block h3 { font-size: 20px; }
.contact-block p { color: var(--muted); font-size: 14.5px; }
.contact-block .glyph { margin-bottom: 4px; }

/* form */
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(0,0,0,.3); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
  color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e97aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.field select option { background: var(--bg-2); color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,230,183,.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff8a80; }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shot { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.shot:hover { border-color: var(--line-2); transform: translateY(-3px); }
.shot img { display: block; width: 100%; border-bottom: 1px solid var(--line); background: #0d1119; }
.shot .cap { padding: 14px 16px; }
.shot .cap h3 { font-size: 16px; }
.shot .cap p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* numbered rows */
.rows { display: grid; }
.row-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.row-item:last-child { border-bottom: 1px solid var(--line); }
.row-item .num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--accent); padding-top: 5px; }
.row-item h3 { font-size: 19px; }
.row-item p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 720px; }
.row-item code { white-space: normal; }

/* pill links (example directory) */
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.2); font-size: 13px; font-weight: 500; color: var(--text); transition: border-color .2s, color .2s, background .2s; }
.pill-links a svg { width: 11px; height: 11px; color: var(--dim); }
.pill-links a:hover { border-color: rgba(46,230,183,.5); color: var(--accent); background: rgba(46,230,183,.06); }
.pill-links a:hover svg { color: var(--accent); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* pulse phone mock */
.pulse-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phone-stage { position: relative; display: grid; place-items: center; min-height: 340px; overflow: hidden; margin: -20px 0; padding: 20px 0; }
.phone-stage::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,183,.22), transparent 65%); filter: blur(10px); }
.phone-stage .ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.phone-stage .ring.r2 { width: 420px; height: 420px; animation-duration: 70s; animation-direction: reverse; opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: relative; width: 210px; height: 360px; border-radius: 32px; background: #0d1119; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px #070a10, 0 0 0 7px var(--line), 0 40px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); padding: 18px 14px; overflow: hidden; transform: rotate(-4deg); transition: transform .5s var(--ease); }
.pulse-split:hover .phone { transform: rotate(-2deg) translateY(-4px); }
.phone .notch { width: 70px; height: 6px; border-radius: 3px; background: #1a2130; margin: 0 auto 18px; }
.phone .app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phone .app-head b { font-family: var(--display); font-size: 15px; }
.phone .task { display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12px; margin-bottom: 8px; opacity: 0; transform: translateX(10px); }
.in .phone .task { animation: slideIn .5s var(--ease) forwards; }
.phone .task:nth-child(3) { animation-delay: .2s; } .phone .task:nth-child(4) { animation-delay: .35s; }
.phone .task:nth-child(5) { animation-delay: .5s; } .phone .task:nth-child(6) { animation-delay: .65s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.phone .box { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; }
.phone .box.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.phone .box svg { width: 9px; height: 9px; }
.phone .task.done span { color: var(--dim); text-decoration: line-through; }
.phone .offline { position: absolute; left: 14px; right: 14px; bottom: 16px; padding: 9px 10px; border-radius: 10px; background: rgba(46,230,183,.1); border: 1px solid rgba(46,230,183,.3); font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--accent); display: flex; align-items: center; gap: 8px; text-transform: uppercase; }

/* cta + footer */
.cta { padding: clamp(56px, 8vh, 88px) 0 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.cta-box { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 64px); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 90% 110%, rgba(46,230,183,.18), transparent 65%), radial-gradient(500px 260px at 0% -20%, rgba(94,168,255,.16), transparent 65%); }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 14px; }
.cta-box .lead { margin-top: 14px; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-self: end; }
.cta-side .mono { line-height: 1.9; }
.cta-side .mono i, .foot-bottom .mono i { color: var(--accent); font-style: normal; margin: 0 6px; }

footer { padding: 40px 0 28px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: start; }
.foot-grid .brand .mark { width: 30px; height: 30px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--accent); }
.foot-right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.foot-right a { font-weight: 500; transition: color .2s; } .foot-right a:hover { color: var(--accent); }
.foot-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-note { color: var(--muted); font-size: 14px; max-width: 320px; margin-top: 10px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; } .reveal[data-d="4"] { transition-delay: .4s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-3, .grid-4, .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .steps::before, .steps .line { display: none; }
  .fineprint { grid-template-columns: 1fr 1fr; }
  .strip-list.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero .wrap, .pulse-split, .cta-box, .aside-layout, .section-head.split { grid-template-columns: 1fr; }
  .aside-layout aside { position: static; }
  .panel-wrap { max-width: 520px; }
  .phone-stage { min-height: 440px; }
  .cta-side { justify-self: start; }
  .links { display: none; }
  .menu-btn { display: grid; }
  .section-head { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-right { text-align: left; align-items: flex-start; }
  .shots { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .tiers, .steps, .fineprint, .form .row { grid-template-columns: 1fr; }
  .strip-list, .strip-list.five { grid-template-columns: 1fr 1fr; }
  .strip-list li { justify-content: flex-start; text-align: left; padding: 14px 8px; }
  .strip-list li:nth-child(odd)::before { display: none; }
  .badge-float { width: 76px; height: 76px; font-size: 10.5px; right: -8px; top: -10px; }
  .brand .tag { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .hero .eyebrow .sep { width: 12px; }
  .phone-stage .ring { width: 240px; height: 240px; }
  .phone-stage .ring.r2 { width: 320px; height: 320px; }
  .phone-stage::before { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .panel li, .phone .task { opacity: 1; transform: none; }
  .steps .line { width: calc(100% - 44px); }
  html { scroll-behavior: auto; }
}
