/* Icarus App - early access landing page
   Brand: Navy #0B1120 + single Orange accent #F0992A (icaro/brand/BRAND.md).
   Component conventions reused from the live icarusailab.com site
   (see icarus-ai-lab/live-site/index.html) so this page matches the rest of the site.
   FONTS: the live site loads Inter/Space Grotesk from Google Fonts, which transfers
   visitor IPs to Google without consent (LG Munchen, 2022 ruling, GDPR issue in the EU).
   No local woff2 files exist for this page to self-host instead, so this page uses a
   system font stack only. Fix properly (self-host woff2) before copying this pattern
   back to the rest of the site. */

:root {
  --navy:        #0B1120;
  --navy-card:   #1E293B;
  --navy-deep:   #0B1120;
  --orange:      #F0992A;
  --orange-dark: #C97814;
  --orange-light:#FFB454;
  --orange-dim:  rgba(240,153,42,.14);
  --orange-border: rgba(240,153,42,.22);
  --white:       #FAFAFA;
  --muted:       #94A3B8;
  --slate:       #475569;
  --border:      #1E293B;
  --border-lt:   #334155;
  --radius:      12px;
  --radius-lg:   20px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  background:var(--navy);
  color:var(--white);
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
h1,h2,h3,h4 { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif; }
.container { width:min(1140px,92vw); margin-inline:auto; }

.skip-link {
  position:absolute; top:-44px; left:0; z-index:999;
  padding:.5rem 1rem; background:var(--orange); color:#0B1120; font-weight:700;
  font-size:.9rem; border-radius:0 0 8px 0; transition:top .2s;
}
.skip-link:focus { top:0; }
:focus-visible { outline:2px solid var(--orange); outline-offset:3px; border-radius:4px; }
:focus:not(:focus-visible) { outline:none; }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition:none !important; animation:none !important; }
  html { scroll-behavior:auto; }
}

/* Visually hidden (honeypot, screen-reader-only helpers) */
.visually-hidden {
  position:absolute !important;
  width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* TAGS */
.tag {
  display:inline-block; background:var(--orange-dim); color:var(--orange);
  border:1px solid var(--orange-border); border-radius:99px; padding:.28rem .95rem;
  font-size:.76rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
}

/* BUTTONS */
.btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  background:var(--orange); color:#0B1120; font-family:'Space Grotesk',sans-serif;
  font-weight:700; font-size:.95rem; padding:.82rem 1.9rem; border-radius:10px;
  border:none; cursor:pointer; transition:background .2s,transform .15s;
}
.btn-primary:hover { background:var(--orange-dark); transform:translateY(-2px); }
.btn-primary:disabled { opacity:.6; cursor:not-allowed; transform:none; }
.btn-outline {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  background:transparent; color:var(--white); font-family:'Space Grotesk',sans-serif;
  font-weight:600; font-size:.95rem; padding:.8rem 1.8rem; border-radius:10px;
  border:1.5px solid rgba(250,250,250,.2); cursor:pointer;
  transition:border-color .2s,background .2s;
}
.btn-outline:hover { border-color:var(--orange); background:var(--orange-dim); }

/* SECTION HEADERS */
.section-header { text-align:center; max-width:680px; margin:0 auto 3rem; }
.section-header .tag { margin-bottom:1rem; }
.section-header--flush { margin-bottom:0; }
.section-header--form { text-align:left; margin:0 0 .5rem; max-width:none; }
h2.section-title {
  font-size:clamp(1.8rem,3.5vw,2.5rem); font-weight:700; line-height:1.18;
  margin-bottom:1rem;
}
.section-title--form { font-size:1.8rem; }
.section-desc { color:var(--muted); font-size:1.02rem; line-height:1.7; }

