:root {
  --paper: #f4f5f1;
  --paper-bright: #fffef9;
  --ink: #151821;
  --muted: #626773;
  --cobalt: #3157d5;
  --cobalt-soft: #cbd8ff;
  --coral: #f26b4d;
  --lemon: #f1dd67;
  --mint: #a8ddce;
  --line: rgba(21, 24, 33, 0.18);
  --header-offset: 104px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  touch-action: manipulation;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 24, 33, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 33, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lemon);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--lemon);
  color: var(--ink);
  font-weight: 850;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(1160px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 9px 10px 9px 18px;
  border: 2px solid rgba(21, 24, 33, 0.86);
  border-radius: 7px;
  background: rgba(255, 254, 249, 0.8);
  box-shadow: 6px 6px 0 rgba(21, 24, 33, 0.14);
  backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(-50%);
}

section,
#consultation {
  scroll-margin-top: var(--header-offset);
}

.brand {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 4px;
}

.nav-links a:hover {
  background: var(--cobalt-soft);
  color: var(--ink);
}

.topbar-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.topbar-cta {
  background: var(--coral);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
}

.footer-consultation {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.button:hover,
.topbar-cta:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button.primary {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--cobalt);
  color: var(--paper-bright);
}

.button.ghost {
  background: var(--paper-bright);
  box-shadow: 4px 4px 0 rgba(21, 24, 33, 0.18);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 170svh;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: clip;
  isolation: isolate;
  border-bottom: 2px solid var(--ink);
  background: var(--cobalt-soft);
}

.hero-stage::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 24, 33, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 33, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.72;
}

.hero-stage::after {
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  z-index: -1;
  pointer-events: none;
  content: "BMENTOR";
  color: rgba(49, 87, 213, 0.24);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 900;
  line-height: 0.8;
  white-space: nowrap;
  opacity: 1;
}

.hero-halo {
  position: absolute;
  top: 12%;
  left: 68%;
  z-index: 0;
  width: min(34rem, 45vw);
  height: 63%;
  border: 2px solid rgba(21, 24, 33, 0.34);
  pointer-events: none;
  opacity: 1;
  transform: translateX(-50%) rotate(-4deg);
}

.hero-cloud {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(1240px, 96vw);
  margin: 0 auto;
  contain: layout paint style;
  pointer-events: none;
  opacity: 0.78;
}

.hero-cloud span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  min-height: 30px;
  max-width: 172px;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(21, 24, 33, 0.32);
  border-radius: 4px;
  background: rgba(255, 254, 249, 0.68);
  box-shadow: 2px 2px 0 rgba(21, 24, 33, 0.08);
  color: rgba(21, 24, 33, 0.74);
  backdrop-filter: blur(5px);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.65rem, 0.9vw, 0.78rem);
  font-weight: 700;
  line-height: 1.1;
  opacity: 0;
  text-align: center;
  transform: translate3d(-200px, -200px, 0);
  transition:
    opacity 520ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  will-change: transform;
}

.hero-cloud.is-ready span {
  opacity: var(--cloud-opacity, 0.72);
}

.hero-cloud span.is-unused {
  display: none;
}

.hero-cloud span:nth-child(4n + 2) {
  background: rgba(241, 221, 103, 0.58);
}

.hero-cloud span:nth-child(4n + 3) {
  background: rgba(168, 221, 206, 0.58);
}

.hero-cloud span:nth-child(4n) {
  background: rgba(203, 216, 255, 0.72);
}

.hero-cloud span.is-reacting {
  border-color: rgba(49, 87, 213, 0.52);
  background: rgba(255, 254, 249, 0.86);
  color: var(--ink);
}

.hero-figure {
  position: absolute;
  top: clamp(78px, 8svh, 100px);
  left: 68%;
  z-index: 3;
  width: min(430px, 36vw);
  height: min(88svh, 780px);
  pointer-events: none;
  opacity: 1;
  filter: saturate(0.9) contrast(1.03);
  transform: translateX(-50%);
}

.hero-portrait {
  position: absolute;
  inset: 0 0 auto;
  height: 74%;
  overflow: hidden;
}

.hero-figure img {
  display: block;
  width: 68%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
}

.hero-nameplate {
  position: absolute;
  top: 68%;
  left: 50%;
  z-index: 2;
  padding: 0.05em 0.24em 0.1em;
  border: 3px solid var(--ink);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--lemon);
  color: var(--paper-bright);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%) rotate(-2deg);
}

.hero-copy {
  position: absolute;
  top: clamp(280px, 42%, 390px);
  left: max(32px, calc((100vw - 1180px) / 2));
  z-index: 5;
  width: min(620px, 48vw);
  opacity: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cobalt);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

