/*
 * MeYou&Music public site (home, About, Pricing, Work With Us, Privacy).
 * Handwritten on purpose: no Tailwind CDN on these pages, so they load fast.
 * The dashboards and staff portals keep their own Tailwind setup.
 *
 * Visual system (docs/website-spec-v2.md): Josefin Sans for headlines, nav, labels and
 * key numbers; Inter for body. Black canvas, off-white type, red used like an
 * instrument-panel light. Rectangular buttons, thin borders. Motion is fades, hovers
 * and waveform movement only: no parallax, spinning or 3D.
 *
 * Layout: fluid. The container grows with the screen up to about 1720px of content,
 * with gutters that scale, so a 1920px laptop is used edge to edge.
 */

:root {
    --black: #000;
    --ink: #060607;
    --panel: #0c0c0e;
    --off: #f5f5f3;
    --paper: #f5f5f3;
    --paper-ink: #0a0a0a;
    --white: #fff;
    --red: #fc0207;
    --red-dark: #ce0307;
    --soft: rgba(245, 245, 243, .86);
    --muted: rgba(245, 245, 243, .66);
    --line: rgba(245, 245, 243, .14);
    --line-strong: rgba(245, 245, 243, .34);
    --head: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --gutter: clamp(20px, 4.2vw, 84px);
    --wrap-max: 1720px;
    --header-h: 68px;
    --section-y: clamp(84px, 9vw, 176px);
    --lede: clamp(1.1rem, 1.3vw, 1.45rem);
}
@media (min-width: 1100px) { :root { --header-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--black);
    color: var(--off);
    font: 400 clamp(1rem, 1.05vw, 1.125rem)/1.65 var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 100;
    background: var(--off); color: var(--black); padding: 10px 16px;
    font: 600 .8rem var(--head); letter-spacing: .1em; text-transform: uppercase;
}
.skip-link:focus { top: 8px; }

/* ---- Type ------------------------------------------------------------ */
h1, h2, h3, h4 {
    font-family: var(--head);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: .005em;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 6.4vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4.7vw, 5.4rem); line-height: .98; }
h3 { font-size: clamp(1.1rem, 1.45vw, 1.6rem); line-height: 1.15; }
.label {
    font: 600 .72rem/1.3 var(--head);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.red { color: var(--red); }
.lede { font-size: var(--lede); color: var(--soft); max-width: 46rem; line-height: 1.55; }
.soft { color: var(--soft); }

/* ---- Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); position: relative; }
.section--first { border-top: 0; }
.section > .wrap > h2 { margin-bottom: 28px; }
.rule { width: 56px; height: 3px; background: var(--red); margin: 0 0 28px; }

/* Heading on the left, supporting text on the right */
.head-split { display: grid; gap: 22px; align-items: end; margin-bottom: clamp(40px, 5vw, 92px); }
.head-split h2, .head-split .lede, .head-split .section__intro { margin: 0; }
@media (min-width: 1000px) { .head-split { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 130px); } }

