:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --bg-line: #ececf1;
  --text: #111116;
  --text-soft: #555761;
  --muted: #7b7d88;
  --line: #dedfe6;
  --line-dark: rgba(255, 255, 255, 0.14);
  --dark: #0d0d12;
  --dark-2: #17171f;
  --white: #ffffff;
  --red: #ff4b55;
  --magenta: #cb4fd6;
  --purple: #7d55ff;
  --blue: #386bff;
  --gradient: linear-gradient(120deg, var(--red), var(--magenta) 52%, var(--purple));
  --accent-soft: linear-gradient(120deg, rgba(255, 75, 85, 0.11), rgba(203, 79, 214, 0.08), rgba(125, 85, 255, 0.11));
  --shadow: 0 18px 55px rgba(17, 17, 22, 0.08);
  --shadow-soft: 0 10px 30px rgba(17, 17, 22, 0.055);
  --radius: 8px;
  --container: 1180px;
  --headline-cycle: 2600ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 200;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--text-soft);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: absolute;
  top: -52px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--dark);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(222, 223, 230, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 22, 0.08);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(17, 17, 22, 0.08);
}

.brand-symbol svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  font-size: 1.04rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  color: #383a42;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: var(--bg-soft);
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(222, 223, 230, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(17, 17, 22, 0.055);
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--magenta), var(--purple));
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.header-cta {
  min-width: max-content;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(17, 17, 22, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  border-color: #c7c8d2;
  box-shadow: var(--shadow-soft);
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 251, 0.96)),
    linear-gradient(120deg, #ffffff 0%, #ffffff 58%, #f5f5f8 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(104deg, transparent 0 54%, rgba(13, 13, 18, 0.032) 54%, rgba(13, 13, 18, 0.075) 100%);
}

.hero::after {
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(48vw, 680px);
  background:
    linear-gradient(135deg, rgba(255, 75, 85, 0.055), rgba(203, 79, 214, 0.035), rgba(125, 85, 255, 0.07)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(13, 13, 18, 0.035));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 52px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #8f24ca;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
}

h1 {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(4.85rem, 6.55vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 600;
  white-space: nowrap;
}

.rotating-word {
  position: relative;
  display: inline-block;
  min-width: 9.1ch;
  color: #17171f;
  vertical-align: baseline;
}

.rotating-text {
  position: relative;
  display: inline-block;
}

.rotating-text::after,
.animated-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.055em;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, var(--red) 20%, var(--magenta) 50%, var(--purple) 80%, transparent 100%) -54% 0 / 34% 100% no-repeat,
    #cfd1d8;
  animation: underlineTrackSweep var(--headline-cycle) cubic-bezier(0.68, 0, 0.24, 1) infinite;
}

.rotating-text::before,
.animated-underline::before {
  display: none;
}

.animated-underline {
  position: relative;
  display: inline-block;
  color: var(--text);
}

.animated-underline::after,
.animated-underline::before {
  bottom: -0.12em;
  height: 0.08em;
}

h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 4.35rem;
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 600;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 600;
}

.hero-copy {
  max-width: 790px;
  margin-bottom: 16px;
  color: #383a42;
  font-size: 1.12rem;
  line-height: 1.64;
}

.hero-location {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions,
.inline-cta,
.compact-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(203, 79, 214, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(203, 79, 214, 0.31);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: #c4c5cf;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible,
.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus-visible {
  color: var(--white);
  border-color: transparent;
  background: var(--gradient);
  box-shadow: 0 22px 48px rgba(203, 79, 214, 0.31);
}

.thesis-section {
  padding: 76px 0;
}

.thesis-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: end;
}

.thesis-grid h2 {
  margin-bottom: 0;
}

.thesis-copy p {
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.thesis-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading p {
  font-size: 1.03rem;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.62fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 44px;
}

.split-heading p {
  font-size: 1.03rem;
}

.heading-support {
  max-width: 540px;
  margin: 0;
  padding: 18px 0 18px 20px;
  border-left: 3px solid var(--magenta);
  color: #3f414a;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent);
}

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

.division-card,
.service-card,
.list-panel,
.process-step,
.application-form,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.division-card,
.service-card {
  min-height: 246px;
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.division-card:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: #c8c9d2;
  box-shadow: var(--shadow);
}

.division-card:hover,
.division-card:focus-within,
.division-card.is-active,
.service-card:hover,
.service-card:focus-within,
.service-card.is-active {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 75, 85, 0.16), rgba(125, 85, 255, 0.14)),
    var(--dark);
  border-color: rgba(255, 255, 255, 0.16);
}

