:root {
  --primary: #6c4df6;
  --primary-dark: #4b2dd0;
  --secondary: #c8f75b;
  --dark: #17161d;
  --heading: #191820;
  --text: #4c4a56;
  --muted: #797683;
  --light: #f6f4ef;
  --border: #dedbd3;
  --white: #fff;
  --peach: #ffd8c7;
  --blue: #cfe4ff;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(31, 24, 62, .11);
  --font-body: "Manrope", Inter, Arial, sans-serif;
  --font-heading: "Space Grotesk", "Arial Narrow", Arial, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html,
body {
  max-width: 100%;
  overflow-x: hidden
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fbfaf7;
  line-height: 1.7
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.04
}

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

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

.section {
  padding: 120px 0
}

.section-sm {
  padding: 80px 0
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary)
}

.eyebrow:before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor
}

.display-title {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
  letter-spacing: -.055em
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
  letter-spacing: -.05em
}

.lead-copy {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 620px
}

.btn-primary-custom,
.btn-outline-custom {
  min-height: 54px;
  padding: 13px 25px;
  border-radius: 100px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: .3s;
  border: 2px solid var(--primary)
}

.btn-primary-custom {
  background: var(--primary);
  color: #fff
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px)
}

.btn-primary-custom:disabled,
.btn-primary-custom[disabled] {
  cursor: not-allowed;
  opacity: .58;
  transform: none
}

.btn-outline-custom {
  color: var(--heading);
  border-color: var(--heading);
  background: transparent
}

.btn-outline-custom:hover {
  color: #fff;
  background: var(--heading);
  transform: translateY(-3px)
}

.btn-primary-custom i,
.btn-outline-custom i {
  transition: .3s
}

.btn-primary-custom:hover i,
.btn-outline-custom:hover i {
  transform: translateX(4px)
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1040;
  padding: 18px 0;
  transition: .35s
}

.site-header.scrolled {
  background: rgba(251, 250, 247, .92);
  box-shadow: 0 8px 35px rgba(20, 18, 30, .07);
  backdrop-filter: blur(14px);
  padding: 10px 0
}

.navbar-brand {
  font-family: "Space Grotesk";
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--heading)
}

.site-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  line-height: 1
}

.site-header .logo {
  display: flex;
  align-items: center;
  width: clamp(148px, 13vw, 190px);
  max-width: 100%
}

.site-header .logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--secondary);
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  transform: rotate(-6deg)
}

.nav-link {
  font-weight: 700;
  color: var(--heading) !important;
  margin: 0 10px;
  position: relative
}

.nav-link:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--primary);
  transition: .3s
}

.nav-link:hover:after,
.nav-link.active:after {
  right: 8px
}

.offcanvas {
  background: var(--light)
}

.hero {
  min-height: 100vh;
  padding: 155px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 85% 16%, #e8e0ff 0, transparent 30%), radial-gradient(circle at 5% 85%, #efffc8 0, transparent 25%)
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  letter-spacing: -.075em
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1
}

.highlight:after {
  content: "";
  position: absolute;
  height: 20%;
  bottom: 7%;
  left: 0;
  right: 0;
  background: var(--secondary);
  z-index: -1;
  transform: rotate(-1deg)
}

.hero-visual {
  position: relative;
  padding: 25px
}

.hero-img {
  height: 620px;
  width: 100%;
  object-fit: cover;
  border-radius: 46% 46% 28px 28px;
  box-shadow: var(--shadow)
}

.code-card {
  position: absolute;
  background: var(--dark);
  color: #dfffa0;
  border-radius: 20px;
  padding: 20px 23px;
  font-family: monospace;
  box-shadow: var(--shadow);
  font-size: .85rem;
  animation: float 4s ease-in-out infinite
}

.code-card.one {
  left: -35px;
  bottom: 65px
}

.code-card.two {
  right: -25px;
  top: 80px;
  background: var(--secondary);
  color: var(--dark);
  animation-delay: -2s
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  width: 80px;
  height: 80px;
  right: 0;
  bottom: 20px
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 35px
}

.avatars {
  display: flex
}

.avatars span {
  width: 38px;
  height: 38px;
  border: 3px solid #fbfaf7;
  border-radius: 50%;
  background: var(--peach);
  display: grid;
  place-items: center;
  margin-left: -10px;
  font-weight: 800;
  font-size: .7rem
}

.avatars span:first-child {
  margin-left: 0;
  background: var(--blue)
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px
}

.category-pill {
  padding: 16px 23px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
  font-weight: 700;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  transition: .3s
}

.category-pill:nth-child(3n+1) {
  background: var(--secondary)
}

.category-pill:nth-child(4n+2) {
  background: #e7e0ff
}

.category-pill:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: var(--shadow)
}

.statement-wrap {
  background: var(--dark);
  color: #fff;
  border-radius: 42px;
  overflow: hidden
}

.statement-wrap h2 {
  color: #fff
}

.statement-img {
  height: 610px;
  object-fit: cover;
  width: 100%;
  filter: saturate(.8)
}

.statement-copy {
  padding: clamp(40px, 7vw, 100px)
}

.journey {
  background: var(--light)
}

.journey-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 45px 0;
  border-bottom: 1px solid var(--border)
}

.step-num {
  font: 700 clamp(2.5rem, 5vw, 5rem)/1 "Space Grotesk";
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary)
}

.journey-step h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem)
}

.sticky-title {
  position: sticky;
  top: 130px
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.course-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: start;
  min-height: 100%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 34px rgba(31, 24, 62, .06);
  transition: .3s
}

.course-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108, 77, 246, .14), rgba(200, 247, 91, .36));
  color: var(--primary);
  font-size: 1.7rem;
  box-shadow: inset 0 0 0 1px rgba(108, 77, 246, .14)
}

.course-icon i {
  line-height: 1
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(31, 24, 62, .12)
}

.course-copy {
  min-width: 0
}

.course-copy small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--primary)
}

.course-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 22px;
  border-radius: 999px;
  background: var(--heading);
  color: var(--white);
  font-size: .66rem;
  line-height: 1
}

.course-copy h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.12
}

.course-copy p {
  font-size: .85rem;
  line-height: 1.5
}

.round-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--heading);
  justify-self: end;
  align-self: center;
  transition: .3s
}

.course-card:hover .round-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(-35deg)
}

.workflow-item {
  padding: 35px;
  border-left: 1px solid var(--border)
}

.workflow-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 50px
}

.workflow-icon-peach {
  background: var(--peach)
}

.workflow-icon-blue {
  background: var(--blue)
}

.workflow-icon-lilac {
  background: #e7e0ff
}

.workflow-icon-mint {
  background: #d9f4eb
}

.workflow-icon-cream {
  background: #fff0c7
}

.marquee {
  background: var(--primary);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  transform: rotate(-1.3deg);
  width: 102%;
  margin-left: -1%
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite
}

.marquee span {
  font: 700 clamp(2rem, 4vw, 4rem)/1 "Space Grotesk";
  white-space: nowrap;
  padding-right: 40px
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px
}

.feature-box {
  background: #fff;
  border-radius: 28px;
  padding: 35px;
  min-height: 260px;
  grid-column: span 4;
  transition: .3s
}

.feature-box:nth-child(1),
.feature-box:nth-child(5) {
  grid-column: span 8;
  background: #e9e3ff
}

.feature-box:nth-child(3) {
  background: var(--secondary)
}

.feature-box:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow)
}

.feature-box i {
  font-size: 2rem;
  color: var(--primary)
}

.article-card .image-wrap {
  border-radius: 26px;
  overflow: hidden
}

.article-card img {
  height: 285px;
  width: 100%;
  object-fit: cover;
  transition: .5s
}

.article-card:hover img {
  transform: scale(1.07)
}

.article-card h3 {
  font-size: 1.55rem
}

.pricing-card {
  height: 100%;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  transition: .3s;
  position: relative
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow)
}

.pricing-card.featured {
  background: var(--dark);
  color: #d9d6df;
  border-color: var(--dark);
  transform: translateY(-18px)
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: #fff
}

.price {
  font: 700 3.5rem/1 "Space Grotesk";
  color: var(--heading)
}

.price small {
  font: 600 .85rem "Manrope"
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 28px 0
}

.plan-list li {
  padding: 7px 0
}

.plan-list i {
  color: var(--primary);
  margin-right: 9px
}

.featured .plan-list i {
  color: var(--secondary)
}

.badge-pop {
  position: absolute;
  right: 25px;
  top: 22px;
  background: var(--secondary);
  color: var(--dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 800
}

.cta {
  background: var(--secondary);
  border-radius: 42px;
  padding: clamp(45px, 7vw, 90px);
  position: relative;
  overflow: hidden
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 5.7rem);
  max-width: 800px
}

.cta:after {
  content: "</>";
  font: 700 12rem "Space Grotesk";
  position: absolute;
  right: -35px;
  bottom: -80px;
  color: rgba(23, 22, 29, .08)
}

.page-hero {
  padding: 190px 0 100px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 10%, #efffc4, transparent 31%)
}

.page-hero h1 {
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  letter-spacing: -.07em
}

.organic-image {
  height: 560px;
  width: 100%;
  object-fit: cover;
  border-radius: 48% 48% 24px 24px
}

.value-card {
  padding: 30px 0;
  border-top: 1px solid var(--border)
}

.value-card .number {
  color: var(--primary);
  font-weight: 800
}

.stat {
  padding: 35px;
  border-right: 1px solid var(--border)
}

.stat strong {
  display: block;
  font: 700 clamp(2.8rem, 5vw, 5rem) "Space Grotesk";
  color: var(--heading)
}

.comparison {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0
}

.comparison th,
.comparison td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  text-align: center
}

.comparison th:first-child,
.comparison td:first-child {
  text-align: left
}

.accordion-item {
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent
}

.accordion-button {
  font: 700 1.2rem "Space Grotesk";
  padding: 25px 5px;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--heading) !important
}

.accordion-body {
  padding: 0 5px 25px
}

.contact-panel {
  background: var(--dark);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 60px);
  color: #ddd
}

.contact-panel h2,
.contact-panel label {
  color: #fff
}

.form-control,
.form-select {
  background: #29272f;
  border: 1px solid #45424d;
  border-radius: 14px;
  color: #fff;
  padding: 15px
}

.form-control:focus {
  background: #29272f;
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 0 0 .25rem rgba(200, 247, 91, .15)
}

.form-control::placeholder {
  color: #918e99
}

.contact-info {
  padding: 25px 0;
  border-bottom: 1px solid var(--border)
}

.contact-info i {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e9e3ff;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem
}

.invalid-feedback {
  color: #ff9a90
}

.success-message {
  display: none;
  background: #dfffa0;
  color: #172000;
  padding: 14px;
  border-radius: 12px;
  margin-top: 15px
}

.site-footer {
  background: var(--dark);
  color: #aaa6b2;
  padding: 80px 0 25px
}

.site-footer h5,
.site-footer .navbar-brand {
  color: #fff
}

.footer-links {
  list-style: none;
  padding: 0
}

.footer-links li {
  margin: 8px 0
}

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

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #45424d;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  transition: .3s
}

.socials a:hover {
  background: var(--secondary);
  color: var(--dark);
  border-color: var(--secondary)
}

