:root {
  color-scheme: dark;
  --ink: #0b0e14;
  --surface: #121722;
  --surface-2: #181f2c;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f4f5f7;
  --muted: #a4acba;
  --blue: #55b7ff;
  --red: #ef3f47;
  --lime: #c7f464;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% -10%, rgba(85, 183, 255, 0.12), transparent 34rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: white; color: black; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { border-radius: 12px; }
nav { display: flex; gap: 2rem; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--text); }
main, footer { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; padding: 5rem 0 4rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 { max-width: 780px; font-size: clamp(4rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
h3 { font-size: clamp(2.4rem, 4vw, 4.3rem); }
.hero-description { max-width: 650px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--text); color: var(--ink); }
.button-primary:hover { background: var(--lime); }
.button-secondary:hover { border-color: var(--blue); }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 15%; background: linear-gradient(145deg, rgba(85,183,255,.23), rgba(239,63,71,.12)); filter: blur(28px); border-radius: 50%; }
.hero-monogram { position: relative; z-index: 2; display: grid; place-items: center; width: 48%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.26); border-radius: 28%; background: rgba(18,23,34,.72); box-shadow: inset 0 0 0 10px rgba(255,255,255,.025), 0 40px 100px rgba(0,0,0,.5); font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; letter-spacing: -.12em; transform: rotate(-7deg); backdrop-filter: blur(12px); }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { inset: 6%; animation: spin 24s linear infinite; }
.orbit-one::after { content: ""; position: absolute; top: 12%; left: 16%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 24px var(--blue); }
.orbit-two { inset: 24%; border-style: dashed; animation: spin 17s linear infinite reverse; }
.signal { position: absolute; z-index: 3; padding: .45rem .7rem; background: var(--text); color: var(--ink); font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.signal-one { right: 0; top: 25%; transform: rotate(7deg); }
.signal-two { left: 4%; bottom: 22%; background: var(--red); color: white; transform: rotate(-8deg); }
.announcement { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; border-block: 1px solid var(--line); color: var(--muted); text-align: center; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(199,244,100,.1); }
.apps-section { padding: 9rem 0; }
.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
.section-heading > p:last-child { max-width: 650px; margin: 1.6rem 0 0; color: var(--muted); font-size: 1.1rem; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.app-card { position: relative; min-height: 640px; display: flex; flex-direction: column; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.app-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; bottom: -130px; border-radius: 50%; filter: blur(3px); opacity: .13; }
.app-card-bah::after { background: var(--blue); }
.app-card-fah::after { background: var(--red); }
.card-topline { display: flex; justify-content: space-between; align-items: start; }
.status { display: inline-flex; width: fit-content; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card-number { color: rgba(255,255,255,.25); font-size: .8rem; font-weight: 800; }
.app-logo { width: min(100%, 290px); height: 120px; margin: 3.7rem 0 2.4rem; object-fit: contain; object-position: left center; }
.app-tagline { margin: 0 0 .8rem; color: var(--blue); font-size: .82rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.app-card-fah .app-tagline { color: #ff777e; }
.app-description { max-width: 520px; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.04rem; }
.text-link { position: relative; z-index: 2; width: fit-content; margin-top: auto; color: var(--text); font-weight: 850; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--lime); }
.beta-link { position: relative; z-index: 2; width: fit-content; margin-top: .8rem; color: var(--muted); font-size: .88rem; font-weight: 750; text-decoration: none; }
.beta-link:hover { color: var(--blue); }
.text-button { width: fit-content; margin-top: auto; padding: 0 0 .2rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--text); font: inherit; font-weight: 850; cursor: pointer; }
.text-button:hover { color: var(--lime); }
.beta-main { overflow: hidden; }
.beta-hero { min-height: 610px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 4rem; padding: 5rem 0; }
.beta-hero .button { margin-top: 2rem; }
.beta-stat-panel { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--line); }
.beta-stat-panel div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.8rem; background: var(--surface); }
.beta-stat-panel strong { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.beta-stat-panel span { color: var(--muted); font-size: .85rem; }
.beta-products { padding: 7rem 0 9rem; border-top: 1px solid var(--line); }
.beta-app-grid .app-card { min-height: 570px; }
.signup-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); padding: 8rem 0; border-top: 1px solid var(--line); }
.signup-copy { position: sticky; top: 2rem; align-self: start; }
.signup-copy > p:not(.eyebrow), .signup-copy li { color: var(--muted); }
.signup-copy ul { margin: 2rem 0 0; padding-left: 1.2rem; }
.beta-form { display: grid; gap: 1.25rem; padding: clamp(1.3rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); }
.beta-form fieldset { margin: 0; padding: 0; border: 0; }
.beta-form legend, .beta-form > label { margin-bottom: .65rem; color: var(--text); font-size: .82rem; font-weight: 750; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.beta-form label { display: flex; flex-direction: column; gap: .45rem; }
.beta-form input[type="text"], .beta-form input[type="email"], .beta-form select, .beta-form textarea { width: 100%; padding: .82rem .9rem; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: var(--ink); color: var(--text); font: inherit; }
.beta-form input:focus, .beta-form select:focus, .beta-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(85,183,255,.12); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice { flex-direction: row !important; align-items: center; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--ink); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); background: rgba(85,183,255,.08); }
.choice-wide { grid-column: 1 / -1; }
.choice input, .check-row input, .consent input { width: 18px; height: 18px; accent-color: var(--blue); }
.choice span { display: grid; gap: .1rem; }
.choice small, .optional, .privacy-note { color: var(--muted); font-weight: 500; }
.check-row { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: .4rem 0; }
.check-row label, .consent { flex-direction: row !important; align-items: flex-start; }
.consent { padding-top: .3rem; color: var(--muted) !important; font-weight: 500 !important; }
.form-submit { width: 100%; border: 0; cursor: pointer; }
.form-submit:disabled { opacity: .55; cursor: wait; }
.form-message { min-height: 1.5em; margin: 0; font-size: .9rem; }
.form-message.success { color: var(--lime); }
.form-message.error { color: #ff777e; }
.privacy-note { margin: -.4rem 0 0; font-size: .76rem; }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.studio-section { display: grid; grid-template-columns: .45fr 1.55fr; gap: 4rem; padding: 8rem 0; border-top: 1px solid var(--line); }
.studio-label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.studio-copy { max-width: 760px; }
.studio-copy > p:last-child { margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
footer { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
footer > div { display: flex; align-items: center; gap: .8rem; color: var(--text); font-weight: 800; }
.footer-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; font-size: .72rem; }
.reveal { animation: enter .75s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 840px) {
  nav { gap: 1rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 1rem; padding-top: 4rem; }
  .hero-art { width: min(100%, 490px); margin: 0 auto; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 590px; }
  .studio-section { grid-template-columns: 1fr; gap: 2rem; }
  .beta-hero, .signup-section { grid-template-columns: 1fr; }
  .beta-hero { gap: 2rem; }
  .signup-copy { position: static; }
}
@media (max-width: 560px) {
  .site-header { min-height: 72px; }
  .brand span { display: none; }
  nav { font-size: .85rem; }
  h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .hero-art { margin-top: 1rem; }
  .apps-section { padding: 6rem 0; }
  .app-card { min-height: 540px; border-radius: 20px; }
  .app-logo { margin-top: 2.7rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
  footer p { margin: 0; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .choice-wide { grid-column: auto; }
}
