:root {
  --ink: #151112;
  --ink-soft: #262022;
  --burgundy: #722f37;
  --burgundy-deep: #431a20;
  --burgundy-dark: #2b1015;
  --gold: #efa137;
  --gold-light: #ffc66d;
  --ivory: #f8f5f2;
  --sand: #eee4dc;
  --white: #ffffff;
  --muted: #70686a;
  --line: rgba(74, 38, 44, 0.16);
  --shadow: 0 32px 90px rgba(39, 16, 21, 0.16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shell: 1240px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  margin-bottom: 28px;
  max-width: 790px;
  font-size: clamp(3.25rem, 6.5vw, 6.7rem);
  font-weight: 660;
}

h2 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(2.35rem, 4.4vw, 4.8rem);
  font-weight: 630;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 620;
}

p {
  margin-bottom: 20px;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--gold {
  color: var(--gold-light);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(239, 161, 55, 0.14), transparent 26%),
    radial-gradient(circle at 86% 72%, rgba(132, 49, 61, 0.72), transparent 36%),
    linear-gradient(130deg, #170c0f 0%, var(--burgundy-deep) 47%, #260e13 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -18vw;
  bottom: -42vw;
  width: 75vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 110px rgba(255, 255, 255, 0.018),
    0 0 0 250px rgba(255, 255, 255, 0.014);
}

.hero__ambient {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(110deg, transparent 48%, rgba(255, 255, 255, 0.04) 48.08%, transparent 48.16%),
    linear-gradient(40deg, transparent 58%, rgba(239, 161, 55, 0.12) 58.1%, transparent 58.2%);
  pointer-events: none;
}

.hero__shell {
  min-height: 820px;
  padding-block: 34px 42px;
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-lockup__name {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-lockup__line {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.48rem;
  letter-spacing: 0.04em;
}

.page-marker {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(54px, 7vw, 110px);
  min-height: 640px;
  padding-block: 84px 42px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__lede {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 760;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: #2b1a0b;
  background: var(--gold);
  box-shadow: 0 12px 32px rgba(239, 161, 55, 0.18);
}

.button--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 18px 42px rgba(239, 161, 55, 0.24);
}

.text-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.86);
}

.hero__outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__outcomes span {
  position: relative;
  padding: 22px 22px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__outcomes span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(239, 161, 55, 0.12);
}

.identity-orbit {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.identity-orbit::before,
.identity-orbit::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.identity-orbit::after {
  width: 270px;
  height: 270px;
  border-color: rgba(239, 161, 55, 0.16);
}

.orbit-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: flex;
  width: 190px;
  height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(145deg, #8a3a45, var(--burgundy));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: translate(-50%, -50%);
}

.orbit-core span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.orbit-core strong {
  margin-top: 4px;
  font-size: 1.55rem;
  font-weight: 620;
  letter-spacing: -0.04em;
}

.orbit-node {
  position: absolute;
  z-index: 4;
  min-width: 132px;
  padding: 12px 17px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.orbit-node::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.orbit-node--pos { top: 28px; left: 7%; }
.orbit-node--web { top: 82px; right: -2%; }
.orbit-node--erp { bottom: 70px; left: -1%; }
.orbit-node--ops { right: 6%; bottom: 24px; }

.orbit-line {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 161, 55, 0.65), transparent);
  transform-origin: center;
}

.orbit-line--one { transform: translate(-50%, -50%) rotate(36deg); }
.orbit-line--two { transform: translate(-50%, -50%) rotate(-30deg); }

.section {
  padding-block: clamp(94px, 11vw, 150px);
}

.section--white { background: var(--white); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }

.section--ink {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 8%, rgba(114, 47, 55, 0.46), transparent 32%),
    var(--ink);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.68fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
  margin-bottom: 72px;
}

.split-intro h2 {
  margin-bottom: 0;
}

.split-intro--light .section-lede {
  color: rgba(255, 255, 255, 0.63);
}

.section-lede {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.78;
}

