/* ==========================================================================
   ShiftUp — AI Automation Consulting
   Design system + page styles
   ========================================================================== */

:root {
  --ink: #0c0f0b;
  --ink-soft: #171b14;
  --ink-mid: #252b21;
  --paper: #f2f0e8;
  --paper-warm: #f8f6ef;
  --paper-deep: #e8e5da;
  --paper-card: #fbfaf5;
  --lime: #d7ff3f;
  --lime-deep: #bfe62f;
  --sage: #c5cbbd;
  --muted: #5f645a;
  --muted-dark: #a7ad9f;
  --line: rgba(12, 15, 11, 0.15);
  --line-strong: rgba(12, 15, 11, 0.28);
  --line-light: rgba(242, 240, 232, 0.14);

  --font-sans: "Anuphan", "Leelawadee UI", "Tahoma", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;

  --page-max: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 76px;
  --section-y: clamp(88px, 10vw, 148px);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

main {
  display: block;
}

img,
svg {
  display: block;
}

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

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

button {
  border: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.process :focus-visible,
.calculator :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--lime);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 13px;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   Shared type + controls
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 62px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.label-index {
  color: var(--ink);
}

.label-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.section-label--light {
  color: var(--muted-dark);
}

.section-label--light .label-index {
  color: var(--lime);
}

.section-label--light .label-line {
  background: var(--line-light);
}

.section-label--dark {
  color: rgba(12, 15, 11, 0.68);
}

.section-label--dark .label-index {
  color: var(--ink);
}

.section-label--dark .label-line {
  background: rgba(12, 15, 11, 0.24);
}

.section-title {
  max-width: 930px;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-lede {
  max-width: 500px;
  color: var(--muted);
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.72;
}

.title-accent {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}

.title-accent::after {
  content: "";
  position: absolute;
  right: -0.04em;
  bottom: 0.04em;
  left: 0;
  z-index: -1;
  height: 0.28em;
  background: var(--lime);
  transform: skewX(-9deg);
}

.title-accent--lime {
  color: var(--lime);
}

.title-accent--lime::after {
  display: none;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(36px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(42px, 5.5vw, 70px);
}

.section-intro-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.28s var(--ease-out);
}

.text-link:hover {
  color: #465600;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--paper);
}

.text-link--light:hover {
  color: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 7px 7px 7px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  border-color: var(--ink-mid);
  background: var(--ink-mid);
}

.button--lime {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.button--lime:hover {
  border-color: var(--paper);
  background: var(--paper);
}

.button--small {
  min-height: 47px;
  padding: 5px 5px 5px 18px;
  gap: 12px;
  font-size: 12.5px;
}

.button--small .button-icon {
  width: 35px;
  height: 35px;
}

.button--block {
  width: 100%;
}

.button-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease;
}

.button-icon .icon {
  width: 17px;
  height: 17px;
}

.button:hover .button-icon {
  transform: rotate(45deg);
}

.button--lime .button-icon {
  background: var(--ink);
  color: var(--lime);
}

.status-dot,
.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
}

.status-dot {
  background: var(--ink);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--ink);
  transition: background-color 0.35s ease, color 0.3s ease, border-color 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: transparent;
  transition: background-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(242, 240, 232, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-max));
  height: var(--header-h);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease, color 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(3deg);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1;
}

.brand-word span {
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 2.1vw, 32px);
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(12, 15, 11, 0.68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 42px;
  padding: 4px 4px 4px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.25s ease;
}

.header-cta:hover {
  background: var(--ink-mid);
}

.header-cta-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  transition: transform 0.3s var(--ease-out);
}

.header-cta:hover .header-cta-icon {
  transform: rotate(45deg);
}

.header-cta-icon .icon {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle span:first-child {
  transform: translate(-50%, -6px);
}

.menu-toggle span:last-child {
  transform: translate(-50%, 5px);
}

body.menu-open .menu-toggle span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 44px) var(--gutter) 34px;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -30%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.16), transparent 65%);
  pointer-events: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.mobile-nav a span {
  width: 25px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 44px;
}

.mobile-menu-foot > p {
  margin-bottom: 15px;
  color: var(--muted-dark);
  font-size: 13px;
}

.mobile-menu-contact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: var(--muted-dark);
  font-family: var(--font-mono);
  font-size: 10px;
}

.mobile-menu-contact a {
  color: var(--paper);
}

body.menu-open .site-header {
  background: var(--ink);
  color: var(--paper);
}

body.menu-open .site-header::after {
  background: var(--line-light);
}

body.menu-open .brand-mark {
  background: var(--lime);
  color: var(--ink);
}

body.menu-open .menu-toggle {
  border-color: var(--line-light);
}

body.menu-open .header-cta {
  visibility: hidden;
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(46px, 6.2vw, 88px));
  padding-bottom: clamp(76px, 8vw, 114px);
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -9%;
  width: min(55vw, 790px);
  height: min(55vw, 790px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.4), rgba(215, 255, 63, 0) 68%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 15, 11, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 15, 11, 0.055) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(400px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 790px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--ink);
}

.eyebrow-sep {
  color: var(--line-strong);
}

.eyebrow-muted {
  color: var(--muted);
}

