/*
 * 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.
 *
 * Type and layout follow the standard used by the dark music-tech sites this site is
 * measured against (BandLab, Splice, LANDR), checked at 1440px and 1920px:
 *   - a FIXED type scale (it does not grow with the screen): h1 64, h2 40, h3 22-24,
 *     lede 18, body 16, small 14
 *   - sentence case, medium-to-semibold weight, slightly tight tracking on large type
 *   - text blocks 520-700px wide, never stretched across the page
 *   - one centred content column (1312px) with full-bleed bands and imagery
 * Brand: Josefin Sans for headings (h1, h2, h3) only; Inter for everything else, including
 * nav, buttons, tags and numerals, so small text never mixes two typefaces. Black canvas,
 * off-white type, red as an instrument-panel accent. Motion is fades, hovers and waveform
 * movement only.
 *
 * Homepage rhythm: sections alternate black, raised charcoal and light paper instead of being
 * split by hairlines, and grouped content sits on filled cards rather than outlined boxes.
 */

:root {
    --black: #000;
    --ink: #08080a;
    --band: #0d0d10;
    --panel: #111114;
    --off: #f5f5f3;
    --paper: #f5f5f3;
    --paper-bg: #e8e8e4;
    --paper-ink: #0a0a0a;
    --raised: #0d0d10;
    --card: #121215;
    --card-raised: #17171b;
    --card-line: rgba(245, 245, 243, .07);
    --white: #fff;
    --red: #fc0207;
    --red-dark: #ce0307;
    --soft: rgba(245, 245, 243, .86);
    --muted: rgba(245, 245, 243, .62);
    --line: rgba(245, 245, 243, .13);
    --line-strong: rgba(245, 245, 243, .3);
    --head: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --gutter: clamp(20px, 4.4vw, 64px);
    --wrap-max: 1312px;
    --header-h: 68px;
    --section-y: clamp(52px, 6.5vw, 96px);
    --radius: 8px;
    --radius-lg: 14px;

    /* Type scale. Headings are Josefin Sans, whose lowercase letters are only 0.43 of the font
       size against Inter's 0.55, so a Josefin heading needs ~1.28x the pixels to look as big
       as the same Inter size. The scale is set so headings sit at industry-standard visual
       ratios to the 16px body (subheading ~1.5x, section heading ~2.5x, page heading ~3.5x):
         desktop: h1 72 | page title 64 | h2 52 | h3 30 | h4 24 | intro 18 | body 16 | small 14
       Sizes change only at fixed breakpoints, so every laptop width gets the same sizes. */
    --fs-h1: 2.5rem;        /* 40 on phones */
    --fs-h2: 2.125rem;      /* 34 */
    --fs-h3: 1.625rem;      /* 26 */
    --fs-h4: 1.375rem;      /* 22 */
    --fs-title: 2.375rem;   /* page titles on inner pages: 38 */
    --fs-lede: 1.125rem;    /* 18 */
    --fs-sm: .875rem;       /* 14 */
}
@media (min-width: 720px) { :root { --fs-h1: 3.5rem; --fs-h2: 2.625rem; --fs-h3: 1.75rem; --fs-h4: 1.375rem; --fs-title: 3rem; } }
@media (min-width: 1000px) { :root { --fs-h1: 4.5rem; --fs-h2: 3.25rem; --fs-h3: 1.875rem; --fs-h4: 1.5rem; --fs-title: 4rem; } }
@media (min-width: 900px) { :root { --header-h: 76px; } }

*, *::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 1rem/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; text-wrap: pretty; }
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 .875rem var(--body);
}
.skip-link:focus { top: 8px; }

/* ---- Type ------------------------------------------------------------ */
h1, h2, h3, h4 {
    font-family: var(--head);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0;
    text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.015em; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -.01em; }