/* NAV */
nav.site-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:rgba(11,17,32,.92); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border); padding:.85rem 0;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.nav-brand { display:flex; align-items:center; gap:.65rem; white-space:nowrap; }
.nav-brand img { height:32px; width:auto; }
.nav-links { display:flex; align-items:center; gap:2rem; }
.nav-links a { font-size:.88rem; font-weight:500; color:var(--muted); transition:color .2s; }
.nav-links a:hover { color:var(--white); }
.nav-cta { font-size:.88rem; padding:.6rem 1.3rem; }
.lang-switch { display:flex; align-items:center; gap:.4rem; }
.lang-switch a {
  font-size:.8rem; font-weight:600; color:var(--muted); border:1px solid var(--border-lt);
  border-radius:6px; padding:.3rem .6rem; transition:color .2s,border-color .2s;
}
.lang-switch a:hover, .lang-switch a[aria-current="page"] { color:var(--orange); border-color:var(--orange); }
.hamburger {
  display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px;
  background:none; border:none; color:inherit;
}
.hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; }
.mobile-menu {
  display:none; flex-direction:column; gap:1rem; padding:1.25rem 0 .5rem;
  border-top:1px solid var(--border-lt); margin-top:.85rem;
}
.mobile-menu.open { display:flex; }
.mobile-menu a { color:var(--muted); font-size:.95rem; font-weight:500; }
.mobile-menu a:hover { color:var(--white); }
@media (max-width:860px) {
  .nav-links, .nav-cta-desktop { display:none; }
  .hamburger { display:flex; }
}

/* HERO */
#hero { padding:8.5rem 0 4.5rem; position:relative; overflow:hidden; }
.hero-bg {
  position:absolute; inset:0;
  background:radial-gradient(ellipse 80% 55% at 50% -15%,rgba(240,153,42,.18) 0%,transparent 65%);
  pointer-events:none;
}
.hero-inner { position:relative; text-align:center; max-width:820px; margin-inline:auto; }
.hero-inner .tag { margin-bottom:1.5rem; }
h1.hero-title {
  font-size:clamp(2.1rem,5vw,3.6rem); font-weight:700; line-height:1.12;
  margin-bottom:1.4rem; letter-spacing:-.02em;
}
.hero-sub { font-size:clamp(1rem,1.8vw,1.15rem); color:var(--muted); max-width:620px; margin:0 auto 2rem; }
.hero-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:1rem; margin-bottom:1.2rem; }
.hero-note { color:var(--muted); font-size:.85rem; }

/* HOW IT WORKS (process) */
#how { padding:5rem 0; background:var(--navy-deep); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.process-track { display:flex; flex-direction:column; max-width:760px; margin-inline:auto; }
.process-step { display:flex; gap:1.6rem; padding:1.8rem 0; align-items:flex-start; }
.process-step + .process-step { border-top:1px solid var(--border-lt); }
.step-num {
  flex-shrink:0; width:50px; height:50px; border-radius:50%; background:var(--orange-dim);
  border:2px solid var(--orange); display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:1rem; color:var(--orange);
}
.step-body h3 { font-size:1.05rem; font-weight:700; margin-bottom:.4rem; }
.step-body p { color:var(--muted); font-size:.92rem; line-height:1.65; }

/* AGENTS */
#agents { padding:5.5rem 0; }
.agents-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; }
.agent-card {
  background:var(--navy-card); border:1px solid var(--border-lt); border-radius:var(--radius-lg);
  padding:1.8rem; transition:border-color .25s,transform .2s;
}
.agent-card:hover { border-color:var(--orange); transform:translateY(-3px); }
.agent-icon {
  width:46px; height:46px; border-radius:12px; background:var(--orange-dim);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.1rem;
}
.agent-icon svg { width:22px; height:22px; stroke:var(--orange); fill:none; stroke-width:1.7; }
.agent-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:.55rem; }
.agent-card p { color:var(--muted); font-size:.88rem; line-height:1.6; }
.agents-closing { text-align:center; color:var(--muted); font-size:.9rem; margin-top:2rem; }
@media (max-width:700px) { .agents-grid { grid-template-columns:1fr; } }

/* FEATURES */
#features { padding:5.5rem 0; background:var(--navy-deep); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.feature-tile {
  background:var(--navy-card); border:1px solid var(--border-lt); border-radius:var(--radius);
  padding:1.6rem; transition:border-color .2s,transform .15s;
}
.feature-tile:hover { border-color:var(--orange); transform:translateY(-2px); }
.feature-tile h3 { font-size:.98rem; font-weight:700; margin-bottom:.5rem; }
.feature-tile p { color:var(--muted); font-size:.86rem; line-height:1.6; }
@media (max-width:920px) { .features-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) { .features-grid { grid-template-columns:1fr; } }

