:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --bg-soft: #ebe5da;
  --surface: rgba(255, 252, 246, 0.68);
  --surface-strong: #faf7f0;
  --ink: #191714;
  --ink-soft: #342f29;
  --muted: #685f56;
  --muted-strong: #5a544c;
  --line: rgba(31, 25, 18, 0.13);
  --line-strong: rgba(31, 25, 18, 0.23);
  --accent: #f27018;
  --accent-deep: #a74406;
  --accent-hover: #d65d0b;
  --accent-ink: #21130a;
  --accent-soft: rgba(242, 112, 24, 0.13);
  --night: #1b1714;
  --night-soft: #25201b;
  --night-line: rgba(246, 239, 227, 0.18);
  --night-muted: #b7aa9c;
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 26px 70px rgba(72, 49, 26, 0.12);
  --shadow-deep: 0 28px 80px rgba(12, 8, 4, 0.25);
  --max: 1440px;
  --pad: clamp(24px, 5vw, 72px);
  --section-space: clamp(104px, 13vw, 196px);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14110f;
  --bg-soft: #1d1916;
  --surface: rgba(37, 31, 26, 0.78);
  --surface-strong: #211c18;
  --ink: #f4eee6;
  --ink-soft: #ded5cb;
  --muted: #a89d91;
  --muted-strong: #c0b4a8;
  --line: rgba(246, 239, 227, 0.14);
  --line-strong: rgba(246, 239, 227, 0.28);
  --accent: #ff7920;
  --accent-deep: #f16b14;
  --accent-hover: #f16b14;
  --accent-soft: rgba(255, 121, 32, 0.16);
  --night: #0f0d0c;
  --night-soft: #181411;
  --night-line: rgba(246, 239, 227, 0.18);
  --night-muted: #b8aa9d;
  --shadow-soft: 0 26px 70px rgba(0, 0, 0, 0.27);
  --shadow-deep: 0 28px 80px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --bg: #14110f;
    --bg-soft: #1d1916;
    --surface: rgba(37, 31, 26, 0.78);
    --surface-strong: #211c18;
    --ink: #f4eee6;
    --ink-soft: #ded5cb;
    --muted: #a89d91;
    --muted-strong: #c0b4a8;
    --line: rgba(246, 239, 227, 0.14);
    --line-strong: rgba(246, 239, 227, 0.28);
    --accent: #ff7920;
    --accent-deep: #f16b14;
    --accent-hover: #f16b14;
    --accent-soft: rgba(255, 121, 32, 0.16);
    --night: #0f0d0c;
    --night-soft: #181411;
    --night-line: rgba(246, 239, 227, 0.18);
    --night-muted: #b8aa9d;
    --shadow-soft: 0 26px 70px rgba(0, 0, 0, 0.27);
    --shadow-deep: 0 28px 80px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 240ms ease, color 240ms ease;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

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