.label { font: 500 .875rem/1.4 var(--body); color: var(--muted); }
.red { color: var(--red); }
.lede { font-size: var(--fs-lede); color: var(--soft); max-width: 40rem; line-height: 1.6; }
.lede strong, .statement { color: var(--off); font-weight: 600; }
.soft { color: var(--soft); }
/* To bring back all-caps headings, add class "caps" to <body>. */
.caps h1, .caps h2, .caps h3 { text-transform: uppercase; letter-spacing: .005em; }

/* ---- 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(760px + 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--band { background: var(--band); }
.section > .wrap > h2 { margin-bottom: 20px; }
.rule { width: 40px; height: 3px; background: var(--red); margin: 0 0 20px; }

/* Homepage bands: tone changes separate the sections, not hairlines.
   Cards read --card-bg / --card-line, so they adapt to whichever band they sit on. */
.section { --card-bg: var(--card); }
.page-home .section { border-top: 0; }
.section--raised { background: var(--raised); --card-bg: var(--card-raised); }
.section--paper { background: var(--paper-bg); color: var(--paper-ink); --card-bg: #fff; --card-line: rgba(0, 0, 0, .06); }

/* Centred section intro: heading, then a short paragraph (the BandLab pattern) */
.intro { max-width: 40rem; margin: 0 auto clamp(36px, 4.5vw, 56px); text-align: center; }
.intro--wide { max-width: 56rem; }
.intro h2 { margin: 0 0 20px; }
.intro p { margin: 0 auto; max-width: 40rem; color: var(--soft); font-size: var(--fs-lede); line-height: 1.6; text-wrap: balance; }
.section--paper .intro p { color: #3d3d3d; }

/* Heading and opening paragraph on the left, the rest on the right; both columns start level */
.split { display: grid; gap: 24px; }
.split__head h2 { margin: 0 0 24px; }
.split__head .lede { margin-bottom: 1em; }
.split__head > :last-child, .split__body > :last-child { margin-bottom: 0; }
.split__body { max-width: 38rem; }
@media (min-width: 900px) {
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    min-height: 48px; padding: 10px 24px;
    font: 600 1rem/1.25 var(--body); letter-spacing: 0; text-decoration: none;
    border: 1px solid var(--off); border-radius: var(--radius); background: transparent; color: var(--off);
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.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: 52px; padding: 10px 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@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: 30px; width: auto; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 32px; }
.nav a:not(.btn) {
    position: relative;
    font: 500 1rem var(--body); text-decoration: none;
    color: var(--soft); 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(--white); }
.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(--white); }
.nav .nav__cta { min-height: 42px; padding: 0 20px; font-size: 1rem; }
.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: 44px; height: 44px;
        background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); 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: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
    .js .nav a:not(.btn)::after { display: none; }
    .js .nav .nav__cta { margin-top: 20px; min-height: 52px; }
    .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) * 80ms); }
.js [data-stagger].is-in > * { opacity: 1; }

/* ---- Hero ---------------------------------------------------------------- */
/* Phones: photo on top, text below it. From 900px: text on the left, photo on the right fading into black. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); padding: 0 0 clamp(120px, 26vw, 150px); }
.hero__media { position: relative; height: clamp(300px, 86vw, 460px); }
.hero__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: var(--hero-pos, 65% 40%);
    filter: contrast(1.05) saturate(.95);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero__shade { position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0)); }
.hero .wrap { position: relative; z-index: 2; margin-top: -44px; }
.hero__title { max-width: 11.5em; }
.hero__lede { margin: 20px 0 0; font-size: var(--fs-lede); line-height: 1.6; color: var(--soft); max-width: 34rem; }
.hero .btn-row { margin-top: 28px; }
@media (min-width: 900px) {
    .hero {
        min-height: clamp(580px, 84svh, 800px);
        display: flex; flex-direction: column; justify-content: center;
        padding: calc(var(--header-h) + 24px) 0 clamp(120px, 11vw, 150px);
    }
    .hero__media { position: absolute; inset: 0; height: auto; z-index: -2; }
    .hero__img {
        left: auto; right: 0; width: 58%;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
        mask-image: linear-gradient(90deg, transparent 0, #000 42%);
    }
    .hero__shade {
        inset: 0; height: auto; z-index: -1;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, .55) 0, rgba(0, 0, 0, 0) 22%),
            linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0) 30%);
    }
    .hero .wrap { margin-top: 0; }
    .hero .btn-row { margin-top: 32px; }
}

.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(84px, 7vw, 104px); }
.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: 16px; right: var(--gutter); display: flex; gap: 5px; }
.meter { position: relative; width: 6px; height: 60px; background: repeating-linear-gradient(to top, rgba(245, 245, 243, .13) 0 4px, transparent 4px 6px); }
.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 4px, transparent 4px 6px);
    mask: repeating-linear-gradient(to top, #000 0 4px, transparent 4px 6px);
    animation: level 2.8s steps(10, 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: one sheet of paper, one reading size ------------- */
