/* AppPlusPlus site. Change the look from the variables below. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/figtree-latin.woff2) format("woff2");
}

:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #11141b;
  --surface-2: #171b24;
  --line: #1e2330;
  --line-2: #2c3342;
  --text: #f5f7fa;
  --muted: #98a1b1;
  --soft: #cfd5de;
  --accent: #ff7a3d;
  --accent-hover: #ff9257;
  --accent-ink: #160803;
  --accent-tint: rgba(255, 122, 61, .12);
  --pink: #ff4f8b;
  --amber: #ffb36b;
  --cyan: #5cd3ff;
  --grad: linear-gradient(100deg, var(--amber), var(--accent) 45%, var(--pink));
  --danger: #ff5c5c;
  --ok: #3ddc97;
  --radius: 20px;
  --max: 1180px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 122, 61, .35); color: #fff; }
h1, h2, h3 { line-height: 1.06; margin: 0 0 .5em; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* Type */
h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; font: 600 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem; }
.eyebrow .num { color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.6rem; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--grad); color: var(--accent-ink); box-shadow: 0 8px 30px -8px rgba(255, 122, 61, .6); }
.btn-accent:hover { color: var(--accent-ink); box-shadow: 0 12px 40px -8px rgba(255, 100, 80, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,255,255,.05); }
.btn-sm { padding: .62rem 1.15rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.ext::after { content: "↗"; font-weight: 700; font-size: .9em; }
.arrow::after { content: "→"; transition: transform .15s; }
.arrow:hover::after { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7,8,11,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(255,255,255,.06); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; padding: .5rem .9rem; border-radius: 999px; font-weight: 650; font-size: .97rem; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
@media (max-width: 760px) {
  .bar { gap: 8px 12px; padding: 10px 0; }
  .site-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav a { flex: 1; text-align: center; padding: .45rem .4rem; font-size: .93rem; }
}

/* Sections */
.section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 48rem; margin-bottom: clamp(2.2rem, 4.5vw, 3.8rem); }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; }
.section-head.split > div { max-width: 44rem; }
.section-head .lead { margin-bottom: 0; }
.section-head.split .lead { max-width: 30rem; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Grid backdrop shared by hero and bands */
.gridbg { position: absolute; inset: 0; pointer-events: none;
  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: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(700px 480px at 85% 10%, rgba(255, 79, 139, .16), transparent 65%),
    radial-gradient(800px 560px at 70% 40%, rgba(255, 122, 61, .14), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(92, 211, 255, .07), transparent 70%),
    var(--bg); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero .gridbg { z-index: -2; }
.hero-grid > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 2.2rem; }
.status-pill { text-decoration: none; transition: border-color .15s, color .15s; display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .95rem .42rem .7rem; margin-bottom: 1.8rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(17,20,27,.7); color: var(--soft); font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.status-pill:hover { border-color: var(--accent); color: #fff; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55); } 70% { box-shadow: 0 0 0 9px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 2.4rem 0 0; padding: 0; list-style: none; color: var(--muted); font: 500 .85rem/1.3 var(--mono); }
.hero-meta li::before { content: "▹ "; color: var(--accent); }

/* Code window */
.code-wrap { position: relative; }
.code-wrap::before { content: ""; position: absolute; inset: 8% -6% -4%; background: radial-gradient(closest-side, rgba(255, 100, 80, .32), transparent); filter: blur(20px); z-index: -1; }
.code { position: relative; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(23,27,36,.92), rgba(13,15,21,.95)); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.code:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.code-top { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.code-top i { width: 11px; height: 11px; border-radius: 50%; background: #3a4150; }
.code-top i:nth-child(1) { background: #ff5f57; } .code-top i:nth-child(2) { background: #febc2e; } .code-top i:nth-child(3) { background: #28c840; }
.code-top span { margin-left: 10px; color: var(--muted); font: 500 .8rem var(--mono); }
.code pre { margin: 0; padding: 20px 22px 24px; font: 500 clamp(.78rem, 1.15vw, .9rem)/1.85 var(--mono); color: var(--soft); overflow-x: auto; counter-reset: ln; }
.code pre span.l { display: block; white-space: pre; }
.code pre span.l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 1.6em; margin-right: 1.1em; color: #3d4556; text-align: right; }
.js .code pre span.l { opacity: 0; transform: translateX(-6px); animation: typein .45s forwards; }
.js .code pre span.l:nth-child(1) { animation-delay: 0.35s; }
.js .code pre span.l:nth-child(2) { animation-delay: 0.51s; }
.js .code pre span.l:nth-child(3) { animation-delay: 0.67s; }
.js .code pre span.l:nth-child(4) { animation-delay: 0.83s; }
.js .code pre span.l:nth-child(5) { animation-delay: 0.99s; }
.js .code pre span.l:nth-child(6) { animation-delay: 1.15s; }
.js .code pre span.l:nth-child(7) { animation-delay: 1.31s; }
.js .code pre span.l:nth-child(8) { animation-delay: 1.47s; }
.js .code pre span.l:nth-child(9) { animation-delay: 1.63s; }
.js .code pre span.l:nth-child(10) { animation-delay: 1.79s; }
.js .code pre span.l:nth-child(11) { animation-delay: 1.95s; }
.js .code pre span.l:nth-child(12) { animation-delay: 2.11s; }
@keyframes typein { to { opacity: 1; transform: none; } }
.tk-k { color: #ff7ab0; } .tk-f { color: var(--cyan); } .tk-s { color: #b4f08a; } .tk-c { color: #5d6678; font-style: italic; } .tk-n { color: var(--amber); } .tk-p { color: #fff; }
.caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-chip { position: absolute; display: flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(17,20,27,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 .8rem/1.2 var(--mono); color: var(--soft); box-shadow: 0 16px 40px -12px rgba(0,0,0,.7); animation: float 6s ease-in-out infinite; }
.code-chip b { color: #fff; font-weight: 700; }
.code-chip.c1 { right: -14px; top: -22px; }
.code-chip.c2 { left: -22px; bottom: -24px; animation-delay: -3s; }
.code-chip .ok { color: var(--ok); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .code-wrap { max-width: 560px; margin-top: 1.5rem; }
  .code { transform: none; }
}
@media (max-width: 520px) {
  .code-chip.c1 { right: 6px; } .code-chip.c2 { left: 6px; }
}

/* Capability marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 1.15rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; color: var(--soft); font: 600 .95rem/1 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.marquee li::after { content: "++"; color: var(--accent); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p { margin-top: .8rem; }
.card h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.card h3 { margin-bottom: .45rem; }
/* Spotlight cards follow the pointer (JS sets --mx/--my) */
.spot { overflow: hidden; transition: border-color .25s, transform .25s; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 61, .13), transparent 45%); }
.spot:hover { border-color: var(--line-2); transform: translateY(-3px); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; }
.card .kicker { display: block; margin-bottom: 1.4rem; color: var(--muted); font: 600 .78rem var(--mono); letter-spacing: .08em; }
.card .tagline { color: var(--soft); font-weight: 650; margin-bottom: .6rem; }
.card.feature { grid-row: span 1; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--accent);
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(135deg, rgba(255,179,107,.7), rgba(255,79,139,.5)) border-box; border: 1px solid transparent; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.chips li { padding: .32rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--soft); font: 500 .76rem/1.2 var(--mono); background: rgba(255,255,255,.02); }

/* Featured work */
.work { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: 32px; border: 1px solid var(--line);
  background: radial-gradient(640px 420px at 85% 50%, rgba(0, 191, 99, .16), transparent 65%), radial-gradient(500px 300px at 0% 0%, rgba(255,122,61,.08), transparent 70%), var(--surface); }
.work::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 40px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.work > * { position: relative; z-index: 1; }
.work-id { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.4rem; }
.work-id img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.work-id span { color: var(--muted); font-size: .92rem; line-height: 1.35; }
.work-id strong { display: block; color: #fff; font-size: 1.1rem; }
.work h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
.work p { color: var(--soft); max-width: 34rem; }
.work .btn-row { margin-top: 1.8rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 1.6rem 0 0; padding: 0; list-style: none; max-width: 34rem; }
.facts li { padding-left: 1.4rem; position: relative; color: var(--muted); font-size: .97rem; line-height: 1.45; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: #00bf63; box-shadow: 0 0 12px rgba(0,191,99,.7); }
.facts b { color: #fff; font-weight: 700; display: block; }
.work-shots { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; }
.work-shots .phone { width: min(270px, 62vw); filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.work-shots .phone img { width: 100%; height: auto; }
.work-shots .device { position: absolute; left: 4%; bottom: 0; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.65)); }
.work-shots .device img { height: 230px; width: auto; }
@media (max-width: 900px) {
  .work { grid-template-columns: 1fr; }
  .work-shots { min-height: 0; }
  .work-shots .device img { height: 170px; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .work-shots .device { left: 0; } .work-shots .device img { height: 130px; } }

/* Why us (numbered list) */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why article { padding: 2.2rem 2rem 0 0; }
.why article + article { padding-left: 2rem; border-left: 1px solid var(--line); }
.why .n { display: block; margin-bottom: 1.4rem; font: 700 3.4rem/1 var(--font); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.why .tagline { color: var(--accent); font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.why p { color: var(--muted); }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; border-top: 0; }
  .why article, .why article + article { padding: 1.8rem 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Process timeline */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--pink), transparent); opacity: .5; }
.process li { counter-increment: step; position: relative; }
.process li::before { content: counter(step, decimal-leading-zero); position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.3rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); color: var(--accent); font: 700 .9rem var(--mono); box-shadow: 0 0 0 6px var(--bg); }
.section.alt .process li::before { background: var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2); }
.process h3 { margin-bottom: .4rem; }
.process p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .process::before { display: none; }
}
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about h2 .grad { display: inline; }
.about p { color: var(--muted); }
.about .big { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--soft); }
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2rem; }
.exp div { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.exp b { display: block; color: #fff; font-weight: 750; margin-bottom: .15rem; }
.exp span { color: var(--muted); font-size: .92rem; line-height: 1.4; display: block; }
.quote { position: sticky; top: 100px; margin: 0; padding: clamp(2rem, 4vw, 2.8rem); border-radius: 26px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(400px 260px at 100% 0%, rgba(255,79,139,.16), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(255,122,61,.12), transparent 70%), var(--surface); }
.quote::before { content: "\201C"; position: absolute; left: clamp(1.7rem, 4vw, 2.5rem); top: 14px; font: 800 5.5rem/1 Georgia, serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.quote blockquote { position: relative; margin: 2.6rem 0 1.4rem; font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.32; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.quote figcaption { color: var(--muted); font: 600 .85rem var(--mono); }
.quote figcaption::before { content: "// "; color: var(--accent); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .quote { position: relative; top: 0; } }
@media (max-width: 460px) { .exp { grid-template-columns: 1fr; } }

/* CTA band */
.band { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(2.6rem, 7vw, 5.5rem) clamp(1.6rem, 6vw, 5rem); border: 1px solid var(--line-2); text-align: center;
  background: radial-gradient(600px 340px at 50% 120%, rgba(255,79,139,.28), transparent 70%), radial-gradient(700px 380px at 50% -20%, rgba(255,122,61,.22), transparent 70%), var(--surface); }
.band .gridbg { z-index: -1; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 10%, transparent 75%); }
.band h2 { max-width: 18ch; margin-inline: auto; }
.band p { color: var(--soft); max-width: 36rem; margin-inline: auto; font-size: 1.15rem; }
.band .btn-row { justify-content: center; margin-top: 2rem; }
.band .eyebrow { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.4rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 360px at 85% 0%, rgba(255,122,61,.15), transparent 62%), radial-gradient(500px 300px at 100% 60%, rgba(255,79,139,.1), transparent 70%), var(--bg); }
.page-hero .gridbg { z-index: -1; }
.page-hero h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-cards a.mail { font-weight: 750; font-size: 1.08rem; word-break: break-all; }
.contact-cards .icon { margin-bottom: 1rem; }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 650; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; color: var(--text); background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem 1rem; width: 100%; transition: border-color .15s, box-shadow .15s; }
.form textarea { resize: vertical; min-height: 160px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255,122,61,.2); }
.form button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; margin: 0; font-weight: 650; }
.status.ok { color: var(--ok); } .status.err { color: var(--danger); }
.fine { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* Legal / prose */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.01em; margin: 2.4rem 0 .7rem; }
.prose p, .prose li { color: var(--soft); }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .stamp { color: var(--muted); font: 500 .9rem var(--mono); }

/* Footer */
.site-footer { position: relative; background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), var(--pink), transparent); opacity: .6; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 3.8rem 0 2.6rem; }
.foot-brand p { color: var(--muted); margin: 1.1rem 0 0; max-width: 23rem; font-size: .95rem; }
.foot-col { display: grid; gap: .55rem; align-content: start; }
.foot-col h2 { font: 600 .76rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--muted); }
.foot-col a { color: var(--text); text-decoration: none; font-size: .97rem; }
.foot-col a:hover { color: var(--accent); text-decoration: underline; }
.legal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 1.4rem 0 2.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.legal-line .mono { font-size: .82rem; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot { grid-template-columns: 1fr; } }

/* 404 */
.lost { text-align: center; padding: clamp(5rem, 14vw, 9rem) 0; }
.lost p { margin-inline: auto; }
.lost .eyebrow { justify-content: center; }
.lost h1 { font-family: var(--mono); font-size: clamp(3rem, 12vw, 7rem); letter-spacing: -.05em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .code pre span.l { opacity: 1; transform: none; transition: none; animation: none; }
  .marquee-track, .code-chip, .status-pill:hover { border-color: var(--accent); color: #fff; }
.status-pill .dot, .caret { animation: none; }
  .btn, .spot, .code { transition: none; }
  .code { transform: none; }
}
.pt0 { padding-top: 0; }
.quote blockquote p { margin: 0; color: #fff; max-width: 22ch; }