.footer-bottom {
  border-top: 1px solid #35333b;
  margin-top: 50px;
  padding-top: 25px
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: .8s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@keyframes float {
  50% {
    transform: translateY(-12px) rotate(2deg)
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

@media(max-width:1199.98px) {
  .hero-img {
    height: 540px
  }

  .code-card.one {
    left: 0
  }

  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .section {
    padding: 100px 0
  }
}

@media(max-width:991.98px) {
  .section {
    padding: 85px 0
  }

  .hero {
    padding-top: 125px
  }

  .hero-img {
    height: 480px;
    margin-top: 40px
  }

  .sticky-title {
    position: static;
    margin-bottom: 30px
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .feature-box,
  .feature-box:nth-child(1),
  .feature-box:nth-child(5) {
    grid-column: span 6
  }

  .pricing-card.featured {
    transform: none
  }

  .page-hero {
    padding: 140px 0 80px
  }

  .organic-image {
    height: 450px;
    margin-top: 30px
  }

  .navbar-nav {
    padding-top: 30px
  }

  .nav-link {
    font-size: 1.5rem;
    margin: 5px 0
  }

  .stat:nth-child(2) {
    border-right: 0
  }
}

@media(max-width:767.98px) {
  .section {
    padding: 70px 0
  }

  .hero {
    min-height: auto;
    padding-bottom: 65px
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 5rem)
  }

  .hero-img {
    height: 390px;
    border-radius: 42% 42% 24px 24px
  }

  .code-card {
    padding: 14px;
    font-size: .72rem
  }

  .code-card.two {
    right: 0
  }

  .orb {
    width: 50px;
    height: 50px
  }

  .statement-img {
    height: 390px
  }

  .statement-copy {
    padding: 38px 25px
  }

  .journey-step {
    grid-template-columns: 70px 1fr;
    gap: 15px
  }

  .course-grid {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .course-card {
    padding: 12px
  }

  .feature-box,
  .feature-box:nth-child(1),
  .feature-box:nth-child(5) {
    grid-column: span 12;
    min-height: auto
  }

  .workflow-item {
    border-left: 0;
    border-top: 1px solid var(--border)
  }

  .workflow-icon {
    margin-bottom: 25px
  }

  .article-card {
    margin-bottom: 35px
  }

  .page-hero {
    min-height: auto
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem)
  }

  .organic-image {
    height: 370px
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--border)
  }

  .comparison {
    font-size: .8rem
  }

  .comparison th,
  .comparison td {
    padding: 13px 6px
  }

  .cta {
    border-radius: 28px
  }

  .cta:after {
    display: none
  }
}

@media(max-width:575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%
  }

  .hero-actions {
    display: grid !important
  }

  .hero-visual {
    padding: 10px 0
  }

  .code-card.one {
    bottom: 30px
  }

  .category-pill {
    padding: 12px 16px
  }

  .journey-step {
    grid-template-columns: 1fr
  }

  .course-card {
    gap: 12px
  }

  .price {
    font-size: 2.8rem
  }

  .pricing-card {
    padding: 28px
  }

  .contact-panel {
    border-radius: 25px
  }
}

@media(max-width:375px) {

  .hero h1,
  .page-hero h1 {
    font-size: 2.8rem
  }

  .hero-img {
    height: 330px
  }

  .code-card.two {
    top: 30px
  }

  .section-title {
    font-size: 2.15rem
  }
}

/* Unified responsive type system */
body,
button,
input,
textarea,
select {
  font-family: var(--font-body)
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn-primary-custom,
.btn-outline-custom,
.about-link,
.plan-price,
.pricing-hero-band strong,
.footer-brand,
.codecraft-mark {
  font-family: var(--font-heading) !important
}

p,
li,
label,
input,
textarea,
select {
  font-size: clamp(.94rem, .9rem + .16vw, 1.05rem)
}

.nav-link,
.btn-primary-custom,
.btn-outline-custom,
.about-link {
  font-size: clamp(.9rem, .86rem + .12vw, 1rem)
}

h1,
h2,
h3,
h4 {
  text-wrap: balance
}

p {
  text-wrap: pretty
}

@media(max-width:767.98px) {
  body {
    line-height: 1.65
  }

  p,
  li,
  label,
  input,
  textarea,
  select {
    font-size: .95rem
  }

  .lead-copy {
    font-size: 1rem;
    line-height: 1.7
  }

  .section-title {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 1
  }
}

@media(max-width:375px) {
  .navbar-brand {
    font-size: 1.22rem
  }

  .eyebrow {
    font-size: .62rem
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* Modern editorial bento — Why Codecraft */
.why-modern {
  position: relative;
  background: #f1efe9;
  overflow: hidden
}

.why-modern:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -250px;
  top: -220px;
  background: radial-gradient(circle, rgba(108, 77, 246, .16), rgba(108, 77, 246, 0) 68%);
  pointer-events: none
}

.why-modern .container {
  position: relative;
  z-index: 1
}

.why-modern .feature-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(290px, auto);
  gap: 18px
}

.why-modern .feature-box {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 4;
  min-height: 290px;
  padding: 36px;
  border: 1px solid rgba(25, 24, 32, .08);
  border-radius: 32px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s
}

.why-modern .feature-box:nth-child(1) {
  grid-column: span 7;
  background: linear-gradient(135deg, #ddd4ff 0%, #eeeaff 70%)
}

.why-modern .feature-box:nth-child(2) {
  grid-column: span 5;
  background: var(--dark);
  color: #c7c3cf
}

.why-modern .feature-box:nth-child(2) h3 {
  color: #fff
}

.why-modern .feature-box:nth-child(3) {
  background: linear-gradient(145deg, #d7ff73, #bff543)
}

.why-modern .feature-box:nth-child(4) {
  background: linear-gradient(145deg, #fff, #eef5ff)
}

.why-modern .feature-box:nth-child(5) {
  grid-column: span 4;
  background: linear-gradient(145deg, #ffd9c7, #fff0e9)
}

.why-modern .feature-box:before {
  content: counter(feature, decimal-leading-zero);
  counter-increment: feature;
  position: absolute;
  right: 26px;
  top: 18px;
  font: 700 clamp(3rem, 5vw, 5.4rem)/1 "Space Grotesk";
  letter-spacing: -.08em;
  color: rgba(25, 24, 32, .09);
  z-index: -1
}

.why-modern .feature-grid {
  counter-reset: feature
}

.why-modern .feature-box:nth-child(2):before {
  color: rgba(255, 255, 255, .1)
}

.why-modern .feature-box:after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(108, 77, 246, .2);
  border-radius: 50%;
  right: -85px;
  bottom: -85px;
  transition: .5s;
  z-index: -1
}

.why-modern .feature-box:hover {
  transform: translateY(-9px);
  border-color: rgba(108, 77, 246, .3);
  box-shadow: 0 28px 70px rgba(38, 31, 69, .14)
}

.why-modern .feature-box:hover:after {
  transform: scale(2.2);
  background: rgba(108, 77, 246, .05)
}

.why-modern .feature-box i {
  position: absolute;
  left: 34px;
  top: 32px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 12px 24px rgba(108, 77, 246, .22);
  transition: .4s
}

.why-modern .feature-box:nth-child(2) i {
  background: var(--secondary);
  color: var(--dark);
  box-shadow: none
}

.why-modern .feature-box:hover i {
  transform: rotate(-8deg) scale(1.08)
}

.why-modern .feature-box h3 {
  margin-top: 80px !important;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -.035em
}

.why-modern .feature-box p {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 1rem
}

@media(max-width:991.98px) {

  .why-modern .feature-box,
  .why-modern .feature-box:nth-child(1),
  .why-modern .feature-box:nth-child(2),
  .why-modern .feature-box:nth-child(3),
  .why-modern .feature-box:nth-child(4),
  .why-modern .feature-box:nth-child(5) {
    grid-column: span 6
  }
}

@media(max-width:767.98px) {
  .why-modern .feature-grid {
    grid-auto-rows: auto
  }

  .why-modern .feature-box,
  .why-modern .feature-box:nth-child(1),
  .why-modern .feature-box:nth-child(2),
  .why-modern .feature-box:nth-child(3),
  .why-modern .feature-box:nth-child(4),
  .why-modern .feature-box:nth-child(5) {
    grid-column: span 12;
    min-height: 260px;
    padding: 28px
  }

  .why-modern .feature-box i {
    left: 27px;
    top: 27px
  }

  .why-modern .feature-box:before {
    right: 22px
  }
}

/* Signature footer */
.site-footer {
  position: relative;
  padding: 32px 0 24px;
  background: #111016;
  color: #a9a5b3;
  overflow: hidden
}

.site-footer:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -260px;
  bottom: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 77, 246, .26), transparent 66%);
  pointer-events: none
}

.site-footer .container {
  position: relative;
  z-index: 1
}

.footer-hero {
  position: relative;
  margin-bottom: 70px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 36px;
  background: linear-gradient(125deg, rgba(108, 77, 246, .18), rgba(255, 255, 255, .035) 48%, rgba(200, 247, 91, .06));
  overflow: hidden
}

.footer-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 75%);
  pointer-events: none
}

.footer-hero .row {
  position: relative;
  z-index: 2
}

.footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--secondary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

.footer-kicker:before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--secondary)
}

.footer-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.7rem);
  line-height: .86;
  letter-spacing: -.07em
}

.footer-hero h2 em {
  font-style: normal;
  color: var(--secondary)
}

.footer-hero p {
  max-width: 470px;
  margin: 0 0 22px;
  color: #c7c3ce;
  font-size: 1.05rem
}

.footer-form {
  display: flex;
  max-width: 470px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 100px;
  background: rgba(255, 255, 255, .07);
  transition: .3s
}

.footer-form:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(200, 247, 91, .1)
}

.footer-form input {
  min-width: 0;
  flex: 1;
  padding: 10px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff
}

.footer-form input::placeholder {
  color: #8e8997
}

.footer-form button {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--dark);
  font-size: 1.2rem;
  transition: .3s
}

.footer-form button:hover {
  transform: rotate(45deg);
  background: #fff
}

.footer-orbit {
  position: absolute;
  width: 190px;
  height: 190px;
  right: 38%;
  top: -72px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  animation: footer-spin 18s linear infinite
}

.footer-orbit:before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px dashed rgba(200, 247, 91, .25);
  border-radius: 50%
}

.footer-orbit span {
  position: absolute;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font: 700 .72rem "Space Grotesk";
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}

.footer-orbit span:nth-child(1) {
  left: -12px;
  top: 70px;
  background: var(--secondary);
  color: var(--dark)
}

.footer-orbit span:nth-child(2) {
  right: 4px;
  top: 12px
}

.footer-orbit span:nth-child(3) {
  right: 14px;
  bottom: 0;
  background: #ffcfbd;
  color: var(--dark)
}

.site-footer>.container>.row {
  padding: 0 22px
}

.site-footer h5 {
  margin-bottom: 18px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff
}

.site-footer .footer-links li {
  margin: 10px 0
}

.site-footer .footer-links a {
  position: relative
}

.site-footer .footer-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--secondary);
  transition: .3s
}

.site-footer .footer-links a:hover:after {
  right: 0
}

.site-footer .socials {
  margin-top: 24px
}

.site-footer .socials a {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04)
}

.site-footer .footer-bottom {
  margin-top: 58px;
  padding: 24px 22px 0;
  border-top-color: rgba(255, 255, 255, .11);
  font-size: .86rem
}

@keyframes footer-spin {
  to {
    transform: rotate(360deg)
  }
}

@media(max-width:991.98px) {
  .footer-orbit {
    right: -50px;
    top: -55px;
    opacity: .65
  }

  .footer-hero p {
    margin-top: 10px
  }

  .site-footer>.container>.row {
    padding: 0
  }
}

@media(max-width:767.98px) {
  .site-footer {
    padding-top: 20px
  }

  .footer-hero {
    margin-bottom: 52px;
    padding: 34px 25px;
    border-radius: 26px
  }

  .footer-hero h2 {
    font-size: clamp(2.8rem, 15vw, 4.8rem)
  }

  .footer-orbit {
    display: none
  }

  .footer-form {
    max-width: none
  }

  .site-footer .footer-bottom {
    gap: 10px;
    padding-left: 0;
    padding-right: 0
  }
}

/* Footer refinement — clean, high-contrast, editorial */
.site-footer {
  padding: 18px 0 30px;
  background: #121116
}

.site-footer:before {
  display: none
}

.footer-hero {
  margin: 0 0 76px;
  padding: clamp(42px, 6vw, 78px);
  border: 0;
  border-radius: 34px;
  background: var(--primary);
  box-shadow: 0 30px 90px rgba(64, 38, 173, .22)
}

.footer-hero:before {
  inset: auto -80px -170px auto;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: none;
  mask-image: none
}