.hero-title {
  max-width: 800px;
  margin-top: clamp(22px, 2.8vw, 36px);
  font-size: clamp(54px, 6.85vw, 100px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

.title-line {
  display: block;
}

.marker {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: 0.055em;
  white-space: nowrap;
}

.marker::before {
  content: "";
  position: absolute;
  inset: 12% -0.035em 6%;
  z-index: -1;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(-1.4deg);
}

.hero-lede {
  max-width: 590px;
  margin-top: clamp(26px, 3vw, 36px);
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 2.8vw, 34px);
  margin-top: clamp(28px, 3.4vw, 40px);
}

.hero-secondary {
  border-bottom-color: var(--line-strong);
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(28px, 3.5vw, 40px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-proof .icon {
  width: 13px;
  height: 13px;
  color: var(--ink);
}

.js .hero-title {
  opacity: 0;
  animation: heroTitleIn 0.95s var(--ease-out) 0.06s forwards;
}

.js .hero-visual {
  opacity: 0;
  animation: heroVisualIn 1s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow {
  --delay: 0.02s;
}

.hero-lede {
  --delay: 0.1s;
}

.hero-actions {
  --delay: 0.16s;
}

.hero-proof {
  --delay: 0.22s;
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero workflow panel */

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 535px;
  justify-self: end;
  padding-top: 12px;
}

.hero-disc {
  position: absolute;
  top: -46px;
  right: -66px;
  z-index: 0;
  display: grid;
  width: clamp(230px, 25vw, 340px);
  height: clamp(230px, 25vw, 340px);
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.hero-disc::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(12, 15, 11, 0.34);
  border-radius: 50%;
}

.hero-disc svg {
  width: 37%;
  height: 37%;
  transform: translate(-9%, 9%);
}

.console {
  position: relative;
  z-index: 2;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(242, 240, 232, 0.12);
  border-radius: var(--radius-l);
  background:
    radial-gradient(circle at 105% -10%, rgba(215, 255, 63, 0.16), transparent 38%),
    var(--ink);
  color: var(--paper);
  box-shadow: 0 42px 80px -38px rgba(12, 15, 11, 0.68);
}

.console::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(242, 240, 232, 0.08) 0.7px, transparent 0.7px);
  background-size: 10px 10px;
  opacity: 0.25;
  pointer-events: none;
}

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

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(242, 240, 232, 0.12);
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(242, 240, 232, 0.7);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.console-brand-mark {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 5px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(242, 240, 232, 0.16);
  border-radius: 999px;
  color: rgba(242, 240, 232, 0.56);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.console-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.2s ease-in-out infinite;
}

.console-workflow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 15px;
}

.console-workflow-head p {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.console-workflow-head h2 {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.console-dots {
  color: rgba(242, 240, 232, 0.35);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
}

.console-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}

.console-metrics > div {
  padding: 9px 10px;
  border: 1px solid rgba(242, 240, 232, 0.1);
  border-radius: 9px;
  background: rgba(242, 240, 232, 0.035);
}

.console-metrics span {
  display: block;
  color: rgba(242, 240, 232, 0.48);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.console-metrics strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.console-metrics small {
  margin-left: 5px;
  color: rgba(242, 240, 232, 0.45);
  font-family: var(--font-mono);
  font-size: 8px;
}

.console-metrics .positive {
  color: var(--lime);
}

.workflow {
  margin-top: 9px;
}

.flow-node {
  position: relative;
  border-radius: 9px;
}

.flow-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(242, 240, 232, 0.12);
  background: rgba(242, 240, 232, 0.045);
}

.node-glyph {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
}

.node-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.node-label {
  color: rgba(242, 240, 232, 0.4);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.node-copy strong,
.flow-sales strong,
.flow-nurture strong {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
}

.node-copy > span:last-child,
.flow-sales > span:last-of-type,
.flow-nurture > span:last-of-type {
  color: rgba(242, 240, 232, 0.5);
  font-size: 8.5px;
  line-height: 1.45;
}

.node-pill {
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid rgba(215, 255, 63, 0.25);
  border-radius: 999px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.flow-connector {
  position: relative;
  height: 17px;
}

.flow-connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(215, 255, 63, 0.38);
}

.flow-connector::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: calc(50% - 2.5px);
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
  transform: rotate(45deg);
}

.flow-connector span {
  position: absolute;
  top: 0;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
  animation: signalDown 2.4s ease-in-out infinite;
}

.flow-ai {
  padding: 11px;
  background: var(--lime);
  color: var(--ink);
}

.flow-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(12, 15, 11, 0.62);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.flow-ai-head > span:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

.flow-ai-head .icon {
  width: 8px;
  height: 8px;
}

.node-running {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(12, 15, 11, 0.24);
  border-radius: 999px;
  color: var(--ink);
  font-size: 6px;
}

.node-running i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.4s ease-in-out infinite;
}

.ai-result {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
}

.ai-score {
  display: flex;
  align-items: baseline;
  flex: none;
  gap: 2px;
}

.ai-score strong {
  font-family: var(--font-display);
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.ai-score span {
  font-family: var(--font-mono);
  font-size: 6.5px;
  opacity: 0.55;
}

.ai-summary {
  padding-left: 11px;
  border-left: 1px solid rgba(12, 15, 11, 0.2);
}

.ai-summary strong {
  font-size: 11.5px;
  font-weight: 600;
}

.ai-summary p {
  margin-top: 2px;
  color: rgba(12, 15, 11, 0.66);
  font-size: 8.5px;
  line-height: 1.45;
}

.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.ai-tags span {
  padding: 2px 5px;
  border: 1px solid rgba(12, 15, 11, 0.17);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.flow-split {
  position: relative;
  height: 16px;
}

.flow-split::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 7px;
  background: rgba(242, 240, 232, 0.23);
}

.flow-split::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 25%;
  left: 25%;
  height: 1px;
  background: rgba(242, 240, 232, 0.23);
}

.flow-split span {
  position: absolute;
  top: 7px;
  width: 1px;
  height: 9px;
  background: rgba(242, 240, 232, 0.23);
}

.flow-split span:first-child {
  left: 25%;
}

.flow-split span:last-child {
  right: 25%;
}

.flow-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.flow-sales,
.flow-nurture {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 10px;
  border: 1px solid rgba(242, 240, 232, 0.13);
  background: rgba(242, 240, 232, 0.04);
}

.outcome-dot {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.flow-sales .node-label {
  padding-right: 12px;
  color: var(--lime);
}

.flow-nurture .node-label {
  padding-right: 12px;
  color: rgba(242, 240, 232, 0.4);
}

.console-log {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(242, 240, 232, 0.09);
  border-radius: 7px;
  background: rgba(242, 240, 232, 0.035);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1.4;
}

.console-log p {
  min-width: 0;
  overflow: hidden;
  color: rgba(242, 240, 232, 0.64);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-pulse {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

.log-time {
  flex: none;
  color: rgba(242, 240, 232, 0.36);
}

.log-check {
  display: grid;
  width: 14px;
  height: 14px;
  flex: none;
  margin-left: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
}

.log-check .icon {
  width: 9px;
  height: 9px;
}

.floating-kpi {
  position: absolute;
  bottom: -27px;
  left: -29px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  padding: 12px 15px 12px 12px;
  border: 1px solid rgba(12, 15, 11, 0.15);
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 20px 42px -18px rgba(12, 15, 11, 0.55);
  animation: floatKpi 5.5s ease-in-out infinite;
}

.kpi-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

.kpi-icon .icon {
  width: 14px;
  height: 14px;
}

.floating-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.floating-kpi strong small {
  font-size: 10px;
  font-weight: 500;
}

.floating-kpi div > span {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.2;
}

.visual-note {
  position: absolute;
  right: 5px;
  bottom: -34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.visual-note-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes signalDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(13px);
  }
}

@keyframes floatKpi {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* --------------------------------------------------------------------------
   Ticker + integrations
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: marquee 34s linear infinite;
}

.ticker-group {
  display: flex;
  min-width: 100vw;
  align-items: center;
  justify-content: space-around;
  gap: clamp(30px, 4vw, 64px);
  padding-block: 17px;
  padding-right: clamp(30px, 4vw, 64px);
}

.ticker-group span {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  white-space: nowrap;
}

.ticker-group i {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

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

.integration-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

.integration-inner {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  min-height: 88px;
  padding-block: 19px;
}

.integration-label {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.integration-label span {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 0;
}

.tool-list span {
  padding-inline: 14px;
  border-right: 1px solid rgba(12, 15, 11, 0.18);
  color: rgba(12, 15, 11, 0.67);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

.tool-list span:first-child {
  padding-left: 0;
}

.tool-list span:last-child {
  border-right: 0;
  padding-right: 0;
}

/* --------------------------------------------------------------------------
   Problem
   -------------------------------------------------------------------------- */

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

.problem-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
  gap: clamp(36px, 9vw, 150px);
  align-items: end;
}

.problem-list {
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line-strong);
}

.problem-item {
  display: grid;
  grid-template-columns: 52px minmax(210px, 0.65fr) minmax(260px, 1fr) 26px;
  gap: clamp(16px, 3vw, 42px);
  align-items: center;
  padding: 23px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, padding 0.25s ease;
}

.problem-item:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.35);
}

.problem-num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.problem-item h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.problem-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.66;
}

.problem-mark {
  color: var(--line-strong);
  font-family: var(--font-display);
  font-size: 16px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.problem-item:hover .problem-mark {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.problem-manifesto {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
  margin-top: clamp(50px, 6vw, 76px);
  padding: 25px 28px;
  border-radius: var(--radius-m);
  background: var(--ink);
  color: var(--paper);
}

.manifesto-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.manifesto-icon .icon {
  width: 17px;
  height: 17px;
}

.problem-manifesto p {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.problem-manifesto p span {
  color: var(--lime);
}

.manifesto-label {
  color: rgba(242, 240, 232, 0.58);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 13px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 422px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.service-card--audit {
  grid-column: span 7;
  border-color: rgba(12, 15, 11, 0.17);
  background: var(--lime);
}

.service-card--automation {
  grid-column: span 5;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.service-card--deploy {
  grid-column: span 5;
  background: var(--paper-card);
}

.service-card--aftercare {
  grid-column: span 7;
  background: var(--paper-deep);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.service-card--audit .service-num {
  color: rgba(12, 15, 11, 0.74);
}

.service-card--automation .service-num {
  color: rgba(242, 240, 232, 0.58);
}

.service-tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.service-tag--line,
.service-tag--ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.service-tag--ghost {
  border-color: rgba(242, 240, 232, 0.18);
  color: rgba(242, 240, 232, 0.54);
}

.service-card-main {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 22px;
  margin-top: 26px;
}

.service-copy {
  min-width: 0;
}

.service-copy h3 {
  font-size: clamp(29px, 2.9vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.service-copy > p {
  max-width: 440px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.service-card--audit .service-copy > p {
  color: rgba(12, 15, 11, 0.67);
}

.service-card--automation .service-copy > p {
  color: rgba(242, 240, 232, 0.58);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
  margin-top: 23px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.check-list .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
}

.service-card--audit .check-list .icon {
  color: var(--ink);
}

.opportunity-matrix {
  position: relative;
  width: 172px;
  flex: none;
  align-self: flex-end;
  padding: 18px 6px 18px 16px;
}

.matrix-label-y,
.matrix-label-x {
  position: absolute;
  color: rgba(12, 15, 11, 0.7);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.07em;
}

.matrix-label-y {
  top: -2px;
  left: 0;
  transform: rotate(-90deg);
  transform-origin: left top;
}

.matrix-label-x {
  right: 7px;
  bottom: 2px;
}

.matrix-plot {
  position: relative;
  width: 100%;
  height: 124px;
  border: 1px solid rgba(12, 15, 11, 0.2);
  background-image:
    linear-gradient(to right, rgba(12, 15, 11, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 15, 11, 0.12) 1px, transparent 1px);
  background-size: 50% 50%;
}

.matrix-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(12, 15, 11, 0.12);
}

.matrix-dot::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
}

.dot-a {
  top: 56%;
  left: 20%;
}

.dot-b {
  top: 34%;
  left: 50%;
}

.dot-c {
  top: 69%;
  left: 36%;
}

.dot-d {
  top: 75%;
  left: 64%;
}

.dot-e {
  top: 27%;
  left: 76%;
}

.matrix-dot.dot-focus {
  top: 17%;
  left: 71%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(12, 15, 11, 0.12);
}

.matrix-dot.dot-focus::after {
  display: none;
}

.matrix-dot.dot-focus::before {
  content: "QUICK WIN";
  position: absolute;
  right: 0;
  bottom: calc(100% + 7px);
  width: max-content;
  padding: 2px 4px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.service-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 15, 11, 0.16);
}

.service-card-foot > span {
  max-width: 290px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.service-card--audit .service-card-foot > span {
  color: rgba(12, 15, 11, 0.66);
}

.service-card--automation .service-card-foot {
  border-color: rgba(242, 240, 232, 0.13);
}

.service-card--automation .service-card-foot > span {
  color: rgba(242, 240, 232, 0.56);
}

.service-link {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 5px;
  padding: 0 0 2px;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: gap 0.25s ease;
}

.service-link .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease-out);
}

.service-link:hover {
  gap: 8px;
}

.service-link:hover .icon {
  transform: rotate(45deg);
}

.service-card--automation .service-copy h3 {
  font-size: clamp(32px, 3.2vw, 46px);
}

.mini-pipe {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 28px 0 20px;
  padding: 11px;
  border: 1px solid rgba(242, 240, 232, 0.13);
  border-radius: 9px;
  background: rgba(242, 240, 232, 0.035);
}

.mini-pipe span {
  padding: 5px 8px;
  border: 1px solid rgba(242, 240, 232, 0.19);
  border-radius: 5px;
  color: rgba(242, 240, 232, 0.68);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.mini-pipe span:nth-of-type(2) {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.mini-pipe i {
  position: relative;
  height: 1px;
  flex: 1;
  background: rgba(242, 240, 232, 0.18);
}

.mini-pipe i::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  animation: pipeFlow 2.8s linear infinite;
}

.mini-pipe i:nth-of-type(2)::after {
  animation-delay: 0.8s;
}

@keyframes pipeFlow {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(60px);
  }
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.service-chips li {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.4;
}

.service-card--automation .service-chips {
  margin-top: auto;
}

.service-card--automation .service-chips li {
  border-color: rgba(242, 240, 232, 0.15);
  color: rgba(242, 240, 232, 0.5);
}

.modal-terminal {
  margin: 22px 0 18px;
  overflow: hidden;
  border: 1px solid rgba(12, 15, 11, 0.16);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}

.modal-terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(242, 240, 232, 0.12);
  color: rgba(242, 240, 232, 0.58);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
}

.modal-terminal-head > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-terminal-head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.2s ease-in-out infinite;
}

.modal-terminal-head > span:last-child {
  color: var(--lime);
  font-size: 5.8px;
}

.modal-terminal-body {
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.8;
}

.modal-terminal-body p {
  overflow: hidden;
  color: rgba(242, 240, 232, 0.64);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-prompt,
.term-ok {
  margin-right: 5px;
  color: var(--lime);
}

.term-url {
  padding-left: 14px;
  color: rgba(242, 240, 232, 0.56) !important;
}

.service-card--deploy .service-card-foot,
.service-card--aftercare .service-card-foot {
  margin-top: auto;
}

.service-enablement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: start;
  margin-top: 26px;
}

.enablement-list {
  border-top: 1px solid var(--line);
}

.enablement-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.enablement-list span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.enablement-list strong {
  font-size: 12px;
  font-weight: 500;
}

.service-card--aftercare .service-card-main {
  display: block;
}

.services-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.services-foot p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.services-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
}

.services-foot a .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out);
}

.services-foot a:hover .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process {
  background: var(--ink);
  color: var(--paper);
}

.process::before {
  content: "";
  position: absolute;
  top: -200px;
  right: 0;
  width: min(560px, 100vw);
  height: min(560px, 100vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 63, 0.09), transparent 70%);
  pointer-events: none;
}

.process-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 240, 232, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 232, 0.05) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
}

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