.split { display: grid; gap: 28px; }
@media (min-width: 1000px) {
    .split { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 140px); align-items: start; }
    .split > h2 { position: sticky; top: calc(var(--header-h) + 40px); }
}
.split__body p:last-child { margin-bottom: 0; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    min-height: 52px; padding: 0 30px;
    font: 600 .86rem var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
    border: 1px solid var(--off); border-radius: 2px; background: transparent; color: var(--off);
    cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn--solid { background: var(--off); color: var(--black); }
.btn--solid:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--lg { min-height: clamp(56px, 4.2vw, 68px); padding: 0 clamp(28px, 2.6vw, 48px); font-size: clamp(.84rem, .95vw, 1rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ---- Header ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(0, 0, 0, .94); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: background-color .3s, border-color .3s;
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: block; line-height: 0; }
.brand img { height: clamp(28px, 2.4vw, 38px); width: auto; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px clamp(20px, 2.4vw, 44px); }
.nav a:not(.btn) {
    position: relative;
    font: 600 clamp(.74rem, .82vw, .88rem) var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
    color: var(--muted); padding: 10px 0; transition: color .2s;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 4px; height: 2px; width: 0; background: var(--red); transition: width .3s; }
.nav a:not(.btn):hover { color: var(--off); }
.nav a:not(.btn):hover::after, .nav a.is-active::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a.is-active, .nav a[aria-current="page"]:not(.btn) { color: var(--off); }
.nav .nav__cta { min-height: 46px; padding: 0 22px; font-size: clamp(.74rem, .82vw, .86rem); }
.nav .nav__cta[aria-current="page"] { border-color: var(--red); color: var(--red); }

/* On the homepage the header floats over the hero and turns solid once you scroll. */
.page-home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-home .site-header.is-scrolled, .page-home .site-header.is-open {
    background: rgba(0, 0, 0, .9); border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.nav-toggle { display: none; }
@media (max-width: 899px) {
    .js .nav-toggle {
        display: grid; place-content: center; gap: 5px; width: 46px; height: 46px;
        background: transparent; border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
    }
    .nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--off); transition: transform .2s, opacity .2s; }
    .site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .js .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0;
        background: var(--black); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    }
    .js .site-header.is-open .nav { display: flex; }
    .js .nav a:not(.btn) { min-height: 54px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: .92rem; }
    .js .nav a:not(.btn)::after { display: none; }
    .js .nav .nav__cta { margin-top: 20px; min-height: 54px; }
    .nav { padding-bottom: 12px; }                      /* no-JS: links simply wrap under the logo */
    .site-header__bar { flex-wrap: wrap; }
}

/* ---- Scroll fades (opacity only) ------------------------------------------ */
.js .reveal { opacity: 0; transition: opacity .9s ease; }
.js .reveal.is-in { opacity: 1; }
.js [data-stagger] > * { opacity: 0; transition: opacity .8s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-stagger].is-in > * { opacity: 1; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: max(660px, min(100svh, 1180px));
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: calc(var(--header-h) + 24px) 0 clamp(150px, 13vw, 200px);
    background: var(--black);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img {
    position: absolute; right: 0; top: 0; width: 100%; height: 76%;
    object-fit: cover; object-position: var(--hero-pos, 55% 35%);
    filter: brightness(.86) contrast(1.06) saturate(.92);
    -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 52%, transparent 100%);
}
.hero__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0) 22%),
        linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0) 34%);
}
.hero__title { font-size: clamp(2.5rem, 5.35vw, 6.7rem); line-height: .95; max-width: 10.6em; }
.hero__lede { margin-top: clamp(22px, 2.4vw, 40px); font-size: clamp(1.1rem, 1.5vw, 1.65rem); line-height: 1.5; color: var(--soft); max-width: 36em; }
.hero .btn-row { margin-top: clamp(28px, 3vw, 48px); }
@media (min-width: 900px) {
    .hero { justify-content: center; }
    .hero__img {
        width: 60%; height: 100%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%);
        mask-image: linear-gradient(90deg, transparent 0, #000 46%);
    }
    .hero__lede { max-width: 30em; }
}
@media (min-width: 1500px) { .hero__img { width: 56%; } }

.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(92px, 8.4vw, 132px); }
.hero-strip { width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wv { transform-box: fill-box; transform-origin: center; animation: breathe 3.6s ease-in-out infinite alternate; }
.wv--b { animation-duration: 2.4s; animation-delay: -.8s; }
@keyframes breathe { from { transform: scaleY(.82); } to { transform: scaleY(1.06); } }
.playhead { animation: sweep 22s linear infinite; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(1300px); } }