/* Heading 40px, everything else 18px Inter. Emphasis is weight and colour only, never size. */
.letter { background: var(--paper-bg); color: var(--paper-ink); border-top: 0; overflow: hidden; padding: clamp(40px, 5vw, 72px) 0; }
.letter .wrap { position: relative; z-index: 1; }
.letter__sheet {
    position: relative; max-width: 880px; margin: 0 auto;
    background: #fff; border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 52px) clamp(22px, 5.5vw, 64px) clamp(28px, 4vw, 44px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 30px 60px -34px rgba(0, 0, 0, .3);
}
.letter h2 { color: var(--paper-ink); margin: 0 0 22px; font-size: var(--fs-h2); }
.letter__body p { margin: 0 0 .9em; color: #2c2c2c; font: 400 var(--fs-lede)/1.65 var(--body); }
.letter__body .letter__lead { color: var(--paper-ink); font-weight: 600; margin-bottom: .25em; }
.letter__body .letter__lead + .letter__lead { margin-bottom: 1.1em; }
.letter__body .letter__turn { color: var(--paper-ink); font-weight: 600; }
.letter__body .letter__close { margin-bottom: 0; }
.letter__sign { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.letter__photo { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; flex: none; }
.signature { margin: 0; font: italic 600 var(--fs-h4) var(--head); color: var(--paper-ink); }
/* a faint waveform runs behind the sheet and shows at both sides */
.letter .wave-art { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: clamp(140px, 16vw, 240px); color: rgba(0, 0, 0, .065); z-index: 0; }

/* ---- Tracks + player --------------------------------------------------- */
.section--glow { background: radial-gradient(60% 40% at 50% 0%, rgba(252, 2, 7, .09), transparent 70%), var(--raised); }
.tracks { display: grid; gap: 16px; }
@media (min-width: 900px) { .tracks { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.track {
    position: relative; overflow: hidden; min-width: 0;
    padding: 28px;
    border: 1px solid var(--card-line); border-radius: var(--radius-lg); background: var(--card-bg);
    transition: border-color .3s;
}
/* a red bar along the bottom only while the track plays (a signal, not decoration) */
.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.is-playing::after { width: 100%; }
.track__head { position: relative; display: flex; align-items: baseline; gap: 10px; }
.track__num { font: 600 var(--fs-sm) var(--body); color: var(--red); letter-spacing: .04em; }
.track__title { font-size: var(--fs-h3); }
.track__meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.track__credit { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.tag { border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; font: 500 var(--fs-sm) var(--body); color: var(--off); }
.track__caption { position: relative; margin: 20px 0 0; color: var(--soft); font-size: 1rem; line-height: 1.6; }
.track__caption strong { color: var(--off); font-weight: 600; }

.player { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; padding: 12px; background: rgba(0, 0, 0, .45); border-radius: var(--radius); }
.player__btn {
    flex: none; width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--off); color: var(--black); border: 1px solid var(--off); border-radius: var(--radius); cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.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: 20px; height: 20px; 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: 52px; 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: 500 var(--fs-sm) var(--body); color: var(--muted); min-width: 3.4em; text-align: right; }
.is-empty .player__time { flex: 1 0 100%; text-align: left; }

/* Under the records: the four questions, as four cards, then the line they lead to */
.questions { margin-top: clamp(64px, 7vw, 96px); text-align: center; }
.questions__intro { margin: 0 auto 28px; max-width: 26em; font: 600 var(--fs-h3)/1.3 var(--head); letter-spacing: -.01em; text-wrap: balance; }
.questions__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: q; text-align: left; }
.questions__list li {
    counter-increment: q; padding: 24px 28px 28px;
    background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg);
    font: 600 var(--fs-h4)/1.3 var(--head); letter-spacing: -.01em;
}
@media (min-width: 640px) { .questions__list { grid-template-columns: repeat(2, 1fr); } }
.questions__close { margin: clamp(48px, 5vw, 72px) 0 0; font: 600 var(--fs-h2)/1.2 var(--head); letter-spacing: -.02em; text-wrap: balance; }
.questions__close span { display: block; }
.questions__close .dim { color: rgba(245, 245, 243, .38); }

/* Numerals on every card (questions, points, steps, confidentiality): one style */
.questions__list li::before, .commit li::before, .point__n, .step__n {
    display: block; margin: 0 0 14px; font: 600 var(--fs-sm)/1 var(--body); font-style: normal; color: var(--red); letter-spacing: .04em;
}
.questions__list li::before { content: "0" counter(q); }

/* ---- Your name stays on the record ---------------------------------- */
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ticks li {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 12px;
    background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 999px;
    font: 600 1rem/1.2 var(--body); color: var(--off);
}
.ticks li::before {
    content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(245, 245, 243, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23f5f5f3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---- Standard doesn't drop (light band) --------------------------------- */
.points { display: grid; gap: 16px; }
.point { padding: 28px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); }
.section--paper .point { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 30px -22px rgba(0, 0, 0, .25); }
.section--paper .point__n { color: var(--red-dark); }
.point__label { font: 600 var(--fs-h3)/1.25 var(--head); letter-spacing: -.01em; margin: 0 0 8px; }
.point p { margin: 0; color: var(--soft); font-size: 1rem; }
.section--paper .point p { color: #3d3d3d; }
@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: 16px; }
.service { padding: 28px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); transition: border-color .3s; }
.service:hover { border-color: var(--line-strong); }
.service .motif { width: 100%; height: auto; max-height: 96px; color: rgba(245, 245, 243, .75); transition: color .3s; margin-bottom: 24px; }
.service:hover .motif { color: var(--off); }
.service__label { font: 600 var(--fs-h3)/1.25 var(--head); letter-spacing: -.01em; margin: 0 0 8px; }
.service p { margin: 0; color: var(--soft); max-width: 28em; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@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: six numbered cards ------------------------------------ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step { padding: 28px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); }
.step__label { font: 600 var(--fs-h3)/1.25 var(--head); letter-spacing: -.01em; margin: 0 0 8px; }
.step p { margin: 0; color: var(--soft); font-size: 1rem; line-height: 1.6; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* A one-line close under a grid */
.closing-line { font: 400 var(--fs-lede)/1.6 var(--body); color: var(--soft); margin: clamp(32px, 4vw, 48px) auto 0; max-width: 36em; text-align: center; text-wrap: balance; }

/* ---- Capacity flow ------------------------------------------------------------ */
.flow { display: grid; margin: clamp(40px, 4.5vw, 64px) 0 16px; }
.flow__node {
    padding: 22px 16px; text-align: center;
    background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg);
    font: 600 1rem var(--body);
}
.flow__node--mid { background: var(--off); border-color: var(--off); color: var(--black); }
.flow__link { position: relative; min-height: 40px; 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; border-radius: 50%; 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(30px); opacity: 0; } }
@media (min-width: 760px) {
    .flow { grid-template-columns: 1fr 96px 1fr 96px 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(82px); opacity: 0; } }
}
.ongoing { display: grid; gap: 18px; align-items: center; padding: 28px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); }
.ongoing__label { font: 600 var(--fs-h3)/1.2 var(--head); margin: 0 0 6px; }
.ongoing p { max-width: 36em; color: var(--soft); margin: 0; }
.ongoing .btn-row { margin: 0; }
@media (max-width: 479px) { .ongoing { padding: 24px; } .ongoing .btn { padding-left: 16px; padding-right: 16px; } }
@media (min-width: 900px) { .ongoing { grid-template-columns: 1fr auto; gap: 40px; padding: 32px 36px; } }