.division-card:hover h3,
.division-card:hover p,
.division-card:hover span,
.division-card:focus-within h3,
.division-card:focus-within p,
.division-card:focus-within span,
.division-card.is-active h3,
.division-card.is-active p,
.division-card.is-active span,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover span,
.service-card:focus-within h3,
.service-card:focus-within p,
.service-card:focus-within span,
.service-card.is-active h3,
.service-card.is-active p,
.service-card.is-active span {
  color: var(--white);
}

.division-card:hover p,
.division-card:focus-within p,
.division-card.is-active p,
.service-card:hover p,
.service-card:focus-within p,
.service-card.is-active p {
  opacity: 0.78;
}

.division-card:hover a,
.division-card:focus-within a,
.division-card.is-active a {
  color: var(--white);
}

.division-card span,
.service-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #9020cb;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card span {
  width: 42px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 79, 214, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  letter-spacing: 0;
}

.division-card p,
.service-card p {
  margin-bottom: 0;
}

.division-card a {
  display: inline-flex;
  margin-top: 18px;
  color: #7a28df;
  font-size: 0.92rem;
  font-weight: 600;
}

.division-card a:hover,
.division-card a:focus-visible {
  color: #4e21a6;
}

.band-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 246, 248, 0.9), rgba(255, 255, 255, 0.96));
}

.inline-cta {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.inline-cta p {
  margin: 0 auto 0 0;
  color: var(--text);
  font-weight: 600;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 56px;
  align-items: center;
}

.content-block p {
  font-size: 1.04rem;
}

.important-note,
.strong-line {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--magenta);
  color: var(--text);
  background: rgba(246, 246, 248, 0.78);
  font-weight: 600;
}

.list-panel,
.stack-panel {
  padding: 30px;
}

.list-panel h3,
.stack-panel h3 {
  font-size: 1.34rem;
}

.check-list,
.stack-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(222, 223, 230, 0.92);
  border-radius: var(--radius);
  color: #3c3e47;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 254, 0.98)),
    var(--white);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
  transform: translateY(-50%);
}

.check-list li::after {
  display: none;
}

.split-dark,
.trust-section,
.site-footer {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 75, 85, 0.12), rgba(125, 85, 255, 0.1)),
    var(--dark);
}

.light-copy h2,
.light-copy p,
.light-copy .eyebrow {
  color: var(--white);
}

.light-copy p {
  opacity: 0.78;
}

.light-copy .strong-line {
  color: var(--white);
  border-left-color: var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.stack-panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.stack-panel h3 {
  color: var(--white);
}

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

.stack-list li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.stack-list span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.revenue-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(400px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.conversion-map {
  display: grid;
  gap: 12px;
}

.conversion-map div {
  display: grid;
  grid-template-columns: 54px minmax(120px, 0.55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.conversion-map span {
  color: #8e20c9;
  font-size: 0.76rem;
  font-weight: 600;
}

.conversion-map strong {
  color: var(--text);
  font-weight: 600;
}

.conversion-map p {
  margin: 0;
  font-size: 0.94rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--muted);
  font-weight: 600;
}

.process-step p {
  margin-bottom: 0;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list div {
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.faq-section {
  background: #fbfbfc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 0;
  overflow: hidden;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  list-style: none;
}

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

.faq-grid summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #8d1fcb;
  background: var(--bg-soft);
  font-weight: 600;
  transition: transform 0.18s ease;
}

.faq-grid details[open] summary::after {
  transform: rotate(45deg);
}

.faq-grid details p {
  margin: 0;
  padding: 0 24px 24px;
}

.apply-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 246, 248, 0.96)),
    var(--white);
}

.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: 58px;
  align-items: start;
}

.apply-copy {
  position: sticky;
  top: 112px;
}

.apply-title-stack span {
  display: block;
}

.application-points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  counter-reset: application-step;
}

.location-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.location-list span,
.application-points li {
  position: relative;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.application-points li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  counter-increment: application-step;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 254, 0.98)),
    var(--white);
}

.application-points li::before {
  content: counter(application-step, decimal-leading-zero);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 79, 214, 0.2);
  border-radius: 999px;
  color: #8f24ca;
  background: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 600;
}

.application-points span {
  min-width: 0;
}