.meters { position: absolute; top: 22px; right: var(--gutter); display: flex; gap: 6px; }
.meter { position: relative; width: 8px; height: 84px; background: repeating-linear-gradient(to top, rgba(245, 245, 243, .13) 0 5px, transparent 5px 8px); }
.meter i {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--off) 0 78%, var(--red) 78% 100%);
    -webkit-mask: repeating-linear-gradient(to top, #000 0 5px, transparent 5px 8px);
    mask: repeating-linear-gradient(to top, #000 0 5px, transparent 5px 8px);
    animation: level 2.8s steps(12, end) infinite alternate;
}
.meter--b i { animation-duration: 3.4s; animation-delay: -1.1s; }
@keyframes level { from { clip-path: inset(66% 0 0 0); } to { clip-path: inset(10% 0 0 0); } }
@media (max-width: 899px) { .hero__strip .meters { display: none; } }

/* ---- Founder's letter (a sheet of paper in a dark page) ---------------- */
.letter { background: var(--paper); color: var(--paper-ink); border-top: 0; overflow: hidden; padding-bottom: calc(var(--section-y) + 40px); }
.letter__grid { display: grid; gap: 36px; position: relative; z-index: 1; }
@media (min-width: 1000px) { .letter__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 140px); } }
.letter h2 { font-size: clamp(2.1rem, 4.5vw, 5.2rem); color: var(--paper-ink); margin: 0; }
.letter__head { align-self: start; }
@media (min-width: 1000px) { .letter__head { position: sticky; top: calc(var(--header-h) + 40px); } }
.letter__body p { margin: 0 0 1.25em; color: #2a2a2a; font-size: clamp(1.05rem, 1.28vw, 1.32rem); line-height: 1.7; max-width: 40em; }
.letter__body .letter__lead { color: var(--paper-ink); font: 500 clamp(1.35rem, 2vw, 2.2rem)/1.28 var(--body); letter-spacing: -.012em; margin-bottom: .7em; }
.letter__body .letter__turn { color: var(--paper-ink); font: 700 clamp(1.3rem, 1.9vw, 2.1rem)/1.15 var(--head); text-transform: uppercase; letter-spacing: .01em; margin: 1.5em 0 1em; padding-left: 20px; border-left: 4px solid var(--red); }
.letter__sign { display: flex; align-items: center; gap: 18px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(0, 0, 0, .2); max-width: 40em; }
.letter__photo { width: 72px; height: 72px; object-fit: cover; border: 1px solid rgba(0, 0, 0, .25); border-radius: 2px; flex: none; }
.signature { margin: 0; font: italic 600 clamp(1.3rem, 1.6vw, 1.7rem) var(--head); color: var(--paper-ink); }
.letter .wave-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 10vw, 150px); color: rgba(0, 0, 0, .075); }

/* ---- Tracks + player --------------------------------------------------- */
.section--glow { background: radial-gradient(60% 40% at 50% 0%, rgba(252, 2, 7, .10), transparent 70%), var(--ink); }
.section__intro { color: var(--soft); font-size: var(--lede); max-width: 40rem; }
.tracks { display: grid; gap: clamp(14px, 1.4vw, 26px); }
@media (min-width: 900px) { .tracks { grid-template-columns: repeat(3, 1fr); } }
.track {
    position: relative; overflow: hidden; min-width: 0;
    padding: clamp(22px, 2.2vw, 40px);
    border: 1px solid var(--line); background: linear-gradient(180deg, #111113, #08080a);
    transition: border-color .3s, background-color .3s;
}
.track::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .6s ease; }
.track:hover { border-color: var(--line-strong); }
.track:hover::after, .track.is-playing::after { width: 100%; }
.track__ghost { position: absolute; right: 14px; top: -10px; font: 700 clamp(5.5rem, 9vw, 10rem)/1 var(--head); color: rgba(245, 245, 243, .045); pointer-events: none; user-select: none; }
.track__head { position: relative; display: flex; align-items: baseline; gap: 12px; }
.track__num { font: 700 .9rem var(--head); letter-spacing: .14em; color: var(--red); }
.track__title { font-size: clamp(1.5rem, 2.1vw, 2.3rem); }
.track__meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
.track__credit { margin: 6px 0 0; color: var(--muted); font-size: .85rem; }
.tag { border: 1px solid var(--line-strong); padding: 2px 9px; font: 600 .68rem var(--head); letter-spacing: .13em; text-transform: uppercase; color: var(--off); }
.track__caption { position: relative; margin: 26px 0 0; padding-left: 18px; border-left: 2px solid var(--red); color: var(--soft); font-size: clamp(1.02rem, 1.2vw, 1.25rem); line-height: 1.5; }
.track__caption strong { color: var(--off); font-weight: 600; }

