/* Service pages. Shared tokens, base and header mirror style.css. */
:root {
  --paper: #f5f2ea;
  --paper-deep: #ece7db;
  --surface: #fffdf8;
  --ink: #101216;
  --ink-2: #171a20;
  --ink-3: #20242c;
  --muted: #5a5d65;
  --line: #e0dacd;
  --line-strong: #c9c2b2;
  --accent: #ffd45e;
  --accent-deep: #f2bf2f;
  --green: #217a44;
  --green-bg: #e6f3ea;
  --signal: #5fe08f;
  --white: #fffdf8;
  --yellow: var(--accent);
  --yellow-hover: var(--accent-deep);

  --on-dark: #f3f1ec;
  --on-dark-muted: rgba(243, 241, 236, 0.64);
  --on-dark-line: rgba(243, 241, 236, 0.12);

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --max: 1240px;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 1px 2px rgba(16, 18, 22, 0.04), 0 12px 32px -16px rgba(16, 18, 22, 0.14);
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--paper);
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button, input, select {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

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

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

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

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

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

.section-space {
  padding-block: 120px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  letter-spacing: -0.025em;
}

h1 em, h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 > span, h2 > em {
  display: block;
}

h1 > span, h2 > span, h3 {
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 20px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 64px;
  align-items: end;
}

.section-subline {
  font-size: 1.075rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-top: 20px;
}

.section-heading-split .section-subline {
  margin-top: 0;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.button > span[aria-hidden="true"] {
  transition: transform 0.25s var(--ease);
}

.button:hover > span[aria-hidden="true"] {
  transform: translate(2px, -2px);
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--ink-3);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.button-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(255, 212, 94, 0.7);
}

.button-accent:hover {
  background: #ffe08a;
  border-color: #ffe08a;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -12px rgba(255, 212, 94, 0.85);
}

.button-ghost {
  background: transparent;
  border-color: var(--on-dark-line);
  color: var(--on-dark);
}

.button-ghost:hover {
  background: rgba(243, 241, 236, 0.08);
  border-color: rgba(243, 241, 236, 0.3);
}

.button-header {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  background: var(--ink);
  color: #ffffff;
}

.button-header:hover {
  background: var(--ink-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 550;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 14px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 234, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 242, 234, 0.92);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-bottom: 3px;
}

.brand-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(16, 18, 22, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--line-strong);
}

.language-button {
  background: transparent;
  border: 0;
  padding: 6px 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.language-button:hover {
  color: var(--ink);
}

.language-button.active {
  color: var(--ink);
  background: rgba(16, 18, 22, 0.07);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  position: relative;
  z-index: 60;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 32px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-top: 22px;
}

.hero h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-aside > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 420px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 24px;
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 550;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero-aside .button {
  margin-top: 24px;
}

.button > span:last-child {
  font-size: 18px;
  line-height: 1;
}

.service-jump {
  font-family: var(--mono);
  font-size: 12px;
  margin-top: 16px;
  color: var(--muted);
  display: block;
}

.service-jump:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Audit Callout Banner */
.audit-banner {
  margin-top: 40px;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 12px 28px -8px rgba(20, 22, 26, 0.06);
}

.audit-copy .eyebrow {
  margin-bottom: 10px;
}

.audit-copy h2 {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.audit-copy p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}

.audit-banner .button {
  flex-shrink: 0;
}

/* Demo Section */
.demo-section {
  padding-bottom: 72px;
}

.demo-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.demo-topline > p:last-child {
  font-size: 13px;
  color: var(--muted);
  max-width: 480px;
  text-align: right;
}

.demo-shell {
  border: 1px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(20, 22, 26, 0.08);
}

.demo-toolbar {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f4efe4;
}

.demo-toolbar-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-controls > span {
  font-size: 12px;
  margin-right: 8px;
}

.choice-button, .small-button {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.choice-button[aria-pressed="true"], .choice-button:hover, .small-button:hover {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}

.demo-hint {
  padding: 16px 24px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* Website preview demo */
.website-preview {
  --preview-bg: #faf9f3;
  --preview-color: #202620;
  --preview-accent: #ffd45e;
  --preview-serif: var(--sans);
  background: var(--preview-bg);
  color: var(--preview-color);
  padding: 36px 44px;
  transition: background 0.25s ease, color 0.25s ease;
  min-height: 420px;
}

.website-preview[data-theme="calm"] {
  --preview-bg: #e9ede8;
  --preview-color: #243d35;
  --preview-accent: #c3d0bd;
  --preview-serif: var(--serif);
}

.website-preview[data-theme="bold"] {
  --preview-bg: #1c221b;
  --preview-color: #fff7df;
  --preview-accent: #ffd45e;
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 16px;
  gap: 24px;
}

.preview-brand {
  font-size: 15px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 36px;
}

.preview-content h2 {
  font-family: var(--preview-serif);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-top: 10px;
  max-width: 440px;
}

.preview-content p:not(.eyebrow) {
  font-size: 14px;
  max-width: 320px;
  opacity: 0.85;
  margin-top: 14px;
}

.preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 10px 18px;
  background: var(--preview-accent);
  color: #202620;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-top: 24px;
}

.preview-art {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: var(--preview-accent);
  border-radius: 12px;
}

.preview-art::before, .preview-art::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid var(--preview-color);
  border-radius: 50%;
  left: 25%;
  top: 25%;
  transform: rotate(-20deg);
}

.preview-art::after {
  border-radius: 0;
  left: 10%;
  top: 45%;
  width: 240px;
  height: 140px;
  transform: rotate(20deg);
}

.preview-art > span {
  position: absolute;
  left: 24px;
  top: 20px;
  font: 4rem/0.9 var(--serif);
  z-index: 2;
  color: #202620;
}

.preview-art > span:last-child {
  top: auto;
  bottom: 20px;
  left: auto;
  right: 20px;
  font: 11px var(--mono);
  letter-spacing: 0.1em;
  max-width: 110px;
  line-height: 1.5;
}

/* Software task board demo */
.software-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  background: #f4efe4;
}