/* TRUST */
#trust { padding:5.5rem 0; }
.trust-box {
  background:linear-gradient(135deg,rgba(240,153,42,.09) 0%,rgba(240,153,42,.04) 100%);
  border:1px solid var(--orange-border); border-radius:var(--radius-lg); padding:2.6rem;
  max-width:760px; margin-inline:auto;
}
.trust-list { display:flex; flex-direction:column; gap:.85rem; }
.trust-list li { display:flex; align-items:flex-start; gap:.65rem; font-size:.95rem; color:var(--muted); line-height:1.6; }
.trust-list .check { color:var(--orange-light); font-weight:700; flex-shrink:0; margin-top:2px; }
.trust-caveat { margin-top:1.4rem; padding-top:1.2rem; border-top:1px solid var(--border-lt); color:var(--muted); font-size:.82rem; }

/* PLATFORMS */
#platforms { padding:4rem 0; text-align:center; }
.platform-pills { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.9rem; margin-top:1.5rem; }
.platform-pill {
  display:inline-flex; align-items:center; gap:.5rem; background:var(--navy-card);
  border:1px solid var(--border-lt); border-radius:99px; padding:.55rem 1.1rem;
  font-size:.88rem; font-weight:600; color:var(--white);
}
.platform-dot { width:7px; height:7px; border-radius:50%; background:var(--orange); flex-shrink:0; }

