/* ═══════════════════════════════════════════════════════════════
   PAGES — Hero variants, page-specific layouts, video backgrounds
   Requires: tokens.css, base.css, components.css
   ═══════════════════════════════════════════════════════════════ */

/* ─── PAGE SHELL ─────────────────────────────────────────────── */

/* All pages sit below the fixed nav */
.page-body {
  padding-top: var(--nav-h);
}

/* ─── HERO — SHARED ──────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Video background (used on all hero sections) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}

/* Gradient overlay sits above video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Content always above video + overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-title strong {
  font-weight: 600;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255);
  max-width: 640px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── HERO — HOMEPAGE ────────────────────────────────────────── */

.hero-home {
  min-height: calc(100vh - var(--nav-h));
  background: var(--grad-hero-home);
  justify-content: center;
}

.hero-home .container {
  display: flex;
  justify-content: center;
}

.hero-home .hero-overlay {
  background:
    /* Subtle purple bloom at top-centre — matches Figma ambient glow */
    radial-gradient(ellipse 70% 50% at 50% 25%, rgba(122, 98, 228, 0.10) 0%, transparent 65%),
    /* Bottom dissolve: video fades completely into page background, no hard edge */
    linear-gradient(to bottom,
      rgba(1, 0, 16, 0.08) 0%,
      rgba(1, 0, 16, 0.18) 35%,
      rgba(1, 0, 16, 0.60) 62%,
      rgba(1, 0, 16, 0.90) 80%,
      rgba(1, 0, 16, 1.00) 100%
    );
}

/* ─── HERO — PORTFOLIO ───────────────────────────────────────── */

.hero-portfolio {
  padding: 200px 0 100px;
  background: var(--grad-hero-portfolio);
  align-items: flex-start;
}

/* Keep the container flex-centered without needing inline styles */
.hero-portfolio .container {
  display: flex;
  justify-content: center;
}

.hero-portfolio .hero-overlay {
  /* Transparent at top so image reads; reaches solid page-bg black at 75%
     so the bottom quarter is always the same #010010 as the sections below */
  background:
    radial-gradient(ellipse 60% 50% at 65% 20%, rgba(235, 23, 212, 0.06) 0%, transparent 60%),
    linear-gradient(to bottom,
      rgba(1, 0, 16, 0.05) 0%,
      rgba(1, 0, 16, 0.25) 35%,
      rgba(1, 0, 16, 0.70) 58%,
      rgba(1, 0, 16, 1.00) 75%
    );
}

/* ─── HERO — BUILD ───────────────────────────────────────────── */

.hero-build {
  min-height: calc(100vh - var(--nav-h));
  background: var(--grad-hero-build);
  justify-content: center;
}

.hero-build .container {
  display: flex;
  justify-content: center;
}

.hero-build .hero-overlay {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(8, 110, 253, 0.08) 0%, transparent 60%),
    linear-gradient(to bottom,
      rgba(1, 0, 16, 0.05) 0%,
      rgba(1, 0, 16, 0.25) 35%,
      rgba(1, 0, 16, 0.70) 58%,
      rgba(1, 0, 16, 1.00) 75%
    );
}

/* ─── HERO — DIMS ────────────────────────────────────────────── */

.hero-dims {
  padding: 80px 0;
  background: var(--grad-hero-dims);
}

/* ─── DIMS LOGIN PAGE ───────────────────────────────────────── */

