/* Pyjamas Studio — join.pyjamasstudio.com
   Palette: #050607 bg · #153019 panel · #A6FF1A accent · #5FD34A hover · #F0FFE3 text */
:root {
  --bg: #050607; --panel: #153019; --accent: #A6FF1A; --accent-hover: #5FD34A; --ink: #F0FFE3;
  --ink-80: rgba(240,255,227,.8); --ink-65: rgba(240,255,227,.65); --ink-45: rgba(240,255,227,.45);
  --ink-30: rgba(240,255,227,.3); --ink-14: rgba(240,255,227,.14);
  --panel-15: rgba(21,48,25,.15); --panel-40: rgba(21,48,25,.4); --panel-70: rgba(21,48,25,.7);
  --accent-08: rgba(166,255,26,.08); --accent-30: rgba(166,255,26,.3);
  --bg-60: rgba(5,6,7,.6); --bg-85: rgba(5,6,7,.85);
  --font-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px); --nav-h: 72px; --radius: 6px; --max: 1296px;
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; } fieldset { border: 0; min-width: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* grain */
.grain { position: fixed; inset: -10%; z-index: 9000; pointer-events: none; opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px; }

/* type */
.display { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: .9; letter-spacing: -.025em; text-wrap: balance; }
.display--xl { font-size: clamp(2.1rem, 4.6vw, 4.2rem); letter-spacing: -.035em; }
.display--l { font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.03em; }
.display--s { font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -.015em; }
.display__line { display: block; }
/* key words marked in the accent, the way the main site marks "time" and "money" */
.hl { background: var(--accent); color: var(--bg); padding: .04em .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.45; color: var(--ink-80); max-width: 40ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: clamp(.85rem, .7rem + .35vw, 1.05rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-65); margin-bottom: .4rem; }
.eyebrow::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); }
.note { font-size: .95rem; color: var(--ink-65); max-width: 50ch; text-wrap: pretty; }
.muted { color: var(--ink-45); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-family: var(--font-body); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 1.1em 1.8em; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; line-height: 1; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); }
/* every "Claim a founding spot" button: on hover the fill pulses between the two greens, as on the main site */
@keyframes cta-pulse { 0%, 100% { background-color: var(--accent); } 50% { background-color: var(--accent-hover); } }
@media (hover: hover) { .btn--primary[data-cta]:hover, .btn--primary[data-submit]:hover { animation: cta-pulse 1.4s ease-in-out infinite; } }
.btn--ghost { color: var(--ink); border-color: var(--ink-30); }
.btn--ghost:hover { border-color: var(--accent-hover); }
.btn--sm { padding: .85em 1.35em; font-size: .72rem; }
.btn--lg { padding: 1.3em 2.3em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: progress; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .7em 1.1em; border-radius: 999px; border: 1px solid var(--ink-14); background: var(--panel-40); color: var(--ink); }
.pill b { color: var(--accent); font-weight: 700; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* layout */
/* one near-black page, as on the main site: dark green is for panels and lines, never a full section */
.section { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }
.wrap { max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 1rem; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.cta-row .note { margin: 0; }
.grid-2 { display: grid; gap: clamp(18px, 3vw, 32px); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* header */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); background: var(--bg-60); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%); border-bottom: 1px solid var(--panel); }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark__name { font-family: var(--font-display); font-weight: 700; font-stretch: 100%; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); line-height: 1; white-space: nowrap; }
.nav__right { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav__links { display: none; align-items: center; gap: clamp(20px, 3vw, 44px); }
@media (min-width: 961px) { .nav__links { display: flex; } }
.nav__link { position: relative; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-80); padding: 6px 0; white-space: nowrap; transition: color .25s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-hover); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

/* hero: the headline runs the full width, the offer and the slider sit side by side under it */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; margin-top: clamp(28px, 4vw, 52px); }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1fr 1.15fr; } }
.hero .pill { margin-bottom: 1.4rem; }
.hero .lead { margin-top: 0; }