h1 {
  max-width: 610px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 4.6vw, 4.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.hero-copy p:not(.eyebrow) {
  width: min(550px, 100%);
  margin-bottom: 0;
  color: #353b49;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 600;
}

.section-panel {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(88px, 10vw, 136px) 0;
}

.section-heading {
  text-align: center;
}

.section-heading.compact {
  width: min(850px, 100%);
  margin: 0 auto 42px;
}

.work {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  margin-top: -55svh;
  isolation: isolate;
  color: var(--paper-bright);
}

.work::before {
  position: absolute;
  inset: 0 calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  z-index: -1;
  content: "";
  background: var(--ink);
}

.work .eyebrow {
  color: var(--lemon);
}

.work-intro h2 {
  max-width: 540px;
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
}

.work-intro p:not(.eyebrow) {
  max-width: 500px;
  color: #c9ced8;
  font-size: 1.04rem;
}

.showcase {
  position: relative;
  min-height: min(620px, 72vh);
  overflow: hidden;
  border: 2px solid var(--paper-bright);
  border-radius: 6px;
  background: var(--mint);
  box-shadow: 10px 10px 0 var(--cobalt);
  color: var(--ink);
}

.showcase-viewport,
.showcase-slide {
  position: absolute;
  inset: 0;
}

.showcase-slide {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(28px, 5vw, 58px) clamp(28px, 5vw, 58px) clamp(96px, 8vw, 112px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  visibility: hidden;
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-slide:nth-child(2) {
  background: var(--cobalt-soft);
}

.showcase-slide:nth-child(3) {
  background: var(--lemon);
}

.showcase-slide:nth-child(4) {
  background: #ffd5cb;
}

.showcase-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  visibility: visible;
}

.showcase-slide::before {
  position: absolute;
  top: 20px;
  right: 28px;
  content: "01";
  color: rgba(21, 24, 33, 0.14);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 1;
}

.showcase-slide:nth-child(2)::before {
  content: "02";
}

.showcase-slide:nth-child(3)::before {
  content: "03";
}

.showcase-slide:nth-child(4)::before {
  content: "04";
}

.showcase-slide span {
  width: fit-content;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.showcase-slide strong {
  max-width: 600px;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.3rem, 4.3vw, 4.6rem);
  line-height: 0.98;
}

.showcase-slide p {
  max-width: 510px;
  margin: 0;
  color: #3e4450;
  font-weight: 650;
}

.showcase-arrow,
.review-arrow {
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--paper-bright);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

.showcase-arrow {
  position: absolute;
  top: auto;
  bottom: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.showcase-arrow.left {
  right: 80px;
  left: auto;
}

.showcase-arrow.right {
  right: 20px;
}

.reviews .eyebrow {
  color: var(--coral);
}

.review-heading h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.review-carousel {
  width: min(900px, 100%);
  margin: 0 auto;
}

.review-viewport {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.review-slide {
  position: relative;
  display: flex;
  min-width: 100%;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(30px, 5vw, 54px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-left: 12px solid var(--coral);
  border-radius: 6px;
  background: var(--paper-bright);
  box-shadow: 8px 8px 0 var(--lemon);
}

.review-slide::after {
  position: absolute;
  top: -0.32em;
  right: 20px;
  content: "“";
  color: var(--cobalt-soft);
  font-family: Georgia, serif;
  font-size: 11rem;
  line-height: 1;
}

blockquote {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 0 22px;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  font-weight: 900;
  line-height: 1.14;
}

figcaption {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-controls {
  display: grid;
  width: min(250px, 100%);
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  justify-items: center;
  margin: 24px auto 0;
}

.review-arrow {
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
}

.review-dots {
  display: flex;
  gap: 7px;
}

.review-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.review-dot[aria-selected="true"] {
  width: 26px;
  background: var(--cobalt);
}

.tariffs {
  isolation: isolate;
}

.tariffs::before {
  position: absolute;
  inset: 0 calc((100vw - min(1180px, calc(100vw - 32px))) / -2);
  z-index: -1;
  content: "";
  background: #ffd8cf;
}

.tariffs-heading h2 {
  margin-bottom: 0;
  font-size: clamp(4.6rem, 12vw, 10rem);
}

.tariffs-heading {
  margin-bottom: clamp(42px, 6vw, 72px);
}

.subject-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 42px;
  padding: 6px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-bright);
  box-shadow: 5px 5px 0 var(--ink);
}

.subject-tab {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.subject-tab:hover {
  background: var(--cobalt-soft);
}

.subject-tab.active {
  background: var(--cobalt);
  color: var(--paper-bright);
}

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

.tariff-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper-bright);
  box-shadow: 6px 6px 0 rgba(21, 24, 33, 0.2);
  color: var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.tariff-card:nth-child(2) {
  box-shadow: 6px 6px 0 var(--cobalt);
}

.tariff-card:nth-child(3) {
  box-shadow: 6px 6px 0 var(--lemon);
}

.tariff-card:nth-child(4) {
  box-shadow: 6px 6px 0 var(--mint);
}

.tariff-card:hover {
  transform: translateY(-4px);
}

.tariff-card.selected {
  background: #fff;
  box-shadow: 8px 8px 0 var(--cobalt);
  transform: translateY(-4px);
}

.tariff-select {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.tariff-top {
  display: grid;
  gap: 10px;
}

.tariff-label {
  color: var(--cobalt);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tariff-card h3 {
  margin: 0;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.02;
}

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

.price {
  display: block;
  margin: 20px 0 12px;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.tariff-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  list-style: none;
}

.tariff-card li::before {
  content: "+ ";
  color: var(--cobalt);
  font-weight: 900;
}

.duration-popover {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: none;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
}

.tariff-card.selected .duration-popover {
  display: flex;
}

.duration-popover button {
  flex: 1;
  min-height: 40px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: transparent;
  color: var(--paper-bright);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.duration-popover button.active {
  background: var(--lemon);
  color: var(--ink);
}

.consultation {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.consultation-button {
  min-width: min(300px, 100%);
  background: var(--cobalt) !important;
  box-shadow: 5px 5px 0 var(--ink) !important;
  text-transform: uppercase;
}

.faq {
  padding-bottom: clamp(48px, 7vw, 84px);
}

.faq .eyebrow {
  color: var(--coral);
}

.faq-grid {
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto;
  border-top: 2px solid var(--ink);
}

.faq-grid details {
  border-bottom: 2px solid var(--ink);
}

.faq-grid summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

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

.faq-grid summary::after {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--lemon);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.faq-grid details[open] summary::after {
  background: var(--mint);
  content: "−";
}

.faq-grid p {
  max-width: 740px;
  margin: 0;
  padding: 0 8px 22px;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
}

.footer span {
  color: var(--ink);
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}

.cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-button {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  cursor: pointer;
}

.cart-icon {
  position: relative;
  display: block;
  width: 25px;
  height: 21px;
  border: 3px solid currentColor;
  border-radius: 3px;
  font-size: 0;
}

.cart-icon::before {
  position: absolute;
  top: -10px;
  left: 5px;
  width: 10px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  content: "";
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--lemon);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 48px));
  max-height: 460px;
  padding: 14px;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: rgba(255, 254, 249, 0.94);
  box-shadow: 7px 7px 0 var(--ink);
  backdrop-filter: blur(18px);
}

.cart-panel-head,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-panel-head {
  margin-bottom: 10px;
}

.cart-close,
.dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--lemon);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.3rem;
}

.cart-items {
  display: grid;
  gap: 8px;
}

.cart-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.cart-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item strong {
  display: block;
  color: var(--ink);
}

.cart-item em {
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.cart-empty {
  margin: 14px 0 4px;
  color: var(--muted);
}

.cart-submit {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--cobalt);
  color: var(--paper-bright);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.lead-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-bright);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
}

.lead-dialog::backdrop {
  background: rgba(21, 24, 33, 0.66);
  backdrop-filter: blur(4px);
}

.lead-form {
  display: grid;
  gap: 13px;
  padding: clamp(22px, 4vw, 32px);
}

.lead-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.lead-dialog-head .eyebrow {
  margin-bottom: 8px;
}

.lead-dialog h2 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3.3rem);
}