.footer-hero:after {
  content: "</>";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-54%);
  font: 700 clamp(8rem, 17vw, 16rem)/1 "Space Grotesk";
  letter-spacing: -.1em;
  color: rgba(255, 255, 255, .055);
  pointer-events: none
}

.footer-orbit {
  display: none
}

.footer-kicker {
  color: var(--secondary)
}

.footer-kicker:before {
  background: var(--secondary)
}

.footer-hero h2 {
  font-size: clamp(3.4rem, 6.5vw, 7rem);
  line-height: .86;
  letter-spacing: -.075em
}

.footer-hero h2 em {
  position: relative;
  display: inline-block;
  color: var(--secondary)
}

.footer-hero h2 em:after {
  content: "";
  position: absolute;
  left: 1%;
  right: -2%;
  bottom: -10px;
  height: 7px;
  border-radius: 100%;
  background: var(--secondary);
  transform: rotate(-1.5deg)
}

.footer-hero p {
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  line-height: 1.65
}

.footer-form {
  padding: 5px 5px 5px 8px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 16, 94, .22)
}

.footer-form:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(200, 247, 91, .25), 0 16px 38px rgba(31, 16, 94, .22)
}

.footer-form input {
  color: var(--dark);
  font-weight: 600
}

.footer-form input::placeholder {
  color: #77727f
}

.footer-form button {
  background: var(--dark);
  color: #fff
}

.footer-form button:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: rotate(45deg)
}

.site-footer>.container>.row {
  position: relative;
  padding: 0 6px 66px
}

.site-footer>.container>.row:after {
  content: "CODINOTION";
  position: absolute;
  left: 0;
  bottom: -29px;
  font: 700 clamp(4.2rem, 12.3vw, 12rem)/.75 "Space Grotesk";
  letter-spacing: -.075em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
  white-space: nowrap;
  pointer-events: none
}

.site-footer>.container>.row>div {
  position: relative;
  z-index: 1
}

.site-footer>.container>.row>div:first-child {
  padding-right: 7%
}

.site-footer .navbar-brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.7rem
}

.site-footer .footer-logo {
  display: flex;
  align-items: center;
  width: clamp(152px, 13vw, 190px);
  max-width: 100%
}

.site-footer .footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain
}

.site-footer .logo-mark {
  background: var(--secondary);
  color: var(--dark)
}

.site-footer h5 {
  margin-bottom: 22px;
  color: var(--secondary);
  font-size: .7rem;
  letter-spacing: .18em
}

.site-footer .footer-links li {
  margin: 12px 0
}

.site-footer .footer-links a,
.site-footer>.container>.row a {
  transition: color .25s
}

.site-footer .footer-links a:hover,
.site-footer>.container>.row a:hover {
  color: #fff
}

.site-footer .socials a {
  width: 44px;
  height: 44px;
  border: 0;
  background: #242229;
  color: #fff
}

.site-footer .socials a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-4px)
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding: 24px 6px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #7f7a87
}

.site-footer .footer-bottom a:hover {
  color: #fff
}

@media(max-width:991.98px) {
  .footer-hero:after {
    right: -5%;
    font-size: 13rem
  }

  .site-footer>.container>.row {
    padding-bottom: 52px
  }

  .site-footer>.container>.row:after {
    bottom: -10px
  }

  .site-footer>.container>.row>div:first-child {
    padding-right: 12px
  }
}

@media(max-width:767.98px) {
  .site-footer {
    padding-top: 12px
  }

  .footer-hero {
    margin-bottom: 58px;
    padding: 40px 24px 32px;
    border-radius: 25px
  }

  .footer-hero:after {
    top: 15%;
    right: -35px;
    transform: none;
    font-size: 8rem
  }

  .footer-hero h2 {
    font-size: clamp(3rem, 14vw, 4.7rem)
  }

  .footer-hero h2 em:after {
    height: 4px;
    bottom: -5px
  }

  .footer-hero p {
    margin-top: 25px
  }

  .site-footer>.container>.row {
    padding-bottom: 30px
  }

  .site-footer>.container>.row:after {
    display: none
  }

  .site-footer .footer-bottom {
    margin-top: 35px
  }

  .footer-form button {
    width: 46px;
    height: 46px;
    flex-basis: 46px
  }
}

/* Visual learning roadmap */
.journey-modern {
  position: relative;
  background: #eeece6
}

.journey-modern:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(108, 77, 246, .13) 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(90deg, #000, transparent 45%);
  pointer-events: none
}

.journey-modern .container {
  position: relative;
  z-index: 1
}

.journey-intro {
  top: 110px
}

.journey-intro .section-title {
  font-size: clamp(2.8rem, 4.7vw, 5.3rem)
}

.journey-photo {
  position: relative;
  height: 360px;
  margin-top: 42px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(37, 31, 60, .16)
}

.journey-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 13, 20, .76))
}

.journey-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1)
}

.journey-photo:hover>img {
  transform: scale(1.06)
}

.journey-code {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: rgba(17, 16, 22, .76);
  backdrop-filter: blur(12px);
  color: #fff;
  font: 600 .78rem "Space Grotesk"
}

.journey-code code {
  margin-left: 12px;
  color: #fff
}

.journey-code b {
  color: var(--secondary)
}

.code-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff806e
}

.code-dot:nth-child(2) {
  background: #ffd75e
}

.code-dot:nth-child(3) {
  background: var(--secondary)
}

.journey-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 94px;
  height: 94px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--dark);
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transform: rotate(7deg);
  box-shadow: 0 12px 30px rgba(20, 20, 20, .2)
}

.journey-badge strong {
  display: block;
  font: 700 2rem/1 "Space Grotesk"
}

.journey-modern .col-lg-7 {
  position: relative;
  padding-left: 42px
}

.journey-modern .col-lg-7:before {
  content: "";
  position: absolute;
  left: 18px;
  top: 74px;
  bottom: 74px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--secondary))
}

.journey-modern .journey-step {
  position: relative;
  display: block;
  margin: 0 0 20px;
  padding: 35px 70px 35px 115px;
  border: 1px solid rgba(25, 24, 32, .08);
  border-radius: 27px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 30px rgba(36, 30, 62, .04);
  overflow: hidden;
  transition: .4s cubic-bezier(.2, .8, .2, 1)
}

.journey-modern .journey-step:nth-child(even) {
  margin-left: 34px
}

.journey-modern .journey-step:before {
  content: "";
  position: absolute;
  left: -33px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 4px solid #eeece6;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  transform: translateY(-50%)
}

.journey-modern .journey-step:after {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #e8e2ff;
  color: var(--primary);
  font: 400 1.2rem "bootstrap-icons"
}

.journey-modern .journey-step:nth-child(1):after {
  content: "\f3e8"
}

.journey-modern .journey-step:nth-child(2):after {
  content: "\f2c6"
}

.journey-modern .journey-step:nth-child(3):after {
  content: "\f5fc"
}

.journey-modern .journey-step:nth-child(4):after {
  content: "\f52a"
}

.journey-modern .journey-step:nth-child(5):after {
  content: "\f4ca"
}

.journey-modern .journey-step:hover {
  transform: translateX(8px);
  border-color: rgba(108, 77, 246, .3);
  background: #fff;
  box-shadow: 0 24px 55px rgba(45, 35, 89, .12)
}

.journey-modern .journey-step:nth-child(even):hover {
  transform: translateX(-3px)
}

.journey-modern .step-num {
  position: absolute;
  left: 25px;
  top: 29px;
  font-size: 3.2rem;
  -webkit-text-stroke: 1px var(--primary);
  opacity: .75
}

.journey-modern .journey-step h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -.035em
}

.journey-modern .journey-step p {
  max-width: 520px;
  margin: 0;
  line-height: 1.65
}

@media(max-width:991.98px) {
  .journey-intro {
    position: static
  }

  .journey-photo {
    height: 430px
  }

  .journey-modern .col-lg-7 {
    padding-left: 38px
  }

  .journey-modern .journey-step:nth-child(even) {
    margin-left: 0
  }
}

@media(max-width:767.98px) {
  .journey-photo {
    height: 340px;
    margin-top: 30px
  }

  .journey-modern .col-lg-7 {
    padding-left: 20px
  }

  .journey-modern .col-lg-7:before {
    left: 5px
  }

  .journey-modern .journey-step {
    padding: 92px 24px 26px;
    margin-bottom: 16px
  }

  .journey-modern .journey-step:before {
    left: -22px
  }

  .journey-modern .step-num {
    left: 24px;
    top: 24px;
    font-size: 2.7rem
  }

  .journey-modern .journey-step:after {
    right: 22px;
    top: 22px
  }

  .journey-modern .journey-step:hover,
  .journey-modern .journey-step:nth-child(even):hover {
    transform: translateY(-4px)
  }
}

/* Roadmap detail polish */
.journey-modern .journey-step {
  --step-accent: #6c4df6;
  --step-soft: #e9e3ff;
  background: linear-gradient(115deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .67));
  backdrop-filter: blur(8px)
}

.journey-modern .journey-step:nth-child(2) {
  --step-accent: #e36a45;
  --step-soft: #ffe3d9
}

.journey-modern .journey-step:nth-child(3) {
  --step-accent: #267c68;
  --step-soft: #d9f4eb
}

.journey-modern .journey-step:nth-child(4) {
  --step-accent: #3867d6;
  --step-soft: #dce7ff
}

.journey-modern .journey-step:nth-child(5) {
  --step-accent: #8a4ca0;
  --step-soft: #f0def5
}

.journey-modern .journey-step:before {
  background: var(--step-accent);
  box-shadow: 0 0 0 2px var(--step-accent), 0 0 0 8px rgba(255, 255, 255, .7)
}

.journey-modern .journey-step:after {
  background: var(--step-soft);
  color: var(--step-accent)
}

.journey-modern .journey-step>div:last-child:after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--step-accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1)
}

.journey-modern .journey-step:hover>div:last-child:after {
  transform: scaleY(1)
}

.journey-modern .step-num {
  -webkit-text-stroke-color: var(--step-accent)
}

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--step-accent);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase
}

.step-label:before {
  content: "";
  width: 15px;
  height: 2px;
  background: currentColor
}

.journey-modern .journey-step h3 {
  transition: color .3s
}

.journey-modern .journey-step:hover h3 {
  color: var(--step-accent)
}

.journey-modern .journey-photo:before {
  content: "LEARN → BUILD → GROW";
  position: absolute;
  left: -43px;
  top: 94px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  transform: rotate(-90deg);
  box-shadow: 0 10px 24px rgba(37, 23, 99, .25)
}

.journey-modern .journey-badge {
  animation: badge-float 4s ease-in-out infinite
}

@keyframes badge-float {
  50% {
    transform: translateY(-8px) rotate(2deg)
  }
}

@media(max-width:767.98px) {
  .journey-modern .journey-photo:before {
    left: -47px;
    top: 95px
  }

  .step-label {
    margin-bottom: 6px
  }
}

/* Homepage about — editorial studio layout */
.home-about {
  position: relative;
  background: #fbfaf7
}

.home-about-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(31, 25, 56, .08)
}

.home-about-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark)
}

.home-about-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 13, 20, .72))
}

.home-about-visual>img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: saturate(.82);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1)
}

.home-about-shell:hover .home-about-visual>img {
  transform: scale(1.045)
}

.about-stat {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(17, 16, 22, .72);
  backdrop-filter: blur(12px);
  color: #fff
}

.about-stat strong {
  font: 700 2.1rem/1 "Space Grotesk";
  color: var(--secondary)
}

.about-stat span {
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .1em
}

.about-sticker {
  position: absolute;
  right: -20px;
  top: 38px;
  z-index: 3;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--dark);
  font: 800 .72rem/1.25 "Space Grotesk";
  letter-spacing: .1em;
  text-align: center;
  transform: rotate(9deg);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .18)
}

