@font-face {
  font-family: "Quicksand";
  src: url("fonts/Quicksand-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --graphite: #202020;
  --graphite-2: #2C2C2C;
  --graphite-3: #141414;
  --orange: #F78C2F;
  --yellow: #FBAA10;
  --orange-hover: #FFA85C;
  --yellow-hover: #FFC247;
  --nav-orange: #FFF2E3;
  --pastel-yellow: #FFF4CE;
  --cream: #FFF8EA;
  --cream-2: #FAF6EC;
  --paper: #FDFBF6;
  --white: #FFFFFF;
  --muted: #48423D;
  --line: #DDD3C4;
  --line-dark: rgba(255, 255, 255, .18);
  --shadow: 0 18px 44px rgba(44, 44, 44, .10);
  --radius: 8px;
  --font-title: clamp(36px, 4vw, 52px);
  --font-subtitle: clamp(19px, 1.8vw, 24px);
  --font-text: 16px;
  --font-nav: 13px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--graphite-3);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: var(--font-text);
  font-weight: 400;
  line-height: 1.58;
}

body.is-modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  color-scheme: light;
  font: inherit;
}

strong,
b {
  font-weight: 600;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header .container {
  width: calc(100% - 38px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  border-top: 5px solid var(--graphite-3);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 74px;
}

.brand img {
  width: 165px;
}

.menu-button {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--graphite);
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.nav-links a,
.client-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--nav-orange);
  color: var(--graphite);
  font-size: var(--font-nav);
  font-weight: 600;
  line-height: 1.18;
  padding: 0 10px;
  text-align: center;
  white-space: nowrap;
}

.nav-links a.is-active {
  background: var(--nav-orange);
  color: var(--graphite-3);
}

.nav-links a:hover,
.client-trigger:hover,
.client-trigger[aria-expanded="true"] {
  background: var(--orange);
  color: var(--graphite-3);
}

.client-menu {
  position: relative;
  min-width: 0;
}

.client-trigger {
  width: 100%;
}

.client-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 45;
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 8px;
}

.client-options[hidden] {
  display: none;
}

.client-options a {
  min-height: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 8px;
}

.nav-links a.access-link {
  padding: 0;
}

.nav-links a.access-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

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

h1 {
  font-size: var(--font-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 22px;
}

h2 {
  font-size: var(--font-title);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: var(--font-subtitle);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 10px;
}

.hero {
  background: var(--paper);
  overflow: hidden;
}

.home-hero,
.page-hero {
  padding: clamp(52px, 7vw, 92px) 0;
}

.compact-hero {
  padding: clamp(48px, 6vw, 78px) 0;
}

.hero-grid,
.page-hero-grid,
.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy p,
.page-hero-grid p,
.section-title p,
.text-stack p,
.contact-copy p,
.social-grid p,
.module-plan-card p {
  color: var(--muted);
  font-size: var(--font-text);
  font-weight: 400;
}

.hero-actions,
.cta-actions,
.plan-actions,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--font-text);
  font-weight: 700;
  gap: 9px;
  line-height: 1.1;
  padding: 0 20px;
  text-align: center;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 13px 24px rgba(246, 139, 48, .24);
}

.button-secondary,
.button-light {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.button-dark {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.button:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.home-hero .button-secondary {
  background: var(--yellow);
  border-color: var(--yellow);
}

.home-hero .button-secondary:hover {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

.lead-card,
.account-panel,
.summary-card,
.feature-card,
.plan-card,
.contact-form,
.construction-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-card {
  background: var(--pastel-yellow);
  padding: clamp(22px, 3vw, 30px);
}

.lead-card-head {
  margin-bottom: 18px;
}

.lead-card-head h2 {
  font-size: var(--font-subtitle);
  margin-bottom: 8px;
}

.lead-card-head p,
.form-note {
  color: var(--muted);
  margin-bottom: 0;
}

.quick-form,
.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--graphite-3);
  font-size: var(--font-text);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  background: var(--white);
  color: var(--graphite);
  font-weight: 400;
  padding: 12px 13px;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 140, 47, .15);
}

