@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --black:   #0A0A0F;
  --ink:     #13131A;
  --card:    #1A1A24;
  --border:  rgba(255,255,255,.08);
  --muted:   #6B6B80;
  --mid:     #9090A8;
  --white:   #F4F4F6;
  --off:     #CECED8;
  --red:     #E0383E;
  --red-dim: #3D1416;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --max-w: 1140px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- NAV ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: var(--white);
  display: flex; align-items: center; gap: .45rem;
}

.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--mid);
  transition: color .18s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--red) !important;
  color: #fff !important;
  padding: .4rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .875rem;
}
.btn-nav:hover { background: #c42f35 !important; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(1.25rem, 6vw, 5rem);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.hero-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
  background: var(--red-dim);
  padding: .3rem .75rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 1.75rem;
}

.hero-title em { font-style: italic; color: var(--mid); }

.hero-desc {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--mid);
  max-width: 46ch;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center;
  padding: .7rem 1.6rem;
  font-family: var(--font-sans);
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  text-decoration: none;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c42f35; }

.btn-ghost {
  background: transparent;
  color: var(--off);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.25); color: var(--white); }

/* hero stats */
.hero-stats {
  display: flex; gap: 3rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 400;
  color: var(--white); line-height: 1;
}

.stat-label {
  font-size: .8rem; color: var(--muted);
  margin-top: .25rem;
}

/* ---- SECTION WRAPPER ---- */
.section {
  padding: 6rem clamp(1.25rem, 6vw, 5rem);
  max-width: var(--max-w); margin: 0 auto;
}

.section-label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.15;
  color: var(--white); margin-bottom: 1.25rem;
}

.section-title em { font-style: italic; color: var(--mid); }

.section-body {
  font-size: 1rem; font-weight: 300;
  color: var(--mid); max-width: 52ch; line-height: 1.85;
}

/* ---- PRODUCT / FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--ink);
  padding: 2.25rem 2rem;
}

.feature-icon {
  width: 40px; height: 40px;
  background: var(--red-dim);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.feature-title {
  font-size: 1rem; font-weight: 600;
  color: var(--white); margin-bottom: .5rem;
}

.feature-body {
  font-size: .875rem; font-weight: 300;
  color: var(--muted); line-height: 1.75;
}

/* ---- SOCIAL PROOF ---- */
.logos-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem clamp(1.25rem, 6vw, 5rem);
  display: flex; align-items: center;
  justify-content: center; gap: 3rem; flex-wrap: wrap;
}

.logo-item {
  font-size: .85rem; font-weight: 600;
  letter-spacing: .06em; color: var(--muted);
  text-transform: uppercase;
}

/* ---- CAREERS ---- */
.careers-layout {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 5rem; align-items: start;
}

.role-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.role-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--red-dim); color: var(--red);
  padding: .25rem .65rem; border-radius: 100px;
  width: fit-content;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--white);
}

.role-meta {
  font-size: .8rem; color: var(--muted); line-height: 1.7;
}

.role-divider { border: none; border-top: 1px solid var(--border); }

.role-detail-title {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mid); margin-bottom: .65rem;
}

.role-detail-list {
  display: flex; flex-direction: column; gap: .4rem;
}

.role-detail-list li {
  font-size: .875rem; font-weight: 300;
  color: var(--off); padding-left: 1rem;
  position: relative; line-height: 1.6;
}
.role-detail-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--muted);
}

/* ---- APPLY FORM ---- */
.apply-wrap {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.apply-title {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--white);
  margin-bottom: .5rem;
}

.apply-sub {
  font-size: .875rem; color: var(--muted);
  margin-bottom: 2rem;
}

/* progress bar */
.progress-bar {
  display: flex; gap: 0;
  margin-bottom: 2.5rem;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 14px; left: 14px; right: 14px;
  height: 1px; background: var(--border);
  z-index: 0;
}

.pb-step {
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  flex: 1; position: relative; z-index: 1;
}

.pb-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 600; color: var(--muted);
  transition: background .3s, border-color .3s, color .3s;
}

.pb-step.active .pb-dot {
  border-color: var(--red); background: var(--red); color: #fff;
}
.pb-step.done .pb-dot {
  border-color: var(--red); background: var(--red-dim); color: var(--red);
}

.pb-label {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.pb-step.active .pb-label,
.pb-step.done .pb-label { color: var(--off); }

/* form fields */
fieldset { border: none; padding: 0; }

.step-heading {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem;
}

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex; flex-direction: column; gap: .35rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: .75rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--mid);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem .9rem;
  font-family: var(--font-sans);
  font-size: .9rem; color: var(--white);
  outline: none;
  transition: border-color .18s;
  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 { border-color: var(--red); }
.form-field select option { background: var(--ink); }
.form-field textarea { resize: vertical; min-height: 110px; }

/* file input */
.file-label {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  cursor: pointer;
  transition: border-color .18s;
}
.file-label:hover { border-color: var(--red); }
.file-label span { font-size: .8rem; color: var(--muted); }
.file-label strong { font-size: .875rem; color: var(--off); }
input[type="file"] { display: none; }

/* nav buttons */
.form-nav {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 1.75rem; gap: 1rem;
}

.btn-back-sm {
  background: none; border: 1px solid var(--border);
  color: var(--mid); padding: .6rem 1.25rem;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  border-radius: var(--radius); cursor: pointer;
  transition: border-color .18s, color .18s;
}
.btn-back-sm:hover { border-color: var(--off); color: var(--white); }

.btn-next-sm, .btn-submit-sm {
  background: var(--red); color: #fff;
  padding: .6rem 1.5rem;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background .18s;
}
.btn-next-sm:hover, .btn-submit-sm:hover { background: #c42f35; }

/* ---- FAQ ---- */
.faq-list { margin-top: 2.5rem; max-width: 700px; }

.faq-item { border-top: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  font-size: .95rem; font-weight: 500; color: var(--white);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; user-select: none;
}

.faq-toggle {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--muted);
  transition: transform .25s, background .2s, color .2s;
}
.faq-item.open .faq-toggle {
  background: var(--red); border-color: var(--red);
  color: #fff; transform: rotate(45deg);
}

.faq-a {
  font-size: .875rem; font-weight: 300; color: var(--muted);
  line-height: 1.8; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: .85rem; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem clamp(1.25rem, 6vw, 5rem) 2rem;
}

.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}

.footer-brand {
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .75rem;
}

.footer-desc {
  font-size: .875rem; font-weight: 300;
  color: var(--muted); max-width: 30ch; line-height: 1.75;
}

.footer-socials {
  display: flex; gap: .75rem; margin-top: 1.5rem;
}

.footer-social {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--muted);
  transition: border-color .18s, color .18s;
}
.footer-social:hover { border-color: var(--red); color: var(--red); }

.footer-col-title {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}

.footer-col-links {
  display: flex; flex-direction: column; gap: .6rem;
}

.footer-col-links a {
  font-size: .875rem; font-weight: 300; color: var(--muted);
  transition: color .18s;
}
.footer-col-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--muted); text-align: center;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .careers-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--ink); padding: 1.5rem 2rem 2rem;
    z-index: 99; border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pb-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
