:root {
  --bg: #131014;
  --bg-soft: #1a1618;
  --surface: #211b1e;
  --surface-strong: #171316;
  --card: #1f1a1d;
  --border: #3a3236;
  --text: #f0e9e2;
  --muted: #978d90;
  --burgundy: #6f2438;
  --burgundy-hover: #572032;
  --olive: #5a6b47;
  --sand: #b9a99a;
  --rose: #9a6f75;
  --ink: #0d0b0c;
  --success: #7a9478;
  --error: #b86a62;
  --shadow: none;
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --max-width: 1140px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}

.page-shell--header {
  padding-bottom: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: inline-flex;
  gap: 22px;
  color: var(--muted);
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--text);
  background: var(--burgundy);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--burgundy-hover);
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}

.button-ghost:hover,
.button-secondary:hover {
  border-color: var(--sand);
  background: var(--surface);
}

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 28px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 56px 0 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 16, 20, 0.84);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.12;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-meta li {
  padding: 14px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 2px solid var(--burgundy);
  backdrop-filter: none;
}

.hero-meta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.98rem;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.opportunities-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.opportunities-copy {
  display: grid;
  gap: 18px;
}

.opportunities-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.card-grid-compact {
  margin-top: 8px;
}

.opportunities-visual {
  margin: 0;
  position: sticky;
  top: 24px;
}

.opportunities-visual img,
.opportunities-visual figcaption {
  display: block;
}

.opportunities-visual img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.platform-showcase-wide {
  margin-top: 32px;
}

.platform-showcase-wide img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: top center;
}

.opportunities-visual figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.opportunities-section {
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.section-intro p,
.apply-copy p {
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.info-card,
.process-card,
.company-card,
.apply-form,
.faq-list details {
  backdrop-filter: none;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar div {
  padding: 22px 20px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  box-shadow: none;
}

.trust-bar div:last-child {
  border-right: none;
}

.trust-bar strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.info-card,
.process-card,
.company-card,
.apply-form,
.faq-list details,
.feature-strip article {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.platform-showcase img,
.platform-card img,
.split-visual img,
.opportunities-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: none;
}

.platform-showcase figcaption,
.platform-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.platform-card {
  margin: 0;
}

.platform-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.platform-showcase img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.metrics-card {
  position: absolute;
  left: -24px;
  top: 22px;
  width: min(260px, 48%);
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

.metrics-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.45rem;
  color: var(--text);
}

.metrics-label,
.feature-number {
  color: var(--olive);
  font-weight: 600;
  font-family: var(--font-body);
}

.feature-strip article,
.process-card,
.faq-list details,
.company-card,
.apply-form,
.info-card {
  background: transparent;
  border: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.info-card {
  padding: 22px 0 22px 18px;
  border-bottom: 1px solid var(--border);
  border-left: 2px solid var(--burgundy);
}

.info-card:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

.info-card h3 {
  font-size: 1.08rem;
  font-family: var(--font-display);
}

.info-card h3::before {
  content: "— ";
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.accent-coral {
  border-left-color: var(--burgundy);
}

.accent-gold {
  border-left-color: var(--olive);
}

.accent-blue {
  border-left-color: var(--sand);
}

.accent-violet {
  border-left-color: var(--rose);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 32px;
  border: none;
  overflow: visible;
}

.feature-strip article {
  padding: 18px 0 0;
  border-top: 2px solid var(--border);
}

.feature-number {
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  font-family: var(--font-body);
  font-weight: 600;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.process-card {
  padding: 24px 0 0;
  border-top: 2px solid var(--burgundy);
}

.process-card:nth-child(2) {
  border-top-color: var(--olive);
}

.process-card:nth-child(3) {
  border-top-color: var(--sand);
}

.process-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.company-card {
  margin-top: 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}

.company-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.apply-form {
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.apply-form h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.faq-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  border-left: none;
}

.faq-list details[open] {
  border-left: none;
}

.faq-list details[open] summary {
  color: var(--burgundy);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--olive);
  font-family: var(--font-body);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.info-card p,
.stacked-list article p,
.feature-strip article p,
.process-card p,
.faq-list p {
  margin-top: 12px;
}

.section {
  padding: 96px 0 0;
}

.section-grid {
  display: grid;
  gap: 28px;
}

.section-intro {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.section-intro.narrow {
  max-width: 680px;
}

.section-dark {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.stacked-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.stacked-list article {
  padding: 18px 0 18px 18px;
  border-left: 2px solid var(--burgundy);
  background: transparent;
}

.platform-showcase,
.platform-card,
.platform-grid {
  margin-top: 28px;
}

.apply-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: start;
}

.company-card h3,
.company-card p + p {
  margin-top: 10px;
}

.form-row + .form-row {
  margin-top: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  background: var(--surface);
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--burgundy);
  box-shadow: none;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23978d90' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.button-submit {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 0.95rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

body.form-alert-open {
  overflow: hidden;
}

.form-alert {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.form-alert.is-open {
  opacity: 1;
  visibility: visible;
}

.form-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 12, 0.78);
}

.form-alert-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 28px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--burgundy);
}

.form-alert-eyebrow {
  margin: 0 0 10px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-alert-dialog h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--text);
}

.form-alert-dialog p:last-of-type {
  margin: 14px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.form-alert-close {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
  padding: 88px 0 24px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
}

.site-footer p {
  margin-top: 8px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--text);
}

.page-hero {
  padding: 72px 0 24px;
  max-width: 760px;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-top: 12px;
}

.content-section {
  padding: 36px 0 0;
}

.content-card,
.legal-content {
  padding: 32px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  box-shadow: none;
}

.content-card + .content-card,
.legal-content section + section {
  margin-top: 20px;
}

.content-card h2,
.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.content-card h3,
.legal-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.content-card p + p,
.legal-content p + p {
  margin-top: 12px;
}

.content-card a,
.legal-content a,
.contact-details a {
  color: var(--sand);
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content li + li {
  margin-top: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-details p + p {
  margin-top: 10px;
}

.site-nav a.is-active {
  color: var(--text);
}

@media (max-width: 1080px) {
  .split-section,
  .apply-section,
  .contact-layout,
  .platform-grid,
  .opportunities-layout {
    grid-template-columns: 1fr;
  }

  .opportunities-visual {
    position: static;
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .site-header,
  .site-nav,
  .site-footer,
  .trust-bar,
  .card-grid,
  .process-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: grid;
    gap: 10px;
  }

  .header-cta {
    margin-left: auto;
  }

  .trust-bar,
  .card-grid,
  .process-grid,
  .feature-strip {
    display: grid;
  }

  .info-card:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .trust-bar div {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .trust-bar div:last-child {
    border-bottom: none;
  }

  h1 {
    max-width: 100%;
  }

  .hero {
    min-height: 460px;
  }

  .hero-inner {
    padding: 40px 0 36px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .section {
    padding-top: 72px;
  }

  .hero-inner {
    padding: 32px 0 28px;
  }

  .hero-actions,
  .button,
  .button-submit {
    width: 100%;
  }
}