.dims-login-page {
  background: var(--grad-dims-login);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Nav bar */
.dims-login-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 20px 128px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dims-logo-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

/* 2×2 grid of blue squares, rotated 45deg to form diamond */
.dims-diamond {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dims-diamond-grid {
  display: grid;
  grid-template-columns: 11px 11px;
  grid-template-rows: 11px 11px;
  gap: 2px;
  transform: rotate(45deg);
}

.dims-diamond-grid span {
  display: block;
  border-radius: 1px;
  opacity: 0.9;
}

.dims-diamond-grid span:nth-child(1) { background: #0091ff; }
.dims-diamond-grid span:nth-child(2) { background: #40c4ff; }
.dims-diamond-grid span:nth-child(3) { background: #0055ff; }
.dims-diamond-grid span:nth-child(4) { background: #002bff; }

.dims-wordmark {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1;
}

/* Full-viewport content window */
.dims-login-window {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video background — same pattern as .hero-video-bg */
.dims-login-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
}

/* Gradient overlay above video */
.dims-login-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Bottom dissolve — video fades completely to black */
    linear-gradient(to bottom,
      transparent             55%,
      rgba(0, 0, 0, 0.75)    78%,
      rgba(0, 0, 0, 1.00)   100%
    ),
    /* Color tint at reduced opacity — lets image show through */
    linear-gradient(11.07deg,
      rgba(122, 98, 228, 0.55)  8.43%,
      rgba(2,   0,  45, 0.55)  32.83%,
      rgba(0,   0,   0, 0.45)  63.48%,
      rgba(0,   0,   0, 0.45)  94.57%,
      rgba(10, 136, 255, 0.55) 122.77%
    );
  pointer-events: none;
}

/* Login card */
.dims-login-card {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 20px;
  padding: 40px 75px;
  width: 500px;
  max-width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.dims-login-brand {
  width: 203px;
  height: auto;
  display: block;
}

.dims-login-headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  color: #fff;
  width: 100%;
}

.dims-login-headline h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
}

.dims-login-headline p {
  font-family: Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

.dims-login-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Microsoft SSO button */
.btn-msft {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  color: #02002d;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn-msft:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-msft:active {
  transform: translateY(0);
  box-shadow: none;
}

.dims-login-access {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  margin: 0;
}

.dims-login-access a {
  font-family: 'Poppins', sans-serif;
  color: var(--c-malibu);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── HERO — ABOUT ───────────────────────────────────────────── */

.hero-about {
  min-height: calc(85vh - var(--nav-h));
  padding: 200px 0 100px;
  background: var(--grad-hero-about);
  justify-content: center;
}

.hero-about .container {
  display: flex;
  justify-content: center;
}

.hero-about .hero-overlay {
  background:
    radial-gradient(ellipse 80% 70% at 30% 30%, rgba(8, 110, 253, 0.08) 0%, transparent 60%),
    /* Bottom dissolve: video fades completely into page background, no hard edge */
    linear-gradient(to bottom,
      rgba(1, 0, 16, 0.05) 0%,
      rgba(1, 0, 16, 0.18) 35%,
      rgba(1, 0, 16, 0.60) 62%,
      rgba(1, 0, 16, 0.90) 80%,
      rgba(1, 0, 16, 1.00) 100%
    );
}

/* ─── DISCOVERY SECTION (Homepage section 2) ─────────────────── */

.discovery {
  background: var(--grad-discovery);
}

.discovery .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.discovery .section-title {
  max-width: 900px;
}

.discovery .section-sub {
  max-width: 760px;
  font-size: 20px;
}

.discovery-tagline {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin-bottom: 32px;
}

/* ─── AUDIENCE SECTION (Homepage section 3) ──────────────────── */

.audience-section {
  background: var(--grad-audience);
}

.audience-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.audience-section .section-sub {
  max-width: 748px;
}

/* ─── NEWSROOM SECTION (Homepage section 4) ──────────────────── */

.newsroom {
  background: var(--c-near-black);
}

.newsroom-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.newsroom-sub {
  max-width: none;
}

/* ─── TEAM SECTION (Homepage preview & About full) ───────────── */

.team-section {
  background: var(--grad-team);
}

/* ─── BUILD WITH US (Homepage section 6 — team + form merged) ── */

.build-section {
  background: linear-gradient(180deg, #000000 0%, rgba(2, 0, 45, 0.90) 55%, rgba(2, 0, 45, 0.60) 100%),
              var(--c-near-black);
  border-top: 0px solid rgba(255, 255, 255, 0.06);
}

/* ─── BUILD PAGE — TRACK STEPS ───────────────────────────────── */

.track-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
  position: relative;
}

/* Connecting gradient line */
.track-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--grad-step-line);
  z-index: 0;
}

.track-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.step-node {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--grad-step-node-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--c-white);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(8, 110, 253, 0.3);
}

.step-node.node-secondary {
  background: var(--grad-step-node-secondary);
  box-shadow: 0 0 20px rgba(235, 23, 212, 0.25);
}

.step-content {
  padding-top: 10px;
  flex: 1;
}

.step-label {
  color: var(--c-malibu);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
}

.step-image {
  margin-top: 24px;
  border-radius: var(--r-card);
  overflow: hidden;
  max-width: 580px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── BUILD PAGE — FAQ ───────────────────────────────────────── */

.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
  gap: 16px;
  transition: color var(--dur-fast) var(--ease);
}

.faq-q:hover {
  color: var(--c-malibu);
}

.faq-icon {
  font-size: 20px;
  color: var(--c-blue);
  transition: transform var(--dur-base) var(--ease);
  flex-shrink: 0;
  line-height: 1;
}

.faq-a {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease),
              padding var(--dur-base) var(--ease);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ─── ABOUT PAGE — TWO-COLUMN HERO GRID ──────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(122, 98, 228, 0.2);
}

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

.about-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--c-dark1) 0%, var(--c-dark3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

/* ─── TWO-TRACKS CTA (Build page) ────────────────────────────── */

.two-tracks {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.track-card {
  flex: 1;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--r-card);
  transition: border-color var(--dur-base) var(--ease);
}

.track-card:hover {
  border-color: rgba(119, 205, 254, 0.2);
}

.track-label {
  color: var(--c-malibu);
  margin-bottom: 12px;
}

.track-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.track-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ─── FEATURE CARDS (Build page) ─────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

/* Card: image on top, text below — fixed height per Figma */
.feature-card {
  height: 401px;
  border-radius: 10px;
  border: 1px solid rgba(119, 205, 254, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(6px);
  background:
    radial-gradient(ellipse at top left, rgba(122, 98, 228, 0.25) 0%, rgba(2, 5, 20, 0) 60%),
    linear-gradient(170.69deg, rgb(1, 0, 15) 23.64%, rgb(21, 29, 38) 47.47%, rgb(12, 30, 53) 100.75%);
}

/* Second card offset downward ~40px to match Figma stagger */
.feature-card:last-child { 
  
}

/* Image zone — full width, top half of card */
.feature-card-media {
  height: 192px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.feature-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desaturation blend overlay on image — matches Figma mix-blend-mode: saturation */
.feature-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 20, 0.6);
  mix-blend-mode: saturation;
  pointer-events: none;
}

/* Text zone — padded, fills remaining height */
.feature-card-text {
  flex: 1;
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.feature-card-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.2;
  color: var(--c-white);
}

.feature-card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255);
}