.form-note {
  font-size: var(--font-text);
}

.section {
  padding: clamp(54px, 6vw, 76px) 0;
}

.split-band {
  background: var(--yellow);
  color: var(--graphite-3);
}

.identity-band {
  background: var(--yellow);
  color: var(--graphite-3);
}

.split-grid,
.section-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

.split-band .text-stack p,
.split-band .section-title p {
  color: var(--graphite-3);
  font-weight: 500;
}

.identity-band .text-stack p {
  color: var(--graphite-3);
  font-weight: 500;
}

.section-warm,
.plans-section {
  background: var(--cream);
}

.modules-section {
  background: var(--paper);
}

.section-title {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-title .section-lead {
  color: var(--graphite-3);
  font-size: var(--font-subtitle);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0;
}

.compact-title {
  margin-bottom: 24px;
}

.section-kicker,
.eyebrow,
.plan-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--graphite-3);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 0 10px;
  white-space: nowrap;
}

.split-band .section-kicker {
  background: var(--yellow);
}

.text-stack {
  display: grid;
  gap: 16px;
}

.feature-grid,
.change-grid,
.plans-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  min-height: 220px;
  background: var(--white);
  padding: 23px;
}

.feature-card i,
.change-grid i {
  width: 34px;
  height: 34px;
  color: var(--orange);
  margin-bottom: 18px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.account-panel {
  align-self: start;
  justify-self: end;
  width: min(100%, 480px);
  background: var(--graphite-3);
  color: var(--white);
  padding: clamp(22px, 3vw, 30px);
}

.account-panel span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--graphite-3);
  font-weight: 600;
  margin-bottom: 18px;
  padding: 0 10px;
}

.account-panel h2 {
  font-size: var(--font-subtitle);
  margin-bottom: 10px;
}

.account-panel p {
  color: rgba(255, 255, 255, .78);
}

.account-actions .button {
  flex: 1 1 165px;
}

.gme-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: min(100%, 460px);
  min-height: 260px;
  background: transparent;
  padding: 0;
}

.gme-logo-panel img {
  width: min(100%, 330px);
  height: auto;
}

.trial-banner-section {
  padding: 0 0 clamp(44px, 5vw, 64px);
}

.trial-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--yellow);
  background:
    linear-gradient(110deg, var(--graphite-3) 0%, var(--graphite) 58%, #4A2710 100%);
  color: var(--white);
  box-shadow: 0 22px 46px rgba(20, 20, 20, .20);
  padding: clamp(26px, 4vw, 42px);
}

.trial-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--yellow);
}

.trial-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(251, 170, 16, .12);
  pointer-events: none;
}

.trial-banner > * {
  position: relative;
  z-index: 1;
}

.trial-banner h2 {
  color: var(--white);
  font-size: var(--font-title);
  margin-bottom: 8px;
}

.trial-banner p {
  max-width: 710px;
  color: rgba(255, 255, 255, .86);
  margin-bottom: 0;
}

.trial-button {
  min-width: 230px;
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.trial-button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--graphite-3);
}

.summary-card {
  display: grid;
  gap: 10px;
  background: var(--graphite-3);
  color: var(--white);
  padding: 28px;
}

.summary-card strong {
  font-size: var(--font-subtitle);
  line-height: 1.1;
}

.summary-card span {
  color: rgba(255, 255, 255, .78);
}

.change-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.change-grid article {
  min-height: 214px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
}

.change-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.screen-section {
  background: var(--paper);
}

.image-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 18px;
  align-items: center;
}

.image-stage {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-slide {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--graphite);
  text-align: center;
  padding: 0;
}

.image-slide.is-active {
  display: grid;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  cursor: zoom-in;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .78);
}

.image-lightbox-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: min(86vh, 780px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(20, 20, 20, .34);
  overflow: hidden;
}

.image-lightbox-content img {
  width: 100%;
  max-height: min(86vh, 780px);
  object-fit: contain;
  background: var(--white);
}