.player { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; padding: 14px; background: #040405; border: 1px solid var(--line); }
.player__btn {
    flex: none; width: clamp(52px, 4.2vw, 66px); height: clamp(52px, 4.2vw, 66px); display: grid; place-items: center;
    background: var(--off); color: var(--black); border: 1px solid var(--off); border-radius: 2px; cursor: pointer;
    transition: background-color .25s, border-color .25s, color .25s;
}
.player__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: var(--white); }
.player__btn:disabled { background: transparent; color: var(--muted); border-color: var(--line-strong); opacity: .5; cursor: default; }
.player__btn svg { width: 22px; height: 22px; fill: currentColor; }
.ico-pause { display: none; }
.is-playing .ico-play { display: none; }
.is-playing .ico-pause { display: block; }
.is-playing .player__btn { background: var(--red); border-color: var(--red); color: var(--white); }

.wave { position: relative; flex: 1 1 120px; min-width: 0; height: clamp(56px, 5vw, 84px); cursor: pointer; }
.is-empty .wave { cursor: default; }
.wave__bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.wave__bars i { flex: 1 1 0; min-width: 1px; background: rgba(245, 245, 243, .34); border-radius: 1px; }
.wave__bars--on i { background: var(--red); }
.wave__bars--on { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.is-empty .wave__bars i { background: rgba(245, 245, 243, .16); }
.player__time { flex: none; font: 600 .76rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 3.6em; text-align: right; }
.is-empty .player__time { flex: 1 0 100%; text-align: left; }

/* Under the records: the four questions, set large */
.questions { margin-top: clamp(80px, 9vw, 160px); padding-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); display: grid; gap: 36px; }
.questions__intro { margin: 0; font: 700 clamp(1.2rem, 1.7vw, 1.9rem)/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; max-width: 14em; }
.questions__intro::before { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin-bottom: 24px; }
.questions__list { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: q; }
.questions__list li {
    counter-increment: q; position: relative; padding: clamp(20px, 2.2vw, 36px) 0 clamp(20px, 2.2vw, 36px) clamp(54px, 5vw, 84px);
    border-top: 1px solid var(--line); font: italic 600 clamp(1.4rem, 2.5vw, 3rem)/1.1 var(--head);
}
.questions__list li:last-child { border-bottom: 1px solid var(--line); }
.questions__list li::before { content: "0" counter(q); position: absolute; left: 0; top: clamp(24px, 2.6vw, 42px); font: 700 clamp(.9rem, 1vw, 1.1rem) var(--head); letter-spacing: .12em; color: var(--red); font-style: normal; }
.questions__close { grid-column: 1 / -1; margin: clamp(40px, 5vw, 90px) 0 0; font: 700 clamp(2.2rem, 6.4vw, 8rem)/.95 var(--head); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.questions__close .outline { color: rgba(245, 245, 243, .26); display: block; }
.questions__close span:not(.outline) { display: block; }
@media (min-width: 1000px) { .questions { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 140px); } }

/* ---- Your name stays on the record ---------------------------------- */
.split__body .lede { font-size: clamp(1.2rem, 1.7vw, 1.9rem); line-height: 1.45; max-width: 34em; color: var(--soft); margin-bottom: 1.1em; }
.statement { font: 700 clamp(1.5rem, 2.5vw, 2.8rem)/1.08 var(--head); text-transform: uppercase; color: var(--off); margin: 1.2em 0; }
.kicker { font: 700 clamp(1.15rem, 1.5vw, 1.6rem)/1.3 var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--off); margin-top: 2em; padding-top: 1.1em; border-top: 3px solid var(--red); display: inline-block; }