.home-about-copy {
  position: relative;
  padding: clamp(42px, 6vw, 82px);
  background: linear-gradient(140deg, #fff 45%, #f0ecff)
}

.home-about-copy:after {
  content:"{ }";
  position: absolute;
  right: -26px;
  bottom: -58px;
  font: 700 13rem/1 "Space Grotesk";
  color: rgba(108, 77, 246, .055);
  pointer-events: none
}

.home-about-copy .section-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.55rem, 4.4vw, 4.9rem);
  line-height: 1.02
}

.home-about-copy .section-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary)
}

.home-about-copy .section-title span {
  position: relative;
  color: var(--primary)
}

.home-about-copy .section-title span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 8px;
  border-radius: 100%;
  background: var(--secondary);
  z-index: -1;
  transform: rotate(-1deg)
}

.about-copy-row {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--border)
}

.about-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--heading)
}

.about-copy-row p {
  margin-bottom: 16px
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-weight: 800
}

.about-link i {
  transition: .3s
}

.about-link:hover i {
  transform: translate(4px, -4px)
}

.about-principles {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, .65)
}

.about-principles div {
  padding: 19px 22px;
  border-right: 1px solid var(--border);
  transition: .3s
}

.about-principles div:last-child {
  border: 0
}

.about-principles div:hover {
  background: var(--secondary)
}

.about-principles small {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: .64rem;
  font-weight: 800
}

.about-principles strong {
  font-family: "Space Grotesk";
  color: var(--heading)
}

@media(max-width:991.98px) {
  .home-about-visual {
    min-height: 500px
  }

  .about-sticker {
    right: 24px
  }

  .home-about-copy {
    padding: 55px 42px
  }
}

@media(max-width:767.98px) {
  .home-about-shell {
    border-radius: 28px
  }

  .home-about-visual {
    min-height: 390px
  }

  .about-sticker {
    width: 90px;
    height: 90px;
    right: 16px;
    top: 18px;
    font-size: .61rem
  }

  .about-stat {
    left: 18px;
    bottom: 18px
  }

  .home-about-copy {
    padding: 38px 24px
  }

  .home-about-copy .section-title {
    font-size: clamp(2.35rem, 11vw, 3.6rem)
  }

  .about-copy-row {
    margin-top: 28px;
    padding-top: 25px
  }

  .about-principles {
    margin-top: 28px
  }

  .about-principles div {
    padding: 15px 11px;
    text-align: center
  }
}

@media(max-width:375px) {
  .home-about-visual {
    min-height: 340px
  }

  .about-stat strong {
    font-size: 1.65rem
  }

  .about-stat {
    padding: 12px 14px
  }

  .about-principles {
    grid-template-columns: 1fr
  }

  .about-principles div {
    border-right: 0;
    border-bottom: 1px solid var(--border)
  }
}

/* Minimal homepage about */
.home-about {
  background: #fbfaf7
}

.minimal-about {
  border-top: 1px solid var(--heading);
  border-bottom: 1px solid var(--border)
}

.about-topline {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 52px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase
}

.about-topline span:first-child {
  color: var(--primary)
}

.about-statement {
  padding-bottom: 70px
}

.about-statement h2 {
  margin: 0;
  font-size: clamp(3.6rem, 6.7vw, 7.4rem);
  line-height: .86;
  letter-spacing: -.072em
}

.about-statement h2 span {
  color: var(--primary)
}

.about-manifesto {
  position: relative;
  padding-left: 34px;
  border-left: 1px solid var(--border)
}

.manifesto-mark {
  display: block;
  margin-bottom: 24px;
  color: var(--primary);
  font: 700 .72rem "Space Grotesk";
  letter-spacing: .13em
}

.about-statement p {
  max-width: 390px;
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text)
}

.about-link {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor
}

.about-detail {
  border-top: 1px solid var(--border)
}

.about-minimal-image {
  position: relative;
  height: 430px;
  margin: 0;
  overflow: hidden;
  background: #ddd
}

.about-minimal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: .6s ease
}

.about-minimal-image:hover img {
  filter: grayscale(.15);
  transform: scale(1.025)
}

.about-minimal-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  background: rgba(17, 16, 22, .86);
  backdrop-filter: blur(10px);
  color: #d9d6de;
  font-size: .75rem
}

.about-minimal-image figcaption span {
  font: 700 1.8rem "Space Grotesk";
  color: var(--secondary)
}

.about-method {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(35px, 6vw, 90px)
}

.method-row {
  display: grid;
  grid-template-columns: 45px minmax(170px, .8fr) 1.2fr;
  gap: 22px;
  align-items: start;
  padding: 29px 0;
  border-bottom: 1px solid var(--border);
  transition: .3s
}

.method-row:last-child {
  border-bottom: 0
}

.method-row>span {
  padding-top: 5px;
  color: var(--primary);
  font-size: .68rem;
  font-weight: 800
}

.method-row h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -.035em
}

.method-row p {
  max-width: 320px;
  margin: 0;
  font-size: .88rem;
  color: var(--muted)
}

.method-row:hover {
  padding-left: 12px
}

.method-row:hover h3 {
  color: var(--primary)
}

@media(max-width:991.98px) {
  .about-statement h2 {
    font-size: clamp(3.8rem, 11vw, 6.4rem)
  }

  .about-manifesto {
    margin-top: 10px;
    margin-left: 0
  }

  .about-detail {
    gap: 0
  }

  .about-method {
    padding: 35px 0
  }

  .about-minimal-image {
    height: 480px
  }
}

@media(max-width:767.98px) {
  .about-topline {
    padding-bottom: 38px
  }

  .about-topline span:last-child {
    display: none
  }

  .about-statement {
    padding-bottom: 52px
  }

  .about-statement h2 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: .87
  }

  .about-manifesto {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border)
  }

  .manifesto-mark {
    margin-bottom: 14px
  }

  .about-statement p {
    margin-top: 0
  }

  .about-minimal-image {
    height: 370px
  }

  .method-row {
    grid-template-columns: 34px 1fr;
    padding: 23px 0
  }

  .method-row p {
    grid-column: 2
  }

  .method-row:hover {
    padding-left: 0
  }
}

.workflow-item:nth-child(n+4) {
  margin-top: 28px;
  padding-top: 48px;
  border-top: 1px solid var(--border)
}

.workflow-item {
  transition: background .3s, transform .3s
}

.workflow-item:hover {
  background: rgba(255, 255, 255, .55);
  transform: translateY(-4px)
}

@media(max-width:767.98px) {
  .workflow-item:nth-child(n+4) {
    margin-top: 0;
    padding-top: 35px
  }

  .workflow-item {
    border-top: 1px solid var(--border)
  }
}

/* The learning lab */
.lab-section {
  background: #fbfaf7
}

.learning-lab {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  background: #17161d;
  color: #bdb9c5
}

.learning-lab:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, var(--secondary), transparent)
}

.lab-index {
  position: absolute;
  left: -18px;
  bottom: -63px;
  font: 700 clamp(10rem, 19vw, 21rem)/1 "Space Grotesk";
  letter-spacing: -.1em;
  color: rgba(255, 255, 255, .035);
  pointer-events: none
}

.lab-copy {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 7vw, 95px)
}

.lab-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: var(--secondary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

.lab-kicker:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor
}

.lab-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: .89;
  letter-spacing: -.065em
}

.lab-copy h2 em {
  font-style: normal;
  color: var(--secondary)
}

.lab-copy>p {
  max-width: 510px;
  margin: 36px 0;
  color: #aaa6b2;
  font-size: 1rem
}

.lab-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.lab-outcomes span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 100px;
  color: #e8e5eb;
  font-size: .72rem;
  font-weight: 700
}

.lab-outcomes i {
  margin-right: 5px;
  color: var(--secondary)
}

.lab-visual {
  position: relative;
  min-height: 650px;
  padding: 46px 46px 46px 0
}

.lab-image-frame {
  position: absolute;
  inset: 46px 46px 46px 0;
  overflow: hidden;
  border-radius: 190px 24px 24px 190px
}

.lab-image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12, 11, 16, .82))
}

.lab-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8);
  transition: .8s cubic-bezier(.2, .8, .2, 1)
}

.learning-lab:hover .lab-image-frame img {
  transform: scale(1.045)
}

.lab-caption {
  position: absolute;
  left: 80px;
  bottom: 42px;
  z-index: 2;
  color: #fff;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .11em
}

.lab-caption strong {
  display: block;
  margin-top: 4px;
  color: var(--secondary);
  font-size: 1rem
}

.lab-code-card {
  position: absolute;
  left: -42px;
  right: 16px;
  top: 56px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(28, 26, 35, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28)
}

.lab-code-card small {
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: .1em
}

.lab-code-card code {
  color: #fff;
  font-size: .74rem
}

@media(max-width:991.98px) {
  .lab-copy {
    padding-bottom: 45px
  }

  .lab-visual {
    min-height: 520px;
    padding: 0 34px 34px
  }

  .lab-image-frame {
    inset: 0 34px 34px;
    border-radius: 26px 26px 140px 26px
  }

  .lab-code-card {
    left: 18px;
    right: 52px;
    top: 20px
  }
}

@media(max-width:767.98px) {
  .learning-lab {
    border-radius: 27px
  }

  .lab-copy {
    padding: 42px 24px
  }

  .lab-copy h2 {
    font-size: clamp(2.9rem, 14vw, 4.5rem)
  }

  .lab-copy>p {
    margin: 26px 0
  }

  .lab-outcomes {
    display: grid
  }

  .lab-visual {
    min-height: 400px;
    padding: 0 18px 18px
  }

  .lab-image-frame {
    inset: 0 18px 18px;
    border-radius: 22px 22px 90px 22px
  }

  .lab-caption {
    left: 30px;
    bottom: 35px
  }

  .lab-code-card {
    left: 28px;
    right: 28px;
    top: 18px
  }

  .lab-code-card code {
    display: none
  }
}

/* Open editorial learning method */
.studio-method {
  position: relative;
  background: var(--secondary)
}

.studio-method:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: #fbfaf7;
  clip-path: polygon(0 0, 100% 0, 100% 25%, 82% 78%, 62% 30%, 40% 82%, 20% 34%, 0 100%)
}

.method-canvas {
  display: grid;
  grid-template-columns: 1fr 1.15fr .82fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: 24px
}

.method-heading {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 0
}

.method-heading .eyebrow {
  color: var(--primary)
}

.method-heading h2 {
  margin: 30px 0 0;
  font-size: clamp(3.2rem, 5.7vw, 6.5rem);
  line-height: .82;
  letter-spacing: -.075em
}

.method-heading h2 em {
  font-style: normal;
  color: var(--primary)
}

.method-side-note {
  position: absolute;
  right: -45px;
  bottom: 55px;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: right bottom
}

.method-image {
  position: relative;
  height: 620px;
  margin: 0;
  align-self: end;
  overflow: hidden;
  border-radius: 240px 240px 0 0;
  background: #ddd
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.18);
  transition: .8s cubic-bezier(.2, .8, .2, 1)
}

.method-image:hover img {
  transform: scale(1.055);
  filter: grayscale(0)
}

.method-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  background: rgba(18, 17, 22, .86);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em
}

.method-image figcaption strong {
  color: var(--secondary)
}

.method-copy {
  position: relative;
  padding: 45px 0
}

.method-symbol {
  display: block;
  margin-bottom: 25px;
  font: 400 4.5rem/1 "Space Grotesk";
  color: var(--primary)
}

.method-lead {
  font: 600 clamp(1.45rem, 2.2vw, 2.05rem)/1.35 "Space Grotesk";
  letter-spacing: -.035em;
  color: var(--heading)
}

.method-copy>p:not(.method-lead) {
  margin: 25px 0;
  color: #3f423a;
  font-size: .92rem
}

.method-copy .about-link {
  color: var(--dark)
}

.method-rail {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(23, 22, 29, .22);
  border-bottom: 1px solid rgba(23, 22, 29, .22)
}

.method-rail div {
  padding: 25px 12px
}

.method-rail span {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: .62rem;
  font-weight: 800
}

.method-rail strong {
  font-family: "Space Grotesk";
  font-size: clamp(.9rem, 1.5vw, 1.2rem);
  color: var(--heading)
}

.method-rail>i {
  color: var(--primary)
}