.image-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.carousel-caption {
  width: min(520px, calc(100% - 148px));
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(44, 44, 44, .07);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-text);
  font-weight: 600;
  margin: 14px auto 0;
  padding: 0 16px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(44, 44, 44, .08);
}

.carousel-arrow:hover {
  border-color: var(--orange);
  background: var(--cream);
}

.plans-grid.full-plans {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 548px;
  background: var(--white);
  padding: 20px;
  overflow: visible;
}

.featured-plan {
  background: var(--graphite);
  border-color: var(--graphite);
  color: var(--white);
}

.lifetime-card {
  background: #FFF2C7;
}

.in-progress-plan {
  background: #FFFDF8;
}

.featured-plan .plan-badge {
  background: var(--yellow);
}

.plan-card h3 {
  margin-top: 2px;
}

.plan-price {
  color: var(--graphite-3);
  font-size: var(--font-title);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.featured-plan .plan-price,
.featured-plan h3 {
  color: var(--white);
}

.plan-price.plan-price-text {
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.05;
}

.plan-price span {
  display: block;
  color: var(--muted);
  font-size: var(--font-text);
  font-weight: 600;
  margin-top: 8px;
}

.featured-plan .plan-price span {
  color: rgba(255, 255, 255, .92);
}

.beta-burst {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(50% 0%, 59% 17%, 75% 7%, 78% 26%, 97% 25%, 86% 41%, 100% 50%, 84% 59%, 94% 75%, 75% 74%, 72% 93%, 59% 83%, 50% 100%, 41% 83%, 28% 93%, 25% 74%, 6% 75%, 16% 59%, 0% 50%, 14% 41%, 3% 25%, 22% 26%, 25% 7%, 41% 17%);
  transform: rotate(10deg);
}

.featured-plan .beta-burst {
  background: var(--yellow);
  color: var(--graphite-3);
}

.price-before,
.module-old-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.featured-plan .price-before {
  color: rgba(255, 255, 255, .68);
}

.module-old-price {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
}

.beta-plan ul {
  margin-top: 14px;
}

.lifetime-card .plan-price {
  font-size: clamp(31px, 2.6vw, 38px);
  white-space: nowrap;
}

.lifetime-card .plan-price span {
  white-space: normal;
}

.featured-plan li {
  color: var(--white);
}

.plan-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.plan-card li {
  position: relative;
  color: var(--muted);
  font-size: var(--font-text);
  font-weight: 500;
  line-height: 1.36;
  padding-left: 18px;
}

.featured-plan li {
  color: var(--white);
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.button-more {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
  background: var(--white);
  border-color: var(--line);
  color: var(--graphite);
  box-shadow: none;
}

.button-more:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--graphite-3);
}

.button-more:disabled {
  cursor: default;
  opacity: .5;
}

.featured-plan .button-more {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
  color: var(--white);
}

.featured-plan .button-more:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--graphite-3);
}

.plan-actions {
  margin-top: 12px;
}

.plan-actions .button {
  width: 100%;
}

.plan-status {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
  margin-top: 12px;
  padding: 14px;
  text-align: center;
}

.card-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  gap: 16px;
  align-items: center;
}

.module-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, calc((100% - 48px) / 4));
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.module-track::-webkit-scrollbar {
  display: none;
}

.module-plan-card {
  min-height: 360px;
  scroll-snap-align: start;
}

.module-plan-card p {
  font-size: var(--font-text);
  margin-bottom: 22px;
}

.module-plan-card .plan-actions {
  margin-top: auto;
}

.plan-modal[hidden] {
  display: none;
}

.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.plan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .68);
}

.plan-modal-card {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(20, 20, 20, .26);
  padding: clamp(24px, 4vw, 34px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--graphite);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.plan-modal-card h2 {
  font-size: var(--font-subtitle);
  margin-bottom: 12px;
  padding-right: 34px;
}

.plan-modal-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.plan-modal-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 20px;
}