/* ---- Confidentiality ---------------------------------------------------- */
.commit { list-style: none; padding: 0; margin: 0; counter-reset: c; display: grid; gap: 16px; }
.commit li { counter-increment: c; padding: 24px; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: var(--radius-lg); color: var(--soft); }
.commit li::before { content: "0" counter(c); }
@media (min-width: 640px) { .commit { grid-template-columns: repeat(2, 1fr); } }
.split__body:has(> .commit) { max-width: none; }

/* ---- Closing CTA -------------------------------------------------------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 128px) 0 clamp(120px, 14vw, 190px); text-align: center; background: radial-gradient(55% 70% at 85% 100%, rgba(252, 2, 7, .14), transparent 70%), var(--black); }
.closing__bg { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 12vw, 190px); z-index: -1; color: rgba(245, 245, 243, .08); }
.closing__bg .wave-art { width: 100%; height: 100%; }
.closing h2 { font-size: var(--fs-h2); line-height: 1.2; margin: 0 auto 20px; max-width: 14em; }
.closing p { max-width: 36rem; margin-left: auto; margin-right: auto; color: var(--soft); font-size: var(--fs-lede); line-height: 1.6; }
.closing .btn-row { justify-content: center; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(48px, 5vw, 72px) 0 28px; color: var(--muted); }
.site-footer__top { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; } }
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.site-footer__tag { margin: 0 0 2px; color: var(--soft); }
.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: 5px 0; transition: color .2s; }
.site-footer a:hover { color: var(--red); }
.site-footer__contact a.site-footer__mail { color: var(--off); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; }
.site-footer__legal a { padding: 0; }

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

.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 64px); }
.page-head h1 { font-size: var(--fs-title); max-width: 16em; }
.page-head .lede { margin-top: 20px; }

.facts { display: grid; margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .875rem var(--head); color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 600 1rem/1.4 var(--body); 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: 32px; } }
@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: 20px 20px 22px; }
    .facts > div:first-child { border-left: 0; padding-left: 0; }
}

.founder { display: grid; gap: 28px; }
.founder__photo { width: 100%; height: auto; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.founder__name { font: 600 var(--fs-h3) var(--head); margin: 0; }
.founder__title { margin: 2px 0 18px; }
@media (min-width: 760px) {
    .founder { grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
    .founder__photo { position: sticky; top: calc(var(--header-h) + 32px); }   /* stays beside a long bio while it scrolls */
}