.lead-intro,
.lead-legal {
  margin: 0;
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 850;
}

.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  min-height: 78px;
  padding-block: 12px;
  resize: vertical;
}

.field-optional {
  color: var(--muted);
  font-weight: 650;
}

.consent-field {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 12px !important;
  color: var(--muted);
  font-size: 0.78rem !important;
  font-weight: 650 !important;
  line-height: 1.35;
}

.consent-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form .consent-toggle {
  position: relative;
  display: block;
  align-self: start;
  width: 46px;
  height: 26px;
  margin-top: 2px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #d9dbe0;
  box-shadow: 2px 2px 0 rgba(21, 24, 33, 0.2);
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.lead-form .consent-copy {
  display: block;
  gap: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.consent-toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-bright);
  content: "";
  transition: transform 160ms ease;
}

.consent-field input:checked + .consent-toggle {
  background: var(--cobalt);
  box-shadow: 2px 2px 0 var(--lemon);
}

.consent-field input:checked + .consent-toggle::after {
  transform: translateX(20px);
}

.consent-field input:focus-visible + .consent-toggle {
  outline: 3px solid var(--lemon);
  outline-offset: 4px;
}

.consent-copy a,
.cookie-copy a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead-selection {
  padding: 13px 14px;
  border: 2px solid var(--cobalt);
  border-radius: 5px;
  background: var(--cobalt-soft);
  color: #41495b;
  font-size: 0.9rem;
}