.cta-band {
  background:
    linear-gradient(135deg, var(--graphite-3), var(--graphite));
  color: var(--white);
  padding: 54px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-grid p {
  color: rgba(255, 255, 255, .76);
  margin: 0;
}

.contact-hero {
  background:
    radial-gradient(circle at 12% 15%, rgba(251, 170, 16, .18), transparent 24%),
    linear-gradient(120deg, var(--graphite-3), var(--graphite));
  color: var(--white);
  padding: clamp(56px, 7vw, 92px) 0;
}

.contact-copy p {
  color: rgba(255, 255, 255, .78);
}

.contact-copy .section-kicker {
  background: var(--yellow);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
}

.contact-methods i {
  color: var(--yellow);
}

.elevated-form {
  background: var(--white);
  color: var(--graphite);
  padding: clamp(22px, 3vw, 30px);
}

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

.social-section {
  background: var(--cream);
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: center;
}

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

.social-mini {
  display: grid;
  grid-template-rows: 56px auto;
  min-height: 132px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--graphite);
  gap: 8px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-mini:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: #FFF5E7;
}

.social-mini img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
}

.social-mini span {
  font-weight: 600;
}

.social-mini.is-active {
  border-color: var(--orange);
  background: #FFF5E7;
}

.contact-layout,
.contact-info-card,
.social-card,
.module-card,
.mock-slide {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.footer {
  background: var(--graphite-2);
  color: rgba(255, 255, 255, .82);
  padding: 34px 0;
}

.footer .container {
  width: calc(100% - 38px);
}

.footer-grid {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: var(--font-text);
  font-weight: 500;
  flex-wrap: nowrap;
  min-width: 0;
}

.footer-grid h2 {
  color: var(--white);
  font-size: var(--font-subtitle);
  margin-bottom: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.footer-grid > p {
  color: rgba(255, 255, 255, .82);
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-grid .cta-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.footer-brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  flex: 0 0 58px;
}

.footer-brand-line img {
  width: auto;
  height: 52px;
  max-width: none;
  padding: 0;
  transform: none;
}

.footer-grid > img {
  width: auto;
  height: 58px;
  max-width: 190px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 8px 12px;
}

.construction-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.construction-hero {
  display: grid;
  place-items: center;
  padding: 76px 0;
}

.construction-card {
  width: min(720px, 100%);
  background: var(--white);
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
}

.construction-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--yellow);
  margin-bottom: 22px;
}

.construction-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(251, 170, 16, .28), transparent 27%),
    linear-gradient(120deg, var(--graphite-3) 0%, var(--graphite) 55%, #5A361D 100%);
  color: var(--white);
  padding: clamp(58px, 7vw, 96px) 0;
}

.custom-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 48px;
  align-items: center;
}

.custom-hero .section-kicker,
.custom-cta .section-kicker {
  background: var(--yellow);
  color: var(--graphite-3);
}

.custom-hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, .82);
  font-size: var(--font-text);
  font-weight: 400;
}

.custom-diagnostic-card {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #FFF7DC, #FFE9AE);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .22);
  color: var(--graphite-3);
  padding: clamp(24px, 3vw, 32px);
}

.custom-diagnostic-card > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--graphite-3);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
  padding: 0 10px;
}

.custom-diagnostic-card h2 {
  font-size: var(--font-title);
  margin-bottom: 10px;
}

.custom-diagnostic-card p {
  color: var(--muted);
  font-weight: 500;
}

.custom-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.custom-mini-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(44, 44, 44, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  font-weight: 600;
  padding: 12px;
}

.custom-mini-list i {
  color: var(--orange);
  min-width: 20px;
}

.custom-problem-section {
  background: var(--paper);
}

.custom-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}

.custom-intro-grid p {
  color: var(--muted);
  font-size: var(--font-text);
  font-weight: 400;
}

.pain-grid,
.process-grid,
.custom-solution-grid {
  display: grid;
  gap: 16px;
}

