/* =============================================================================
   getbeamedup.com — "Sleek & Premium" design system
   -----------------------------------------------------------------------------
   Near-black canvas, a single green accent, hairline structure, generous
   negative space, a monospace voice for technical labels. Alien cues are
   quiet: a soft beam glow and a faint starfield — no cartoons.
   Base styles target small screens; @media queries scale up.
   ============================================================================= */

:root {
    /* Surfaces — cool near-black, not purple */
    --bg:          #07080b;
    --bg-soft:     #0b0d11;
    --panel:       #0d1015;
    --panel-2:     #11151b;

    /* Hairlines */
    --line:        rgba(255,255,255,.07);
    --line-2:      rgba(255,255,255,.12);

    /* Ink */
    --ink:         #f3f5f7;
    --ink-soft:    #a7aeb9;
    --muted:       #6a7080;

    /* One accent. Used sparingly. */
    --accent:      #5bf3a0;
    --accent-ink:  #04130c;
    --accent-dim:  rgba(91,243,160,.12);
    --accent-line: rgba(91,243,160,.40);

    --radius:      14px;
    --radius-sm:   10px;
    --maxw:        1180px;
    --gutter:      clamp(1.1rem, 4vw, 2rem);

    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

    --shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Faint film grain over everything — barely there, makes it feel "designed". */
body::after {
    content: "";
    position: fixed; inset: 0; z-index: 1; 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='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }

/* ---- Type --------------------------------------------------------------- */
h1, h2, h3 { margin: 0 0 .4em; font-weight: 650; letter-spacing: -.02em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 8.5vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4.8vw, 3rem); }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

/* Monospace label — the "technical voice" used for eyebrows / numbering */
.label {
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex; align-items: center; gap: .6rem;
    margin: 0 0 1.2rem;
}
.label::before {
    content: ""; width: 26px; height: 1px; background: var(--accent-line);
}

.lead { color: var(--ink-soft); font-size: clamp(1.05rem, 2.4vw, 1.22rem); max-width: 46ch; }

/* Accent phrase used in headings */
.mark { position: relative; color: var(--accent); }

/* ---- Layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 11vw, 8rem); position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer;
    padding: .82rem 1.35rem; border-radius: 999px; border: 1px solid transparent;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); background: #74ffb4; }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Quiet text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; }
.tlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in oklab, var(--bg) 80%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: -.02em; font-size: 1.08rem; color: var(--ink); }
.brand .orbit { width: 28px; height: 28px; transition: filter .25s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.brand:hover .orbit { filter: drop-shadow(0 0 7px rgba(91,243,160,.65)); transform: rotate(8deg); }
.brand .wm { font-weight: 600; }
.brand .wm b {
    font-weight: 700;
    background: linear-gradient(100deg, #5bf3a0, #4fd6ff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin: -10px;
    background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.primary-nav {
    display: none; position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.4rem;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.primary-nav.open { display: flex; }
.primary-nav a:not(.btn) { color: var(--ink-soft); padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.primary-nav a:not(.btn):hover { color: var(--ink); }
.primary-nav a.active { color: var(--accent); }
.primary-nav .btn { margin-top: 1rem; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4rem, 13vw, 9rem) clamp(3rem, 8vw, 6rem); }
.hero .container { position: relative; z-index: 2; }

/* Backdrop: quiet starfield + a soft beam glow + horizon line */
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.hero-glow {
    position: absolute; z-index: 0; top: -30%; left: 50%; transform: translateX(-50%);
    width: min(900px, 120vw); aspect-ratio: 1; pointer-events: none;
    background: radial-gradient(closest-side, var(--accent-dim), transparent 70%);
}
.hero-beam {
    position: absolute; z-index: 0; top: -10%; right: -5%; width: 46vw; max-width: 520px; height: 130%;
    pointer-events: none; opacity: .5;
    background: linear-gradient(177deg, rgba(91,243,160,.16), transparent 62%);
    clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
    filter: blur(14px); transform: rotate(8deg);
}
.hero-horizon {
    position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
    opacity: .5;
}

.hero h1 { max-width: 16ch; margin-top: .5rem; }
.hero .lead { margin: 1.6rem 0 2.2rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; align-items: center; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2.8rem;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---- Marquee strip ------------------------------------------------------ */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip .container { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; padding-block: 1.3rem; justify-content: space-between; }
.strip span { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .6rem; }
.strip span b { color: var(--ink); font-weight: 600; }
.strip svg { width: 16px; height: 16px; color: var(--accent); }

/* ---- Section heading block --------------------------------------------- */
.head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.head .lead { margin-top: .8rem; }

/* ---- Services: editorial two-pane -------------------------------------- */
.services-grid { display: grid; gap: clamp(1.5rem, 5vw, 3rem); }
.services-aside .lead { margin-top: .8rem; }
.services-aside .tlink { margin-top: 1.4rem; }

.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.2rem;
    padding: 1.5rem 0; border-bottom: 1px solid var(--line);
    transition: padding-left .2s ease;
}
.feature:hover { padding-left: .5rem; }
.feature .ic {
    width: 44px; height: 44px; flex: none; border-radius: 11px;
    display: grid; place-items: center; color: var(--accent);
    border: 1px solid var(--line-2); background: var(--panel);
}
.feature .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: .3rem 0 .35rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---- Process timeline --------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: s; }
.step { position: relative; padding-left: 3.4rem; }
.step::before {
    counter-increment: s; content: counter(s, decimal-leading-zero);
    position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: .85rem;
    color: var(--accent); border: 1px solid var(--accent-line); border-radius: 50%;
    width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
}
.step::after {
    content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: -1.6rem; width: 1px;
    background: var(--line-2);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---- Work --------------------------------------------------------------- */
.work-grid { display: grid; gap: 1rem; }
.tile {
    position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; background: var(--panel); transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.tile .canvas { aspect-ratio: 16 / 11; position: relative; }
.tile .canvas::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 20% 0%, var(--accent-dim), transparent 55%), var(--panel-2);
}
.tile .canvas::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 30px 30px; mask-image: radial-gradient(120% 90% at 20% 0%, #000, transparent 70%);
}
.tile figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem; }
.tile figcaption b { font-weight: 600; }
.tile figcaption span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ---- Quote -------------------------------------------------------------- */
.quote { max-width: 40ch; }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(1.35rem, 2.6vw, 1.95rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.quote cite { display: block; margin-top: 1.4rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--muted); font-style: normal; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.3rem 0; display: flex; gap: 1.2rem; align-items: baseline;
    font-weight: 600; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .n { font-family: var(--mono); font-size: .8rem; color: var(--accent); flex: none; }
.faq-item summary .plus { margin-left: auto; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; flex: none; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-body { padding: 0 0 1.4rem 2.4rem; color: var(--ink-soft); max-width: 70ch; }
.faq-body p { margin: 0; }

/* ---- Contact ------------------------------------------------------------ */
.contact-wrap { display: grid; gap: clamp(2rem, 6vw, 4rem); }
.contact-info .lead { margin-top: .9rem; }
.contact-info ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-info li { display: grid; gap: .15rem; }
.contact-info .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-info a { color: var(--ink); }
.contact-info a:hover { color: var(--accent); }

.contact-form { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2rem); background: var(--panel); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.req { color: var(--accent); }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); padding: .85rem .95rem;
    background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; gap: 0 1.1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.g-recaptcha { margin-block: .4rem 1rem; }

.alert { padding: .95rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.4rem; font-size: .95rem; border: 1px solid; }
.alert-ok  { color: var(--accent); border-color: var(--accent-line); background: var(--accent-dim); }
.alert-err { color: #ffb4b4; border-color: rgba(255,120,120,.4); background: rgba(255,120,120,.08); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-grid { display: grid; gap: 2.4rem; padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; }
.footer-brand .brand { font-size: 1.1rem; margin-bottom: .9rem; }
.footer-brand p { color: var(--muted); max-width: 38ch; font-size: .95rem; }
.footer-brand p a.accent { color: var(--accent); }
.footer-col h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; color: var(--ink-soft); padding: .3rem 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex; flex-direction: column; gap: .6rem; padding-block: 1.5rem;
    border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-family: var(--mono); letter-spacing: .03em;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink-soft); }