.service-lines {
  border-top: 1px solid var(--line);
}

.service-line {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 110px;
  gap: 28px;
  align-items: start;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.service-line__number {
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-line h3 {
  margin-bottom: 9px;
}

.service-line p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.service-line__tag {
  justify-self: end;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.media-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(500px, 1.3fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.media-story__copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.check-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 29px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.brand-figure,
.integration-figure,
.product-hero__visual {
  margin: 0;
}

.brand-figure {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.brand-figure img {
  width: 100%;
}

.brand-figure figcaption {
  padding: 15px 22px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.roadmap li {
  position: relative;
  min-height: 230px;
  padding: 29px 25px 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.roadmap li:not(:first-child) {
  padding-left: 25px;
}

.roadmap li:last-child {
  border-right: 0;
}

.roadmap li::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(239, 161, 55, 0.1);
}

.roadmap li:not(:first-child)::after {
  left: 25px;
}

.roadmap span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.roadmap strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.roadmap p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.65;
}

.decision-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(50px, 10vw, 150px);
}

.decision-list {
  border-top: 1px solid rgba(67, 26, 32, 0.18);
}

.decision-list > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 21px;
  border-bottom: 1px solid rgba(67, 26, 32, 0.18);
}

.decision-list span {
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.decision-list p {
  margin-bottom: 0;
  font-weight: 620;
  line-height: 1.45;
}

.closing-panel {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--burgundy-deep);
}

.closing-panel::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -70px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.018);
}

.closing-panel__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(90px, 11vw, 150px);
}

.closing-panel h2 {
  max-width: 920px;
}

/* Product page */
.hero--product .hero__shell {
  min-height: 860px;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(350px, 0.78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  padding-block: 92px 70px;
}

.hero--product h1 {
  max-width: 670px;
  font-size: clamp(3.1rem, 5.4vw, 5.8rem);
}

.product-hero__visual {
  position: relative;
  overflow: hidden;
  background: #efeaea;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 28px;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.32);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.product-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.product-hero__visual img {
  width: 100%;
}

.journey-band {
  padding-block: 64px 74px;
  color: var(--white);
  background: var(--burgundy);
}

.journey-band__intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 43px;
}

.journey-band .eyebrow {
  color: var(--gold-light);
}

.journey-band h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.8rem);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.journey-steps li {
  position: relative;
  padding: 28px 20px 0 0;
}

.journey-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42px;
  right: 21px;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.journey-steps span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.journey-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.18rem;
}

.journey-steps p {
  max-width: 165px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.82rem;
  line-height: 1.52;
}

.profile-experience {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(500px, 1.18fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
}

.profile-experience__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.profile-tabs {
  display: inline-flex;
  gap: 4px;
  margin-block: 21px 8px;
  padding: 5px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.profile-tab {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
}

.profile-tab.is-active {
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 7px 18px rgba(114, 47, 55, 0.18);
}

.profile-panel {
  padding-top: 22px;
}

.profile-panel h3 {
  font-size: 1.3rem;
}

.profile-panel .check-list {
  margin-top: 10px;
}

.profile-panel .check-list li {
  font-size: 0.9rem;
}

.dashboard-shell {
  overflow: hidden;
  background: #f3eeea;
  border: 1px solid rgba(67, 26, 32, 0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.dashboard-shell__chrome {
  display: grid;
  grid-template-columns: 8px 8px 8px 1fr;
  gap: 7px;
  align-items: center;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.73);
  background: var(--burgundy-deep);
}

.dashboard-shell__chrome > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.27);
}

.dashboard-shell__chrome > span:first-child {
  background: var(--gold);
}

.dashboard-shell__chrome p {
  justify-self: end;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-shell__body {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
  padding: 22px;
}

.dashboard-balance,
.dashboard-barcode,
.dashboard-metric,
.dashboard-history {
  background: var(--white);
  border: 1px solid rgba(67, 26, 32, 0.11);
  border-radius: 15px;
}

.dashboard-balance {
  padding: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 161, 55, 0.2), transparent 42%),
    var(--burgundy);
}