textarea {
  resize: vertical;
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.spine-line {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: max(24px, calc((100vw - var(--max)) / 2 + 4px));
  width: 1px;
  background: var(--line);
  pointer-events: none;
}

.spine-line::before,
.spine-line::after,
.spine-line span {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.spine-line::before {
  top: 12%;
}

.spine-line::after {
  top: 56%;
}

.spine-line span {
  top: 34%;
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.section-pad {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.form-success {
  display: flex;
  min-height: 100svh;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.form-success h1 {
  max-width: 900px;
  margin-bottom: 28px;
}

.form-success > p:not(.section-label) {
  max-width: 60ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: min(100%, var(--max));
  min-height: 84px;
  margin: 0 auto;
  padding: 18px var(--pad);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  transition: border-color 220ms ease, background-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(126px, 11vw, 154px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand-logo {
  width: 122px;
}

.brand-footer .brand-logo {
  width: 160px;
}

html[data-theme="dark"] .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-mark {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: rotate(-12deg);
}

.brand-mark span {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.brand-mark span:nth-child(1) {
  height: 9px;
}

.brand-mark span:nth-child(2) {
  height: 15px;
}

.brand-mark span:nth-child(3) {
  height: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  color: var(--muted-strong);
  font-size: 14px;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 8px 0;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-cta > span:not(.arrow-mark) {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transition: transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.nav-cta:hover > span:not(.arrow-mark),
.nav-cta:focus-visible > span:not(.arrow-mark) {
  color: currentColor;
  transform: translate(2px, -2px);
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle {
  min-height: 38px;
  padding: 0;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
}

.theme-toggle-label {
  font-size: 12px;
}

.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.icon-moon,
html[data-theme="dark"] .icon-sun {
  display: none;
}

html[data-theme="dark"] .icon-moon {
  display: block;
}

.menu-toggle {
  display: none;
  padding: 7px;
}

.menu-toggle .icon-close {
  display: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(860px, calc(100svh - 84px));
  padding-top: clamp(72px, 9vw, 124px);
  padding-bottom: clamp(68px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(40px, 5vw, 86px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero-kicker,
.section-label {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 10px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-kicker {
  font-size: 20px;
}

.kicker-dot,
.assurance-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

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

h1,
h2,
h3 {
  font-weight: 550;
}

h1,
h2 {
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(3.25rem, 5.25vw, 5.6rem);
  line-height: 0.97;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 11px 26px rgba(213, 79, 6, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 15px 32px rgba(213, 79, 6, 0.24);
  transform: translateY(-2px);
}

.button:disabled,
.button:disabled:hover,
.button:disabled:focus-visible {
  cursor: wait;
  opacity: 0.68;
  box-shadow: none;
  transform: none;
}

.button-quiet {
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-2px);
}

.button-arrow {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button-arrow-down {
  transition: transform 180ms ease;
}

.button:hover .button-arrow,
.button:focus-visible .button-arrow {
  transform: translate(2px, -2px);
}

.button:hover .button-arrow-down,
.button:focus-visible .button-arrow-down {
  transform: translateY(2px);
}

.hero-footnote {
  display: flex;
  margin-top: 74px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.tiny-thread {
  position: relative;
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.tiny-thread::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual-frame {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 54vw, 710px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero-visual-frame::before {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border: 1px solid rgba(255, 252, 246, 0.38);
  border-radius: 23px;
  content: "";
  pointer-events: none;
}

.hero-visual-frame picture,
.hero-visual-frame img {
  width: 100%;
  height: 100%;
}

.hero-visual-frame img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transition: opacity 350ms ease;
}

.hero-sheen {
  position: absolute;
  z-index: 1;
  top: -20%;
  left: 23%;
  width: 35%;
  height: 150%;
  border-left: 1px solid rgba(255, 252, 246, 0.34);
  background: rgba(255, 252, 246, 0.04);
  transform: rotate(16deg);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  display: flex;
  padding: 11px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 252, 246, 0.35);
  border-radius: 10px;
  background: rgba(34, 26, 19, 0.48);
  color: #fffaf2;
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.hero-caption strong {
  color: #ffac67;
  font-weight: 650;
}

.hero-caption-top {
  top: 28px;
  right: 28px;
}

.hero-caption-bottom {
  right: 28px;
  bottom: 27px;
  left: 28px;
  justify-content: space-between;
  color: rgba(255, 250, 242, 0.78);
}

.caption-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffb26f;
}

.caption-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8a31;
  box-shadow: 0 0 0 4px rgba(255, 138, 49, 0.17);
}

.hero-rail {
  position: absolute;
  top: 14%;
  bottom: 10%;
  left: -16px;
  display: flex;
  width: 1px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.hero-rail::before {
  position: absolute;
  inset: 0;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.hero-rail span {
  position: relative;
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
}

.hero-rail span:nth-child(2) {
  border-color: var(--accent);
  background: var(--accent);
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--ink);
}

.automation-section {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(42px, 8vw, 130px);
}

.section-intro {
  position: sticky;
  top: 120px;
  max-width: 400px;
}

.section-intro h2,
.proof-heading h2,
.contact-intro h2 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.4vw, 4.55rem);
  line-height: 0.98;
}

.section-intro > p:not(.section-label),
.contact-intro > p:not(.section-label) {
  max-width: 360px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.text-link span:not(.arrow-mark),
.card-arrow,
.case-arrow {
  color: var(--accent);
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}

.text-link:hover span:not(.arrow-mark),
.text-link:focus-visible span:not(.arrow-mark) {
  transform: translate(3px, -3px);
}

.arrow-mark {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 0;
  line-height: 1;
  transition: transform 180ms ease;
}

.arrow-mark::before {
  position: absolute;
  top: 6px;
  left: 1px;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.arrow-mark::after {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.nav-cta > .arrow-mark {
  color: var(--accent);
  transition: color 180ms ease, transform 180ms ease;
}

.nav-cta:hover > .arrow-mark,
.nav-cta:focus-visible > .arrow-mark {
  color: currentColor;
  transform: translate(2px, -2px);
}

.text-link:hover .arrow-mark,
.text-link:focus-visible .arrow-mark,
.automation-card:hover .card-arrow,
.case-row:hover .case-arrow {
  transform: translate(3px, 0);
}

.automation-board {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
  gap: 13px;
}

.automation-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 180px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.automation-card:hover {
  z-index: 2;
  border-color: rgba(242, 112, 24, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.automation-card-activity:hover .automation-card-media img {
  transform: scale(1.04);
}

.automation-card-body {
  padding: 24px 24px 27px;
  background: var(--surface-strong);
}

.automation-card h3 {
  max-width: 250px;
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.automation-card p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.automation-card-activity {
  display: flex;
  min-height: 0;
  padding: 0;
  flex-direction: column;
  grid-column: span 1;
  grid-row: span 1;
}

.automation-card-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: var(--bg-soft);
}

.automation-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.automation-card-activity .automation-card-body {
  display: flex;
  min-height: 0;
  padding: 18px 18px 20px;
  flex: 1;
  flex-direction: column;
}

.automation-card-activity h3 {
  max-width: none;
  margin-top: 0;
  margin-bottom: 7px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.08;
}

.automation-card-activity p {
  max-width: none;
  font-size: 14px;
  line-height: 1.42;
}

.automation-comparison-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(84px, 10vw, 144px);
  padding-bottom: clamp(84px, 10vw, 144px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.automation-comparison-heading {
  display: grid;
  margin-bottom: clamp(44px, 6vw, 72px);
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(32px, 8vw, 120px);
}

.automation-comparison-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.3vw, 5.1rem);
  line-height: 0.98;
  text-wrap: balance;
}

.automation-comparison-heading p {
  max-width: 430px;
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.automation-journey {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.automation-journey::before {
  position: absolute;
  z-index: 0;
  top: 42px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--line-strong) 24%, var(--line-strong) 76%, var(--accent-soft));
  content: "";
}

.automation-stage {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  min-height: 340px;
  padding: 24px 22px 26px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.automation-stage:hover {
  border-color: rgba(242, 112, 24, 0.55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.automation-stage::after {
  width: 34px;
  height: 3px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0.7;
}

.automation-stage-top {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 12px;
}

.automation-stage-index {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.automation-stage-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-soft), var(--line));
}

.automation-stage h3 {
  margin: 28px 0 14px;
  font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.automation-stage p {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.proof-section {
  position: relative;
  z-index: 1;
  max-width: none;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  background: var(--night);
  color: #f4eee6;
}

.proof-section .section-label {
  color: #ff9a50;
}

.proof-heading {
  width: min(100%, var(--max));
  margin: 0 auto 76px;
  padding: 0 var(--pad);
}

.proof-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.proof-grid {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 10vw, 160px);
}

.proof-note {
  max-width: 280px;
  padding-top: 7px;
}

.proof-mark {
  display: flex;
  width: 68px;
  height: 68px;
  margin-bottom: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 250, 242, 0.25);
  border-radius: 50%;
}

.proof-mark span {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.proof-mark span:first-child {
  height: 20px;
}

.proof-mark span:last-child {
  height: 33px;
}

.proof-note p {
  margin-bottom: 26px;
  color: var(--night-muted);
  font-size: 14px;
  line-height: 1.6;
}

.proof-note strong {
  color: #f4eee6;
  font-weight: 600;
}

.text-link-light {
  color: #f4eee6;
}

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

.case-row {
  display: grid;
  min-height: 166px;
  padding: 24px 0;
  grid-template-columns: minmax(130px, 0.55fr) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--night-line);
  transition: background-color 220ms ease, transform 220ms ease;
}

.case-row:hover {
  background: rgba(255, 250, 242, 0.035);
  transform: translateX(4px);
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.case-metric strong {
  color: var(--accent);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.case-metric span {
  color: var(--night-muted);
  font-size: 11px;
  line-height: 1.3;
}

.case-copy > span {
  display: block;
  margin-bottom: 9px;
  color: #f4eee6;
  font-size: 15px;
  font-weight: 650;
}

.case-copy p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--night-muted);
  font-size: 14px;
  line-height: 1.5;
}

.case-arrow {
  color: #ff9a50;
}

.about-section {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: clamp(96px, 12vw, 176px);
  padding-bottom: clamp(96px, 12vw, 176px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(56px, 10vw, 152px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.about-copy {
  max-width: 650px;
}

.about-copy h2 {
  max-width: 680px;
  margin-bottom: clamp(30px, 4vw, 48px);
  font-size: clamp(2.8rem, 5.4vw, 5.35rem);
  line-height: 0.95;
}

.about-body {
  max-width: 57ch;
}

.about-body p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}

.about-body p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.about-link {
  margin-top: 36px;
  font-size: 14px;
}

.about-portrait {
  width: min(100%, 500px);
  justify-self: end;
}

.about-portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.about-portrait-frame::before {
  position: absolute;
  z-index: 1;
  inset: 12px;
  border: 1px solid rgba(255, 252, 246, 0.5);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.about-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.about-portrait:hover .about-portrait-frame img {
  transform: scale(1.025);
}

.freedom-section {
  position: relative;
  z-index: 1;
  min-height: min(760px, 90svh);
  overflow: hidden;
  background: #29221c;
}

.freedom-image,
.freedom-image::after {
  position: absolute;
  inset: 0;
}

.freedom-image::after {
  background: linear-gradient(90deg, rgba(19, 14, 10, 0.78) 0%, rgba(19, 14, 10, 0.4) 42%, rgba(19, 14, 10, 0.03) 80%), linear-gradient(0deg, rgba(19, 14, 10, 0.24), transparent 34%);
  content: "";
}

.freedom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.freedom-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(760px, 90svh);
  max-width: var(--max);
  padding-top: clamp(100px, 14vw, 190px);
  padding-bottom: clamp(100px, 14vw, 190px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #f5eee6;
}

.freedom-content .section-label {
  color: #ff9a50;
}

.freedom-content h2 {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 6.7vw, 6rem);
  line-height: 0.94;
}

.freedom-content p:not(.section-label) {
  max-width: 450px;
  margin-bottom: 34px;
  color: rgba(245, 238, 230, 0.75);
  font-size: 18px;
  line-height: 1.5;
}

.contact-section {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: start;
  gap: clamp(48px, 9vw, 142px);
}

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

.contact-intro h2 {
  font-size: clamp(2.7rem, 5.1vw, 5rem);
}

.contact-assurance {
  display: flex;
  margin-top: 52px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.contact-form {
  display: grid;
  padding-top: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px 18px;
}

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

.form-field {
  min-width: 0;
}

.form-field-wide,
.form-submit-row {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

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

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  padding: 14px 0 15px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.4;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 84px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 2px 0 var(--accent);
}

.form-field input:user-invalid:not(:focus),
.form-field textarea:user-invalid:not(:focus) {
  border-color: #b64d2b;
}

.form-submit-row {
  display: flex;
  padding-top: 5px;
  align-items: center;
  gap: 24px;
}

.form-submit-row .button {
  flex: 0 0 auto;
}

.form-privacy {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: clamp(46px, 6vw, 72px);
  padding-bottom: clamp(46px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr) minmax(180px, 0.55fr);
  align-items: start;
  gap: clamp(28px, 5vw, 90px);
  border-top: 1px solid var(--line);
}

.footer-identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.brand-footer {
  font-size: 11px;
}

.footer-identity p {
  max-width: 250px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-contact {
  display: grid;
  min-width: 0;
  margin: 0;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.footer-contact-label {
  margin-bottom: 5px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-contact strong {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.footer-contact a {
  width: fit-content;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.footer-actions {
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-direction: column;
}

.footer-privacy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-align: right;
}

.footer-privacy:hover,
.footer-privacy:focus-visible {
  color: var(--accent-deep);
}

.footer-top {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-top:hover,
.footer-top:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.footer-top .icon {
  width: 17px;
  height: 17px;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.has-motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

html.has-motion .reveal-delay-1 {
  transition-delay: 90ms;
}

html.has-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 44px;
  }

  .hero-visual-frame {
    min-height: 570px;
  }

  .automation-section,
  .contact-section,
  .about-section {
    gap: 54px;
  }

  .automation-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .automation-card {
    padding: 18px;
  }

  .automation-card-activity {
    padding: 0;
  }

  .automation-card-body {
    padding: 20px;
  }

  .automation-card-activity {
    min-height: 260px;
    grid-column: auto;
    grid-row: auto;
  }

  .automation-comparison-heading {
    gap: 48px;
  }

  .automation-stage {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .theme-toggle-label {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    width: min(100%, 720px);
    margin-left: auto;
  }

  .hero-visual-frame {
    min-height: min(670px, 76vw);
  }

  .scroll-cue {
    position: static;
    margin-top: 30px;
    justify-self: end;
  }

  .automation-section,
  .contact-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
    max-width: 620px;
  }

  .section-intro > p:not(.section-label) {
    max-width: 520px;
  }

  .proof-grid {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 48px;
  }

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

  .about-section {
    align-items: start;
  }

  .about-copy {
    max-width: 650px;
  }

  .about-portrait {
    justify-self: start;
  }

  .contact-assurance {
    margin-top: 30px;
  }

  .automation-comparison-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .automation-comparison-heading p {
    max-width: 600px;
  }

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

  .automation-journey::before {
    display: none;
  }

  .automation-journey::after {
    display: none;
  }

  .automation-stage {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .spine-line {
    left: 15px;
  }

  .site-header {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-wordmark {
    font-size: 11px;
    letter-spacing: 0.11em;
  }

  .brand-logo {
    width: 124px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 112px;
  }

  .brand-footer .brand-logo {
    width: 144px;
  }

  .menu-toggle {
    position: relative;
    z-index: 12;
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    padding: 100px 30px 34px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: var(--bg-soft);
    box-shadow: -22px 0 70px rgba(16, 12, 8, 0.18);
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 260ms cubic-bezier(0.2, 0.75, 0.2, 1), visibility 260ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .site-nav > a:not(.nav-cta) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .nav-cta {
    min-height: 52px;
    margin-top: 14px;
    justify-content: center;
  }

  .theme-toggle {
    min-height: 46px;
    margin-top: auto;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .theme-toggle-label {
    display: inline;
  }

  .menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  h1 {
    max-width: 580px;
    margin-bottom: 26px;
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-footnote {
    margin-top: 38px;
  }

  .hero-visual-frame {
    min-height: 480px;
    border-radius: 22px;
  }

  .hero-visual-frame::before {
    inset: 8px;
    border-radius: 15px;
  }

  .hero-caption {
    padding: 8px 9px;
    font-size: 9px;
  }

  .hero-caption-top {
    top: 18px;
    right: 18px;
  }

  .hero-caption-bottom {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 8px;
  }

  .hero-caption-bottom > span:last-child {
    text-align: right;
  }

  .hero-rail {
    display: none;
  }

  .section-intro h2,
  .proof-heading h2,
  .contact-intro h2,
  .about-copy h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .automation-comparison-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .automation-comparison-heading {
    margin-bottom: 40px;
  }

  .automation-comparison-heading h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .automation-comparison-heading p {
    font-size: 16px;
  }

  .automation-journey {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .automation-journey::before {
    top: 36px;
    right: auto;
    bottom: 36px;
    left: 36px;
    display: block;
    width: 1px;
    height: auto;
  }

  .automation-stage {
    min-height: 0;
    padding: 20px;
  }

  .automation-stage h3 {
    margin-top: 24px;
    font-size: 28px;
  }

  .automation-stage p {
    max-width: 34ch;
  }

  .automation-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .automation-card-activity {
    min-height: 270px;
  }

  .automation-card-media {
    aspect-ratio: 1.4;
  }

  .automation-board {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .automation-card,
  .automation-card-activity {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    grid-column: auto;
    grid-row: auto;
  }

  .automation-card-media {
    min-height: 210px;
    aspect-ratio: 1.45;
  }

  .automation-card-activity .automation-card-body {
    padding: 18px 20px 20px;
  }

  .proof-heading {
    margin-bottom: 52px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .proof-note {
    max-width: 460px;
  }

  .case-row {
    min-height: 0;
    padding: 22px 0;
    grid-template-columns: 1fr 24px;
    gap: 19px;
  }

  .case-metric {
    grid-column: 1 / -1;
  }

  .case-copy {
    grid-column: 1 / 2;
  }

  .case-arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .freedom-section,
  .freedom-content {
    min-height: 700px;
  }

  .freedom-image img {
    object-position: 38% center;
  }

  .freedom-image::after {
    background: linear-gradient(90deg, rgba(19, 14, 10, 0.87), rgba(19, 14, 10, 0.38)), linear-gradient(0deg, rgba(19, 14, 10, 0.36), transparent 40%);
  }

  .freedom-content h2 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .freedom-content p:not(.section-label) {
    font-size: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding-top: 84px;
    padding-bottom: 84px;
    gap: 44px;
  }

  .about-copy h2 {
    margin-bottom: 30px;
  }

  .about-body p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-link {
    margin-top: 30px;
  }

  .about-portrait {
    width: 100%;
    max-width: none;
  }

  .about-portrait-frame {
    border-radius: 22px;
  }

  .form-field,
  .form-field-wide,
  .form-submit-row {
    grid-column: 1;
  }

  .form-submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .form-submit-row .button {
    width: 100%;
  }

  .form-privacy {
    max-width: 290px;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.8fr) auto;
    gap: 34px 28px;
  }

  .footer-actions {
    align-items: flex-end;
  }
}

@media (max-width: 680px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-identity,
  .footer-contact,
  .footer-actions {
    grid-column: 1;
  }

  .footer-actions {
    min-height: 0;
    align-items: flex-start;
    flex-direction: row;
  }

  .footer-privacy {
    max-width: 230px;
    text-align: left;
  }
}

.legal-page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 136px) var(--pad) clamp(88px, 12vw, 160px);
}

.legal-intro {
  max-width: 850px;
  padding-bottom: clamp(64px, 9vw, 118px);
}

.legal-back-link {
  display: inline-flex;
  margin-bottom: clamp(44px, 6vw, 72px);
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.legal-back-link .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
  transition: transform 180ms ease;
}

.legal-back-link:hover .icon,
.legal-back-link:focus-visible .icon {
  transform: translateX(-3px);
}

.legal-intro h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.92;
}

.legal-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}

.legal-updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-notice {
  display: grid;
  margin-top: 34px;
  padding: 20px 22px;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.legal-notice strong {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.legal-layout {
  display: grid;
  padding-top: 42px;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: clamp(44px, 9vw, 148px);
  border-top: 1px solid var(--line);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 104px;
}

.legal-nav > span {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.legal-nav ol {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 4px;
  list-style: none;
}

.legal-nav a {
  display: inline-block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  transition: color 180ms ease, transform 180ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--accent-deep);
  transform: translateX(3px);
}

.legal-content {
  max-width: 760px;
}

.legal-section + .legal-section {
  padding-top: clamp(46px, 6vw, 76px);
  margin-top: clamp(46px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.legal-section {
  scroll-margin-top: 104px;
}

.legal-content h2 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1;
}

.legal-content p,
.legal-content li {
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content strong {
  color: var(--ink-soft);
}

.legal-content a:not(.button) {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

.legal-address {
  display: grid;
  max-width: 520px;
  padding: 20px 22px;
  margin: 24px 0 0;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.legal-address strong {
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-address a {
  width: fit-content;
}

.legal-list {
  display: grid;
  padding-left: 1.1em;
  margin: 20px 0 0;
  gap: 10px;
}

.legal-list li::marker {
  color: var(--accent);
}

.legal-footer {
  padding-top: 42px;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .legal-nav {
    position: static;
  }

  .legal-nav ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
}

@media (max-width: 680px) {
  .legal-page {
    padding-top: 64px;
    padding-bottom: 92px;
  }

  .legal-intro {
    padding-bottom: 64px;
  }

  .legal-back-link {
    margin-bottom: 46px;
  }

  .legal-intro h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .legal-layout {
    padding-top: 30px;
    gap: 38px;
  }

  .legal-nav ol {
    grid-template-columns: 1fr;
  }

  .legal-content h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .legal-content p,
  .legal-content li {
    font-size: 16px;
  }

  .legal-address,
  .legal-notice {
    padding: 18px;
  }
}

@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;
  }
}