.engineers { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.engineer { background: var(--black); padding: 24px; }
.engineer h3 { margin-bottom: 6px; }
.engineer ul { list-style: none; padding: 0; margin: 10px 0 0; color: var(--soft); font-size: 1rem; }
.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: var(--fs-lede); line-height: 1.6; color: var(--off); max-width: 40rem; }
.cta-band { padding: clamp(48px, 6vw, 88px) 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: 200px; min-height: 52px; }

/* ---- Pricing ------------------------------------------------------------ */
.pilot { display: grid; gap: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); margin-top: 8px; background: linear-gradient(110deg, #111114, #070709 65%); }
.pilot__price { font: 600 clamp(3rem, 6vw, 4.5rem)/1 var(--head); color: var(--red); letter-spacing: -.03em; }
.pilot__per { font: 500 var(--fs-sm) var(--head); color: var(--muted); margin-top: 6px; }
.pilot__facts { list-style: none; padding: 0; margin: 0; align-self: center; }
.pilot__facts li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.pilot__facts li:first-child { border-top: 1px solid var(--line); }
.pilot__line { margin: 0; font: 600 var(--fs-h4)/1.3 var(--head); letter-spacing: -.01em; grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .pilot { grid-template-columns: auto 1fr; gap: 24px clamp(48px, 7vw, 112px); } }

.table-wrap { margin-top: 28px; }
.plans { width: 100%; border-collapse: collapse; }
.plans th, .plans td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans thead th { font: 500 .875rem var(--head); color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.plans tbody th { font: 600 var(--fs-h4)/1.2 var(--head); letter-spacing: -.01em; }
.plans tbody tr { transition: background-color .25s; }
.plans tbody tr:hover { background: #0a0a0c; }
.plans .num { font: 600 var(--fs-h4)/1.2 var(--head); }
.plans .num--red { color: var(--red); }
.plans small { display: block; margin-top: 4px; color: var(--muted); font: 400 .875rem/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); border-radius: var(--radius); margin-bottom: 14px; 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: 500 .875rem var(--head); color: var(--muted); text-align: left; }
    .plans small { text-align: right; }
}

.reasons { list-style: none; padding: 0; margin: 40px 0 0; display: grid; border-top: 1px solid var(--line); }
.reasons li { padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.reasons strong { display: block; font: 600 var(--fs-h4)/1.25 var(--head); letter-spacing: -.01em; color: var(--off); margin-bottom: 8px; }
@media (min-width: 820px) { .reasons { grid-template-columns: repeat(2, 1fr); column-gap: clamp(36px, 6vw, 96px); } }

.checklist { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; border-top: 1px solid var(--line); }
.checklist li { padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 var(--fs-lede) var(--body); }
.checklist li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-right: 12px; }
@media (min-width: 600px) { .checklist { grid-template-columns: repeat(2, 1fr); column-gap: 36px; } }
@media (min-width: 960px) { .checklist { grid-template-columns: repeat(4, 1fr); } }

.terms { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.terms li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); color: var(--soft); }
.terms li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 10px; height: 2px; background: var(--red); }