/* compare slider */
.compare { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--panel); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50; }
.compare--portrait { aspect-ratio: 4 / 5; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); will-change: clip-path; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; background: var(--accent); transform: translateX(-50%); pointer-events: none; }
.compare__grip { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 5px; box-shadow: 0 10px 30px rgba(5,6,7,.45); transition: transform .3s var(--ease), background-color .25s; }
.compare__grip::before, .compare__grip::after { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--bg); border-left: 2px solid var(--bg); }
.compare__grip::before { transform: rotate(-45deg); } .compare__grip::after { transform: rotate(135deg); }
.compare.is-dragging .compare__grip { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.compare:has(.compare__range:focus-visible) .compare__grip { outline: 2px solid var(--ink); outline-offset: 4px; }
.compare__label { position: absolute; top: 12px; z-index: 2; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 7px 11px; border-radius: 999px; background: var(--bg-60); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.compare__label--before { left: 12px; } .compare__label--after { right: 12px; }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; left: 50%; top: 50%; margin: 0; pointer-events: none; }

/* work gallery */
.work-card { display: grid; gap: 12px; }
.work-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.work-card__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: .95rem; letter-spacing: -.01em; }
.work-card__credit { font-size: .78rem; color: var(--ink-45); }

/* how it works: heading on the left, the steps as ruled rows on the right, as on the main site */
.how__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 880px) { .how__grid { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); } }
.how__grid .section__head { margin-bottom: 0; }
.steps-list { border-top: 1px solid var(--ink-14); }
.step-item { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.5rem; row-gap: .5rem; padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--ink-14); }
.step-item__num { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .12em; color: var(--accent); padding-top: .45em; }
.step-item__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1; }
.step-item__copy { grid-column: 2; color: var(--ink-80); font-size: clamp(1rem, 1.05vw, 1.05rem); max-width: 44ch; text-wrap: pretty; }
@media (max-width: 480px) { .step-item { grid-template-columns: 40px 1fr; column-gap: 1rem; } }

/* founding */
.trust { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 1.4rem; font-size: .82rem; color: var(--ink-65); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* the plan card is the one panel on the page: dark-green fill, accent edge, as the main site marks a chosen plan */
.plan-card { background: var(--panel-40); border: 1px solid var(--accent-30); border-radius: var(--radius); padding: clamp(22px, 2.8vw, 36px); display: grid; gap: 10px; align-content: start; }
.plan-card .eyebrow { font-size: .78rem; margin-bottom: .2rem; }
.plan-card__inc { color: var(--ink-80); }
.plan-card .price-table td:first-child { width: 30%; }
.reveal-fields { margin: 4px 0 0 30px; }
select.field__input { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F0FFE3' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right center; padding-right: 20px; cursor: pointer; }
select.field__input option { background: var(--panel); color: var(--ink); }
.offer { display: grid; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 880px) { .offer { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.offer__list { display: grid; gap: 10px; margin-top: 1.2rem; }
.offer__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-80); }
.offer__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: .55em; }
.guarantee { margin-top: 1.6rem; padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--accent-08); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.02rem; line-height: 1.45; text-wrap: pretty; }
.deadline { margin-top: 1rem; font-size: .9rem; color: var(--ink-65); }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--panel); vertical-align: top; }
.price-table th { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); }
.price-table td:first-child { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
.price-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .inc { color: var(--ink-65); font-size: .88rem; }
.price-note { margin-top: 12px; font-size: .8rem; color: var(--ink-45); }
@media (max-width: 480px) { .price-table { font-size: .88rem; } .price-table th, .price-table td { padding: 10px 6px; } }

/* FAQ */
.faq { max-width: 880px; }
.faq details { border-top: 1px solid var(--panel); }
.faq details:last-child { border-bottom: 1px solid var(--panel); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 2.2vw, 26px) 0; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink-30); display: grid; place-items: center; font-family: var(--font-body); font-weight: 500; transition: transform .25s var(--ease), background-color .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--bg); border-color: var(--accent); }
.faq .answer { padding: 0 0 20px; color: var(--ink-80); max-width: 60ch; text-wrap: pretty; }