.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: clamp(36px, 9vw, 160px);
  align-items: end;
}

.process-intro .section-lede {
  color: rgba(242, 240, 232, 0.54);
}

.process .section-title {
  color: var(--paper);
}

/* Bottleneck scroll story */

.bottleneck-story {
  position: relative;
  margin-top: clamp(46px, 6vw, 84px);
}

.bottleneck-sticky {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
}

.js .bottleneck-story {
  height: 260vh;
}

.js .bottleneck-sticky {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  height: clamp(560px, calc(100svh - var(--header-h) - 44px), 820px);
}

.flow-wiring {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-wiring path,
.flow-wiring circle {
  vector-effect: non-scaling-stroke;
}

.wire-base {
  fill: none;
  stroke: rgba(242, 240, 232, 0.12);
  stroke-width: 1;
}

.wire-live {
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-width: 1.35;
  filter: drop-shadow(0 0 5px rgba(215, 255, 63, 0.5));
}

.wire-main {
  opacity: 0.25;
  transition: opacity 0.4s ease;
}

.wire-main.is-lit {
  opacity: 1;
  stroke-dasharray: 3 8;
  animation: wireFlow 1.4s linear infinite;
}

.wire-rail {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.wire-branch {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.25;
  transition: stroke-dashoffset 0.55s var(--ease-out), opacity 0.3s ease;
}

.wire-branch.is-lit {
  stroke-dashoffset: 0;
  opacity: 1;
}

.wire-dot {
  fill: var(--lime);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(215, 255, 63, 0.85));
  transition: opacity 0.25s ease;
}

.wire-dot.is-lit {
  opacity: 1;
}

.wire-junction {
  fill: var(--ink);
  stroke: var(--lime);
  stroke-width: 1.2;
}

@keyframes wireFlow {
  to {
    stroke-dashoffset: -22;
  }
}

.bottle-panel {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bottle-visual {
  position: relative;
  width: min(82%, 355px);
  isolation: isolate;
}

.bottle-halo {
  position: absolute;
  top: 7%;
  left: 6%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 255, 63, 0.16), transparent 63%),
    radial-gradient(circle at 50% 50%, rgba(242, 240, 232, 0.035), transparent 70%);
  filter: blur(7px);
}

.bottle-halo::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px dashed rgba(215, 255, 63, 0.17);
  border-radius: 50%;
  animation: haloSpin 48s linear infinite;
}

@keyframes haloSpin {
  to {
    transform: rotate(360deg);
  }
}

.bottle-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.42));
}

.bottle-outline {
  fill: rgba(242, 240, 232, 0.015);
  stroke: rgba(242, 240, 232, 0.83);
  stroke-width: 1.8;
}

.glass-line {
  fill: none;
  stroke: rgba(242, 240, 232, 0.18);
  stroke-width: 1;
}

.bottle-rim,
.bottle-lip {
  fill: none;
  stroke: rgba(242, 240, 232, 0.66);
  stroke-width: 1.2;
}

.bottle-fluid {
  transform: translateY(calc(var(--story-progress, 0) * 235px));
  will-change: transform;
}

.bottle-fluid rect {
  filter: drop-shadow(0 0 20px rgba(215, 255, 63, 0.22));
}

.fluid-surface {
  fill: none;
  stroke: #f2ffac;
  stroke-width: 1.5;
  opacity: 0.8;
}

.fluid-bubble {
  fill: rgba(12, 15, 11, 0.24);
  animation: bubbleRise 4s ease-in-out infinite;
}

.bubble-two {
  animation-delay: -1.3s;
}

.bubble-three {
  animation-delay: -2.4s;
}

@keyframes bubbleRise {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 0.55;
    transform: translateY(-11px);
  }
}