@media(max-width:991.98px) {
  .method-canvas {
    grid-template-columns: 1fr 1fr
  }

  .method-heading {
    padding: 40px 0
  }

  .method-image {
    height: 560px
  }

  .method-copy {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    gap: 25px;
    align-items: start
  }

  .method-symbol {
    margin: 0
  }

  .method-copy>p {
    margin-top: 0 !important
  }

  .method-copy .about-link {
    grid-column: 2
  }

  .method-side-note {
    display: none
  }
}

@media(max-width:767.98px) {
  .method-canvas {
    display: block;
    padding-top: 20px
  }

  .method-heading {
    padding: 38px 0
  }

  .method-heading h2 {
    font-size: clamp(3.3rem, 16vw, 5.3rem)
  }

  .method-image {
    height: 460px;
    border-radius: 180px 180px 0 0
  }

  .method-copy {
    display: block;
    padding: 38px 0
  }

  .method-symbol {
    font-size: 3.5rem
  }

  .method-rail {
    grid-template-columns: 1fr 1fr
  }

  .method-rail i {
    display: none
  }

  .method-rail div {
    border-bottom: 1px solid rgba(23, 22, 29, .15)
  }

  .method-rail div:nth-last-child(-n+3) {
    border-bottom: 0
  }
}

@media(max-width:375px) {
  .method-image {
    height: 400px
  }

  .method-rail strong {
    font-size: .85rem
  }
}

/* Learning method cleanup — neutral canvas */
.studio-method {
  background: transparent
}

.studio-method:before {
  display: none
}

.method-canvas {
  grid-template-columns: .9fr 1.08fr .82fr;
  column-gap: clamp(34px, 4.5vw, 72px);
  padding-top: 0;
  border-top: 1px solid var(--border)
}

.method-heading {
  padding: 70px 0
}

.method-heading h2 {
  margin-top: 35px;
  font-size: clamp(3.2rem, 5vw, 5.7rem);
  line-height: .87
}

.method-side-note {
  display: none
}

.method-image {
  height: 570px;
  margin-top: 38px;
  border-radius: 28px 28px 0 0
}

.method-copy {
  padding: 70px 0
}

.method-symbol {
  margin-bottom: 18px;
  font-size: 3.7rem
}

.method-lead {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem)
}

.method-copy>p:not(.method-lead) {
  line-height: 1.75;
  color: var(--text)
}

.method-rail {
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: 0 0 22px 22px;
  background: #fff;
  overflow: hidden
}

.method-rail div {
  position: relative;
  padding: 22px 28px;
  border-right: 1px solid var(--border)
}

.method-rail div:last-child {
  border-right: 0
}

.method-rail div:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--primary);
  transition: .35s
}

.method-rail div:hover:after {
  right: 0
}

.method-rail>i {
  padding: 0 8px;
  color: #aaa5b1
}

@media(max-width:1199.98px) {
  .method-canvas {
    grid-template-columns: .9fr 1fr .8fr;
    column-gap: 34px
  }

  .method-heading h2 {
    font-size: 4.4rem
  }

  .method-image {
    height: 520px
  }

  .method-copy {
    padding: 55px 0
  }
}

@media(max-width:991.98px) {
  .method-canvas {
    grid-template-columns: 1fr 1fr;
    column-gap: 35px
  }

  .method-heading {
    padding: 55px 0
  }

  .method-heading h2 {
    font-size: clamp(3.6rem, 9vw, 5.6rem)
  }

  .method-image {
    height: 540px;
    margin-top: 30px
  }

  .method-copy {
    padding: 42px 0 55px
  }

  .method-rail {
    border-radius: 18px
  }
}

@media(max-width:767.98px) {
  .method-canvas {
    display: block
  }

  .method-heading {
    padding: 42px 0 30px
  }

  .method-heading h2 {
    font-size: clamp(3.1rem, 15vw, 4.8rem)
  }

  .method-image {
    height: 430px;
    margin-top: 0;
    border-radius: 24px
  }

  .method-copy {
    padding: 35px 0 42px
  }

  .method-rail {
    grid-template-columns: 1fr 1fr
  }

  .method-rail div {
    padding: 18px;
    border-right: 0
  }

  .method-rail div:nth-of-type(odd) {
    border-right: 1px solid var(--border)
  }

  .method-rail div:nth-of-type(-n+2) {
    border-bottom: 1px solid var(--border)
  }
}

/* About page — modern editorial system */
.about-page {
  background: #fbfaf7
}

.about-hero-new {
  padding: 155px 0 0
}

.about-hero-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 55px;
  border-top: 1px solid var(--heading);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.about-hero-meta span:first-child {
  color: var(--primary)
}

.about-hero-new h1 {
  margin: 0;
  font-size: clamp(4.5rem, 7.1vw, 8rem);
  line-height: .86;
  letter-spacing: -.075em
}

.about-hero-new h1 span {
  color: var(--primary)
}

.about-hero-new .col-lg-3 {
  padding-bottom: 10px
}

.about-hero-new .col-lg-3 p {
  font-size: 1rem;
  line-height: 1.75
}

.about-hero-image {
  position: relative;
  height: 570px;
  margin-top: 65px;
  overflow: hidden
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75);
  transition: .8s
}

.about-hero-image:hover img {
  transform: scale(1.025);
  filter: saturate(1)
}

.hero-image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 5px;
  min-width: 310px;
  padding: 22px 28px;
  background: var(--secondary);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.about-story-new {
  border-bottom: 1px solid var(--border)
}

.story-index {
  margin-top: 180px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em
}

.about-story-new h2 {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -.055em
}

.about-story-new p {
  font-size: 1rem
}

.about-mission {
  background: var(--dark);
  color: #bcb8c4
}

.mission-line {
  position: relative;
  padding: 45px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15)
}

.mission-line>span {
  color: var(--secondary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase
}

.mission-line h2 {
  margin: 55px 0;
  color: #fff;
  font-size: clamp(3.6rem, 7.5vw, 8.4rem);
  line-height: .88;
  letter-spacing: -.075em
}

.mission-line h2 em {
  font-style: normal;
  color: var(--secondary)
}

.mission-symbol {
  position: absolute;
  right: 2%;
  top: 20px;
  font: 700 clamp(7rem, 18vw, 17rem)/1 "Space Grotesk";
  color: rgba(255, 255, 255, .04)
}

.about-loop {
  background: #efede7
}

.about-loop .col-lg-4>p {
  max-width: 330px
}

.loop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border)
}

.loop-grid article {
  position: relative;
  min-height: 260px;
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .52);
  transition: .35s
}

.loop-grid article:hover {
  background: var(--secondary);
  transform: translateY(-5px)
}

.loop-grid article>span {
  color: var(--primary);
  font-size: .65rem;
  font-weight: 800
}

.loop-grid article i {
  position: absolute;
  right: 28px;
  top: 28px;
  font-size: 1.55rem;
  color: var(--primary)
}

.loop-grid h3 {
  margin-top: 90px;
  font-size: 1.8rem
}

.loop-grid p {
  margin: 0
}

.about-support {
  background: #fbfaf7
}

.support-list {
  border-top: 1px solid var(--heading)
}

.support-list>div {
  display: grid;
  grid-template-columns: 70px 1.1fr 1fr 50px;
  gap: 24px;
  align-items: center;
  padding: 29px 5px;
  border-bottom: 1px solid var(--border);
  transition: .3s
}

.support-list>div:hover {
  padding-left: 18px;
  background: #fff
}

.support-list span {
  color: var(--primary);
  font-size: .68rem;
  font-weight: 800
}

.support-list h3,
.support-list p {
  margin: 0
}

.support-list h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem)
}

.support-list i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9e3ff;
  color: var(--primary)
}

.about-numbers {
  background: var(--primary);
  color: #e2dcff
}

.numbers-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px
}

.numbers-head>span {
  color: var(--secondary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.numbers-head p {
  margin: 0
}

.about-numbers .row {
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24)
}

.about-numbers .stat {
  border-color: rgba(255, 255, 255, .24)
}

.about-numbers .stat strong {
  color: #fff
}

.about-final {
  background: var(--secondary)
}

.about-final h2 {
  margin: 25px 0 0;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: .82;
  letter-spacing: -.08em
}

.about-final .col-lg-4 {
  padding-bottom: 10px
}

.about-final .col-lg-4 p {
  font-size: 1.05rem
}

@media(max-width:991.98px) {
  .about-hero-new h1 {
    font-size: clamp(4.5rem, 12vw, 7rem)
  }

  .about-hero-new .col-lg-3 {
    margin-top: 35px;
    max-width: 520px
  }

  .about-hero-image {
    height: 500px;
    margin-top: 55px
  }

  .story-index {
    margin-top: 25px
  }

  .loop-grid {
    margin-top: 30px
  }
}

@media(max-width:767.98px) {
  .about-hero-new {
    padding-top: 120px
  }

  .about-hero-meta {
    padding-bottom: 38px
  }

  .about-hero-meta span:last-child {
    display: none
  }

  .about-hero-new h1 {
    font-size: clamp(3.5rem, 15vw, 5.2rem);
    line-height: .87
  }

  .about-hero-new h1 br {
    display: none
  }

  .about-hero-image {
    height: 390px;
    margin-top: 42px
  }

  .hero-image-note {
    left: 0;
    right: auto;
    min-width: 0;
    padding: 16px 20px
  }

  .about-story-new h2 {
    font-size: 2.65rem
  }

  .mission-line h2 {
    font-size: clamp(3.1rem, 14vw, 5rem)
  }

  .loop-grid {
    grid-template-columns: 1fr
  }

  .loop-grid article {
    min-height: 220px
  }

  .support-list>div {
    grid-template-columns: 40px 1fr 46px
  }

  .support-list p {
    grid-column: 2/4
  }

  .numbers-head {
    display: block
  }

  .numbers-head p {
    margin-top: 20px
  }

  .about-final h2 {
    font-size: clamp(3.6rem, 17vw, 5.6rem)
  }

  .about-final .col-lg-4 {
    padding-top: 20px
  }
}

/* About origin story */
.about-story-new {
  background: #f0eee8;
  border: 0
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) 1.18fr;
  gap: clamp(45px, 7vw, 105px);
  align-items: stretch
}

.story-visual {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-radius: 220px 220px 22px 22px
}

.story-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 53%, rgba(15, 14, 19, .82))
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .8s cubic-bezier(.2, .8, .2, 1)
}

.story-visual:hover img {
  transform: scale(1.04)
}

.story-photo-meta {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  z-index: 2;
  color: #fff
}

.story-photo-meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.story-photo-meta strong {
  font: 600 1.15rem "Space Grotesk"
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0
}

.story-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border)
}

.story-top>span:last-child {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .13em
}

.story-content h2 {
  margin: 48px 0 34px;
  font-size: clamp(3rem, 4.7vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.06em
}

.story-content h2 em {
  font-style: normal;
  color: var(--primary)
}

.story-lead {
  max-width: 590px;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  line-height: 1.65;
  color: var(--heading)
}

.story-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 25px;
  padding-top: 30px;
  border-top: 1px solid var(--border)
}

.story-columns p {
  margin: 0;
  font-size: .9rem !important
}

.story-belief {
  display: flex;
  align-items: center;
  gap: 35px;
  max-width: 520px;
  margin-top: 48px;
  padding: 22px 25px;
  border-left: 4px solid var(--secondary);
  background: #fff
}