/* ---- Standard doesn't drop ------------------------------------------- */
.points { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(36px, 4vw, 72px); }
.point { position: relative; background: var(--black); padding: clamp(26px, 2.6vw, 48px); transition: background-color .3s; }
.point::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .5s ease; }
.point:hover { background: #0b0b0d; }
.point:hover::before { width: 100%; }
.point__n { display: block; font: 700 clamp(2.6rem, 4.2vw, 4.8rem)/1 var(--head); color: var(--red); margin-bottom: clamp(24px, 3vw, 48px); }
.point__label { font: 700 clamp(1.05rem, 1.35vw, 1.5rem)/1.2 var(--head); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
.point p { margin: 0; color: var(--soft); font-size: clamp(.98rem, 1.1vw, 1.15rem); }
@media (min-width: 760px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .points { grid-template-columns: repeat(3, 1fr); } }

/* ---- Services: bento grid ---------------------------------------------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--black); padding: clamp(26px, 2.6vw, 48px); transition: background-color .3s; }
.service:hover { background: #0b0b0d; }
.service .motif { width: 100%; height: auto; max-height: 150px; color: rgba(245, 245, 243, .75); transition: color .3s; margin-bottom: clamp(26px, 2.6vw, 44px); }
.service:hover .motif { color: var(--off); }
.service__label { font: 700 clamp(1.15rem, 1.6vw, 1.8rem)/1.15 var(--head); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
.service p { margin: 0; color: var(--soft); max-width: 30em; }
.service--note { display: flex; align-items: center; background: var(--ink); }
.service--note p { color: var(--muted); font: 600 clamp(1.1rem, 1.5vw, 1.7rem)/1.35 var(--head); max-width: 44em; letter-spacing: .01em; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } .service--note { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
    .services { grid-template-columns: repeat(6, 1fr); }
    .service:nth-child(1), .service:nth-child(2) { grid-column: span 3; }
    .service:nth-child(3), .service:nth-child(4), .service:nth-child(5) { grid-column: span 2; }
}

/* ---- How it works: a connected timeline -------------------------------- */
.steps { list-style: none; padding: 0; margin: clamp(36px, 4vw, 72px) 0 clamp(36px, 4vw, 64px); display: grid; gap: 0; position: relative; }
.step { position: relative; padding: 0 0 clamp(26px, 3vw, 40px) 34px; border-left: 1px solid var(--line-strong); margin-left: 5px; }
.step::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--black); border: 1px solid var(--line-strong); transition: background-color .3s, border-color .3s; }
.step:hover::before { background: var(--red); border-color: var(--red); }
.step__n { font: 700 clamp(2.6rem, 4.4vw, 5rem)/1 var(--head); color: var(--red); }
.step__label { font: 700 clamp(1rem, 1.2vw, 1.3rem)/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase; margin: 14px 0 10px; }
.step p { margin: 0; color: var(--soft); font-size: clamp(.96rem, 1.05vw, 1.1rem); }
@media (min-width: 720px) {
    .steps { grid-template-columns: repeat(3, 1fr); column-gap: 0; }
    .step { border-left: 0; margin-left: 0; padding: 40px 28px 40px 0; border-top: 1px solid var(--line-strong); }
    .step::before { left: 0; top: -6px; }
}
@media (min-width: 1180px) {
    .steps { grid-template-columns: repeat(6, 1fr); }
    .step { padding: 48px clamp(16px, 1.6vw, 32px) 24px 0; }
}
.closing-line { font: 500 clamp(1.15rem, 1.6vw, 1.8rem)/1.45 var(--body); color: var(--soft); margin: 0; max-width: 40em; }