.lead-selection strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.lead-status {
  min-height: 1.5em;
  margin: 0;
  color: #23725e;
  font-weight: 850;
}

.lead-status.error {
  color: #b83b29;
}

.lead-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-legal {
  font-size: 0.74rem;
  line-height: 1.35;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  width: min(760px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 20px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 8px 8px 0 var(--ink);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.cookie-copy p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cookie-actions {
  display: grid;
  min-width: 210px;
  gap: 8px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

.cookie-button.necessary {
  background: var(--paper-bright);
  color: var(--ink);
}

.cookie-button.analytics {
  background: var(--cobalt);
  color: var(--paper-bright);
}

@media (max-width: 980px) {
  .hero-copy {
    top: 46%;
    left: 32px;
    width: min(540px, 54vw);
  }

  .hero-figure,
  .hero-halo {
    left: 76%;
  }

  .work {
    grid-template-columns: 1fr;
  }

  .work-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 36px;
  }

  .work-intro .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -10px;
  }

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

@media (max-width: 720px) {
  :root {
    --header-offset: 92px;
  }

  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 10px;
    padding-left: 14px;
  }

  .nav-links {
    display: none;
  }

  .topbar-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 150svh;
  }

  .hero-stage {
    position: sticky;
    height: 100svh;
    min-height: 620px;
  }

  .hero-stage::after {
    right: -0.02em;
    bottom: -0.05em;
    font-size: 28vw;
    writing-mode: vertical-rl;
  }

  .hero-halo {
    top: 76px;
    left: 50%;
    width: min(250px, 64vw);
    height: min(35svh, 295px);
  }

  .hero-figure {
    top: 74px;
    left: 50%;
    width: min(300px, 76vw);
    height: min(52svh, 440px);
  }

  .hero-nameplate {
    top: 64%;
    font-size: clamp(2.3rem, 12vw, 3.2rem);
    box-shadow: 4px 4px 0 var(--lemon);
  }

  .hero-portrait {
    height: 70%;
  }

  .hero-portrait img {
    width: 57%;
  }

  .hero-cloud span {
    max-width: 126px;
    min-height: 25px;
    padding: 4px 7px;
    font-size: 0.58rem;
  }

  .hero-cloud {
    display: none;
  }

  .hero-copy {
    top: max(390px, 50svh);
    left: 16px;
    width: calc(100vw - 32px);
    text-align: left;
  }

  h1 {
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 11vw, 3.1rem);
    line-height: 0.94;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 0;
    font-size: 0.94rem;
  }

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

  .work-intro {
    display: block;
  }

  .work {
    margin-top: -50svh;
  }

  .work-intro h2 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .showcase {
    min-height: 460px;
    box-shadow: 6px 6px 0 var(--cobalt);
  }

  .showcase-slide {
    padding: 26px 26px 92px;
  }

  .showcase-slide strong {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .showcase-slide p {
    max-width: 280px;
    font-size: 0.88rem;
  }

  .showcase-arrow {
    bottom: 18px;
  }

  .showcase-arrow.left {
    right: 76px;
    left: auto;
  }

  .showcase-arrow.right {
    right: 18px;
  }

  .review-slide {
    min-height: 300px;
    padding: 28px 24px;
    border-left-width: 8px;
    box-shadow: 5px 5px 0 var(--lemon);
  }

  .tariffs-heading h2 {
    font-size: clamp(3.9rem, 18.5vw, 5.2rem);
  }

  .tariffs-heading {
    margin-bottom: 32px;
  }

  .subject-tabs {
    width: 100%;
  }

  .subject-tab {
    flex: 1 1 calc(50% - 6px);
    padding: 0 8px;
    font-size: 0.9rem;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .tariff-card {
    min-height: 285px;
  }

  .faq-grid summary {
    min-height: 76px;
    padding: 0 2px;
  }

  .cart {
    right: 16px;
    bottom: 16px;
  }

  .cart-panel {
    width: min(380px, calc(100vw - 32px));
  }

  .cookie-banner {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .cookie-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .hero-figure {
    top: 66px;
  }

  .hero-halo {
    top: 70px;
  }

  .hero-copy {
    top: 350px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero-copy p:not(.eyebrow) {
    margin-bottom: 0;
    font-size: 0.82rem;
    line-height: 1.35;
  }
}

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