.story-belief span {
  color: var(--primary);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.story-belief strong {
  font: 600 1rem/1.45 "Space Grotesk";
  color: var(--heading)
}

@media(max-width:991.98px) {
  .story-layout {
    grid-template-columns: 1fr
  }

  .story-visual {
    min-height: 560px;
    border-radius: 28px
  }

  .story-content {
    padding-top: 10px
  }
}

@media(max-width:767.98px) {
  .story-visual {
    min-height: 420px
  }

  .story-content h2 {
    margin-top: 32px;
    font-size: clamp(2.5rem, 11.5vw, 3.8rem)
  }

  .story-columns {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .story-belief {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column
  }

  .story-photo-meta {
    left: 22px;
    right: 22px;
    bottom: 22px
  }
}

/* Circular learning loop */
.about-loop {
  overflow: hidden;
  background: #eeece6
}

.about-loop .section-title {
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  line-height: .84
}

.loop-accent {
  color: var(--primary)
}

.about-loop .col-lg-4>p {
  max-width: 330px;
  margin-top: 28px
}

.loop-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 35px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em
}

.loop-legend span {
  width: 34px;
  height: 2px;
  background: var(--secondary)
}

.loop-orbit {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin-left: auto
}

.orbit-ring {
  position: absolute;
  inset: 19%;
  border: 1px dashed rgba(108, 77, 246, .32);
  border-radius: 50%;
  animation: orbit-rotate 28s linear infinite
}

.orbit-ring:before,
.orbit-ring:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary)
}

.orbit-ring:before {
  left: -6px;
  top: 50%
}

.orbit-ring:after {
  right: -6px;
  top: 50%
}

.orbit-ring i {
  position: absolute;
  left: 50%;
  top: -18px;
  color: var(--primary);
  font-size: 1.3rem
}

.loop-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 170px;
  height: 170px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 25px 60px rgba(25, 24, 32, .22)
}

.loop-core small {
  color: var(--secondary);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.loop-core strong {
  font: 700 1.55rem "Space Grotesk"
}

.loop-core span {
  margin-top: 5px;
  color: var(--secondary)
}

.loop-orbit article {
  position: absolute;
  width: 230px;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(33, 28, 54, .07);
  transition: .35s
}

.loop-orbit article:nth-of-type(1) {
  left: 0;
  top: 4%
}

.loop-orbit article:nth-of-type(2) {
  right: 0;
  top: 4%
}

.loop-orbit article:nth-of-type(3) {
  left: 0;
  bottom: 4%
}

.loop-orbit article:nth-of-type(4) {
  right: 0;
  bottom: 4%;
  background: var(--secondary)
}

.loop-orbit article:hover {
  z-index: 3;
  transform: translateY(-7px) rotate(-1deg);
  box-shadow: 0 25px 55px rgba(39, 31, 75, .14)
}

.loop-orbit article>span {
  color: var(--primary);
  font-size: .63rem;
  font-weight: 800
}

.loop-orbit article>i {
  float: right;
  color: var(--primary);
  font-size: 1.25rem
}

.loop-orbit article h3 {
  margin: 38px 0 5px;
  font-size: 1.4rem
}

.loop-orbit article p {
  margin: 0;
  font-size: .82rem
}

@keyframes orbit-rotate {
  to {
    transform: rotate(360deg)
  }
}

@media(max-width:991.98px) {
  .loop-orbit {
    margin: 30px auto 0
  }
}

@media(max-width:767.98px) {
  .loop-orbit {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .orbit-ring {
    display: none
  }

  .loop-core {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1/-1;
    width: 100%;
    height: auto;
    padding: 25px;
    border-radius: 20px;
    transform: none
  }

  .loop-orbit article,
  .loop-orbit article:nth-of-type(1),
  .loop-orbit article:nth-of-type(2),
  .loop-orbit article:nth-of-type(3),
  .loop-orbit article:nth-of-type(4) {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 180px
  }

  .loop-orbit article h3 {
    margin-top: 35px
  }
}

@media(max-width:420px) {
  .loop-orbit {
    grid-template-columns: 1fr
  }

  .loop-orbit article {
    min-height: 160px
  }
}

/* Learner support system */
.about-support {
  background: #fbfaf7
}

.support-system {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center
}

.support-visual {
  position: relative;
  height: 690px;
  overflow: hidden;
  border-radius: 28px
}

.support-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 18, .05) 25%, rgba(14, 13, 18, .86))
}

.support-visual>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .8s cubic-bezier(.2, .8, .2, 1)
}

.support-visual:hover>img {
  transform: scale(1.04)
}

.support-visual-copy {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 42px;
  z-index: 2
}

.support-visual-copy .eyebrow {
  color: var(--secondary)
}

.support-visual-copy h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.055em
}

.support-visual-copy h2 em {
  font-style: normal;
  color: var(--secondary)
}

.support-note {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--secondary);
  color: var(--dark);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(2deg)
}

.support-stack {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.support-stack article {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 54px;
  gap: 20px;
  align-items: center;
  min-height: 135px;
  padding: 25px 27px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  transition: .4s cubic-bezier(.2, .8, .2, 1)
}

.support-stack article:nth-child(even) {
  margin-left: 42px;
  background: #f0ecff
}

.support-stack article:nth-child(3) {
  background: var(--secondary)
}

.support-stack article:hover {
  transform: translateX(9px);
  box-shadow: 0 20px 45px rgba(38, 31, 68, .11);
  border-color: transparent
}

.support-stack article:nth-child(even):hover {
  transform: translateX(-4px)
}

.support-stack article>span {
  align-self: start;
  padding-top: 4px;
  color: var(--primary);
  font-size: .65rem;
  font-weight: 800
}

.support-stack h3 {
  margin: 0 0 7px;
  font-size: clamp(1.25rem, 2vw, 1.65rem)
}

.support-stack p {
  margin: 0;
  font-size: .84rem
}

.support-stack i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 1.15rem
}

.support-stack article:nth-child(3) i {
  background: var(--primary)
}

@media(max-width:991.98px) {
  .support-system {
    grid-template-columns: 1fr
  }

  .support-visual {
    height: 580px
  }

  .support-stack article:nth-child(even) {
    margin-left: 0
  }
}

@media(max-width:767.98px) {
  .support-visual {
    height: 470px
  }

  .support-visual-copy {
    left: 24px;
    right: 24px;
    bottom: 28px
  }

  .support-visual-copy h2 {
    font-size: clamp(2.7rem, 12vw, 4rem)
  }

  .support-stack article {
    grid-template-columns: 34px 1fr 45px;
    padding: 21px 18px
  }

  .support-stack i {
    width: 43px;
    height: 43px
  }

  .support-stack article:hover,
  .support-stack article:nth-child(even):hover {
    transform: translateY(-4px)
  }
}

/* Contact hero — shared editorial language */
.contact-page {
  background: #fbfaf7
}

.contact-hero-new {
  padding: 155px 0 0
}

.contact-hero-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 55px;
  border-top: 1px solid var(--heading);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.contact-hero-meta span:first-child {
  color: var(--primary)
}

.contact-hero-new h1 {
  margin: 0;
  font-size: clamp(4.5rem, 7.8vw, 8.7rem);
  line-height: .82;
  letter-spacing: -.078em
}

.contact-hero-new h1 span {
  color: var(--primary)
}

.contact-hero-new .col-lg-3 {
  padding-bottom: 8px
}

.contact-hero-new .col-lg-3 p {
  margin-bottom: 22px;
  line-height: 1.75
}

.contact-hero-image {
  position: relative;
  height: 540px;
  margin-top: 65px;
  overflow: hidden
}

.contact-hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 13, 18, .62))
}

.contact-hero-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(.8);
  transition: .8s
}

.contact-hero-image:hover>img {
  transform: scale(1.025);
  filter: saturate(1)
}

.contact-image-note {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 5px;
  min-width: 330px;
  padding: 22px 28px;
  background: var(--secondary);
  color: var(--dark)
}

.contact-image-note span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase
}

.contact-image-note strong {
  font: 600 1rem "Space Grotesk"
}

.contact-availability {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 100px;
  background: rgba(17, 16, 22, .78);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .68rem;
  font-weight: 700
}

.contact-availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(200, 247, 91, .18)
}

@media(max-width:991.98px) {
  .contact-hero-new h1 {
    font-size: clamp(4.5rem, 12vw, 7rem)
  }

  .contact-hero-new .col-lg-3 {
    margin-top: 30px;
    max-width: 500px
  }

  .contact-hero-image {
    height: 500px;
    margin-top: 52px
  }
}

@media(max-width:767.98px) {
  .contact-hero-new {
    padding-top: 120px
  }

  .contact-hero-meta {
    padding-bottom: 38px
  }

  .contact-hero-meta span:last-child {
    display: none
  }

  .contact-hero-new h1 {
    font-size: clamp(3.6rem, 16vw, 5.4rem);
    line-height: .85
  }

  .contact-hero-new h1 br {
    display: none
  }

  .contact-hero-image {
    height: 390px;
    margin-top: 40px
  }

  .contact-image-note {
    min-width: 0;
    padding: 16px 20px
  }

  .contact-availability {
    right: 12px;
    top: 12px;
    font-size: .6rem
  }
}

/* Contact message workspace */
.contact-workspace {
  display: grid;
  grid-template-columns: 370px 1fr;
  min-height: 760px;
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 75px rgba(31, 25, 55, .08)
}

.contact-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px 36px;
  background: var(--primary);
  color: #ddd6ff
}

.rail-label {
  color: var(--secondary);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase
}

.contact-rail h2 {
  margin: 28px 0 22px;
  color: #fff;
  font-size: clamp(3.8rem, 5vw, 5.7rem);
  line-height: .78;
  letter-spacing: -.07em
}

.contact-rail h2 em {
  font-style: normal;
  color: var(--secondary)
}

.contact-rail>div>p {
  font-size: .9rem;
  line-height: 1.7
}

.rail-links {
  border-top: 1px solid rgba(255, 255, 255, .2)
}

.rail-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  transition: .3s
}

.rail-links a:hover {
  padding-left: 8px;
  color: #fff
}

.rail-links i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--secondary)
}

.rail-links span {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .1em
}

.rail-links strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: .78rem;
  text-transform: none;
  letter-spacing: 0
}

.rail-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 30px;
  font-size: .75rem;
  font-weight: 700
}

.rail-status>i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 0 5px rgba(200, 247, 91, .16)
}

.rail-status small {
  color: #bdb5e0;
  font-weight: 500
}

.message-canvas {
  padding: clamp(38px, 5vw, 70px)
}

.message-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border)
}

.message-head>div>span,
.message-id {
  color: var(--primary);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase
}

.message-head h3 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem)
}

.modern-contact-form .field-wrap {
  position: relative
}

.modern-contact-form label {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.modern-contact-form label span {
  margin-right: 10px;
  color: var(--primary);
  font-size: .6rem
}

.modern-contact-form input,
.modern-contact-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #bbb7c1;
  outline: 0;
  background: transparent;
  color: var(--heading);
  font: 500 1rem "Manrope";
  transition: .3s
}

.modern-contact-form textarea {
  resize: vertical
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 0 var(--primary)
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
  color: #a09ca7
}

.modern-contact-form .invalid-feedback {
  font-size: .72rem
}

.form-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 12px
}

.form-action>small {
  color: var(--muted);
  font-size: .68rem
}

.form-action .success-message {
  flex-basis: 100%
}

@media(max-width:991.98px) {
  .contact-workspace {
    grid-template-columns: 1fr
  }

  .contact-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
  }

  .rail-status {
    grid-column: 1/-1
  }

  .message-canvas {
    padding: 50px 38px
  }
}

@media(max-width:767.98px) {
  .contact-workspace {
    border-radius: 25px
  }

  .contact-rail {
    display: block;
    padding: 35px 24px
  }

  .contact-rail h2 {
    font-size: 4.3rem
  }

  .rail-links {
    margin-top: 32px
  }

  .rail-status {
    margin-top: 0
  }

  .message-canvas {
    padding: 35px 24px
  }

  .message-head {
    margin-bottom: 35px
  }

  .message-id {
    display: none
  }

  .form-action {
    align-items: stretch
  }

  .form-action .btn-primary-custom {
    order: -1
  }

  .form-action>small {
    text-align: center
  }
}

/* Pricing hero — shared editorial language */
.pricing-page {
  background: #fbfaf7
}

.pricing-hero-new {
  padding: 155px 0 0
}