/* ---- Work With Us ------------------------------------------------------- */
.stage { display: grid; gap: 12px 40px; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.stage__n { font: 600 var(--fs-h2)/1 var(--body); color: var(--red); letter-spacing: -.03em; }
.stage h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.stage p { color: var(--soft); max-width: 40em; font-size: var(--fs-lede); }
@media (min-width: 760px) { .stage { grid-template-columns: 112px 1fr; } }
.stage .form, .stage .alert { max-width: 860px; }

.form { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 700px) { .form { grid-template-columns: 1fr 1fr; gap: 20px 24px; } .field--full { grid-column: 1 / -1; } }
.field { min-width: 0; }
.field label, .field legend { display: block; padding: 0; font: 500 .875rem var(--head); 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: 50px; padding: 12px 14px;
    background: var(--ink); color: var(--off); border: 1px solid var(--line-strong); border-radius: var(--radius);
    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 14px center;
}
.field input[type="date"] { color-scheme: dark; }
.field textarea { min-height: 150px; 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: var(--fs-sm); }
.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: 48px; margin: 0; padding: 0 14px;
    border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
    font: 500 1rem var(--body); 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: 4px;
}
.check input::after { content: ""; width: 10px; height: 10px; border-radius: 2px; 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: 14px 22px; }
.form__actions .btn { min-width: 200px; min-height: 52px; }
.form__note { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.alert { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0 0; }
.alert--ok { border-color: var(--off); }
.alert--error { border-color: var(--red); }
.alert h3 { margin-bottom: 6px; font-size: var(--fs-h4); }
.alert p { margin: 0; color: var(--soft); }
.alert a { color: var(--off); }
.note-line { margin-top: 24px; color: var(--muted); font-size: var(--fs-sm); }
.note-line a { color: var(--off); }

/* ---- Legal text (privacy policy) ---------------------------------------- */
.legal h1 { font-size: var(--fs-title); margin-bottom: 10px; }
.legal__date { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 36px; }
.prose h2 { font: 600 var(--fs-h4)/1.3 var(--head); letter-spacing: -.01em; margin: 2em 0 .5em; }
.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; }
}