/* ---- Reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* =============================================================================
   Scale up
   ============================================================================= */
@media (min-width: 600px) {
    .field-row { grid-template-columns: 1fr 1fr; }
    .work-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .primary-nav {
        position: static; display: flex; flex-direction: row; align-items: center; gap: 2rem;
        padding: 0; background: none; border: 0; inset: auto;
    }
    .primary-nav a:not(.btn) { padding: 0; border: 0; }
    .primary-nav .btn { margin-top: 0; }

    .services-grid { grid-template-columns: 5fr 7fr; align-items: start; }
    .services-aside { position: sticky; top: 92px; }
    .feature-list { grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
    /* keep top hairline continuous across two columns */
    .feature-list { border-top: 0; }
    .feature { border-top: 1px solid var(--line); border-bottom: 0; }

    .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
    .step { padding: 0 1.4rem 0 0; }
    .step::after { left: 1.2rem; top: 1.2rem; right: -1.4rem; bottom: auto; width: auto; height: 1px; }
    .step h3 { margin-top: 3.4rem; }

    .work-grid { grid-template-columns: repeat(4, 1fr); }
    .work-grid .tile.feature-tile { grid-column: span 2; grid-row: span 1; }

    .contact-wrap { grid-template-columns: 5fr 7fr; align-items: start; }
    .quote-band { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: clamp(2rem, 5vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover, .tile:hover { transform: none; }
}

/* =============================================================================
   Enhancements — planet, headline, stats, comparison, marquee, packages,
   testimonials, scroll beam, sticky CTA, micro-interactions
   ============================================================================= */

/* ---- Scroll-progress beam (top) ---------------------------------------- */
.scroll-beam {
    position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
    background: linear-gradient(90deg, var(--accent), #74ffb4);
    transform: scaleX(0); transform-origin: 0 50%;
    box-shadow: 0 0 12px rgba(91,243,160,.6);
}

/* ---- Hero wireframe planet --------------------------------------------- */
.orb {
    position: absolute; z-index: 0; top: 6%; right: -6%;
    width: min(360px, 64vw); aspect-ratio: 1; pointer-events: none; opacity: .55;
}

/* ---- Headline word-mask assemble --------------------------------------- */
.headline { display: block; }
.headline .w { display: inline-flex; overflow: hidden; vertical-align: bottom; }
.headline .w > span {
    display: inline-block;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
/* JS adds .prep to hide, then removes it to animate in — fails visible if JS is off */
.headline.prep .w > span { transform: translateY(115%); transition: none; }
.headline .w.a > span { color: var(--accent); }
.headline .w:nth-child(1) > span { transition-delay: .04s; }
.headline .w:nth-child(2) > span { transition-delay: .08s; }
.headline .w:nth-child(3) > span { transition-delay: .12s; }
.headline .w:nth-child(4) > span { transition-delay: .16s; }
.headline .w:nth-child(5) > span { transition-delay: .20s; }
.headline .w:nth-child(6) > span { transition-delay: .24s; }
.headline .w:nth-child(7) > span { transition-delay: .28s; }

/* ---- Stats band -------------------------------------------------------- */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding-block: clamp(2.4rem, 6vw, 3.6rem); }
.stat { text-align: center; }
.stat .figure {
    font-size: clamp(2.4rem, 7vw, 3.4rem); font-weight: 700; letter-spacing: -.03em;
    color: var(--ink); line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: .05em;
}
.stat .suf { color: var(--accent); }
.stat .cap { display: block; margin-top: .6rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---- Comparison -------------------------------------------------------- */
.compare { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-head { background: var(--panel); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.compare-cell { padding: 1rem 1.1rem; display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; }
.compare-cell + .compare-cell { border-left: 1px solid var(--line); }
.compare-cell.them { color: var(--muted); }
.compare-cell.us { color: var(--ink); }
.compare-cell svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.compare-cell.them svg { color: #ff8a8a; }
.compare-cell.us svg { color: var(--accent); }
.compare-head .compare-cell { color: var(--ink); font-weight: 600; padding-block: .85rem; }
.compare-head .us { color: var(--accent); }

/* ---- Industries marquee ------------------------------------------------ */
.marquee { border-block: 1px solid var(--line); background: var(--bg-soft); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    font-family: var(--mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-soft); padding: 0 1.6rem; display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .7rem; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---- Packages ---------------------------------------------------------- */
.packages { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: 1rem; }
.pkg {
    border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem;
    background: var(--panel); display: flex; flex-direction: column; gap: 1rem;
    transition: border-color .2s ease, transform .2s ease;
}
.pkg:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.pkg.featured { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), 0 30px 70px -40px rgba(91,243,160,.5); }
.pkg-tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: flex; justify-content: space-between; align-items: center; }
.pkg-tag .badge { background: var(--accent); color: var(--accent-ink); padding: .15rem .5rem; border-radius: 6px; font-weight: 600; }
.pkg h3 { font-size: 1.5rem; margin: 0; }
.pkg .pkg-sub { color: var(--ink-soft); font-size: .95rem; margin: -.4rem 0 0; }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.pkg li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-size: .94rem; }
.pkg li svg { width: 17px; height: 17px; flex: none; margin-top: .15rem; color: var(--accent); }
.pkg .btn { margin-top: auto; }

/* ---- Testimonials (crossfade) ------------------------------------------ */
.t-stack { display: grid; }
.t-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.t-item.active { opacity: 1; visibility: visible; }
.t-item p { font-size: clamp(1.4rem, 3.2vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); max-width: 24ch; }
.t-item cite { display: block; margin-top: 1.2rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; color: var(--muted); font-style: normal; }
.t-dots { display: flex; gap: .6rem; margin-top: 2rem; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; padding: 0; transition: background .2s, border-color .2s; }
.t-dot.active { background: var(--accent); border-color: var(--accent); }

/* ---- Micro-interaction transitions ------------------------------------- */
[data-magnetic] { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
[data-tilt] { transition: transform .2s ease; transform-style: preserve-3d; }
.tlink { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.tlink:hover { background-size: 100% 1px; text-decoration: none; }

/* ---- Sticky mobile CTA ------------------------------------------------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--bg) 86%, transparent);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ---- Scale up: enhancement breakpoints --------------------------------- */
@media (min-width: 600px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .packages { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .packages { grid-template-columns: repeat(3, 1fr); }
    .sticky-cta { display: none; }        /* desktop has the sticky nav CTA */
}

/* ---- Audit magnet ------------------------------------------------------ */
.audit { background:
    radial-gradient(700px 360px at 15% 0%, rgba(91,243,160,.10), transparent 70%), var(--bg-soft);
    border-block: 1px solid var(--line); }
.audit-inner { display: grid; gap: clamp(1.6rem, 5vw, 3rem); align-items: center; }
.audit-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.audit-points li { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); }
.audit-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.audit-form { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 1.9rem); background: var(--panel); box-shadow: var(--shadow); }
.audit-form h3 { margin-bottom: 1.1rem; }

/* ---- Proof / case studies ---------------------------------------------- */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.case { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.6rem; background: var(--panel); }
.case-metric { font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 750; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.case-result { color: var(--ink); margin-top: .3rem; font-weight: 600; }
.case-meta { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.case-client { font-weight: 600; }
.case-before { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

.rating { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 2.4rem; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); }
.rating .stars { color: var(--accent); letter-spacing: .1em; font-size: 1.1rem; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; margin-top: 2.4rem; opacity: .8; }
.logos span { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 8px; padding: .5rem .9rem; }

.founder { display: flex; gap: 1.2rem; align-items: center; margin-top: 2.8rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.founder-avatar {
    width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--mono); font-weight: 700; letter-spacing: .04em; color: var(--accent-ink);
    background: linear-gradient(135deg, var(--accent), #74ffb4);
}
.founder-quote { color: var(--ink); font-size: 1.05rem; margin: 0 0 .4rem; }
.founder-name { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); margin: 0; }
.founder-name strong { color: var(--ink-soft); font-weight: 600; }

/* ---- Guarantees -------------------------------------------------------- */
.guarantees { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.guarantee-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.guarantee .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-dim); }
.guarantee .ic svg { width: 22px; height: 22px; }
.guarantee h3 { margin: .2rem 0 .3rem; }
.guarantee p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---- Talk / book-a-call ------------------------------------------------ */
.talk { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; }
.talk .btn { justify-content: center; }
.talk-alt { display: flex; gap: .6rem; }
.talk-alt a { flex: 1; text-align: center; padding: .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s; }
.talk-alt a:hover { border-color: var(--accent-line); color: var(--accent); }
.talk-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin: 0; }

@media (min-width: 600px) {
    .case-grid { grid-template-columns: repeat(3, 1fr); }
    .guarantee-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .audit-inner { grid-template-columns: 1fr 1fr; }
    .guarantee-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Legal / prose pages ----------------------------------------------- */
.legal { max-width: 760px; }
.legal .label { margin-bottom: 1rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: .4rem; }
.legal .updated { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--muted); margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1rem; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Footer legal row -------------------------------------------------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--ink-soft); }

/* ---- Section variants --------------------------------------------------- */
.section-alt { background: var(--bg-soft); }
.section-contact { background:
    radial-gradient(700px 360px at 50% 0%, rgba(91,243,160,.10), transparent 70%), var(--bg-soft); }

/* ---- Service "also includes" chips ------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-soft); font-size: .92rem; }
.chip svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---- Reusable CTA band -------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }

/* ---- About: story + values --------------------------------------------- */
.values { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.value { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--panel); }
.value .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line-2); margin-bottom: .9rem; }
.value .ic svg { width: 22px; height: 22px; }
.value h3 { margin: 0 0 .3rem; }
.value p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.prose { max-width: 60ch; }
.prose p { color: var(--ink-soft); }
.prose .lead { color: var(--ink); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* ---- Cursor spotlight --------------------------------------------------- */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 500px; height: 500px; border-radius: 50%;
    pointer-events: none; z-index: 3; opacity: 0; transition: opacity .35s ease;
    mix-blend-mode: screen;
    background: radial-gradient(closest-side, rgba(91,243,160,.10), transparent 70%);
}
.cursor-glow.on { opacity: 1; }

/* ---- Hero aurora -------------------------------------------------------- */
.hero-aurora { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-aurora::before, .hero-aurora::after {
    content: ""; position: absolute; width: 52vw; max-width: 640px; aspect-ratio: 1;
    border-radius: 50%; filter: blur(90px);
}
.hero-aurora::before { background: #5bf3a0; opacity: .15; left: -6%; top: 8%; animation: aur1 19s ease-in-out infinite; }
.hero-aurora::after  { background: #4fd6ff; opacity: .11; right: -6%; top: -12%; animation: aur2 23s ease-in-out infinite; }
@keyframes aur1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(8vw,6vh); } }
@keyframes aur2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-7vw,8vh); } }

@media (prefers-reduced-motion: reduce) {
    .headline .w > span { transform: none !important; transition: none !important; }
    .marquee-track { animation: none !important; }
    .scroll-beam { display: none; }
    .t-item { transition: none !important; }
    .cursor-glow { display: none; }
    .hero-aurora::before, .hero-aurora::after { animation: none !important; }
}
