:root {
  --ink: #191a20;
  --muted: #686b75;
  --paper: #fffaf8;
  --surface: #ffffff;
  --soft: #f5f2f2;
  --line: #e7e1e2;
  --accent: #a40134;
  --accent-bright: #ea7af4;
  --accent-pale: #f8e5eb;
  --teal: #168363;
  --blue: #3879bd;
  --head: 'Bebas Neue', sans-serif;
  --body: 'Space Grotesk', sans-serif;
  --shadow: 0 26px 70px rgba(48, 30, 36, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.content-width { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--accent); font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; padding: 10px max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(231,225,226,.86); background: rgba(255,250,248,.9); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span, .brand strong, .brand small { display: block; }
.brand strong { font-family: var(--head); font-size: 23px; font-weight: 400; letter-spacing: .035em; line-height: 1; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: #4a4c54; font-size: 12px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }
.header-sign-in { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-family: var(--head); font-size: 16px; letter-spacing: .04em; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-link:focus-visible, nav a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(234,122,244,.34); outline-offset: 3px; }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(164,1,52,.2); }
.button-primary:hover { background: #85012a; }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.8); color: var(--ink); }
.button-glass { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.11); color: #fff; backdrop-filter: blur(10px); }
.text-link { color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; min-height: min(780px, calc(100vh - 76px)); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 52% center; }
.hero-overlay { background: linear-gradient(90deg, rgba(11,12,16,.9) 0%, rgba(11,12,16,.64) 43%, rgba(11,12,16,.08) 76%), linear-gradient(0deg, rgba(11,12,16,.72), transparent 58%); }
.hero-content { position: relative; z-index: 2; padding-block: clamp(100px, 15vw, 160px) clamp(80px, 10vw, 110px); }
.eyebrow, .kicker { margin: 0 0 12px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); }
.eyebrow::before { content: ''; width: 30px; height: 2px; background: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; }
h1 { max-width: 770px; margin-bottom: 20px; font-size: clamp(64px, 9vw, 118px); line-height: .86; }
.hero-copy { max-width: 640px; margin-bottom: 28px; color: rgba(255,255,255,.83); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-caption { position: absolute; right: 24px; bottom: 18px; z-index: 3; margin: 0; padding: 7px 10px; border-radius: 7px; background: rgba(10,11,15,.5); color: rgba(255,255,255,.66); font-size: 9px; backdrop-filter: blur(10px); }

.section { padding-block: clamp(78px, 10vw, 124px); }
.section-intro, .preview-heading { display: grid; grid-template-columns: minmax(0,.9fr) minmax(300px,1.1fr); gap: 50px; align-items: end; margin-bottom: 34px; }
.section-intro h2, .preview-heading h2, .join-intro h2 { margin-bottom: 0; font-size: clamp(44px, 6vw, 72px); line-height: .94; }
.section-intro > p, .preview-heading > p, .join-intro > p { margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { position: relative; min-height: 250px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.78); }
.feature-card::after { content: attr(data-number); position: absolute; top: 12px; right: 17px; color: #ece6e7; font-family: var(--head); font-size: 58px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 46px; border-radius: 13px; background: var(--accent-pale); color: var(--accent); }
.feature-icon.blue { background: #e6f1fc; color: var(--blue); }
.feature-icon.teal { background: #e3f5ef; color: var(--teal); }
.feature-card h3 { margin-bottom: 8px; font-size: 31px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.story-band { display: grid; grid-template-columns: minmax(0,1.14fr) minmax(340px,.86fr); min-height: 500px; overflow: hidden; border-radius: 28px; background: #17181e; color: #fff; box-shadow: var(--shadow); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 70px); }
.story-copy .kicker { color: #f0a8f7; }
.story-copy h2 { margin-bottom: 17px; font-size: clamp(43px, 5vw, 66px); line-height: .94; }
.story-copy > p { color: rgba(255,255,255,.68); line-height: 1.72; }
.role-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 25px; }
.role-chips span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 10px; }
.story-copy .text-link { color: #f0a8f7; }

.preview-section { margin-top: 110px; background: #f2edef; }
.preview-frame { overflow: hidden; border: 1px solid #ddd4d7; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.preview-label { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-bottom: 1px solid #e7e1e2; background: #fcf9fa; color: #6b6266; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.preview-label span { width: 7px; height: 7px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 0 5px rgba(255,181,71,.13); }
.sample-app { display: grid; grid-template-columns: 190px 1fr; min-height: 560px; color: #24262d; }
.sample-sidebar { padding: 20px 14px; border-right: 1px solid #e7e9ed; background: #fbfbfc; }
.sample-brand { display: flex; align-items: center; gap: 8px; margin: 0 7px 32px; font-family: var(--head); font-size: 20px; letter-spacing: .03em; }
.sample-brand img { width: 34px; height: 34px; }
.sample-nav { margin: 5px 0; padding: 11px 12px; border-radius: 9px; color: #686b75; font-size: 11px; }
.sample-nav.active { background: #f4dce4; color: var(--accent); font-weight: 700; }
.sample-topbar { display: flex; justify-content: space-between; align-items: center; min-height: 62px; padding: 0 24px; border-bottom: 1px solid #e7e9ed; font-family: var(--head); font-size: 17px; }
.sample-topbar small { color: #9a9295; font-family: var(--body); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.sample-content { padding: 28px; background: #fff; }
.sample-kicker { margin-bottom: 3px; color: #5b5e67; font-size: 10px; text-transform: uppercase; }
.sample-content > h3 { margin-bottom: 24px; font-size: 38px; }
.sample-banner { display: flex; justify-content: space-between; align-items: center; min-height: 135px; padding: 25px; border: 1px solid #e8bdca; border-radius: 17px; background: linear-gradient(110deg,#fff 45%,#fae9ee); }
.sample-banner div, .sample-banner strong, .sample-banner span, .sample-stats small, .sample-stats strong, .sample-stats span, .sample-lower strong, .sample-lower span, .sample-lower small { display: block; }
.sample-banner small { color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sample-banner strong { margin: 6px 0; font-family: var(--head); font-size: 31px; font-weight: 400; }
.sample-banner div > span, .sample-stats span, .sample-lower span { color: #777a83; font-size: 10px; }
.sample-banner .sample-status { padding: 7px 9px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.sample-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 12px; }
.sample-stats > div, .sample-lower > div { padding: 17px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fbfbfc; }
.sample-stats small, .sample-lower > div > small:first-child { color: #777a83; font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.sample-stats strong { margin: 9px 0 5px; font-family: var(--head); font-size: 30px; font-weight: 400; }
.sample-lower { display: grid; grid-template-columns: 1.2fr .8fr; gap: 11px; margin-top: 12px; }
.sample-lower strong { margin: 7px 0; font-size: 12px; }
.locked-card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; background: #17181e !important; color: #fff; }
.locked-card > span { grid-row: span 2; color: #f0a8f7; }
.locked-card small { color: rgba(255,255,255,.58); font-size: 9px; line-height: 1.5; }

.access-message { display: grid; grid-template-columns: .7fr 1.1fr auto; gap: 30px; align-items: center; margin-top: 22px; padding: 28px; border-radius: 20px; background: #17181e; color: #fff; }
.access-message h3 { margin: 0; font-size: 34px; }
.access-message > p { margin: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.7; }
.access-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.access-actions .text-link { color: #f0a8f7; font-size: 10px; }

.join-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(460px,1.2fr); gap: clamp(50px,8vw,100px); align-items: start; }
.join-intro { position: sticky; top: 120px; }
.join-intro > p { margin-top: 24px; }
.join-intro ul { display: grid; gap: 12px; padding: 0; margin: 30px 0 0; list-style: none; }
.join-intro li { position: relative; padding-left: 27px; color: #555861; font-size: 13px; }
.join-intro li::before { content: '✓'; position: absolute; left: 0; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-pale); color: var(--accent); font-size: 10px; font-weight: 700; }
.form-card { padding: clamp(26px,5vw,44px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
#join-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#join-form label, #join-form legend { color: #464850; font-size: 12px; font-weight: 600; }
#join-form label > span { color: var(--accent); }
#join-form label > small, #join-form legend small { display: block; margin-top: 6px; color: #858790; font-size: 9px; font-weight: 400; line-height: 1.5; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1px solid #dcd7d9; border-radius: 9px; background: #fcfbfb; color: var(--ink); padding: 11px 12px; }
textarea { min-height: 130px; resize: vertical; }
fieldset { min-width: 0; padding: 0; border: 0; }
.interest-grid { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.interest-grid label { position: relative; cursor: pointer; }
.interest-grid input { position: absolute; opacity: 0; pointer-events: none; }
.interest-grid span { display: block; padding: 8px 11px; border: 1px solid #ded9db; border-radius: 999px; background: #fcfbfb; color: #62646d !important; font-size: 10px; font-weight: 500; }
.interest-grid input:checked + span { border-color: rgba(164,1,52,.34); background: var(--accent-pale); color: var(--accent) !important; }
.interest-grid input:focus-visible + span { outline: 3px solid rgba(234,122,244,.34); outline-offset: 2px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; }
.turnstile-widget { min-height: 65px; }
.form-status { display: none; margin: -5px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 11px; line-height: 1.5; }
.form-status.visible { display: block; background: #fbe9ed; color: #8e173c; }
.form-status.success { background: #e3f5ef; color: #12684f; }
.submit-button { width: 100%; }
.submit-button:disabled { cursor: wait; opacity: .62; transform: none; }
.privacy-note { margin: -7px 0 0; color: #8a8c94; font-size: 9px; line-height: 1.55; text-align: center; }
.success-card { text-align: center; padding: 28px 12px; }
.success-card > span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #e3f5ef; color: var(--teal); font-size: 25px; }
.success-card h3 { margin-bottom: 9px; font-size: 38px; }
.success-card p { max-width: 430px; margin: 0 auto 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }

footer { padding: 32px 0; border-top: 1px solid var(--line); background: #fff; }
footer .content-width { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer-brand img { width: 35px; height: 35px; }
footer p, footer > div > a { margin: 0; color: var(--muted); font-size: 10px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .section-intro, .preview-heading { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 210px; }
  .story-band { grid-template-columns: 1fr; }
  .story-image { max-height: 430px; }
  .sample-app { grid-template-columns: 1fr; }
  .sample-sidebar { display: none; }
  .access-message { grid-template-columns: 1fr; }
  .access-actions { align-items: flex-start; }
  .join-section { grid-template-columns: 1fr; }
  .join-intro { position: static; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 80px; }
  .content-width { width: min(100% - 26px, 1180px); }
  .site-header { min-height: 66px; padding-inline: 13px; }
  .brand small { display: none; }
  .brand img { width: 35px; height: 35px; }
  .header-sign-in { min-height: 38px; padding-inline: 12px; font-size: 14px; }
  .hero { min-height: 690px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(11,12,16,.9), rgba(11,12,16,.22) 75%); }
  .hero-content { padding-bottom: 70px; }
  h1 { font-size: clamp(59px,19vw,82px); }
  .hero-caption { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding-block: 70px; }
  .story-band { width: calc(100% - 26px); }
  .story-image { min-height: 290px; }
  .story-copy { padding: 30px 24px 36px; }
  .preview-section { margin-top: 70px; }
  .preview-frame { border-radius: 15px; }
  .sample-main { min-width: 0; }
  .sample-content { padding: 15px; }
  .sample-topbar { padding-inline: 16px; }
  .sample-content > h3 { font-size: 31px; }
  .sample-banner { min-height: 150px; padding: 18px; }
  .sample-banner strong { font-size: 25px; }
  .sample-status { display: none !important; }
  .sample-stats { grid-template-columns: 1fr 1fr; }
  .sample-stats > div:last-child { grid-column: span 2; }
  .sample-lower { grid-template-columns: 1fr; }
  .sample-app { min-height: 720px; }
  .access-message { padding: 24px 20px; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  footer .content-width { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