.bottle-mouth-bead {
  fill: var(--lime);
  filter: drop-shadow(0 0 8px rgba(215, 255, 63, 0.8));
  animation: pulse 2.1s ease-in-out infinite;
}

.bottleneck-tag {
  position: absolute;
  top: 74%;
  left: calc(50% + 68px);
  z-index: 3;
  padding: 7px 9px;
  border: 1px solid rgba(215, 255, 63, 0.34);
  border-radius: 5px;
  background: rgba(12, 15, 11, 0.9);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}

.bottleneck-tag i {
  position: absolute;
  top: 16px;
  right: calc(100% + 1px);
  width: 38px;
  height: 1px;
  border-top: 1px dashed rgba(215, 255, 63, 0.48);
}

.bottleneck-tag i::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.bottleneck-tag small {
  display: block;
  margin-top: 2px;
  color: rgba(242, 240, 232, 0.62);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
}

.bottle-caption {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin-top: 2px;
  text-align: center;
}

.bottle-caption p {
  color: rgba(242, 240, 232, 0.8);
  font-size: clamp(12px, 1.15vw, 14px);
  line-height: 1.55;
}

.bottle-caption > span {
  display: block;
  margin-top: 4px;
  color: rgba(242, 240, 232, 0.6);
  font-size: 9.5px;
  line-height: 1.5;
}

.story-progress {
  position: relative;
  z-index: 1;
  width: min(290px, 80%);
  margin-top: 22px;
}

.story-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(242, 240, 232, 0.58);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  line-height: 1.3;
}

.story-progress-head strong {
  color: var(--lime);
  font-size: 8px;
  font-weight: 500;
}

.story-progress-track {
  height: 2px;
  margin-top: 7px;
  overflow: hidden;
  background: rgba(242, 240, 232, 0.14);
}

.story-progress-track > span {
  display: block;
  width: calc(var(--story-progress, 0) * 100%);
  height: 100%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(215, 255, 63, 0.6);
}

.story-steps {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 690px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
}

.story-steps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(242, 240, 232, 0.14);
  color: rgba(242, 240, 232, 0.56);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.story-step-list {
  display: flex;
  flex-direction: column;
}

.story-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 17px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(242, 240, 232, 0.12);
  background-color: transparent;
  transition: background-color 0.35s ease;
}

.story-step.is-active {
  background-color: rgba(215, 255, 63, 0.055);
}

.story-node {
  position: relative;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  place-items: center;
  border: 1px solid rgba(242, 240, 232, 0.25);
  border-radius: 50%;
  color: rgba(242, 240, 232, 0.54);
  font-family: var(--font-mono);
  font-size: 7.5px;
  line-height: 1;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.story-step.is-done .story-node {
  border-color: rgba(215, 255, 63, 0.6);
  color: var(--lime);
}

.story-step.is-active .story-node {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 6px rgba(215, 255, 63, 0.08);
}

.story-step-body {
  min-width: 0;
  padding-top: 1px;
}

.story-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.story-step-en {
  color: rgba(242, 240, 232, 0.62);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.story-step.is-active .story-step-en {
  color: var(--lime);
}

.story-duration {
  padding: 3px 6px;
  border: 1px solid rgba(242, 240, 232, 0.18);
  border-radius: 999px;
  color: rgba(242, 240, 232, 0.58);
  font-family: var(--font-mono);
  font-size: 5.8px;
  line-height: 1.3;
  white-space: nowrap;
}

.story-step h3 {
  margin-top: 5px;
  color: rgba(242, 240, 232, 0.93);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.story-step.is-active h3 {
  color: var(--lime);
}

.story-step p:not(.story-output) {
  max-width: 540px;
  margin-top: 4px;
  color: rgba(242, 240, 232, 0.68);
  font-size: 11.5px;
  line-height: 1.58;
}

.story-step.is-active p:not(.story-output) {
  color: rgba(242, 240, 232, 0.82);
}

.story-output {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: rgba(242, 240, 232, 0.55);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.story-output span {
  padding: 2px 5px;
  border: 1px solid rgba(242, 240, 232, 0.18);
  border-radius: 999px;
  color: rgba(242, 240, 232, 0.55);
  font-size: 5.2px;
  line-height: 1.3;
}

.process-foot {
  margin-top: clamp(28px, 4vw, 52px);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  margin-top: clamp(46px, 6vw, 72px);
  padding-bottom: 58px;
}

.process-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(242, 240, 232, 0.14);
  border-radius: 15px;
  background: rgba(242, 240, 232, 0.045);
}

.process-card:nth-child(2) {
  margin-top: 18px;
}

.process-card:nth-child(3) {
  margin-top: 36px;
}

.process-card:nth-child(4) {
  margin-top: 54px;
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.process-num {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.process-duration {
  padding: 4px 7px;
  border: 1px solid rgba(242, 240, 232, 0.16);
  border-radius: 999px;
  color: rgba(242, 240, 232, 0.5);
  font-family: var(--font-mono);
  font-size: 6.5px;
  white-space: nowrap;
}

.process-en {
  margin-top: 40px;
  color: rgba(242, 240, 232, 0.36);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
}

.process-card h3 {
  margin-top: 7px;
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.process-card > p {
  margin-top: 12px;
  color: rgba(242, 240, 232, 0.54);
  font-size: 12.5px;
  line-height: 1.7;
}

.process-deliverable {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(242, 240, 232, 0.12);
}

.process-deliverable span {
  display: block;
  margin-bottom: 5px;
  color: rgba(242, 240, 232, 0.33);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
}

.process-deliverable strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.process-card--highlight {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.process-card--highlight .process-num {
  color: rgba(12, 15, 11, 0.6);
}

.process-card--highlight .process-duration {
  border-color: rgba(12, 15, 11, 0.25);
  color: rgba(12, 15, 11, 0.65);
}

.process-card--highlight .process-en {
  color: rgba(12, 15, 11, 0.5);
}

.process-card--highlight > p {
  color: rgba(12, 15, 11, 0.68);
}

.process-card--highlight .process-deliverable {
  border-color: rgba(12, 15, 11, 0.22);
}

.process-card--highlight .process-deliverable span {
  color: rgba(12, 15, 11, 0.48);
}

.process-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.process-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 25px;
}

.process-foot li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(242, 240, 232, 0.58);
  font-size: 11px;
}

.process-foot li .icon {
  width: 11px;
  height: 11px;
  color: var(--lime);
}

.process-foot .text-link {
  flex: none;
  color: var(--paper);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Why ShiftUp
   -------------------------------------------------------------------------- */

.why {
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(45px, 9vw, 140px);
  align-items: start;
}

.why-intro .section-title {
  max-width: 620px;
}

.why-intro .section-lede {
  max-width: 440px;
  margin-top: 27px;
}

.why-sticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 11px 18px 11px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-2deg);
}

.why-sticker .icon {
  width: 21px;
  height: 21px;
  color: var(--lime);
}

.why-sticker span {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.principles {
  border-top: 1px solid var(--line-strong);
  padding-top: 2px;
}

.principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.principle-num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.principle p {
  max-width: 400px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.why-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  margin-top: clamp(58px, 7vw, 92px);
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-deep);
}

.quote-mark {
  align-self: start;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 84px;
  font-style: italic;
  line-height: 0.72;
}

.why-quote blockquote {
  font-size: clamp(22px, 2.7vw, 37px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.36;
  text-wrap: balance;
}

.why-quote blockquote span {
  display: inline;
  color: var(--muted);
}

.quote-label {
  align-self: end;
  max-width: 90px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Cases
   -------------------------------------------------------------------------- */

.cases {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.case-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(242, 240, 232, 0.34);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.case-tab:hover {
  border-color: var(--line-strong);
  background: rgba(242, 240, 232, 0.65);
}

.case-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.case-tab-num {
  align-self: start;
  padding-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.case-tab.is-active .case-tab-num {
  color: var(--lime);
}

.case-tab-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-tab-copy strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.case-tab-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.case-tab.is-active .case-tab-copy small {
  color: rgba(242, 240, 232, 0.48);
}

.case-tab > .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform 0.25s var(--ease-out), color 0.25s ease;
}

.case-tab.is-active > .icon {
  color: var(--lime);
}

.case-tab:hover > .icon {
  transform: translate(2px, -2px);
}

.case-stage {
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-card);
}

.case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 530px;
}

.case-panel[hidden] {
  display: none;
}

.case-panel.is-active {
  animation: panelIn 0.55s var(--ease-out) both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-content {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 48px);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-tags span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.06em;
}

.case-content h3 {
  margin-top: 22px;
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.case-problem {
  max-width: 470px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.case-flow {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.case-flow > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.case-flow span {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.case-flow p {
  font-size: 11.5px;
  line-height: 1.55;
}

.case-target {
  margin-top: auto;
  padding-top: 23px;
}

.case-target-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.case-target-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.case-target p {
  max-width: 450px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
}

.case-score {
  display: flex;
  flex-direction: column;
  margin: 11px;
  padding: clamp(22px, 2.8vw, 32px);
  border-radius: 13px;
  background:
    radial-gradient(circle at 100% 0%, rgba(215, 255, 63, 0.13), transparent 38%),
    var(--ink);
  color: var(--paper);
}

.score-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(242, 240, 232, 0.4);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.07em;
}

.score-badge {
  padding: 4px 6px;
  border: 1px solid rgba(242, 240, 232, 0.17);
  border-radius: 999px;
  font-size: 5.5px;
}

.score-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 26px;
}

.score-label {
  color: rgba(242, 240, 232, 0.44);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.score-number {
  display: flex;
  align-items: baseline;
  margin-top: 4px;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(58px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.score-number small {
  margin-left: 9px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.score-prefix {
  margin-right: 4px;
  font-size: 0.55em;
  font-weight: 400;
}

.score-progress {
  position: relative;
  height: 4px;
  margin-top: 29px;
  border-radius: 999px;
  background: rgba(242, 240, 232, 0.15);
}

.score-progress span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.score-progress i {
  position: absolute;
  top: 10px;
  left: 0;
  color: rgba(242, 240, 232, 0.33);
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-style: normal;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 31px;
  border-top: 1px solid rgba(242, 240, 232, 0.13);
}

.score-grid > div {
  padding-top: 14px;
}

.score-grid > div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(242, 240, 232, 0.13);
}

.score-grid span {
  display: block;
  color: rgba(242, 240, 232, 0.38);
  font-family: var(--font-mono);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.score-grid strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.score-grid strong small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.score-grid p {
  margin-top: 4px;
  color: rgba(242, 240, 232, 0.42);
  font-size: 8px;
  line-height: 1.3;
}

.score-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 17px;
  color: rgba(242, 240, 232, 0.3);
  font-family: var(--font-mono);
  font-size: 5.5px;
  line-height: 1.4;
}

.score-foot span {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: rgba(242, 240, 232, 0.35);
}

.case-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 720px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.case-disclaimer .icon {
  width: 11px;
  height: 11px;
  margin-top: 2px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */

.calculator {
  overflow: hidden;
  background: #10130e;
  color: var(--paper);
}

.calc-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 240, 232, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 232, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}

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

.calculator-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(36px, 9vw, 150px);
  align-items: end;
}

.calculator-intro .section-title {
  color: var(--paper);
}

.calculator-intro .section-lede {
  color: rgba(242, 240, 232, 0.55);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 13px;
  margin-top: clamp(44px, 5vw, 64px);
}

.calc-controls {
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid rgba(242, 240, 232, 0.14);
  border-radius: var(--radius-m);
  background: rgba(242, 240, 232, 0.035);
}

.calc-control + .calc-control {
  margin-top: 21px;
  padding-top: 21px;
  border-top: 1px solid rgba(242, 240, 232, 0.11);
}

.calc-control-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.calc-control label {
  color: rgba(242, 240, 232, 0.72);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.calc-control output {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

input[type="range"] {
  --range-progress: 50%;
  width: 100%;
  height: 26px;
  margin: 12px 0 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--lime) 0 var(--range-progress), rgba(242, 240, 232, 0.16) var(--range-progress) 100%);
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(242, 240, 232, 0.16);
}

input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--lime);
}

input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  appearance: none;
  -webkit-appearance: none;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
  transition: transform 0.2s ease;
}

input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}

input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.1);
}

input[type="range"]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

.calc-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  color: rgba(242, 240, 232, 0.28);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.03em;
}

.calc-assumption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  padding: 13px;
  border: 1px dashed rgba(215, 255, 63, 0.25);
  border-radius: 9px;
  background: rgba(215, 255, 63, 0.04);
}

.assumption-badge {
  display: flex;
  width: 50px;
  height: 50px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  line-height: 1;
}

.assumption-badge .icon {
  width: 9px;
  height: 9px;
  margin-bottom: 2px;
}

.assumption-badge span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.calc-assumption p {
  color: rgba(242, 240, 232, 0.43);
  font-size: 9.5px;
  line-height: 1.6;
}

.calc-assumption strong {
  color: rgba(242, 240, 232, 0.68);
  font-weight: 500;
}

.calc-result {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-m);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.45), transparent 34%),
    var(--lime);
  color: var(--ink);
}