.pricing-hero-meta {
  display: flex;
  justify-content: space-between;
  padding: 15px 0 55px;
  border-top: 1px solid var(--heading);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.pricing-hero-meta span:first-child {
  color: var(--primary)
}

.pricing-hero-new h1 {
  margin: 0;
  font-size: clamp(4rem, 6.4vw, 7.1rem);
  line-height: .86;
  letter-spacing: -.072em
}

.pricing-hero-new h1 span {
  color: var(--primary)
}

.pricing-hero-new .col-lg-4 {
  padding-bottom: 10px
}

.pricing-hero-copy {
  max-width: 390px;
  margin-left: auto;
  padding-left: 30px;
  border-left: 1px solid var(--border)
}

.pricing-hero-copy p {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75
}

.pricing-hero-band {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  margin-top: 65px;
  border: 1px solid var(--border);
  background: #fff
}

.pricing-hero-band>div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 6px 18px;
  flex: 1 1 0;
  min-width: 0;
  padding: 28px 30px
}

.pricing-hero-band>div>span {
  align-self: start;
  color: var(--primary);
  font-size: .62rem;
  font-weight: 800
}

.pricing-hero-band small {
  align-self: end;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.pricing-hero-band strong {
  grid-column: 2;
  font: 700 clamp(2.3rem, 3.5vw, 4rem)/1 "Space Grotesk";
  color: var(--heading)
}

.pricing-hero-band>i {
  align-self: center;
  flex: 0 0 auto;
  color: #aaa6b0
}

.pricing-hero-band .featured-band {
  background: var(--secondary)
}

.pricing-hero-band>p {
  display: grid;
  place-content: center;
  flex: 0 0 clamp(220px, 22vw, 300px);
  margin: 0;
  padding: 25px;
  background: var(--dark);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .08em
}

@media(max-width:991.98px) {
  .pricing-hero-new h1 {
    font-size: clamp(4.2rem, 11vw, 6.5rem)
  }

  .pricing-hero-new .col-lg-4 {
    margin-top: 32px
  }

  .pricing-hero-copy {
    max-width: 520px;
    margin-left: 0
  }

  .pricing-hero-band {
    flex-wrap: wrap
  }

  .pricing-hero-band>i {
    display: none
  }

  .pricing-hero-band>p {
    flex-basis: 100%;
    text-align: center
  }

  .pricing-hero-band>div {
    flex: 1 1 240px;
    border-right: 1px solid var(--border)
  }
}

@media(max-width:767.98px) {
  .pricing-hero-new {
    padding-top: 120px
  }

  .pricing-hero-meta {
    padding-bottom: 38px
  }

  .pricing-hero-meta span:last-child {
    display: none
  }

  .pricing-hero-new h1 {
    font-size: clamp(3.35rem, 14vw, 4.9rem);
    line-height: .88
  }

  .pricing-hero-new h1 br {
    display: none
  }

  .pricing-hero-copy {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border)
  }

  .pricing-hero-band {
    flex-direction: column;
    margin-top: 42px
  }

  .pricing-hero-band>div {
    flex-basis: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border)
  }

  .pricing-hero-band>p {
    flex-basis: auto
  }
}

/* Editorial plan selector */
.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch
}

.plan-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 650px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  transition: .4s cubic-bezier(.2, .8, .2, 1)
}



.plan-panel:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 65px rgba(35, 28, 66, .13)
}

.plan-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(25, 24, 32, .15);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase
}

.plan-top span:first-child {
  color: var(--primary)
}

.plan-body {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 0;
  padding: 38px 0 32px
}

.plan-body>div:first-child {
  display: contents
}

.plan-body h3 {
  order: 1;
  min-height: 145px;
  margin: 0;
  font-size: clamp(2.7rem, 3.7vw, 4.25rem);
  line-height: .84;
  letter-spacing: -.06em
}

.plan-price {
  order: 2;
  margin-top: 24px;
  font: 700 clamp(4rem, 5vw, 5.5rem)/.85 "Space Grotesk";
  letter-spacing: -.07em;
  color: var(--heading)
}

.plan-price sup {
  font-size: 1.15rem;
  vertical-align: top
}

.plan-body p {
  order: 3;
  max-width: 240px;
  min-height: 48px;
  margin: 22px 0 0;
  font-size: .82rem
}

.plan-panel ul {
  list-style: none;
  margin: 0 0 35px;
  padding: 0;
  border-top: 1px solid rgba(25, 24, 32, .13)
}

.plan-panel li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-bottom: 1px solid rgba(25, 24, 32, .13);
  font-size: .82rem
}

.plan-panel li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800
}

.plan-panel>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 19px;
  border-radius: 100px;
  background: var(--dark);
  color: #fff;
  font-weight: 800
}

.plan-panel>a i {
  transition: .3s
}

.plan-panel>a:hover i {
  transform: rotate(45deg)
}

.plan-best {
  min-height: 650px;
  margin-top: 0;
  padding-top: 30px;
  background: var(--dark);
  color: #c9c5d0;
  border-color: var(--dark)
}

.plan-best h3,
.plan-best .plan-price {
  color: #fff
}

.plan-best .plan-top,
.plan-best ul,
.plan-best li {
  border-color: rgba(255, 255, 255, .16)
}

.plan-best .plan-top span:first-child,
.plan-best li:before {
  color: var(--secondary)
}

.plan-best>a {
  background: var(--secondary);
  color: var(--dark)
}

.best-label {
  position: absolute;
  right: 0;
  top: 0;
  padding: 9px 18px;
  border-radius: 0 0 0 15px;
  background: var(--secondary);
  color: var(--dark);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.plan-best .plan-top {
  padding-right: 105px
}

@media(max-width:991.98px) {
  .plan-selector {
    grid-template-columns: 1fr 1fr
  }

  .plan-best {
    grid-column: 1/-1;
    min-height: 570px;
    margin-top: 0
  }

  .plan-panel {
    min-height: 600px
  }
}

@media(max-width:767.98px) {
  .plan-selector {
    grid-template-columns: 1fr
  }

  .plan-best {
    grid-column: auto
  }

  .plan-panel,
  .plan-best {
    min-height: 0;
    padding: 25px
  }

  .plan-best {
    padding-top: 25px
  }

  .plan-body h3 {
    min-height: 0;
    font-size: 3.5rem
  }

  .plan-price {
    font-size: 4.5rem
  }

  .plan-body p {
    min-height: 0
  }

  .plan-best .plan-top {
    padding-right: 100px
  }
}

/* Pricing plans as horizontal rows */
.plan-selector {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.plan-panel,
.plan-best {
  display: grid;
  grid-template-columns: 155px minmax(290px, 1.25fr) minmax(220px, .9fr) 210px;
  grid-template-rows: 1fr;
  gap: 30px;
  align-items: center;
  min-height: 0;
  margin: 0;
  padding: 46px 32px;
  border-radius: 24px
}

.plan-panel:hover {
  transform: translateX(7px);
  box-shadow: 0 20px 55px rgba(35, 28, 66, .11)
}

.plan-top {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
  gap: 15px;
  padding: 4px 25px 4px 0;
  border-right: 1px solid rgba(25, 24, 32, .15);
  border-bottom: 0
}

.plan-top span:last-child {
  color: var(--muted)
}

.plan-body {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 28px;
  align-items: center;
  padding: 0
}

.plan-body>div:first-child {
  display: block
}

.plan-body h3 {
  min-height: 0;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: .86
}

.plan-body p {
  min-height: 0;
  max-width: 240px;
  margin: 14px 0 0;
  font-size: .78rem
}

.plan-price {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  margin: 0;
  font-size: clamp(3.5rem, 5vw, 5.6rem)
}

.plan-panel ul {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0 25px;
  border-top: 0;
  border-left: 1px solid rgba(25, 24, 32, .13)
}

.plan-panel li {
  padding: 10px 0 10px 22px;
  font-size: .76rem
}

.plan-panel>a {
  align-self: center;
  padding: 15px 18px
}

.plan-best {
  padding-top: 46px;
  padding-bottom: 46px
}

.plan-best .plan-top {
  padding-right: 25px;
  border-right-color: rgba(255, 255, 255, .16)
}

.plan-best ul {
  border-left-color: rgba(255, 255, 255, .16)
}

.best-label {
  right: 18px;
  top: 0;
  border-radius: 0 0 13px 13px
}

@media(max-width:1199.98px) {

  .plan-panel,
  .plan-best {
    grid-template-columns: 125px minmax(260px, 1fr) minmax(190px, .8fr) 180px;
    gap: 20px;
    padding: 40px 25px
  }

  .plan-body h3 {
    font-size: 2.7rem
  }

  .plan-price {
    font-size: 4.3rem
  }
}

@media(max-width:991.98px) {

  .plan-panel,
  .plan-best {
    grid-template-columns: 120px 1fr 190px;
    grid-template-rows: auto auto
  }

  .plan-panel ul {
    grid-column: 2;
    padding-left: 0;
    border-left: 0
  }

  .plan-panel>a {
    grid-column: 3;
    grid-row: 1/3;
    width: 100%
  }

  .plan-best {
    min-height: 0
  }

  .plan-body h3 {
    font-size: 2.5rem
  }
}

@media(max-width:767.98px) {

  .plan-panel,
  .plan-best {
    display: block;
    padding: 34px 25px
  }

  .plan-top {
    flex-direction: row;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(25, 24, 32, .15)
  }

  .plan-best .plan-top {
    padding: 0 95px 18px 0;
    border-bottom-color: rgba(255, 255, 255, .16);
    border-right: 0
  }

  .plan-body {
    margin: 28px 0
  }

  .plan-body h3 {
    font-size: 3.1rem
  }

  .plan-price {
    font-size: 4.2rem
  }

  .plan-panel ul {
    display: block;
    margin: 0 0 25px;
    padding: 0;
    border-left: 0;
    border-top: 1px solid rgba(25, 24, 32, .13)
  }

  .plan-best ul {
    border-top-color: rgba(255, 255, 255, .16)
  }

  .plan-panel>a {
    width: 100%
  }

  .plan-panel:hover {
    transform: translateY(-4px)
  }
}

/* Final responsive hardening */
@media(max-width:991.98px) {
  .site-header {
    padding: 10px 0
  }

  .navbar-brand {
    font-size: 1.35rem
  }

  .logo-mark {
    width: 31px;
    height: 31px
  }

  .hero,
  .about-hero-new,
  .contact-hero-new,
  .pricing-hero-new {
    padding-top: 115px
  }

  .plan-panel,
  .plan-best {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 22px;
    padding: 35px 28px
  }

  .plan-top {
    grid-row: 1/4
  }

  .plan-body {
    grid-column: 2;
    grid-row: 1
  }

  .plan-panel ul {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    border-left: 0
  }

  .plan-panel>a {
    grid-column: 2;
    grid-row: 3;
    width: 100%
  }

  .plan-best .plan-top {
    padding-right: 18px
  }

  .best-label {
    right: 15px
  }

  .comparison {
    min-width: 680px
  }

  .site-footer>.container>.row:after {
    font-size: 10vw
  }
}

@media(max-width:767.98px) {
  .container {
    --bs-gutter-x: 2rem
  }

  .section {
    padding: 68px 0
  }

  .section-sm {
    padding: 55px 0
  }

  .eyebrow {
    font-size: .66rem;
    letter-spacing: .13em
  }

  .section-title {
    overflow-wrap: anywhere
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto
  }

  .hero-img {
    width: 100%
  }

  .code-card {
    max-width: calc(100% - 20px);
    white-space: normal
  }

  .code-card.one {
    left: 5px
  }

  .code-card.two {
    right: 5px
  }

  .course-card {
    padding: 12px
  }

  .round-arrow {
    width: 43px;
    height: 43px
  }

  .course-card:hover {
    transform: none
  }

  .journey-modern .col-lg-7:before {
    display: none
  }

  .journey-modern .journey-step:before {
    display: none
  }

  .journey-modern .col-lg-7 {
    padding-left: calc(var(--bs-gutter-x)*.5)
  }

  .workflow-item {
    padding: 30px 20px
  }

  .workflow-item:nth-child(n+4) {
    padding-top: 30px
  }

  .why-modern .feature-box {
    min-height: 235px
  }

  .about-hero-image,
  .contact-hero-image {
    border-radius: 20px
  }

  .hero-image-note,
  .contact-image-note {
    max-width: 85%
  }

  .story-layout {
    gap: 38px
  }

  .support-system {
    gap: 28px
  }

  .contact-workspace {
    min-height: 0
  }

  .modern-contact-form input,
  .modern-contact-form textarea {
    font-size: 16px
  }

  .plan-panel,
  .plan-best {
    display: block;
    padding: 32px 24px
  }

  .plan-top {
    padding: 0 0 18px
  }

  .plan-body {
    display: grid;
    grid-template-columns: 1fr auto;
    margin: 28px 0
  }

  .plan-panel ul {
    display: block;
    margin: 0 0 25px;
    padding: 0;
    border-top: 1px solid rgba(25, 24, 32, .13)
  }

  .plan-best ul {
    border-top-color: rgba(255, 255, 255, .16)
  }

  .plan-panel>a {
    width: 100%
  }

  .pricing-hero-band>div {
    grid-template-columns: 45px 1fr
  }

  .pricing-hero-band strong {
    font-size: 3.2rem
  }

  .table-responsive {
    border: 1px solid var(--border);
    border-radius: 16px
  }

  .comparison th,
  .comparison td {
    white-space: nowrap
  }

  .footer-bottom {
    flex-direction: column
  }

  .site-footer>.container>.row {
    row-gap: 2.25rem !important
  }
}

@media(max-width:575.98px) {
  .site-header .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center
  }

  .site-header .navbar-brand {
    flex: 0 0 auto;
    margin-right: auto
  }

  .site-header .logo {
    width: 142px
  }

  .site-header .logo img {
    max-height: 34px
  }

  .site-header .navbar-toggler {
    flex: 0 0 auto;
    padding: 4px
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12.3vw, 3.65rem);
    line-height: .94;
    overflow-wrap: normal
  }

  .about-hero-new h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11vw, 3.35rem);
    line-height: .94;
    overflow-wrap: normal;
    word-break: normal
  }

  .contact-hero-new h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10.5vw, 3.2rem);
    line-height: .95;
    overflow-wrap: normal;
    word-break: normal
  }

  .pricing-hero-new h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 10.8vw, 3.3rem);
    line-height: .94;
    overflow-wrap: normal;
    word-break: normal
  }

  .about-hero-new h1 br,
  .contact-hero-new h1 br,
  .pricing-hero-new h1 br {
    display: block
  }

  .about-hero-image,
  .contact-hero-image {
    height: 340px
  }

  .about-minimal-image,
  .story-visual,
  .support-visual {
    min-height: 0;
    height: 360px
  }

  .method-image {
    height: 350px
  }

  .journey-photo {
    height: 310px
  }

  .loop-orbit article {
    min-height: 150px
  }

  .support-stack article {
    grid-template-columns: 28px 1fr 40px;
    gap: 10px
  }

  .support-stack i {
    width: 38px;
    height: 38px
  }

  .contact-availability {
    max-width: 70%;
    line-height: 1.3
  }

  .contact-image-note strong {
    font-size: .85rem
  }

  .plan-body {
    grid-template-columns: 1fr
  }

  .plan-price {
    grid-column: 1;
    grid-row: auto;
    margin-top: 22px
  }

  .plan-body h3 {
    font-size: 2.8rem
  }

  .best-label {
    font-size: .55rem
  }

  .site-footer {
    padding-bottom: 20px
  }

  .site-footer .footer-bottom {
    font-size: .76rem
  }
}