/* ---- Capacity flow ------------------------------------------------------------ */
.capacity__text { max-width: 46rem; }
.capacity__text .lede { margin-bottom: 1.1em; }
.flow { display: grid; margin: clamp(44px, 5vw, 88px) 0; }
.flow__node {
    border: 1px solid var(--line-strong); padding: clamp(24px, 3vw, 48px) 16px; text-align: center; background: linear-gradient(180deg, #0f0f11, #060607);
    font: 700 clamp(.95rem, 1.5vw, 1.6rem) var(--head); letter-spacing: .12em; text-transform: uppercase;
}
.flow__node--mid { border-color: var(--off); box-shadow: inset 0 3px 0 var(--red); }
.flow__link { position: relative; min-height: 44px; overflow: hidden; }
.flow__link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 8px; width: 1px; background: var(--line-strong); }
.flow__link::after { content: ""; position: absolute; left: calc(50% - 5px); bottom: 3px; width: 9px; height: 9px; border-right: 1px solid var(--off); border-bottom: 1px solid var(--off); transform: rotate(45deg); }
.flow__link i { position: absolute; left: calc(50% - 3px); top: 0; width: 7px; height: 7px; background: var(--red); animation: travel-y 2.6s ease-in-out infinite; }
@keyframes travel-y { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
@media (min-width: 760px) {
    .flow { grid-template-columns: 1fr clamp(72px, 9vw, 160px) 1fr clamp(72px, 9vw, 160px) 1fr; align-items: stretch; }
    .flow__link::before { left: 0; right: 8px; top: 50%; bottom: auto; width: auto; height: 1px; }
    .flow__link::after { left: auto; right: 3px; top: calc(50% - 5px); bottom: auto; transform: rotate(-45deg); }
    .flow__link i { left: 0; top: calc(50% - 3px); animation-name: travel-x; }
    @keyframes travel-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(calc(clamp(72px, 9vw, 160px) - 14px)); opacity: 0; } }
}
.ongoing { display: grid; gap: 20px; align-items: center; padding: clamp(28px, 3.4vw, 64px); border: 1px solid var(--line); background: linear-gradient(110deg, #101012, #060607 60%); }
.ongoing__label { font: 700 clamp(1.3rem, 2vw, 2.3rem)/1.1 var(--head); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
.ongoing p { max-width: 38em; color: var(--soft); margin: 0; font-size: var(--lede); }
.ongoing .btn-row { margin: 0; }
@media (min-width: 1000px) { .ongoing { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---- Confidentiality ---------------------------------------------------- */
.commit { list-style: none; padding: 0; margin: clamp(28px, 3vw, 48px) 0 0; counter-reset: c; border-top: 1px solid var(--line); }
.commit li { counter-increment: c; position: relative; padding: clamp(20px, 2.2vw, 34px) 0 clamp(20px, 2.2vw, 34px) clamp(54px, 5vw, 84px); border-bottom: 1px solid var(--line); color: var(--soft); font-size: clamp(1.02rem, 1.25vw, 1.3rem); transition: background-color .3s; }
.commit li::before { content: "0" counter(c); position: absolute; left: 0; top: clamp(22px, 2.4vw, 36px); font: 700 clamp(1rem, 1.3vw, 1.4rem) var(--head); letter-spacing: .1em; color: var(--red); }

/* ---- Closing CTA -------------------------------------------------------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 15vw, 260px) 0 clamp(150px, 19vw, 330px); border-top: 1px solid var(--line); background: radial-gradient(55% 70% at 88% 100%, rgba(252, 2, 7, .16), transparent 70%), var(--black); }
.closing__bg { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 20vw, 340px); z-index: -1; color: rgba(245, 245, 243, .09); }
.closing__bg .wave-art { width: 100%; height: 100%; }
.closing h2 { font-size: clamp(2.4rem, 7.2vw, 9rem); line-height: .94; margin-bottom: clamp(28px, 3vw, 52px); max-width: 11em; }
.closing p { max-width: 36em; color: var(--soft); font-size: clamp(1.1rem, 1.5vw, 1.65rem); line-height: 1.5; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); border-top: 1px solid var(--line); padding: clamp(60px, 6vw, 110px) 0 0; color: var(--muted); }
.site-footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(40px, 6vw, 120px); } }
.site-footer__brand img { height: clamp(32px, 3vw, 46px); width: auto; margin-bottom: 22px; }
.site-footer__tag { margin: 0 0 4px; color: var(--soft); font-size: clamp(1.05rem, 1.3vw, 1.35rem); }
.site-footer__sign { color: var(--muted); margin: 0; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: 2px; }
.site-footer a { text-decoration: none; color: var(--muted); padding: 7px 0; transition: color .2s; }
.site-footer a:hover { color: var(--red); }
.site-footer__nav a, .site-footer__contact a { font: 600 clamp(.8rem, .9vw, .95rem) var(--head); letter-spacing: .14em; text-transform: uppercase; }
.site-footer__contact a.site-footer__mail { text-transform: none; letter-spacing: .01em; font: 500 clamp(1rem, 1.2vw, 1.25rem) var(--body); color: var(--off); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: clamp(48px, 5vw, 88px) 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.site-footer__legal a { padding: 0; }
.site-footer__word {
    margin-top: clamp(20px, 3vw, 56px); text-align: center; white-space: nowrap; overflow: hidden; user-select: none; pointer-events: none;
    font: 700 11.3vw/.74 var(--head); letter-spacing: .01em; color: rgba(245, 245, 243, .05);
    padding-bottom: .04em;
}

/* ================= Inner pages (About, Pricing, Work With Us, Privacy) ================= */

.page-head { padding: clamp(60px, 7vw, 140px) 0 clamp(48px, 5vw, 96px); }
.page-head h1 { max-width: 13em; }
.page-head .lede { margin-top: 28px; }

.facts { display: grid; margin: 56px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .72rem var(--head); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 8px 0 0; font: 700 clamp(1.15rem, 1.5vw, 1.6rem)/1.3 var(--head); letter-spacing: .02em; overflow-wrap: break-word; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--red); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1080px) {
    .facts { grid-template-columns: 1.25fr 1.2fr .7fr 1fr 1.55fr; column-gap: 0; border-bottom: 1px solid var(--line); }
    .facts > div { border-bottom: 0; border-left: 1px solid var(--line); padding: 26px 24px 30px; }
    .facts > div:first-child { border-left: 0; padding-left: 0; }
}

.founder { display: grid; gap: 32px; }
.founder__photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-strong); }
.founder__name { font: 700 clamp(1.6rem, 2.4vw, 2.6rem) var(--head); text-transform: uppercase; margin: 0; }
.founder__title { margin: 4px 0 22px; }
@media (min-width: 760px) { .founder { grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; } }

.engineers { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 28px; }
.engineer { background: var(--black); padding: 28px; }
.engineer h3 { margin-bottom: 8px; }
.engineer ul { list-style: none; padding: 0; margin: 12px 0 0; color: var(--soft); font-size: .95rem; }
.engineer li::before { content: "— "; color: var(--red); }
@media (min-width: 760px) { .engineers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .engineers { grid-template-columns: repeat(3, 1fr); } }

.method { font-size: clamp(1.2rem, 1.9vw, 2.1rem); line-height: 1.5; color: var(--off); max-width: 44em; }
.cta-band { padding: clamp(64px, 7vw, 120px) 0; border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band .btn { min-width: 240px; min-height: clamp(56px, 4.2vw, 68px); }

/* ---- Pricing ------------------------------------------------------------ */
.pilot { display: grid; gap: 28px; border: 1px solid var(--line-strong); padding: clamp(28px, 3vw, 56px); margin-top: 8px; background: linear-gradient(110deg, #111113, #060607 65%); }
.pilot__price { font: 700 clamp(3.4rem, 9vw, 9rem)/1 var(--head); color: var(--red); letter-spacing: -.01em; }
.pilot__per { font: 600 .85rem var(--head); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.pilot__facts { list-style: none; padding: 0; margin: 0; align-self: center; }
.pilot__facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: var(--lede); }
.pilot__facts li:first-child { border-top: 1px solid var(--line); }
.pilot__line { margin: 0; font: 700 clamp(1.2rem, 2.4vw, 2.6rem)/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .pilot { grid-template-columns: auto 1fr; gap: 28px clamp(48px, 7vw, 140px); } }

.table-wrap { margin-top: 32px; }
.plans { width: 100%; border-collapse: collapse; }
.plans th, .plans td { text-align: left; padding: 24px 16px 24px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans thead th { font: 600 .74rem var(--head); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.plans tbody th { font: 700 clamp(1.6rem, 2.2vw, 2.6rem)/1.1 var(--head); text-transform: uppercase; }
.plans tbody tr { transition: background-color .25s; }
.plans tbody tr:hover { background: #0a0a0c; }
.plans .num { font: 700 clamp(1.35rem, 1.8vw, 2.1rem)/1.2 var(--head); }
.plans .num--red { color: var(--red); }
.plans small { display: block; margin-top: 4px; color: var(--muted); font: 400 .88rem/1.4 var(--body); }
@media (max-width: 759px) {
    .plans thead { position: absolute; left: -9999px; }
    .plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: 100%; }
    .plans tr { border: 1px solid var(--line); margin-bottom: 16px; padding: 4px 18px 8px; }
    .plans tbody th { border: 0; padding: 14px 0 6px; }
    .plans td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; text-align: right; }
    .plans td:last-child { border-bottom: 0; }
    .plans td::before { content: attr(data-label); flex: none; font: 600 .68rem var(--head); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); text-align: left; }
    .plans small { text-align: right; }
}

.reasons { list-style: none; padding: 0; margin: 48px 0 0; display: grid; border-top: 1px solid var(--line); }
.reasons li { padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: var(--lede); }
.reasons strong { display: block; font: 700 clamp(1.05rem, 1.3vw, 1.4rem) var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--off); margin-bottom: 8px; }
@media (min-width: 820px) { .reasons { grid-template-columns: repeat(2, 1fr); column-gap: clamp(40px, 6vw, 110px); } }

.checklist { list-style: none; padding: 0; margin: 36px 0 32px; display: grid; border-top: 1px solid var(--line); }
.checklist li { padding: 18px 0; border-bottom: 1px solid var(--line); font: 600 clamp(.92rem, 1.1vw, 1.15rem) var(--head); letter-spacing: .1em; text-transform: uppercase; }
.checklist li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); margin-right: 14px; }
@media (min-width: 600px) { .checklist { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 960px) { .checklist { grid-template-columns: repeat(4, 1fr); } }

.terms { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.terms li { position: relative; padding: 18px 0 18px 32px; border-bottom: 1px solid var(--line); color: var(--soft); font-size: clamp(1rem, 1.15vw, 1.2rem); }
.terms li::before { content: ""; position: absolute; left: 0; top: 1.65em; width: 12px; height: 2px; background: var(--red); }

/* ---- Work With Us ------------------------------------------------------- */
.stage { display: grid; gap: 16px 48px; padding: clamp(40px, 4.4vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.stage__n { font: 700 clamp(3rem, 6vw, 6.5rem)/1 var(--head); color: var(--red); }
.stage h2 { font-size: clamp(1.5rem, 3.2vw, 3.2rem); margin-bottom: 16px; }
.stage p { color: var(--soft); max-width: 42em; font-size: var(--lede); }
@media (min-width: 760px) { .stage { grid-template-columns: clamp(110px, 12vw, 220px) 1fr; } }
.stage .form, .stage .alert { max-width: 980px; }

.form { display: grid; gap: 22px; margin-top: 28px; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; gap: 24px; } .field--full { grid-column: 1 / -1; } }
.field { min-width: 0; }
.field label, .field legend { display: block; padding: 0; font: 600 .74rem var(--head); letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field input[type="date"], .field select, .field textarea {
    width: 100%; min-height: 54px; padding: 13px 16px;
    background: var(--ink); color: var(--off); border: 1px solid var(--line-strong); border-radius: 2px;
    font: 400 1rem var(--body); -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f5f5f3' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--off); box-shadow: 0 0 0 1px var(--off); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { margin: 8px 0 0; color: #ff6a6d; font-size: .9rem; }
.checks { display: grid; gap: 10px; }
@media (min-width: 520px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.field label.check {
    display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 16px;
    border: 1px solid var(--line-strong); border-radius: 2px; cursor: pointer;
    font: 500 .92rem var(--body); letter-spacing: 0; text-transform: none; color: var(--off); transition: border-color .2s;
}
.check input {
    -webkit-appearance: none; appearance: none; flex: none; display: grid; place-content: center;
    width: 18px; height: 18px; margin: 0; background: transparent; border: 1px solid var(--line-strong); border-radius: 2px;
}
.check input::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: scale(0); transition: transform .12s; }
.check input:checked { border-color: var(--red); }
.check input:checked::after { transform: scale(1); }
.field label.check:has(input:checked) { border-color: var(--off); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__actions .btn { min-width: 240px; min-height: 58px; }
.form__note { color: var(--muted); font-size: .92rem; margin: 0; }
.alert { border: 1px solid var(--line-strong); padding: 24px 28px; margin: 28px 0 0; }
.alert--ok { border-color: var(--off); }
.alert--error { border-color: var(--red); }
.alert h3 { margin-bottom: 8px; }
.alert p { margin: 0; color: var(--soft); }
.alert a { color: var(--off); }
.note-line { margin-top: 28px; color: var(--muted); font-size: .98rem; }
.note-line a { color: var(--off); }

/* ---- Legal text (privacy policy) ---------------------------------------- */
.legal h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 12px; }
.legal__date { color: var(--muted); font-size: .95rem; margin-bottom: 40px; }
.prose h2 { font: 700 clamp(1.05rem, 1.2vw, 1.3rem)/1.3 var(--head); letter-spacing: .05em; text-transform: uppercase; margin: 2.2em 0 .6em; }
.prose p { color: var(--soft); line-height: 1.75; }
.prose a { color: var(--off); }

/* ---- Motion preferences ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal, .js [data-stagger] > * { opacity: 1; }
}