.application-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.94);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #cfd0d9;
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, #5d606b 50%),
    linear-gradient(135deg, #5d606b 50%, transparent 50%),
    linear-gradient(180deg, #ffffff, #fafafe);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%,
    0 0;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  color: var(--text);
}

select:invalid {
  color: var(--muted);
}

select option {
  color: var(--text);
}

.custom-select {
  display: none;
}

.js-enabled .native-select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.js-enabled .custom-select {
  position: relative;
  display: grid;
}

.select-trigger {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid #cfd0d9;
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 254, 0.98)),
    var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.select-trigger:hover,
.custom-select.is-open .select-trigger,
.select-trigger:focus-visible {
  color: var(--text);
  border-color: rgba(203, 79, 214, 0.62);
  box-shadow:
    0 0 0 4px rgba(203, 79, 214, 0.12),
    0 14px 34px rgba(17, 17, 22, 0.08);
}

.select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-chev {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 2px solid #5d606b;
  border-bottom: 2px solid #5d606b;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.custom-select.is-open .select-chev {
  transform: rotate(225deg) translate(-2px, -1px);
  border-color: #8f24ca;
}

.select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(203, 79, 214, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 55px rgba(17, 17, 22, 0.16);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.custom-select.is-open .select-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.select-option {
  width: 100%;
  padding: 12px 13px;
  border: 0;
  border-radius: 6px;
  color: #282a32;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}

.select-option:hover,
.select-option:focus-visible,
.select-option[aria-selected="true"] {
  outline: none;
  color: var(--white);
  background: var(--gradient);
}

.custom-select.is-invalid .select-trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 75, 85, 0.12);
}

.field-error {
  margin: 8px 0 0;
  color: #c22536;
  font-size: 0.82rem;
  font-weight: 600;
}

textarea {
  min-height: 148px;
  resize: vertical;
}

::placeholder {
  color: #9597a2;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: none;
  border-color: rgba(203, 79, 214, 0.62);
  box-shadow: 0 0 0 4px rgba(203, 79, 214, 0.12);
}

summary:focus-visible {
  border-radius: var(--radius);
}

.form-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer {
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
}

.footer-brand,
.footer-brand .brand-text {
  color: var(--white);
}

.footer-line {
  margin-top: 24px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  gap: 12px;
  min-width: 190px;
}

.footer-links a {
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
}

@keyframes underlineTrackSweep {
  0% {
    background-position: -54% 0, 0 0;
  }

  82% {
    background-position: 154% 0, 0 0;
  }

  100% {
    background-position: 154% 0, 0 0;
  }
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 138px;
  }

  h1 {
    font-size: clamp(3.9rem, 6.5vw, 4.65rem);
  }

  h2 {
    font-size: 3.65rem;
  }

  .nav-shell {
    position: relative;
    min-height: 68px;
    gap: 12px;
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex: none;
    padding: 12px;
    border: 1px solid rgba(222, 223, 230, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    backdrop-filter: blur(18px);
  }

  .nav-shell.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(222, 223, 230, 0.9);
    background: rgba(246, 246, 248, 0.88);
  }

  .hero {
    min-height: auto;
  }

  .thesis-grid,
  .two-column,
  .revenue-grid,
  .apply-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 248, 251, 0.98)),
      linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
  }

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

  .hero .eyebrow {
    gap: 7px;
    font-size: 0.56rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .hero .eyebrow::before {
    width: 16px;
  }

  .hero-copy {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  h1 {
    font-size: 3rem;
    line-height: 0.99;
    white-space: normal;
  }

  h2 {
    font-size: 3rem;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .ecosystem-grid,
  .services-grid,
  .process-grid,
  .faq-grid,
  .form-row,
  .stack-list,
  .footer-grid,
  .footer-bottom,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .heading-support {
    max-width: none;
    padding-top: 0;
  }

  .inline-cta {
    align-items: stretch;
  }

  .inline-cta p {
    margin-right: 0;
  }

  .btn {
    width: 100%;
  }

  .conversion-map div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .conversion-map p {
    grid-column: 2;
  }

  .application-form,
  .list-panel,
  .stack-panel {
    padding: 24px;
  }

  .footer-links {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 1rem;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2.52rem;
  }

  .division-card,
  .service-card,
  .process-step {
    padding: 22px;
  }

  .faq-grid summary {
    padding: 20px;
  }

  .faq-grid details p {
    padding: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .rotating-text {
    opacity: 1;
    transform: none;
  }

  .rotating-text::after,
  .animated-underline::after {
    background:
      linear-gradient(90deg, var(--red), var(--magenta) 52%, var(--purple)) 0 0 / 100% 100% no-repeat,
      #cfd1d8;
    animation: none !important;
  }
}