@media(max-width:375px) {
  .container {
    --bs-gutter-x: 1.5rem
  }

  .navbar-brand {
    font-size: 1.2rem
  }

  .logo-mark {
    width: 29px;
    height: 29px;
    font-size: .75rem
  }

  .hero h1 {
    font-size: 2.55rem
  }

  .about-hero-new h1 {
    font-size: 2.45rem
  }

  .contact-hero-new h1 {
    font-size: 2.3rem
  }

  .pricing-hero-new h1 {
    font-size: 2.4rem
  }

  .message-canvas,
  .contact-rail {
    padding-left: 19px;
    padding-right: 19px
  }

  .contact-rail h2 {
    font-size: 3.6rem
  }

  .plan-panel,
  .plan-best {
    padding-left: 19px;
    padding-right: 19px
  }

  .plan-top {
    font-size: .56rem
  }

  .plan-body h3 {
    font-size: 2.5rem
  }
}

.orb {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 14px 32px rgba(108, 77, 246, .3)
}

.orb i {
  transition: transform .35s ease
}

.hero-visual:hover .orb i {
  transform: rotate(-12deg) scale(1.12)
}

/* Footer breathing room */
.site-footer {
  padding-top: 78px
}

@media(max-width:991.98px) {
  .site-footer {
    padding-top: 65px
  }
}

@media(max-width:575.98px) {
  .site-footer {
    padding-top: 52px
  }
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px
}

.payment-methods span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  background: #242329;
  transition: transform .3s, background .3s
}

.payment-methods span:hover {
  transform: translateY(-4px);
  background: #fff
}

.payment-methods img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* Narrow-screen overflow guard */
@media(max-width:575.98px) {
  .hero>.container>.row,
  .about-hero-new>.container>.row,
  .contact-hero-new>.container>.row,
  .pricing-hero-new>.container>.row {
    width: 100%;
    margin-inline: 0
  }

  .hero>.container>.row>*,
  .about-hero-new>.container>.row>*,
  .contact-hero-new>.container>.row>*,
  .pricing-hero-new>.container>.row>* {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    padding-inline: 0
  }

  .row>* {
    min-width: 0
  }

  .hero h1,
  .about-hero-new h1,
  .contact-hero-new h1,
  .pricing-hero-new h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11.5vw, 3rem)
  }

  .about-hero-new h1 {
    font-size: clamp(2.15rem, 10.8vw, 2.8rem)
  }

  .contact-hero-new h1 {
    font-size: clamp(2.05rem, 10.3vw, 2.7rem)
  }

  .pricing-hero-new h1 {
    font-size: clamp(2.05rem, 10.4vw, 2.75rem)
  }

  .lead-copy,
  .pricing-hero-copy,
  .pricing-hero-copy p,
  .contact-hero-new p,
  .about-hero-new p {
    max-width: 100%;
    overflow-wrap: anywhere
  }

  .hero-actions {
    width: calc(100vw - 40px)
  }

  .hero-actions>a {
    width: 100%;
    max-width: 100%
  }

  .pricing-hero-band>div {
    min-width: 0;
    padding: 24px 20px
  }

  .pricing-hero-band strong {
    font-size: 2.65rem
  }
}

@media(max-width:375px) {
  .hero h1 {
    font-size: 2.2rem
  }

  .about-hero-new h1 {
    font-size: 2.15rem
  }

  .contact-hero-new h1,
  .pricing-hero-new h1 {
    font-size: 2.05rem
  }
}

/* Final typography safeguards */
.site-header,
.site-footer,
.hero,
.section,
.page-hero,
.about-page,
.pricing-page,
.contact-page {
  font-family: var(--font-body)
}

.navbar-brand,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.hero h1,
.section h2,
.section h3,
.page-hero h1,
.about-page h1,
.about-page h2,
.about-page h3,
.pricing-page h1,
.pricing-page h2,
.pricing-page h3,
.contact-page h1,
.contact-page h2,
.contact-page h3,
.plan-price,
.pricing-hero-band strong {
  font-family: var(--font-heading) !important
}

@media(max-width:575.98px) {
  body {
    font-size: 15px
  }

  .btn-primary-custom,
  .btn-outline-custom {
    font-size: .94rem
  }
}

/* Compact footer layout for tablet and mobile */
@media(min-width:576px) and (max-width:767.98px) {
  .site-footer {
    padding: 56px 0 24px
  }

  .site-footer>.container>.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 38px !important;
    margin: 0;
    padding: 0
  }

  .site-footer>.container>.row>div {
    width: 100%;
    max-width: none;
    padding: 0
  }

  .site-footer>.container>.row>div:first-child {
    padding-right: 0
  }

  .site-footer h5 {
    margin-bottom: 14px
  }

  .site-footer .footer-links {
    margin-bottom: 0
  }

  .site-footer .footer-links li {
    margin: 8px 0
  }

  .payment-methods {
    margin-top: 18px
  }

  .site-footer .footer-bottom {
    flex-direction: row;
    margin-top: 38px;
    padding-top: 20px
  }
}

@media(max-width:575.98px) {
  .site-footer>.container>.row {
    row-gap: 1.75rem !important;
    padding-bottom: 8px
  }

  .site-footer>.container>.row>div:first-child,
  .site-footer>.container>.row>div:last-child {
    width: 100%
  }

  .site-footer h5 {
    margin-bottom: 12px
  }

  .site-footer .footer-links li {
    margin: 7px 0
  }

  .site-footer .footer-bottom {
    margin-top: 28px;
    padding-top: 18px
  }
}

/* Full-height responsive navigation drawer */
@media(max-width:991.98px) {
  .site-header .offcanvas.offcanvas-end {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 400px);
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    border-left: 1px solid var(--border);
    background: #fbfaf7;
    overflow: hidden
  }

  .site-header .offcanvas-header {
    flex: 0 0 auto;
    min-height: 82px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border)
  }

  .site-header .offcanvas-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch !important;
    padding: 28px 24px 32px;
    overflow-y: auto
  }

  .site-header .offcanvas-body .navbar-nav {
    width: 100%;
    margin: 0 !important;
    padding: 0
  }

  .site-header .offcanvas-body .nav-link {
    display: flex;
    align-items: center;
    min-height: 58px;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 1.35rem
  }

  .site-header .offcanvas-body .nav-link:after {
    display: none
  }

  .site-header .offcanvas-body>.btn-primary-custom {
    width: 100%;
    margin-top: auto
  }
}

@media(max-width:575.98px) {
  .site-header .offcanvas.offcanvas-end {
    width: min(92vw, 360px)
  }

  .site-header .offcanvas-header,
  .site-header .offcanvas-body {
    padding-left: 20px;
    padding-right: 20px
  }
}

/* Clean mobile menu trigger */
.site-header .navbar-toggler,
.site-header .navbar-toggler:hover,
.site-header .navbar-toggler:focus,
.site-header .navbar-toggler:focus-visible,
.site-header .navbar-toggler:active {
  padding: 4px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent
}

.site-header .navbar-toggler i {
  display: block;
  line-height: 1
}

/* Balanced editorial heroes: About, Contact and Pricing */
.about-hero-new h1,
.contact-hero-new h1,
.pricing-hero-new h1 {
  max-width: 850px;
  font-size: clamp(3.55rem, 5vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.055em
}

.editorial-hero-row>div:last-child {
  padding-bottom: 8px
}

.editorial-hero-row>div:last-child>p,
.editorial-hero-row .pricing-hero-copy {
  max-width: 390px;
  margin-left: auto
}

.editorial-hero-row>div:last-child>p,
.editorial-hero-row .pricing-hero-copy p {
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75
}

@media(max-width:1199.98px) {
  .about-hero-new h1,
  .contact-hero-new h1,
  .pricing-hero-new h1 {
    font-size: clamp(3.4rem, 6vw, 5rem)
  }
}

@media(max-width:991.98px) {
  .about-hero-new h1,
  .contact-hero-new h1,
  .pricing-hero-new h1 {
    max-width: 720px;
    font-size: clamp(3.1rem, 8vw, 4.6rem)
  }

  .editorial-hero-row>div:last-child>p,
  .editorial-hero-row .pricing-hero-copy {
    max-width: 560px;
    margin-left: 0
  }
}

@media(max-width:575.98px) {
  .about-hero-new h1,
  .contact-hero-new h1,
  .pricing-hero-new h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: .98;
    letter-spacing: -.045em;
    overflow-wrap: normal
  }

  .editorial-hero-row {
    --bs-gutter-y: 2rem
  }

  .editorial-hero-row>div:last-child>p,
  .editorial-hero-row .pricing-hero-copy p {
    font-size: .95rem;
    line-height: 1.7
  }
}