.task-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex: 1;
  min-width: 250px;
}

.task-field {
  flex: 1;
}

.task-field label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.task-field input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  padding: 10px 14px;
  font-size: 13.5px;
  height: 42px;
}

.task-form .small-button {
  background: var(--yellow);
  height: 42px;
  border-color: var(--ink);
  font-weight: 600;
}

.reset-button {
  margin-top: 18px;
}

.task-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px;
  background: #f8f6f0;
  min-height: 320px;
}

.task-column {
  min-width: 0;
  background: #eeeae0;
  padding: 16px;
  border-radius: 18px;
}

.task-column h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.task-count {
  background: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 999px;
}

.task-list {
  list-style: none;
  padding: 0;
  min-height: 180px;
}

.task-card {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 6px rgba(20, 22, 26, 0.04);
}

.task-card p {
  font-size: 13.5px;
  font-weight: 500;
}

.task-card button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 0 2px;
  text-align: left;
  margin-top: 10px;
  display: block;
}

.task-card button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.task-complete {
  display: block;
  color: var(--green);
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 10px;
}

.task-empty {
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 24px;
  text-align: center;
}

.limit-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 240px;
}

/* Automation flow demo */
.automation-body {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  min-height: 380px;
}

.flow-stages {
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #f4efe4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-stage {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: white;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  width: 100%;
  min-height: 72px;
  transition: all 0.2s ease;
}

.flow-stage[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--ink);
}

.stage-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  min-width: 32px;
}

.stage-text {
  font-size: 14px;
  font-weight: 600;
}

.stage-text > span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.flow-panel {
  padding: 36px 40px;
}

.flow-panel h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-top: 12px;
}

.flow-panel > p:not(.eyebrow) {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 460px;
  line-height: 1.6;
}

.flow-record {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.flow-record dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: 13px;
}

.flow-record dt {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.flow-record dd {
  font-weight: 600;
}

.flow-next {
  margin-top: 24px;
  min-height: 40px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  font-weight: 600;
}

.automation-reset {
  background: none;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
  color: var(--muted);
}

.automation-reset:hover {
  color: var(--ink);
}

/* Scope sections */
.scope {
  border-top: 1px solid var(--line);
  padding-block: 72px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 700px;
}

.section-heading h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.scope-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.scope-item > span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.scope-item h3 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 16px 0 10px;
}

.scope-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Process section */
.process {
  padding-block: 64px;
  border-top: 1px solid var(--line);
  background: var(--surface-warm);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}

.process h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-top: 14px;
}

.process p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.process-steps li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 600;
}

.process-steps li > span {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Page CTA */
.page-cta {
  background: var(--yellow);
  padding: 64px 0;
  color: var(--ink);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-inner h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.cta-inner p {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 620px;
}

.cta-inner .button {
  flex-shrink: 0;
  background: var(--ink);
  color: #ffffff;
}

.cta-inner .button:hover {
  background: #ffffff;
  color: var(--ink);
}

/* Other services row */
.other-services {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  font-size: 13.5px;
}

.other-services > span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: auto;
}

.other-services a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.other-services a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding-block: 72px 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px 64px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 360px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  gap: 28px 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.footer-nav a {
  font-size: 14.5px;
  color: var(--ink);
  transition: color 0.2s ease;
}

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

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

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

/* Responsive */
@media (max-width: 1040px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .audit-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .preview-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .automation-body {
    grid-template-columns: 1fr;
  }
  .flow-stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .scope-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .task-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: 66px;
  }
  .brand-name {
    display: none;
  }
  .menu-toggle {
    display: block;
    order: 3;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .button-header {
    display: none;
  }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(20, 22, 26, 0.08);
    gap: 0;
  }
  .nav.menu-open {
    display: flex;
  }
  .nav a {
    padding: 16px 4px;
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .flow-stages {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    gap: 28px 48px;
  }
}
