/* ==========================================================================
   Trivium Prime — Bundle CSS
   Cloned from Spindipper design system
   ========================================================================== */

/* --- Reset --- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}
body { margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
a { background-color: transparent; }
a:active, a:hover { outline: 0; }
b, strong { font-weight: 700; }
h1 { margin: 0.67em 0; font-size: 2em; }
img { border: 0; }
svg:not(:root) { overflow: hidden; }
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: none; }
*, *::before, *::after { box-sizing: border-box; }

/* --- Font Faces --- */
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gordita';
  src: url('../fonts/Gordita-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --border-blue: #3e75b8;
  --gradient-1: #a3cad4;
  --gradient-2: #3e75b8;
  --tp-blue: #65a0e7;
  --caca-white: #cacaca;
  --black: #000;
}

/* --- Body --- */
body.body {
  background-color: #000;
  color: #f4f4f4;
  font-family: Gordita, sans-serif;
  font-size: 16px;
  line-height: 1.2em;
}

/* --- Particles Background --- */
.particle-wrapper {
  z-index: 1;
  color: rgba(244, 244, 244, 0);
  display: block;
  position: fixed;
  inset: 0%;
  pointer-events: none;
}
#particles-js {
  pointer-events: none;
}

/* --- Navbar --- */
.navbar-2 {
  background-color: transparent;
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.container-13 {
  max-width: 1300px;
  padding: 0 50px;
  width: 100%;
}
.container-13.navbar-container {
  display: flex;
  align-items: center;
}
.nav-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
  width: 100%;
}
.brand {
  text-decoration: none;
  flex: 1;
}
.nav-menu-2 {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-text {
  font-family: Gordita, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #f4f4f4;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.logo-text .logo-accent {
  color: var(--gradient-2);
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.85;
}
.footer-logo-img {
  height: 64px;
  opacity: 1;
}
.social-icons-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.social-icons-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-icons-wrap a,
.social-link {
  display: inline-flex;
  text-decoration: none !important;
  vertical-align: middle;
  line-height: 0;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.social-icons-wrap a:hover .icon-path,
.social-link:hover .icon-path {
  fill: #5c83b9;
  transition: fill 0.3s ease;
}
.icon-path {
  transition: fill 0.3s ease;
}
.nav-social-icon {
  width: 20px !important;
  height: 20px !important;
}
.nav-link-2 {
  color: #fff;
  padding: 16px 15px;
  line-height: 18px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease;
  margin-left: 5px;
  margin-right: 5px;
}
.nav-link-2:hover {
  color: rgba(255, 255, 255, 0.6);
}
.nav-link-2.w--current {
  color: var(--gradient-1);
}

/* Mobile hamburger */
.menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}
.top-line, .middle-line, .last-line {
  background-color: #fff;
  width: 18px;
  height: 1px;
  margin-bottom: 5px;
}
.last-line { margin-bottom: 0; }

/* --- Hero Section --- */
.s-hero {
  background-image: linear-gradient(#162131, rgba(0, 0, 0, 0.75));
  padding-bottom: 20px;
  overflow: hidden;
}

/* --- Content Section --- */
.s-content {
  margin-right: 20px;
  padding-top: 0;
  padding-bottom: 30px;
  padding-left: 20px;
  display: block;
}

/* --- Footer Section --- */
.s-footer {
  background-image: linear-gradient(transparent, #0a1628);
  padding-top: 20px;
  padding-bottom: 0;
}

/* --- Containers --- */
.c-1100 {
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 20px auto 0;
  position: relative;
}
.c-1300 {
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

/* --- Content Wrappers --- */
.content-center-outer-wrapper {
  display: flex;
  justify-content: center;
  font-weight: 500;
}
.content-center-inner-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin-top: 40px;
  margin-bottom: 60px;
}
.content-center-inner-wrapper.hero {
  align-items: center;
}
.content-center-container {
  z-index: 2;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* --- Typography --- */
.sub-header {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5em;
  text-align: center;
  margin-top: 50px;
}
.hero-h1 {
  font-size: 75px;
  font-weight: 500;
  line-height: 1.3em;
  text-align: center;
  margin: 0;
}
.hero-h1.gradient-text {
  font-size: 73px;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(111deg, #a3cad4, #3e75b8);
  -webkit-background-clip: text;
  background-clip: text;
}
.title-text {
  font-size: 23px;
  padding-top: 10px;
  text-align: center;
}
.h2 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2em;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(111deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
  margin: 0;
}
.h3 {
  color: #749ed1;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.5em;
  margin: 0 0 10px;
}
.h4-gradient {
  font-size: 24px;
  font-weight: 500;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.p-main {
  color: #cacaca;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5em;
  text-align: center;
}
.p-main.left {
  text-align: left;
}
.p-main.left.features {
  text-align: left;
}
.p-main.talk {
  max-width: 700px;
}
p.paragraph {
  color: #d7d7d7;
  font-size: 22px;
  line-height: 1.5em;
}

/* --- Gradient Text Utility --- */
.gradient-text {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(111deg, #a3cad4, #3e75b8);
  -webkit-background-clip: text;
  background-clip: text;
}

/* --- Buttons / CTAs --- */
.hero-btn-wrapper {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  margin-top: 50px;
}
.cta-btn {
  cursor: pointer;
  background-color: transparent;
  border: 1px solid #f4f4f4;
  border-radius: 4px;
  padding: 15px 30px;
  font-size: 17px;
  font-weight: 400;
  color: #f4f4f4;
  text-decoration: none;
  font-family: Gordita, sans-serif;
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover {
  border-color: var(--border-blue);
  color: var(--border-blue);
  box-shadow: 0 0 15px #3e75b8;
}
.cta-btn.solid:hover {
  background-color: #3e75b8;
  border-color: #3e75b8;
  color: #fff;
}

/* --- Flex Grid Layout (legacy) --- */
.flex-grid-wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 85px;
}
.flex-grid-wrapper.left-right {
  align-items: center;
  margin-bottom: 127px;
}
.flex-grid-wrapper.right-left {
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 127px;
}
.flex-grid-left {
  width: 45%;
  max-width: 50%;
}
.flex-grid-right {
  width: 45%;
  max-width: 45%;
}

/* --- Feature Icons (legacy) --- */
.feature-icon {
  opacity: 0.6;
  width: 75%;
  margin-left: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Discipline Rows --- */
.discipline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 78px;
}
.discipline-row:last-child {
  margin-bottom: 0;
}
.discipline-text {
  max-width: 520px;
}
.discipline-text .h3 {
  font-size: 50px;
  margin-bottom: 18px;
}
.discipline-text .p-main.left.features {
  text-align: left;
}
.discipline-icon-wrap {
  opacity: 0.55;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Three Disciplines Grid --- */
.disciplines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 10px;
}
.discipline-col {
  text-align: left;
}
.discipline-icon {
  opacity: 0.6;
  margin-bottom: 10px;
}
.discipline-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}
.discipline-body {
  font-size: 14px;
  line-height: 1.5;
  color: #9a9a9a;
  margin: 0;
}

/* --- Trivium Discipline Rows --- */
.trivium-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}
.trivium-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.trivium-row-icon {
  flex-shrink: 0;
  opacity: 0.6;
  padding-top: 2px;
}
.trivium-row-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.trivium-row-sub {
  font-size: 15px;
  font-weight: 400;
  color: #9a9a9a;
  line-height: 1.4;
}

/* --- Page Content Sections --- */
.page-section {
  z-index: 2;
  position: relative;
  padding: 30px 20px;
}
.page-section .c-1100 {
  margin-top: 0;
}
.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}
.section-narrow h3 {
  color: #749ed1;
  font-size: 28px;
  font-weight: 500;
  margin: 25px 0 12px;
}
.section-narrow p {
  color: #cacaca;
  font-size: 19px;
  line-height: 1.6em;
  margin-bottom: 20px;
}
.section-narrow blockquote {
  border-left: 3px solid var(--border-blue);
  padding-left: 20px;
  margin: 30px 0;
  color: #d7d7d7;
  font-size: 20px;
  line-height: 1.5em;
  font-style: italic;
}
.section-narrow ul, .section-narrow ol {
  color: #cacaca;
  font-size: 19px;
  line-height: 1.8em;
  padding-left: 20px;
}
.section-narrow li {
  margin-bottom: 8px;
}
.section-narrow hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 25px 0;
}
.section-narrow strong {
  color: #f4f4f4;
}

/* --- Rank Cards --- */
.rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}
.rank-card {
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  padding: 35px;
}
.rank-card h4 {
  font-size: 24px;
  font-weight: 500;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 0 12px;
}
.rank-card p {
  color: #cacaca;
  font-size: 18px;
  line-height: 1.5em;
  margin: 0;
}

/* --- Advancement Table --- */
.advancement-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}
.advancement-table th {
  text-align: left;
  color: #749ed1;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.advancement-table td {
  color: #cacaca;
  font-size: 17px;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Code Principles --- */
.principle-block {
  margin-bottom: 50px;
}
.principle-block h3 {
  margin-bottom: 10px;
}
.principle-block p {
  margin-top: 0;
}

/* --- Application Form Styles --- */
.form-section {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  color: #749ed1;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background-color: rgba(22, 33, 49, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 15px;
  color: #f4f4f4;
  font-family: Gordita, sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--border-blue);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Pricing Row --- */
.pricing-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 30px 0;
}
.pricing-option {
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  padding: 30px 40px;
  text-align: center;
  flex: 1;
  max-width: 250px;
}
.pricing-option .price {
  font-size: 28px;
  font-weight: 500;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 5px;
}
.pricing-option .plan-name {
  color: #cacaca;
  font-size: 16px;
}

/* --- Newsletter (footer column) --- */
.footer-newsletter-col {
  min-width: 180px;
  max-width: 260px;
  justify-self: end;
  width: 100%;
}
.newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(116, 158, 209, 0.3);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.newsletter-input {
  background: transparent;
  border: none;
  padding: 0 10px;
  height: 29px;
  color: #f4f4f4;
  font-size: 12px;
  outline: none;
  flex: 1;
  min-width: 0;
}
.newsletter-input::placeholder { color: #555; }
.newsletter-btn {
  background: rgba(116, 158, 209, 0.2);
  border: none;
  border-left: 1px solid rgba(116, 158, 209, 0.3);
  padding: 0 10px;
  height: 29px;
  color: #f4f4f4;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.newsletter-btn:hover { background: rgba(116, 158, 209, 0.35); }
.newsletter-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 5px;
  line-height: 1.4em;
}

/* --- Footer --- */
.footer {
  background-color: #070c29;
  background-image: linear-gradient(#05081c, #070c29);
  padding-top: 86px;
  padding-bottom: 32px;
}
.section-3 {
  background-color: transparent;
  background-image: none;
  padding: 86px 50px 32px;
}
.container-14 {
  max-width: 1300px;
  margin: 0 auto;
}
.footer-grid-2 {
  display: grid;
  grid-template-columns: 28% 13% 13% 13% 33%;
  align-items: start;
  gap: 0;
}
.footer-logo {
  display: flex;
  flex-flow: column;
  margin-top: -10px;
}
.footer-logo .logo-img {
  height: 64px;
}
.footer-logo .logo-text {
  font-size: 19px;
  margin-bottom: 5px;
}
.bold-text-7 {
  color: #cacaca;
  font-size: 12px;
  font-weight: 400;
  max-width: 220px;
  line-height: 1.55em;
  margin-top: 5px;
}
.footer-nav {
  display: contents;
}
.footer-col {
  display: flex;
  flex-direction: column;
  margin-right: 0;
}
.footer-col.mr0 {
  margin-right: 0;
}
.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 12px;
  color: rgba(244, 244, 244, 0.9);
}
.footer-nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 5px;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.footer-nav-link:hover {
  color: #fff;
  opacity: 1;
}
.footer-bottom-wrapper {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 20px;
  padding-top: 17px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-baner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.links-wrapper {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.legal-link {
  display: flex;
  gap: 0;
}
.footer-legal {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.footer-legal-link {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid transparent;
  margin-left: 20px;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-legal-link:hover {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.4);
}
.legal-short { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* --- Large desktops (1440px+) --- */
@media screen and (min-width: 1440px) {
  .logo-text { font-size: 20px; }
}

/* --- Ultra-wide (1920px+) --- */
@media screen and (min-width: 1920px) {
  .logo-text { font-size: 24px; }
}

/* --- Tablet (991px) --- */
@media screen and (max-width: 991px) {
  .navbar-2 { height: 70px; }
  .hero-h1.gradient-text { font-size: 55px; }
  .h3 { font-size: 25px; }
  .p-main { font-size: 18px; }
  .container-13 { padding: 0 30px; }
  .flex-grid-wrapper.left-right,
  .flex-grid-wrapper.right-left {
    margin-bottom: 100px;
  }
  .discipline-row {
    gap: 40px;
    margin-bottom: 60px;
  }
  .discipline-text {
    max-width: 360px;
  }
  .discipline-text .h3 {
    font-size: 30px;
  }
  .discipline-icon-wrap svg {
    width: 100px;
    height: 100px;
  }
  .footer-col { margin-right: 30px; }
  .footer-nav { display: none; }
  .footer-grid-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
  }
  .footer-newsletter-col {
    max-width: 280px;
    width: 100%;
    justify-self: auto;
  }

  /* Mobile nav */
  .nav-menu-2 {
    display: none;
    background-color: #141f2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-flow: column;
    padding: 20px 0;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 100;
  }
  .nav-menu-2.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .social-icons-wrapper {
    display: none;
  }
}

/* --- Mobile landscape (767px) --- */
@media screen and (max-width: 767px) {
  .hero-h1.gradient-text { font-size: 40px; }
  .h2 { font-size: 35px; }
  .p-main { font-size: 17px; }
  .sub-header { font-size: 18px; }
  .title-text { font-size: 18px; }

  .flex-grid-wrapper,
  .flex-grid-wrapper.left-right,
  .flex-grid-wrapper.right-left {
    flex-direction: column;
    align-items: center;
  }
  .flex-grid-left,
  .flex-grid-right {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .flex-grid-left { text-align: center; }
  .disciplines-grid { grid-template-columns: 1fr; gap: 24px; }
  .p-main.left, .p-main.left.features { text-align: center; }
  .h3 { text-align: center; }
  .discipline-row {
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
  }
  .discipline-text {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }
  .discipline-text .h3 {
    text-align: center;
    font-size: 28px;
  }
  .discipline-text .p-main.left.features {
    text-align: center;
  }
  .discipline-icon-wrap {
    margin-left: 0;
  }
  .discipline-icon-wrap svg {
    width: 90px;
    height: 90px;
  }

  .footer-grid-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .footer-nav { display: none; }
  .footer-newsletter-col {
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-self: center;
  }
  .newsletter-form { max-width: 320px; margin: 0 auto; }
  .footer-logo { align-items: center; }
  .footer-baner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .links-wrapper {
    flex-direction: column;
  }

  .newsletter-sub { display: none; }
  .legal-full { display: none; }
  .legal-short { display: inline; }
  .footer-legal-link { margin-left: 12px; font-size: 11px; }
  .footer-bottom-wrapper .links-wrapper { flex-direction: row; flex-wrap: nowrap; justify-content: center; }

  .section-3 { padding: 60px 30px 32px; }

  .pricing-row {
    flex-direction: column;
    align-items: center;
  }
  .pricing-option {
    max-width: 100%;
    width: 100%;
  }

  .section-narrow h3 { font-size: 24px; }
  .section-narrow p { font-size: 17px; }
}

/* --- Mobile portrait (479px) --- */
@media screen and (max-width: 479px) {
  .hero-h1.gradient-text { font-size: 30px; }
  .h2 { font-size: 26px; }
  .h3 { font-size: 22px; }
  .sub-header { font-size: 14px; margin-top: 25px; }
  .title-text { font-size: 14px; }
  .p-main { font-size: 15px; }
  .cta-btn { font-size: 14px; padding: 12px 20px; }
  .hero-btn-wrapper { gap: 15px; margin-top: 30px; }
  .container-13 { padding: 0 20px; }
  .section-3 { padding: 40px 20px 24px; }
  .section-narrow h3 { font-size: 22px; }
  .section-narrow p { font-size: 16px; }
  .section-narrow blockquote { font-size: 17px; }
  .rank-card { padding: 25px; }
  .discipline-text .h3 {
    font-size: 24px;
  }
  .discipline-icon-wrap svg {
    width: 80px;
    height: 80px;
  }
  .discipline-row {
    margin-bottom: 36px;
  }
}

/* ==========================================================================
   Multi-Step Admission Form (Spindipper-style)
   ========================================================================== */

.section_onboarding {
  color: #f4f4f4;
  background-color: transparent;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 60vh;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 1.125rem;
  display: flex;
}
.ob-form_block {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 38rem;
  margin-bottom: 0;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  transition: height 0.2s;
  overflow: auto;
}
.ob-form_form {
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  background-color: transparent;
  flex-flow: column;
  display: flex;
}
.ob-form_step {
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  display: flex;
}
.ob-form_step-title {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  color: #f4f4f4;
}
.ob-form_subtitle {
  color: #cacaca;
  text-align: center;
  align-self: center;
  max-width: 25rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4em;
}
.ob-form_cols-4 {
  grid-column-gap: 1rem;
  grid-row-gap: 1.375rem;
  grid-template-rows: auto auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-columns: 1fr;
  display: grid;
}
.ob-form_cols-1 {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.form_field-wrap {
  margin-bottom: 0;
}
.form_label-wrap {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-left: 0.15rem;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
}
.form_label {
  color: #749ed1;
  font-size: 0.95rem;
  font-weight: 500;
}
.form_input {
  color: #f4f4f4;
  background-color: rgba(22, 33, 49, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  min-height: 3.25rem;
  width: 100%;
  margin-bottom: 0;
  padding: 0.5rem 1.25rem;
  font-size: 1.05rem;
  font-family: Gordita, sans-serif;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form_input:focus {
  outline: none;
  background-color: rgba(22, 33, 49, 1);
  border-color: var(--border-blue);
}
.form_input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.05rem;
}
.form_input.is-text-area {
  min-height: 10rem;
  padding-top: 1rem;
  resize: vertical;
}
.ob-form_error {
  color: #ff214d;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.ob-form_button-spacer {
  justify-content: flex-start;
  align-items: center;
  height: 2.5rem;
}
.ob-form_button-spacer-slot {
  width: 100%;
  height: 100%;
}
.ob-form_button-group {
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  justify-content: center;
  align-items: center;
  display: flex;
}
.ob-form_button {
  color: #000;
  text-align: center;
  cursor: pointer;
  background-color: var(--tp-blue);
  border: none;
  border-radius: 99rem;
  width: 100%;
  max-width: 16rem;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: Gordita, sans-serif;
  transition:
    background-color 0.15s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ob-form_button:hover {
  background-color: var(--border-blue);
  transform: scale(1.03);
}
.ob-form_button.is-back {
  background-color: rgba(22, 33, 49, 0.8);
  color: #f4f4f4;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ob-form_button.is-back:hover {
  background-color: rgba(22, 33, 49, 1);
  border-color: rgba(255, 255, 255, 0.3);
}
.ob-form_success-msg {
  background-color: transparent;
  text-align: center;
  padding: 3rem 1rem;
}
.ob-form_success-msg .ob-form_step-title {
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(111deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1rem;
}
.ob-form_error-msg {
  background-color: transparent;
  text-align: center;
  padding: 3rem 1rem;
}

/* --- Membership Plan Cards --- */
.membership-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.membership-option {
  cursor: pointer;
  background-color: rgba(22, 33, 49, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  flex: 1;
  max-width: 220px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}
.membership-option:hover {
  background-color: rgba(22, 33, 49, 1);
}
.membership-option.is-active {
  border-color: var(--tp-blue);
}
.membership-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.membership-option .plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f4f4f4;
}
.membership-option .plan-price {
  font-size: 1.5rem;
  font-weight: 500;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.membership-option .plan-period {
  font-size: 0.85rem;
  color: #cacaca;
}
.membership-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 99rem;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  transition: background-color 0.2s ease;
}
.membership-option.is-active .membership-check {
  background-color: var(--tp-blue);
}

/* --- Consent Checkboxes --- */
.consent-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.consent-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--tp-blue);
  flex-shrink: 0;
}
.consent-item span {
  color: #cacaca;
  font-size: 0.95rem;
  line-height: 1.4;
}
.consent-item a {
  color: var(--tp-blue);
  text-decoration: underline;
}

/* --- Spacers --- */
.spacer-medium {
  width: 100%;
  padding-top: 2rem;
}
.spacer-small {
  width: 100%;
  padding-top: 1rem;
}
.spacer-xsmall {
  width: 100%;
  padding-top: 0.5rem;
}

/* --- Responsive: Tablet --- */
@media screen and (max-width: 991px) {
  .ob-form_block {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* --- Responsive: Mobile landscape --- */
@media screen and (max-width: 767px) {
  .ob-form_cols-4 {
    grid-template-columns: 1fr;
  }
  .ob-form_step-title {
    font-size: 1.4rem;
  }
  .ob-form_button-group {
    flex-direction: column-reverse;
  }
  .ob-form_button {
    max-width: 100%;
  }
  .membership-row {
    flex-direction: column;
    align-items: center;
  }
  .membership-option {
    max-width: 100%;
    width: 100%;
  }
}

/* --- Responsive: Mobile portrait --- */
@media screen and (max-width: 479px) {
  .ob-form_step-title {
    font-size: 1.2rem;
  }
  .form_input {
    font-size: 1rem;
    min-height: 3rem;
  }
  .form_input::placeholder {
    font-size: 0.95rem;
  }
}