/* FORM */
#form-section { padding:5.5rem 0; }
.form-wrap {
  max-width:660px; margin-inline:auto; background:var(--navy-card);
  border:1px solid var(--border-lt); border-radius:var(--radius-lg); padding:2.4rem;
}
.form-intro { color:var(--muted); font-size:.95rem; margin-bottom:2rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-field { display:flex; flex-direction:column; gap:.4rem; }
.form-field.full { grid-column:1 / -1; }
.form-field label { font-size:.86rem; font-weight:600; color:var(--white); }
.form-field .req { color:var(--orange-light); margin-left:.2rem; }
.form-field input,
.form-field select,
.form-field textarea {
  background:var(--navy); border:1px solid var(--border-lt); border-radius:8px;
  padding:.72rem .9rem; font-size:.92rem; color:var(--white); font-family:inherit;
  width:100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color:var(--muted); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline:2px solid var(--orange); outline-offset:1px; border-color:var(--orange);
}
.form-field textarea { resize:vertical; min-height:96px; }
.form-help { font-size:.76rem; color:var(--muted); }
.form-error-msg { font-size:.78rem; color:var(--orange-light); min-height:1em; }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color:#E24444; }

.checkbox-field { display:flex; align-items:flex-start; gap:.6rem; }
.checkbox-field input[type="checkbox"] {
  width:18px; height:18px; flex-shrink:0; margin-top:.15rem; accent-color:var(--orange);
}
.checkbox-field label { font-size:.86rem; color:var(--muted); line-height:1.5; }
.checkbox-field a { color:var(--orange-light); text-decoration:underline; }

.honeypot-field { position:absolute !important; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

.form-actions { margin-top:1.8rem; display:flex; flex-direction:column; gap:.9rem; align-items:flex-start; }
.form-status { font-size:.9rem; line-height:1.6; min-height:1.2em; }
.form-status.success { color:#4ADE80; }
.form-status.error { color:#F87171; }
.form-status.duplicate { color:var(--orange-light); }

/* FAQ */
#faq { padding:5.5rem 0; }
.faq-list { max-width:720px; margin-inline:auto; display:flex; flex-direction:column; gap:0; }
.faq-item { border-bottom:1px solid var(--border-lt); }
.faq-item summary {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.3rem 0; cursor:pointer; font-size:.98rem; font-weight:600; color:var(--white);
  list-style:none;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:hover { color:var(--orange); }
.faq-item summary .faq-icon {
  flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--orange-dim);
  border:1px solid var(--orange-border); display:flex; align-items:center; justify-content:center;
  font-size:.9rem; color:var(--orange); transition:transform .2s;
}
.faq-item[open] summary .faq-icon { transform:rotate(45deg); }
.faq-item .faq-a { padding-bottom:1.3rem; color:var(--muted); font-size:.92rem; line-height:1.75; }

/* FOOTER CTA */
#footer-cta { padding:5rem 0; text-align:center; position:relative; overflow:hidden; }
#footer-cta::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 70% 80% at 50% 50%,rgba(240,153,42,.12) 0%,transparent 70%);
  pointer-events:none;
}
#footer-cta .container { position:relative; }
#footer-cta h2 { font-size:clamp(1.6rem,3vw,2.3rem); font-weight:700; margin-bottom:1.6rem; line-height:1.3; }

/* FOOTER */
footer.site-footer { padding:2.5rem 0; border-top:1px solid var(--border-lt); }
.footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-brand { display:flex; align-items:center; gap:.6rem; }
.footer-brand img { height:26px; width:auto; }
.footer-meta { color:var(--muted); font-size:.82rem; display:flex; gap:1.2rem; flex-wrap:wrap; }
.footer-meta a:hover { color:var(--white); }

@media (max-width:640px) {
  .form-grid { grid-template-columns:1fr; }
  .form-wrap { padding:1.6rem; }
  .footer-inner { flex-direction:column; text-align:center; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity:0; transform:translateY(12px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ===== HERO (two-column with video) ===== */
.hero-grid {
  position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:3rem;
  align-items:center; text-align:left;
}
.hero-content { max-width:560px; }
.hero-content .tag { margin-bottom:1.5rem; }
.hero-media { position:relative; }
.hero-media-glow {
  position:absolute; inset:-10% -10% -10% -10%;
  background:radial-gradient(circle,rgba(240,153,42,.28) 0%,transparent 70%);
  pointer-events:none; z-index:0;
}
.hero-video {
  position:relative; z-index:1; width:100%; height:auto; max-width:460px;
  margin-inline:auto; border-radius:var(--radius-lg); border:1px solid var(--border-lt);
  display:block;
}
h1.hero-title { text-align:left; }
.hero-content .hero-sub { text-align:left; margin-inline:0; }
.hero-content .hero-actions { justify-content:flex-start; }
.hero-content .hero-note { text-align:left; }
@media (max-width:900px) {
  .hero-grid { grid-template-columns:1fr; text-align:center; gap:2.5rem; }
  .hero-content { max-width:620px; margin-inline:auto; text-align:center; }
  h1.hero-title, .hero-content .hero-sub, .hero-content .hero-note { text-align:center; }
  .hero-content .hero-sub { margin-inline:auto; }
  .hero-content .hero-actions { justify-content:center; }
  .hero-video { max-width:360px; }
}

/* ===== PROBLEM / AGITATION ===== */
#problem { padding:5rem 0; background:var(--navy-deep); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.problem-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; margin-bottom:2.5rem; }
.problem-card {
  background:var(--navy-card); border:1px solid var(--border-lt); border-radius:var(--radius);
  padding:1.6rem;
}
.problem-icon {
  width:42px; height:42px; border-radius:11px; background:var(--orange-dim);
  display:flex; align-items:center; justify-content:center; margin-bottom:1rem;
}
.problem-icon svg { width:20px; height:20px; stroke:var(--orange); fill:none; stroke-width:1.7; }
.problem-card p { color:var(--muted); font-size:.92rem; line-height:1.65; }
.problem-turn {
  text-align:center; font-size:1.2rem; font-weight:700; color:var(--white);
  max-width:620px; margin-inline:auto;
}
@media (max-width:900px) { .problem-grid { grid-template-columns:1fr; } }

/* ===== A DAY WITH YOUR AI TEAM (timeline) ===== */
#day-in-life { padding:5.5rem 0; }
.timeline { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; position:relative; }
.timeline-step {
  text-align:center; padding:1.8rem 1.4rem; background:var(--navy-card);
  border:1px solid var(--border-lt); border-radius:var(--radius-lg);
}
.timeline-icon {
  width:52px; height:52px; border-radius:50%; background:var(--orange-dim);
  border:2px solid var(--orange); display:flex; align-items:center; justify-content:center;
  margin:0 auto 1rem;
}
.timeline-icon svg { width:24px; height:24px; stroke:var(--orange); fill:none; stroke-width:1.6; }
.timeline-label {
  display:block; font-size:.76rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  color:var(--orange); margin-bottom:.6rem;
}
.timeline-step p { color:var(--muted); font-size:.9rem; line-height:1.6; }
@media (max-width:820px) { .timeline { grid-template-columns:1fr; } }

/* ===== FEATURE ROWS (alternating text/video spotlight) ===== */
.feature-rows { display:flex; flex-direction:column; gap:3.5rem; margin-bottom:3.5rem; }
.feature-row {
  display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:center;
}
.feature-row-text .tag { margin-bottom:1rem; }
.feature-row-text h3 { font-size:1.35rem; font-weight:700; margin-bottom:.7rem; }
.feature-row-text p { color:var(--muted); font-size:.98rem; line-height:1.7; }
.feature-row-media { order:2; }
.feature-row--reverse .feature-row-text { order:2; }
.feature-row--reverse .feature-row-media { order:1; }
.feature-video {
  width:100%; height:auto; max-width:380px; margin-inline:auto; display:block;
  border-radius:var(--radius-lg); border:1px solid var(--border-lt);
}
.features-grid--secondary { margin-top:0; }
@media (max-width:820px) {
  .feature-row, .feature-row--reverse .feature-row-text, .feature-row--reverse .feature-row-media {
    grid-template-columns:1fr; order:initial;
  }
  .feature-row { display:flex; flex-direction:column; }
  .feature-video { max-width:320px; }
}

/* ===== MID-PAGE CTA ===== */
#mid-cta { padding:3.5rem 0; text-align:center; }
.mid-cta-inner { display:flex; flex-direction:column; align-items:center; gap:1.4rem; }
.mid-cta-inner h2 { font-size:clamp(1.4rem,2.6vw,1.9rem); font-weight:700; }

/* ===== FOUNDING GROUP ===== */
#founding-group { padding:5.5rem 0; }
.founding-box {
  max-width:700px; margin-inline:auto; text-align:center;
  background:linear-gradient(135deg,rgba(240,153,42,.1) 0%,rgba(240,153,42,.03) 100%);
  border:1px solid var(--orange-border); border-radius:var(--radius-lg); padding:2.8rem 2.4rem;
}
.founding-box .tag { margin-bottom:1.2rem; }
.founding-box .section-title { margin-bottom:1rem; }
.founding-intro { color:var(--muted); font-size:.98rem; margin-bottom:1.6rem; }
.founding-list { display:inline-flex; flex-direction:column; gap:.75rem; text-align:left; margin-bottom:2rem; }
.founding-list li { display:flex; align-items:flex-start; gap:.6rem; font-size:.94rem; color:var(--muted); line-height:1.6; }
.founding-list .check { color:var(--orange-light); font-weight:700; flex-shrink:0; margin-top:2px; }
@media (max-width:640px) { .founding-box { padding:2.2rem 1.6rem; } }

/* ===== STICKY MOBILE CTA BAR ===== */
.sticky-cta-bar {
  position:fixed; left:0; right:0; bottom:0; z-index:150;
  display:none; align-items:center; justify-content:space-between; gap:1rem;
  background:rgba(11,17,32,.97); backdrop-filter:blur(16px);
  border-top:1px solid var(--border-lt); padding:.8rem 1.1rem;
  padding-bottom:max(.8rem, env(safe-area-inset-bottom));
  transition:transform .25s ease, opacity .25s ease;
}
.sticky-cta-bar.is-hidden { transform:translateY(110%); opacity:0; pointer-events:none; }
.sticky-cta-label { font-size:.85rem; font-weight:700; color:var(--white); white-space:nowrap; }
.sticky-cta-bar .btn-primary { font-size:.85rem; padding:.65rem 1.3rem; white-space:nowrap; }
@media (prefers-reduced-motion:reduce) { .sticky-cta-bar { transition:none; } }
@media (max-width:760px) {
  .sticky-cta-bar { display:flex; }
  body { padding-bottom:4.2rem; }
}