.pain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pain-card {
  min-height: 252px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.pain-card i,
.process-card i,
.custom-solution-grid i,
.tech-grid i {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
}

.pain-card p {
  margin-bottom: 0;
  font-weight: 500;
}

.pain-dark {
  background: var(--graphite-3);
  border-color: var(--graphite-3);
  color: var(--white);
}

.pain-dark p {
  color: rgba(255, 255, 255, .78);
}

.pain-dark i {
  color: var(--yellow);
}

.pain-yellow {
  background: linear-gradient(145deg, #FFF7DC, #FFE9AE);
}

.pain-yellow i,
.pain-white i,
.pain-orange i {
  color: var(--orange);
}

.pain-white {
  background: var(--white);
}

.pain-orange {
  background: #FFF0E3;
  border-color: #FFD1AD;
}

.custom-build-section {
  background: var(--cream);
}

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

.process-card {
  min-height: 262px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--graphite-3);
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 18px;
}

.process-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-weight: 500;
}

.custom-tech-section {
  background: var(--graphite-3);
  color: var(--white);
}

.tech-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr);
  gap: 42px;
  align-items: center;
}

.tech-panel .section-kicker {
  background: var(--yellow);
  color: var(--graphite-3);
}

.tech-panel p {
  color: rgba(255, 255, 255, .78);
  font-size: var(--font-text);
  font-weight: 400;
}

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

.tech-grid article {
  min-height: 190px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  padding: 22px;
}

.tech-grid i {
  color: var(--yellow);
}

.tech-grid p {
  margin-bottom: 0;
}

.custom-solutions-section {
  background: var(--paper);
}

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

.custom-solution-grid article {
  min-height: 236px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
}

.custom-solution-grid i {
  color: var(--orange);
}

.custom-solution-grid p {
  color: var(--muted);
  margin-bottom: 0;
  font-weight: 500;
}

.custom-cta {
  background: linear-gradient(145deg, #FFF7DC, #FFE9AE);
  padding: 58px 0;
}

.custom-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.custom-cta-grid p {
  max-width: 780px;
  color: var(--muted);
  font-size: var(--font-text);
  font-weight: 400;
  margin-bottom: 0;
}

@media (max-width: 1160px) {
  .site-header .container,
  .footer .container {
    width: min(100% - 40px, 1160px);
  }

  .nav {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .brand img {
    width: 149px;
  }

  .nav-links a,
  .client-trigger {
    font-size: var(--font-text);
    padding: 0 7px;
  }

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

  .feature-grid,
  .change-grid,
  .pain-grid,
  .process-grid,
  .custom-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-track {
    grid-auto-columns: minmax(255px, calc((100% - 32px) / 3));
  }
}

@media (max-width: 880px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding-bottom: 14px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .client-options {
    position: static;
    margin-top: 8px;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-hero-grid,
  .custom-hero-grid,
  .custom-intro-grid,
  .tech-panel,
  .split-grid,
  .section-grid,
  .cta-grid,
  .custom-cta-grid,
  .trial-banner,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .account-panel {
    justify-self: stretch;
  }

  .gme-logo-panel {
    justify-self: stretch;
    min-height: 280px;
  }

  .trial-button {
    width: 100%;
  }

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

  .image-carousel,
  .card-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-caption {
    width: min(560px, calc(100% - 108px));
  }

  .module-track {
    grid-auto-columns: minmax(245px, calc((100% - 16px) / 2));
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  h1 {
    font-size: var(--font-title);
  }

  h2 {
    font-size: var(--font-title);
  }

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

  .plans-grid.full-plans,
  .feature-grid,
  .change-grid,
  .pain-grid,
  .process-grid,
  .custom-solution-grid,
  .tech-grid,
  .form-row,
  .social-mini-grid {
    grid-template-columns: 1fr;
  }

  .image-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .image-stage {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .card-carousel {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .carousel-prev {
    justify-self: start;
    grid-row: 2;
  }

  .carousel-next {
    justify-self: end;
    grid-row: 2;
  }

  .carousel-caption {
    width: 100%;
  }

  .module-track {
    grid-auto-columns: 100%;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer .container,
  .site-header .container {
    width: min(100% - 32px, 1160px);
  }

  .footer-grid .cta-actions {
    justify-content: flex-start;
  }

  .footer-grid h2,
  .footer-grid > p {
    white-space: normal;
  }

  .footer-brand-line {
    align-items: flex-start;
  }
}