.calc-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.calc-result-tag {
  padding: 4px 7px;
  border: 1px solid rgba(12, 15, 11, 0.22);
  border-radius: 999px;
  font-size: 6.5px;
  letter-spacing: 0.03em;
}

.calc-result-label {
  margin-top: clamp(28px, 4vw, 46px);
  color: rgba(12, 15, 11, 0.62);
  font-size: 12.5px;
}

.calc-result-value {
  display: flex;
  align-items: baseline;
  margin-top: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-result-value .currency {
  margin-right: 4px;
  font-size: clamp(22px, 2.3vw, 31px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.calc-result-value strong {
  font-size: clamp(51px, 5.3vw, 78px);
  font-weight: 600;
  line-height: 0.95;
}

.calc-result-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(12, 15, 11, 0.18);
}

.calc-result-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.calc-result-meta span {
  display: block;
  margin-top: 4px;
  color: rgba(12, 15, 11, 0.55);
  font-size: 8.5px;
  line-height: 1.4;
}

.calc-meter {
  height: 4px;
  margin-top: 21px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(12, 15, 11, 0.17);
}

.calc-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.calc-result-foot {
  margin-top: auto;
  padding-top: 21px;
}

.calc-result-foot p {
  margin-bottom: 15px;
  color: rgba(12, 15, 11, 0.5);
  font-size: 8.5px;
  line-height: 1.5;
}

.calc-result .button--dark {
  width: 100%;
}

.calc-result .button-icon {
  background: var(--lime);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 9vw, 150px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.faq-intro .section-lede {
  max-width: 360px;
  margin-top: 25px;
}

.faq-mail {
  margin-top: 26px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: start;
  width: 100%;
  padding: 21px 0;
  background: none;
  font-size: clamp(15px, 1.35vw, 17.5px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #465600;
}

.faq-index {
  padding-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.faq-toggle {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.faq-toggle::before {
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-toggle {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.faq-item.is-open .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}

.js .faq-answer {
  grid-template-rows: 0fr;
}

.js .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  max-width: 650px;
  padding: 0 38px 23px 44px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  overflow: hidden;
  background: var(--lime);
  color: var(--ink);
}

.contact::before {
  content: "SHIFT";
  position: absolute;
  right: -0.06em;
  bottom: -0.22em;
  color: rgba(12, 15, 11, 0.045);
  font-family: var(--font-display);
  font-size: clamp(220px, 34vw, 520px);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.8;
  pointer-events: none;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.contact-title {
  max-width: 660px;
  font-size: clamp(48px, 5.6vw, 80px);
  text-wrap: initial;
}

.contact-underline {
  position: relative;
  display: inline-block;
  z-index: 0;
  padding: 0.02em 0.12em 0.05em;
  background: var(--ink);
  color: var(--lime);
  transform: rotate(-1deg);
}

.contact-lede {
  max-width: 480px;
  margin-top: 28px;
  color: rgba(12, 15, 11, 0.67);
  font-size: 15px;
  line-height: 1.72;
}

.contact-details {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  border-top: 1px solid rgba(12, 15, 11, 0.24);
}

.contact-details > * {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(12, 15, 11, 0.24);
  font-size: 13.5px;
  font-weight: 500;
}

.contact-details span {
  color: rgba(12, 15, 11, 0.7);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.contact-details .icon {
  width: 14px;
  height: 14px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.contact-details a:hover .icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

.contact-promise {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 28px;
  padding: 9px 13px 9px 9px;
  border: 1px dashed rgba(12, 15, 11, 0.35);
  border-radius: 999px;
}

.contact-promise-badge {
  display: grid;
  width: 45px;
  height: 45px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-promise p {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-promise-note {
  padding-left: 12px;
  border-left: 1px solid rgba(12, 15, 11, 0.22);
  color: rgba(12, 15, 11, 0.7);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.4;
}

.contact-form-card {
  position: relative;
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--ink);
  border-radius: var(--radius-m);
  background: var(--paper-card);
  box-shadow: 13px 13px 0 rgba(12, 15, 11, 0.15);
}

.form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.form-head h3 {
  margin-top: 5px;
  font-size: clamp(24px, 2vw, 29px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.form-time {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  line-height: 1.3;
  white-space: nowrap;
}

.contact-form {
  margin-top: 20px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  margin-bottom: 13px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: rgba(12, 15, 11, 0.75);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.form-field label > span {
  color: var(--ink);
}

.form-field label .optional {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(12, 15, 11, 0.19);
  border-radius: 7px;
  background: #fffdf8;
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  height: 44px;
  padding: 0 12px;
}

.form-field textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9a9d93;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(12, 15, 11, 0.38);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 0;
  box-shadow: 0 0 0 4px rgba(215, 255, 63, 0.55);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  color: var(--ink);
  cursor: pointer;
}

.select-wrap select:invalid {
  color: #686d64;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 13px;
  height: 13px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.field-error {
  display: block;
  min-height: 0;
  color: #9e2d18;
  font-size: 10px;
  line-height: 1.4;
}

.field-error:not(:empty) {
  margin-top: 4px;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #9e2d18;
}

.form-consent {
  margin: 4px 0 13px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
  cursor: pointer;
}

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

.checkbox-ui {
  display: grid;
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  place-items: center;
  border: 1px solid rgba(12, 15, 11, 0.46);
  border-radius: 3px;
  background: #fffdf8;
  color: var(--lime);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checkbox-ui .icon {
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.checkbox input:checked + .checkbox-ui {
  border-color: var(--ink);
  background: var(--ink);
}

.checkbox input:checked + .checkbox-ui .icon {
  opacity: 1;
}

.checkbox input:focus-visible + .checkbox-ui {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.inline-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.contact-form.has-error .checkbox-ui {
  border-color: #9e2d18;
}

.button--form {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  padding-left: 20px;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.form-note .icon {
  width: 9px;
  height: 9px;
  margin-top: 1px;
  flex: none;
}

.form-success {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: center;
  padding-block: 20px;
}

.form-success[hidden] {
  display: none;
}

.success-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.success-icon .icon {
  width: 23px;
  height: 23px;
}

.form-success .form-kicker {
  margin-bottom: 6px;
}

.form-success h3 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.form-success > p:not(.form-kicker) {
  max-width: 430px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-success > p strong {
  color: var(--ink);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
}

.success-actions .text-link {
  gap: 6px;
}

.success-actions .text-link .icon {
  width: 14px;
  height: 14px;
}

.success-reset {
  align-self: flex-start;
  margin-top: 24px;
  padding: 0;
  border-bottom: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(62px, 7vw, 88px);
  padding-bottom: 22px;
  background: var(--ink);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.55fr);
  gap: clamp(40px, 8vw, 130px);
  padding-bottom: clamp(52px, 6vw, 76px);
}

.brand--footer {
  color: var(--paper);
}

.brand--footer .brand-mark {
  background: var(--lime);
  color: var(--ink);
}

.footer-brand > p {
  margin-top: 19px;
  color: rgba(242, 240, 232, 0.56);
  font-size: 14px;
  line-height: 1.65;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: rgba(242, 240, 232, 0.58);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.footer-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2.2s ease-in-out infinite;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: clamp(25px, 3.5vw, 50px);
}

.footer-heading {
  display: block;
  margin-bottom: 17px;
  color: rgba(242, 240, 232, 0.56);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: rgba(242, 240, 232, 0.66);
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-wordmark {
  display: flex;
  align-items: baseline;
  width: 100%;
  overflow: hidden;
  padding-bottom: 0.06em;
  border-bottom: 1px solid var(--line-light);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(76px, 19.3vw, 268px);
  font-weight: 700;
  letter-spacing: -0.095em;
  line-height: 0.76;
  white-space: nowrap;
}

.footer-wordmark span {
  color: var(--lime);
}

.footer-wordmark i {
  margin-left: 0.015em;
  color: var(--paper);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: rgba(242, 240, 232, 0.48);
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal button {
  padding: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: rgba(242, 240, 232, 0.5);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-legal button:hover {
  border-color: rgba(242, 240, 232, 0.4);
  color: var(--paper);
}

.back-to-top {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(242, 240, 232, 0.24);
  border-radius: 50%;
  background: none;
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.back-to-top .icon {
  width: 14px;
  height: 14px;
}

.back-to-top:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Dialog + toast
   -------------------------------------------------------------------------- */

.privacy-dialog {
  width: min(calc(100% - 32px), 580px);
  max-height: min(82dvh, 720px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.privacy-dialog::backdrop {
  background: rgba(12, 15, 11, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.privacy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 27px 20px;
  border-bottom: 1px solid var(--line);
}

.privacy-head h2 {
  margin-top: 4px;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.dialog-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dialog-close:hover {
  background: var(--ink);
  color: var(--paper);
}

.dialog-close .icon {
  width: 13px;
  height: 13px;
}

.privacy-body {
  max-height: calc(82dvh - 130px);
  padding: 24px 27px 28px;
  overflow-y: auto;
}

.privacy-body p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.privacy-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-updated {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-family: var(--font-mono);
  font-size: 7.5px !important;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 1200;
  max-width: calc(100% - 32px);
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 0.75s var(--ease-out),
    translate 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root {
    --header-h: 72px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(51px, 6.6vw, 83px);
  }

  .hero-disc {
    right: -40px;
    width: 260px;
    height: 260px;
  }

  .floating-kpi {
    left: -14px;
  }

  .desktop-nav {
    gap: 19px;
  }

  .opportunity-matrix {
    display: none;
  }

  .service-card--audit .service-card-main {
    display: block;
  }

  .service-card-main {
    gap: 15px;
  }

  .service-card-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .service-card-foot > span {
    max-width: 100%;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 0;
  }

  .process-card {
    min-height: 310px;
  }

  .process-card:nth-child(2) {
    margin-top: 18px;
  }

  .process-card:nth-child(3) {
    margin-top: 0;
  }

  .process-card:nth-child(4) {
    margin-top: 18px;
  }

  .case-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--header-h) + 62px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 72px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero-title {
    font-size: clamp(56px, 8.2vw, 92px);
  }

  .hero-lede {
    max-width: 610px;
  }

  .hero-visual {
    max-width: 600px;
    margin-inline: auto;
    justify-self: center;
  }

  .console {
    padding: 20px;
  }

  .console-workflow-head h2 {
    font-size: 25px;
  }

  .flow-trigger,
  .flow-sales,
  .flow-nurture {
    padding: 11px 12px;
  }

  .flow-ai {
    padding: 14px;
  }

  .ai-score strong {
    font-size: 42px;
  }

  .ai-summary strong {
    font-size: 12px;
  }

  .ai-summary p {
    font-size: 9px;
  }

  .node-copy strong,
  .flow-sales strong,
  .flow-nurture strong {
    font-size: 12px;
  }

  .node-copy > span:last-child,
  .flow-sales > span:last-of-type,
  .flow-nurture > span:last-of-type {
    font-size: 8.5px;
  }

  .console-log {
    font-size: 7.5px;
  }

  .hero-disc {
    top: -36px;
    right: -20px;
    width: 300px;
    height: 300px;
  }

  .integration-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 21px;
  }

  .integration-label span {
    display: inline;
    margin-right: 6px;
    margin-bottom: 0;
  }

  .problem-intro,
  .section-intro,
  .process-intro,
  .calculator-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .section-lede {
    max-width: 600px;
  }

  .section-intro {
    margin-bottom: 40px;
  }

  .section-intro-side {
    gap: 17px;
  }

  .problem-item {
    grid-template-columns: 42px minmax(180px, 0.75fr) minmax(220px, 1fr) 18px;
    gap: 16px;
    padding-block: 19px;
  }

  .problem-item h3 {
    font-size: 18px;
  }

  .problem-item p {
    font-size: 12.5px;
  }

  .service-card--audit {
    grid-column: span 12;
  }

  .service-card--automation,
  .service-card--deploy {
    grid-column: span 6;
  }

  .service-card--aftercare {
    grid-column: span 12;
  }

  .service-card {
    min-height: 390px;
  }

  .service-enablement-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }

  .why-intro .section-lede {
    margin-top: 22px;
  }

  .principles {
    max-width: 750px;
  }

  .why-quote {
    grid-template-columns: auto 1fr;
  }

  .quote-label {
    display: none;
  }

  .case-tab {
    padding: 12px;
    gap: 9px;
  }

  .case-tab-copy strong {
    font-size: 11.5px;
  }

  .case-tab-copy small {
    font-size: 9px;
  }

  .case-tab > .icon {
    display: none;
  }

  .case-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-content {
    padding-bottom: 32px;
  }

  .case-score {
    min-height: 310px;
  }

  .score-hero {
    padding-block: 25px;
  }

  .score-number {
    font-size: 72px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .section-lede {
    max-width: 560px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-intro {
    max-width: 680px;
  }

  .contact-form-card {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 50px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1.2fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
    --section-y: 78px;
    --gutter: 20px;
  }

  .site-header.is-scrolled {
    background: rgba(242, 240, 232, 0.94);
  }

  .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }

  .brand-mark svg {
    width: 18px;
    height: 18px;
  }

  .brand-word {
    font-size: 20px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 43px);
    padding-bottom: 74px;
  }

  .hero-title {
    margin-top: 23px;
    font-size: clamp(40px, 13.2vw, 70px);
    line-height: 1.035;
    letter-spacing: -0.06em;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    row-gap: 5px;
    line-height: 1.5;
  }

  .hero-eyebrow > span {
    white-space: nowrap;
  }

  .title-line {
    white-space: nowrap;
  }

  .hero-lede {
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 27px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 310px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 26px;
    font-size: 11px;
  }

  .hero-inner {
    gap: 68px;
  }

  .hero-visual {
    width: calc(100% + 2px);
    max-width: 100%;
    padding-top: 0;
  }

  .hero-disc {
    top: -27px;
    right: -34px;
    width: 220px;
    height: 220px;
  }

  .console {
    padding: 13px;
    border-radius: 17px;
  }

  .console-head {
    padding-bottom: 10px;
  }

  .console-workflow-head {
    margin-top: 12px;
  }

  .console-workflow-head h2 {
    font-size: 20px;
  }

  .console-metrics {
    margin-top: 11px;
  }

  .console-metrics > div {
    padding: 8px;
  }

  .console-metrics strong {
    font-size: 21px;
  }

  .flow-trigger {
    padding: 9px;
  }

  .node-glyph {
    width: 24px;
    height: 24px;
  }

  .node-copy strong,
  .flow-sales strong,
  .flow-nurture strong {
    font-size: 11px;
  }

  .node-copy > span:last-child,
  .flow-sales > span:last-of-type,
  .flow-nurture > span:last-of-type {
    font-size: 8px;
  }

  .flow-ai {
    padding: 11px;
  }

  .ai-score strong {
    font-size: 38px;
  }

  .ai-summary strong {
    font-size: 11px;
  }

  .ai-summary p {
    font-size: 8.5px;
  }

  .ai-tags span {
    font-size: 6px;
  }

  .flow-sales,
  .flow-nurture {
    padding: 9px;
  }

  .flow-outcomes {
    gap: 5px;
  }

  .console-log {
    padding: 7px 8px;
    font-size: 7px;
  }

  .floating-kpi {
    bottom: -23px;
    left: -5px;
    min-width: 157px;
    gap: 8px;
    padding: 9px 11px 9px 9px;
  }

  .kpi-icon {
    width: 27px;
    height: 27px;
  }

  .floating-kpi strong {
    font-size: 18px;
  }

  .floating-kpi div > span {
    font-size: 7.5px;
  }

  .visual-note {
    right: 0;
    bottom: -29px;
    font-size: 6px;
  }

  .ticker-group {
    gap: 22px;
    padding-block: 14px;
    padding-right: 22px;
  }

  .ticker-group span {
    font-size: 10.5px;
  }

  .ticker-group i {
    font-size: 9px;
  }

  .integration-inner {
    gap: 11px;
    min-height: 0;
    padding-block: 17px;
  }

  .integration-label {
    font-size: 9px;
  }

  .integration-label span {
    font-size: 7px;
  }

  .tool-list {
    gap: 7px 0;
  }

  .tool-list span {
    padding-inline: 9px;
    font-size: 10.5px;
  }

  .section-label {
    gap: 10px;
    margin-bottom: 30px;
    font-size: 8px;
  }

  .section-title {
    font-size: clamp(38px, 10.8vw, 55px);
    line-height: 1.055;
  }

  .section-lede {
    font-size: 14px;
    line-height: 1.7;
  }

  .section-intro {
    margin-bottom: 29px;
  }

  .text-link {
    font-size: 12px;
  }

  .problem-list {
    margin-top: 34px;
  }

  .problem-item {
    grid-template-columns: 30px 1fr;
    gap: 5px 10px;
    padding: 17px 0;
  }

  .problem-article p {
    grid-column: 2;
  }

  .problem-item h3 {
    font-size: 16.5px;
  }

  .problem-item p {
    grid-column: 2;
    font-size: 12px;
    line-height: 1.65;
  }

  .problem-num {
    grid-row: span 2;
    padding-top: 3px;
    font-size: 7.5px;
  }

  .problem-mark {
    display: none;
  }

  .problem-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .problem-manifesto {
    grid-template-columns: auto 1fr;
    gap: 13px;
    margin-top: 34px;
    padding: 17px;
    border-radius: 12px;
  }

  .manifesto-icon {
    width: 32px;
    height: 32px;
  }

  .manifesto-icon .icon {
    width: 13px;
    height: 13px;
  }

  .problem-manifesto p {
    font-size: 15px;
  }

  .manifesto-label {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .service-card {
    grid-column: auto !important;
    min-height: 0;
    padding: 20px;
    border-radius: 14px;
  }

  .service-card-main {
    display: block;
    margin-top: 21px;
  }

  .service-copy h3 {
    font-size: 31px;
  }

  .service-card--automation .service-copy h3 {
    font-size: 34px;
  }

  .service-copy > p {
    font-size: 12.5px;
  }

  .check-list {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 18px;
    font-size: 11px;
  }

  .service-card-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 21px;
    padding-top: 12px;
  }

  .service-card-foot > span {
    font-size: 10px;
  }

  .mini-pipe {
    margin: 20px 0 16px;
  }

  .modal-terminal {
    margin: 19px 0 16px;
  }

  .service-enablement-grid {
    margin-top: 21px;
  }

  .enablement-list > div {
    padding: 10px 0;
  }

  .services-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-top: 22px;
  }

  .services-foot p {
    font-size: 10.5px;
  }

  .services-foot a {
    font-size: 11.5px;
  }

  .process-intro {
    gap: 21px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 35px;
  }

  .process-card {
    min-height: 0;
    margin-top: 0 !important;
    padding: 18px;
    border-radius: 12px;
  }

  .process-en {
    margin-top: 28px;
  }

  .process-card h3 {
    font-size: 22px;
  }

  .process-card > p {
    font-size: 11.5px;
  }

  .process-deliverable {
    margin-top: 22px;
  }

  .process-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 42px;
  }

  .process-foot ul {
    flex-direction: column;
    gap: 8px;
  }

  .process-foot li {
    font-size: 9.5px;
  }

  .why-grid {
    gap: 36px;
  }

  .why-intro .section-lede {
    font-size: 13.5px;
  }

  .why-sticker {
    margin-top: 24px;
    padding: 9px 14px 9px 9px;
  }

  .principle {
    grid-template-columns: 35px 1fr;
    gap: 9px;
    padding: 20px 0;
  }

  .principle h3 {
    font-size: 18px;
  }

  .principle p {
    font-size: 12px;
  }

  .why-quote {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
    padding: 20px;
  }

  .quote-mark {
    font-size: 55px;
  }

  .why-quote blockquote {
    font-size: 21px;
  }

  .case-tabs {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .case-tab {
    min-height: 59px;
    padding: 10px 12px;
  }

  .case-tab-copy strong {
    font-size: 12.5px;
  }

  .case-tab > .icon {
    display: block;
  }

  .case-content {
    padding: 22px 19px 26px;
  }

  .case-content h3 {
    margin-top: 17px;
    font-size: 33px;
  }

  .case-problem {
    margin-top: 13px;
    font-size: 12px;
  }

  .case-flow {
    margin-top: 19px;
  }

  .case-flow > div {
    grid-template-columns: 70px 1fr;
    gap: 9px;
    padding: 9px 0;
  }

  .case-flow p {
    font-size: 10.5px;
  }

  .case-target {
    padding-top: 19px;
  }

  .case-target p {
    font-size: 11.5px;
  }

  .case-score {
    min-height: 280px;
    margin: 7px;
    padding: 19px;
  }

  .score-number {
    font-size: 60px;
  }

  .score-hero {
    padding-block: 22px;
  }

  .score-grid {
    margin-top: 23px;
  }

  .score-grid strong {
    font-size: 25px;
  }

  .case-disclaimer {
    margin-top: 13px;
    font-size: 8.5px;
  }

  .calc-layout {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 33px;
  }

  .calc-controls,
  .calc-result {
    padding: 20px;
    border-radius: 14px;
  }

  .calc-control label {
    font-size: 11.5px;
  }

  .calc-control output {
    font-size: 15px;
  }

  .calc-control + .calc-control {
    margin-top: 16px;
    padding-top: 16px;
  }

  .calc-assumption {
    align-items: flex-start;
    margin-top: 19px;
    padding: 10px;
  }

  .assumption-badge {
    width: 43px;
    height: 43px;
  }

  .calc-assumption p {
    font-size: 8.5px;
  }

  .calc-result-label {
    margin-top: 28px;
    font-size: 11px;
  }

  .calc-result-value strong {
    font-size: clamp(48px, 15vw, 67px);
  }

  .calc-result-value .currency {
    font-size: 21px;
  }

  .calc-result-meta {
    margin-top: 22px;
  }

  .calc-result-meta strong {
    font-size: 21px;
  }

  .calc-result-meta span {
    font-size: 7.5px;
  }

  .calc-result-foot {
    padding-top: 18px;
  }

  .faq-layout {
    gap: 29px;
  }

  .faq-intro .section-lede {
    margin-top: 20px;
  }

  .faq-mail {
    margin-top: 20px;
  }

  .faq-question {
    grid-template-columns: 22px minmax(0, 1fr) 25px;
    gap: 8px;
    padding: 17px 0;
    font-size: 14px;
  }

  .faq-index {
    font-size: 6.5px;
  }

  .faq-toggle {
    width: 24px;
    height: 24px;
  }

  .faq-answer p {
    padding: 0 8px 19px 30px;
    font-size: 12.5px;
  }

  .contact {
    padding-block: 72px;
  }

  .contact-grid {
    gap: 33px;
  }

  .contact-title {
    font-size: clamp(38px, 11.4vw, 57px);
    line-height: 1.05;
  }

  .contact-lede {
    margin-top: 21px;
    font-size: 13px;
  }

  .contact-details {
    margin-top: 27px;
  }

  .contact-details > * {
    grid-template-columns: 50px 1fr auto;
    padding: 11px 0;
    font-size: 12px;
  }

  .contact-details span {
    font-size: 6.5px;
  }

  .contact-promise {
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 22px;
    border-radius: 13px;
  }

  .contact-promise-note {
    width: 100%;
    margin-left: 57px;
    padding: 7px 0 0;
    border-top: 1px solid rgba(12, 15, 11, 0.14);
    border-left: 0;
  }

  .contact-form-card {
    padding: 18px;
    border-radius: 14px;
    box-shadow: 7px 7px 0 rgba(12, 15, 11, 0.15);
  }

  .form-head {
    padding-bottom: 15px;
  }

  .form-head h3 {
    font-size: 25px;
  }

  .form-time {
    display: none;
  }

  .contact-form {
    margin-top: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-field {
    margin-bottom: 11px;
  }

  .form-field input,
  .form-field select {
    height: 43px;
  }

  .button--form {
    font-size: 12.5px;
  }

  .form-success {
    min-height: 380px;
    padding-block: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 46px;
  }

  .footer-brand > p {
    font-size: 13px;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-nav a {
    font-size: 10.5px;
  }

  .footer-heading {
    margin-bottom: 13px;
    font-size: 6.5px;
  }

  .footer-wordmark {
    font-size: clamp(78px, 22vw, 126px);
    line-height: 0.8;
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "copy top"
      "legal legal";
    gap: 10px 14px;
    align-items: center;
    padding-top: 15px;
    font-size: 7.5px;
  }

  .footer-bottom > p {
    grid-area: copy;
  }

  .back-to-top {
    grid-area: top;
  }

  .footer-legal {
    grid-area: legal;
    width: 100%;
    justify-content: space-between;
    padding-top: 9px;
    border-top: 1px solid rgba(242, 240, 232, 0.1);
  }

  .footer-legal > span:first-of-type {
    display: none;
  }

  .back-to-top {
    width: 31px;
    height: 31px;
  }

  .privacy-head {
    padding: 20px;
  }

  .privacy-head h2 {
    font-size: 25px;
  }

  .privacy-body {
    padding: 19px 20px 23px;
  }

  .privacy-body p {
    font-size: 12px;
  }

  .toast {
    bottom: 16px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .node-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .js .bottleneck-story {
    height: auto;
  }

  .js .bottleneck-sticky {
    position: relative;
    top: auto;
    display: block;
    height: auto;
    min-height: 0;
  }

  .flow-wiring {
    display: none;
  }

  .bottle-panel {
    margin: 0 auto 38px;
  }

  .bottle-visual {
    width: min(260px, 68vw);
  }

  .bottleneck-tag {
    top: 73%;
    right: 0;
    left: auto;
    padding: 6px 8px;
    font-size: 6.5px;
  }

  .bottleneck-tag i {
    display: none;
  }

  .bottleneck-tag small {
    font-size: 7.5px;
  }

  .bottle-caption {
    max-width: 320px;
  }

  .story-progress {
    width: min(260px, 80%);
    margin-top: 18px;
  }

  .story-steps {
    height: auto;
    max-width: 680px;
  }

  .story-steps-head {
    margin-top: 4px;
  }

  .story-step {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 13px;
    padding: 15px 0;
  }

  .story-node {
    width: 30px;
    height: 30px;
    font-size: 7px;
  }

  .story-step h3 {
    font-size: 20px;
  }

  .story-step p:not(.story-output) {
    font-size: 12px;
    line-height: 1.6;
  }

  .story-step-list {
    position: relative;
  }

  .story-step-list::before {
    content: "";
    position: absolute;
    top: 17px;
    bottom: 17px;
    left: 15px;
    width: 1px;
    opacity: 0.4;
    background: linear-gradient(var(--lime), rgba(242, 240, 232, 0.08));
  }
}

@media (max-width: 600px) {
  .story-steps-head > span:last-child {
    display: none;
  }

  .bottle-caption p {
    font-size: 12px;
  }

  .bottleneck-story {
    margin-top: 34px;
  }

  .story-step h3 {
    font-size: 19px;
  }

  .story-step-en {
    font-size: 6.5px;
  }

  .story-output {
    flex-wrap: wrap;
    font-size: 5.8px;
  }
}

@media (max-width: 360px) {
  .eyebrow-sep {
    display: none;
  }
}

@media (max-width: 390px) {
  .console-metrics small {
    display: none;
  }

  .flow-sales strong,
  .flow-nurture strong {
    font-size: 9.5px;
  }

  .flow-sales > span:last-of-type,
  .flow-nurture > span:last-of-type {
    font-size: 6.8px;
  }

  .console-log p {
    max-width: 160px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav > div:last-child {
    grid-column: span 2;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences + print
   -------------------------------------------------------------------------- */

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

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

  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }

  .js .hero-title,
  .js .hero-visual {
    opacity: 1;
    animation: none;
  }

  .js .bottleneck-story {
    height: auto;
  }

  .js .bottleneck-sticky {
    position: relative;
    top: auto;
    display: block;
    height: auto;
    min-height: 0;
  }

  .flow-wiring,
  .story-progress {
    display: none;
  }

  .bottle-panel {
    margin: 0 auto 34px;
  }

  .bottle-fluid {
    transform: none;
  }

  .story-steps {
    height: auto;
    max-width: none;
  }
}