/* ─── FAQ SECTION (Build page) ───────────────────────────────── */

.faq-section {
  background: var(--c-near-black);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-header .section-sub {
  max-width: 640px;
  margin: 0 auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 17px;
  color: var(--c-white);
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color var(--dur-fast) var(--ease);
}

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

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--c-malibu);
}

.faq-question:hover .faq-icon::before,
.faq-question:focus-visible .faq-icon::before,
.faq-question:hover .faq-icon::after,
.faq-question:focus-visible .faq-icon::after {
  background: var(--c-malibu);
}

.faq-question:focus-visible {
  outline: 2px solid var(--c-malibu);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

/* Horizontal bar (always visible) */
.faq-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
  transition: background var(--dur-fast) var(--ease);
}

/* Vertical bar (hidden when expanded) */
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
  transition: opacity var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

.faq-item.is-open .faq-question {
  color: var(--c-malibu);
}

.faq-item.is-open .faq-icon::before {
  background: var(--c-malibu);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-bottom: 0;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255);
  padding-bottom: 20px;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

/* ─── BUILD PAGE — CTA + CONTACT SECTION ────────────────────── */

.build-section--cta {
  background:
    linear-gradient(4deg, rgba(0,0,0,0.55) 5%, rgba(2,0,45,0.80) 48%, rgb(0,0,0) 90%),
    url('../assets/build/IHub_FY26_Caduceus_Footer.png') left center / auto 100% no-repeat;
}