/* form */
.form { max-width: 820px; }
.fields { display: grid; gap: clamp(1.5rem, 3vh, 2.2rem) 2.5rem; }
@media (min-width: 720px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field__label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-65); margin-bottom: 8px; }
.field__opt { color: var(--ink-30); letter-spacing: .08em; text-transform: none; margin-left: 6px; font-weight: 500; }
.field__input { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--ink-30); border-radius: 0; padding: 12px 0 14px; outline: none; font-size: 1.1rem; transition: border-color .2s; }
.field__input::placeholder { color: var(--ink-30); }
.field__input:focus { border-bottom-color: var(--ink); }
.field__input:focus-visible { outline: none; }
.field.has-error .field__input { border-bottom-color: var(--ink); }
.field__hint { margin-top: 10px; font-size: .78rem; color: var(--ink-45); }
.field__error { display: none; margin-top: 10px; font-size: .82rem; color: var(--ink); align-items: center; gap: 8px; }
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.field__error.is-visible { display: flex; }
.dropzone { border: 1px dashed var(--ink-30); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 6px; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent-hover); background: var(--accent-08); }
.dropzone:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.dropzone strong { font-weight: 600; }
.dropzone small { color: var(--ink-45); font-size: .8rem; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.files li { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; padding: .5em .9em; border-radius: 999px; border: 1px solid var(--ink-14); background: var(--panel-40); }
.files button { font-size: 1rem; line-height: 1; color: var(--ink-65); } .files button:hover { color: var(--accent-hover); }
.consent { display: grid; gap: 12px; margin-top: clamp(1.5rem, 3vh, 2rem); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; line-height: 1.45; color: var(--ink-80); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: .12em 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--ink); text-underline-offset: 3px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: clamp(1.6rem, 3vh, 2.2rem); }
.form__status { font-size: .88rem; color: var(--ink-65); }
.form__status.is-error { color: var(--ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.done { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: var(--panel-40); border: 1px solid var(--accent-30); border-radius: var(--radius); max-width: 640px; }
.done p { color: var(--ink-80); }
.turnstile { margin-top: 1.4rem; min-height: 0; }

/* footer */
.footer { padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--panel); font-size: .78rem; color: var(--ink-45); }
.footer .wrap { display: grid; gap: 12px; }
.footer a { color: var(--ink-65); text-underline-offset: 3px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* consent banner (pixel) */
.banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--ink-14); font-size: .85rem; color: var(--ink-80); box-shadow: 0 18px 48px rgba(5,6,7,.6); }
.banner div { display: flex; gap: 8px; }
@media (min-width: 720px) { .banner { left: auto; max-width: 560px; } }

/* preview bar (mock mode only) */
.preview { position: fixed; left: 16px; bottom: 16px; z-index: 200; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 999px; background: var(--bg-85); border: 1px solid var(--ink-14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .68rem; }
.preview button { padding: .6em .9em; border-radius: 999px; border: 1px solid var(--ink-14); color: var(--ink-65); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.preview:not(.is-open) button:not([data-pv="toggle"]) { display: none; }
.preview button.is-on { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* legal page */
.legal { max-width: 720px; display: grid; gap: 1.2rem; }
.legal h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.15rem; margin-top: 1rem; }
.legal p, .legal li { color: var(--ink-80); text-wrap: pretty; }
.legal ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }

/* motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* small phones: keep the header button and wordmark on one line */
@media (max-width: 440px) {
  .nav { gap: 8px; }
  .wordmark { font-size: .9rem; white-space: nowrap; }
  .nav .btn--sm { font-size: .62rem; letter-spacing: .06em; padding: .8em 1em; }
  .btn--lg { white-space: normal; text-align: center; line-height: 1.25; }
}