.dashboard-balance p {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dashboard-balance strong {
  display: block;
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.dashboard-balance small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.dashboard-balance > span {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
}

.dashboard-barcode {
  padding: 20px;
}

.dashboard-barcode > span {
  display: block;
  width: 100%;
  height: 55px;
  margin-bottom: 12px;
  background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 5px, #111 5px 9px, transparent 9px 12px);
  border: 8px solid var(--white);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.dashboard-barcode p,
.dashboard-metric span {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.dashboard-barcode strong,
.dashboard-metric strong {
  font-size: 0.9rem;
}

.dashboard-metric {
  padding: 17px 19px;
}

.dashboard-metric span,
.dashboard-metric strong {
  display: block;
}

.dashboard-history {
  grid-column: 1 / -1;
  padding: 5px 19px;
}

.dashboard-history div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
}

.dashboard-history div:last-child {
  border-bottom: 0;
}

.dashboard-history span {
  color: var(--muted);
}

.dashboard-history strong {
  color: var(--burgundy);
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(54px, 10vw, 145px);
  align-items: center;
}

.rules-copy > p:not(.eyebrow) {
  color: #655c5e;
}

.rules-copy .rules-note {
  margin-top: 34px;
  padding-left: 18px;
  color: var(--burgundy);
  border-left: 2px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 680;
}

.rules-console {
  padding: clamp(25px, 4vw, 44px);
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 161, 55, 0.14), transparent 34%),
    var(--ink);
  border-radius: 26px;
  box-shadow: 0 32px 85px rgba(44, 20, 24, 0.22);
}

.rules-console__heading,
.range-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.rules-console__heading {
  margin-bottom: 50px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.rules-console__heading div > span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rules-console__heading strong {
  font-size: 1.4rem;
}

.status-dot {
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(239, 161, 55, 0.12);
}

.range-field {
  margin-bottom: 16px;
}

.range-field > span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.range-field output {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

input[type="range"] {
  width: 100%;
  height: 5px;
  margin: 0 0 42px;
  appearance: none;
  background: linear-gradient(90deg, var(--gold) 0 30%, rgba(255, 255, 255, 0.15) 30% 100%);
  border-radius: 999px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  background: var(--white);
  border: 5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: var(--white);
  border: 5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.rule-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rule-results div {
  padding: 25px 17px 0 0;
}

.rule-results div + div {
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.rule-results span,
.rule-results strong {
  display: block;
}

.rule-results span {
  min-height: 36px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.rule-results strong {
  color: var(--gold-light);
  font-size: 0.88rem;
}

.channel-layout__copy {
  max-width: 850px;
  margin-bottom: 65px;
}

.channel-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.channel-pair article {
  padding: 45px 70px 46px 0;
}

.channel-pair article + article {
  padding-right: 0;
  padding-left: 70px;
  border-left: 1px solid var(--line);
}

.channel-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  color: var(--burgundy);
  background: rgba(114, 47, 55, 0.07);
  border: 1px solid rgba(114, 47, 55, 0.16);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 800;
}

.channel-pair p {
  max-width: 475px;
  color: var(--muted);
}

.channel-pair ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.channel-pair li {
  padding: 7px 11px;
  color: var(--burgundy);
  background: rgba(114, 47, 55, 0.06);
  border-radius: 6px;
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.integration-story__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 65px;
}

.integration-story__copy h2 {
  margin-bottom: 0;
}

.integration-story__copy > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
}

.integration-figure {
  overflow: hidden;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.26);
}

.integration-figure img {
  width: 100%;
  border-radius: 14px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-list article {
  min-height: 245px;
  padding: 34px 40px 35px 0;
}

.capability-list article + article {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.capability-list span {
  display: block;
  margin-bottom: 62px;
  color: var(--burgundy);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capability-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero__grid,
  .product-hero__grid,
  .media-story,
  .profile-experience,
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding-top: 96px;
  }

  .hero__copy {
    max-width: 850px;
  }

  .identity-orbit {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .product-hero__grid {
    padding-bottom: 80px;
  }

  .product-hero__visual {
    max-width: 900px;
    transform: none;
  }

  .split-intro,
  .decision-layout,
  .integration-story__copy {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-intro {
    align-items: start;
  }

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

  .roadmap {
    grid-template-columns: repeat(3, 1fr);
  }

  .roadmap li:nth-child(3) {
    border-right: 0;
  }

  .roadmap li:nth-child(n + 4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .roadmap li:nth-child(4) {
    padding-left: 0;
  }

  .roadmap li:nth-child(4)::after {
    left: 0;
  }

  .integration-story__copy > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 34px), var(--shell));
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10.5vw, 3.6rem);
  }

  .hero__shell,
  .hero--product .hero__shell {
    min-height: 0;
    padding-top: 25px;
  }

  .hero__topline {
    align-items: flex-start;
  }

  .page-marker {
    max-width: 130px;
    text-align: right;
  }

  .hero__grid,
  .product-hero__grid {
    gap: 30px;
    padding-block: 76px 60px;
  }

  .hero__lede {
    font-size: 1rem;
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__outcomes {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 18px;
  }

  .hero__outcomes span {
    padding-top: 17px;
  }

  .identity-orbit {
    min-height: 420px;
    transform: scale(0.86);
  }

  .section {
    padding-block: 86px;
  }

  .split-intro {
    margin-bottom: 48px;
  }

  .service-line {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .service-line__tag {
    grid-column: 2;
    justify-self: start;
  }

  .roadmap,
  .journey-steps,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .roadmap li,
  .roadmap li:not(:first-child) {
    min-height: 0;
    padding: 29px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .roadmap li:not(:first-child)::after {
    left: 0;
  }

  .roadmap span {
    margin-bottom: 18px;
  }

  .journey-band {
    padding-block: 74px;
  }

  .journey-band__intro {
    display: block;
  }

  .journey-steps li {
    display: grid;
    grid-template-columns: 42px 110px 1fr;
    gap: 10px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .journey-steps li:not(:last-child)::after {
    content: none;
  }

  .journey-steps span,
  .journey-steps strong,
  .journey-steps p {
    margin: 0;
  }

  .dashboard-shell__body {
    grid-template-columns: 1fr;
  }

  .dashboard-history {
    grid-column: auto;
  }

  .rule-results {
    grid-template-columns: 1fr;
  }

  .rule-results div,
  .rule-results div + div {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .rule-results div:last-child {
    border-bottom: 0;
  }

  .rule-results span {
    min-height: 0;
  }

  .channel-pair {
    grid-template-columns: 1fr;
  }

  .channel-pair article,
  .channel-pair article + article {
    padding: 38px 0;
    border-left: 0;
  }

  .channel-pair article + article {
    border-top: 1px solid var(--line);
  }

  .capability-list article,
  .capability-list article + article {
    min-height: 0;
    padding: 31px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-list article:last-child {
    border-bottom: 0;
  }

  .capability-list span {
    margin-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .brand-lockup__name {
    font-size: 1.26rem;
  }

  .page-marker {
    font-size: 0.56rem;
  }

  .identity-orbit {
    min-height: 350px;
    margin: -25px -8% 0;
    width: 116%;
    transform: scale(0.76);
  }

  .identity-orbit::before {
    width: 330px;
    height: 330px;
  }

  .identity-orbit::after {
    width: 230px;
    height: 230px;
  }

  .orbit-core {
    width: 165px;
    height: 165px;
  }

  .orbit-line {
    width: 340px;
  }

  .orbit-node {
    min-width: 125px;
  }

  .profile-tabs {
    display: flex;
  }

  .profile-tab {
    flex: 1;
  }

  .rules-console__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .range-field output {
    font-size: 1.25rem;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