/* ─── ABOUT PAGE — CTA + CONTACT SECTION ────────────────────── */

.build-section--about {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 1.00)  0%,
      rgba(0, 0, 0, 0.60) 18%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.10) 100%
    ),
    linear-gradient(90deg, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.05) 100%),
    url('../assets/about/about_IHub_FY26_Badge-Holder_Footer.png') center center / cover no-repeat;
}

/* ─── HOME PAGE — BUILD WITH US SECTION ─────────────────────── */
.build-section--home {
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 1.00)  0%,
      rgba(0, 0, 0, 0.60) 18%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.10) 100%
    ),
    linear-gradient(90deg, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.05) 100%),
    url('../assets/home/home_footer.png') center center / cover no-repeat;
}

/* ─── PORTFOLIO PAGE — CTA + CONTACT SECTION ───────────────── */
.build-section--portfolio {
  position: relative;
  overflow: hidden;
  background: #000;
}
.build-section--portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('../assets/portfolio/IHub_FY26_Optical-Fiber_Footer.png') right center / auto 100% no-repeat;
  transform: scaleX(-1);
  z-index: 0;
}
.build-section--portfolio::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 1.00)  0%,
      rgba(0, 0, 0, 0.60) 18%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.10) 100%
    ),
    linear-gradient(90deg, rgba(0,0,0,0.65) 30%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}
.build-section--portfolio .container {
  position: relative;
  z-index: 2;
}

.build-eval-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.build-eval-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}
.build-eval-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: -4px;
}

.build-cta-col {
  flex: 1 0 0;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 24px;
}

.build-cta-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--c-white);
}

.build-cta-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255);
  max-width: 440px;
}

.build-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

/* ─── RESOURCES SECTION (Build page) ────────────────────────── */

.resource-section {
  background: var(--c-near-black);
}

.resource-header {
  text-align: center;
  margin-bottom: 48px;
}

.resource-header .section-sub {
  max-width: 600px;
  margin: 0 auto;
}

.resource-list {
  max-width: 800px;
  margin: 0 auto;
}

.resource-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 17px;
  color: var(--c-white);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.resource-question::-webkit-details-marker { display: none; }

.resource-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.resource-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%);
  transition: background var(--dur-fast) var(--ease);
}

.resource-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
  transition: opacity var(--dur-fast) var(--ease);
}

.resource-item.is-open .resource-icon::after {
  opacity: 0;
}

.resource-item.is-open .resource-question {
  color: var(--c-malibu);
}

.resource-item.is-open .resource-icon::before {
  background: var(--c-malibu);
}

.resource-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.resource-item.is-open .resource-answer {
  max-height: 600px;
}

.resource-links {
  list-style: none;
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-links > li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.4);
  margin-right: 10px;
}

.resource-links a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-malibu);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}

.resource-links a:hover {
  color: var(--c-white);
  text-decoration: underline;
}

.resource-sublinks {
  list-style: none;
  padding: 8px 0 4px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-sublinks li::before {
  content: '•';
  color: rgba(255, 255, 255, 0.25);
  margin-right: 10px;
}

/* ─── RESPONSIVE — PAGES ─────────────────────────────────────── */

@media (max-width: 1100px) {
  .about-grid           { grid-template-columns: 1fr; gap: 40px; }
  .track-steps::before  { left: 27px; }
  .feature-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .dims-login-nav           { padding: 16px 24px; }
  .dims-login-card          { padding: 32px 24px; width: 100%; }
  .dims-login-headline h1   { font-size: 32px; }
  .dims-login-headline p    { font-size: 17px; }
  .hero-title           { font-size: 36px; }
  .hero-sub             { font-size: 17px; }
  .hero-about           { padding: 80px 0 60px; }
  .two-tracks           { flex-direction: column; }
  .step-title           { font-size: 22px; }
  .about-stats          { grid-template-columns: 1fr 1fr; }
  .process-grid         { gap: 16px; }
  .process-item         { max-width: 100px; }
  .feature-card         { height: auto; }
  .feature-card-text    { padding: 20px 24px 28px; }
}
