/* Eternal Exports — stylesheet
   One shared stylesheet. Design tokens, base elements, reusable components. */

:root {
  --navy-950: #11163f;
  --navy-900: #171d52;
  --blue-700: #2f4fc7;
  --blue-600: #3c5ce0;
  --blue-100: #e9efff;
  --blue-50: #f5f7ff;
  --ink-900: #172033;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #d9e2f1;
  --white: #ffffff;
  --success: #0f8a67;
  --warning: #b86b16;
  --warning-accent: #f2b84b;
  --error: #b42318;

  /* Semantic aliases used throughout the components below */
  --brand-navy: var(--navy-900);
  --brand-blue: #5373ff;
  --action: var(--blue-700);
  --action-hover: var(--navy-900);
  --text: var(--ink-700);
  --muted: var(--ink-500);
  --page: var(--white);
  --surface: var(--blue-50);
  --border: var(--line);
  --input-border: #8492a6;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-card-sm: 12px;
  --radius-card: 16px;
  --radius: var(--radius-sm);

  --shadow-card: 0 12px 32px rgba(17, 22, 63, .08);
  --container: 1200px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--page);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--action);
}

a:hover {
  color: var(--action-hover);
}

button {
  font-family: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -60px;
  background: var(--navy-900);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: var(--space-3);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.measure {
  max-width: 680px;
}

h1 {
  font-size: 52px;
  font-weight: 750;
  line-height: 1.08;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 36px;
  font-weight: 750;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-900);
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}

small,
.small {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
}

.section {
  padding: var(--space-20) 0;
}

.section--compact {
  padding: var(--space-16) 0;
}

.section--surface {
  background: var(--surface);
}

.section__head {
  max-width: 680px;
  margin: 0 0 var(--space-8);
}

.section__head p {
  margin-top: var(--space-3);
  color: var(--muted);
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 12-column layout grid used for split sections */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-12);
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 79, 199, .22);
}

.btn--primary:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--line);
}

.btn--secondary:hover {
  background: var(--blue-50);
  color: var(--navy-900);
  border-color: var(--blue-700);
}

.btn--full {
  width: 100%;
}

.text-link {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
}

.text-link:hover {
  color: var(--navy-900);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 0.15s ease;
}

.link-arrow:hover {
  color: var(--navy-900);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.reassurance {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* Cards */
.card-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card-small {
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  padding: var(--space-6);
}

.icon-holder {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-holder--on-dark {
  background: rgba(255, 255, 255, .1);
  color: var(--warning-accent);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--page);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
  gap: var(--space-8);
}

/* Nav sits beside the logo; actions are pushed to the right edge. */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
}

.site-header__logo img {
  width: 164px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-nav__links {
  display: flex;
  gap: var(--space-6);
}

.site-nav__links a {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.site-nav__links a:hover {
  color: var(--blue-700);
}

.site-header__cta {
  display: inline-flex;
}

.header-cta-compact {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  padding: 0;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
  border-top: 1px solid var(--line);
  padding: var(--space-4) 0;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.mobile-menu__links a {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 82% 28%, rgba(83, 115, 255, .16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  padding: var(--space-16) 0 var(--space-12);
}

.hero__grid {
  align-items: center;
}

.hero__eyebrow {
  margin-bottom: var(--space-3);
}

.hero__copy h1 {
  margin-bottom: var(--space-4);
}

.hero__copy .lead {
  margin-bottom: var(--space-6);
  color: var(--text);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero__micro {
  color: var(--muted);
  font-size: 14px;
  max-width: 460px;
}

.hero-visual-panel {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
}

.hero-visual-panel img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card-sm);
  display: block;
  filter: contrast(1.06) saturate(1.08);
}

.hero-chip-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--blue-100);
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
}

.proof-line {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--line);
}

/* Image slots (used on supporting pages) */
.image-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.image-frame__ratio {
  width: 100%;
  position: relative;
}

.image-frame img {
  width: 100%;
  height: auto;
}

.image-frame__caption {
  padding: var(--space-3) var(--space-4);
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Pain band — dark section */
.pain-band {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .88);
}

.pain-band h2 {
  color: #fff;
  max-width: 720px;
}

.pain-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-8);
  max-width: 720px;
}

.pain-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  align-items: flex-start;
}

.pain-item > div {
  max-width: 560px;
}

.pain-item:last-child {
  border-bottom: none;
}

.pain-item h3 {
  color: #fff;
  margin-bottom: var(--space-1);
}

.pain-item p {
  color: rgba(255, 255, 255, .72);
}

.pain-bridge {
  margin-top: var(--space-8);
  max-width: 720px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

/* Product result split section */
.product-shot {
  position: relative;
}

.dev-flag {
  display: inline-block;
  background: var(--warning-accent);
  color: var(--navy-950);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.browser-frame {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.dev-flag + .browser-frame {
  border-top-left-radius: 0;
}

.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
}

.browser-frame__bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.browser-frame__bar .dot--r { background: #f2a0a0; }
.browser-frame__bar .dot--y { background: #f4d28a; }
.browser-frame__bar .dot--g { background: #a8dfc0; }

.browser-frame__body {
  padding: var(--space-4);
}

.mock-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-2);
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-row--head {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.mock-tag {
  display: inline-flex;
  width: fit-content;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
}

.mock-tag--done {
  background: #e3f5ec;
  color: var(--success);
}

.product-shot__caption {
  margin-top: var(--space-3);
  font-size: 14px;
  color: var(--muted);
}

.product-detail-mock {
  padding: var(--space-6);
}

.product-detail-mock__order {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-detail-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.product-detail-mock__cell {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}

.product-detail-mock__cell .small {
  display: block;
  color: var(--muted);
  margin-bottom: var(--space-1);
}

.product-detail-mock__cell strong {
  color: var(--navy-900);
  font-size: 14px;
}

/* Benefit list (replaces a repeated three-card grid) */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.benefit-item {
  display: flex;
  gap: var(--space-4);
}

.benefit-item h3 {
  margin-bottom: var(--space-1);
}

.benefit-item p {
  color: var(--text);
}

.small-clarification {
  margin-top: var(--space-6);
  color: var(--muted);
}

.section__cta {
  margin-top: var(--space-8);
}

/* Demo preview split section */
.demo-preview {
  background: var(--surface);
}

.timeline {
  margin-top: var(--space-2);
}

.timeline__item {
  position: relative;
  padding-left: 48px;
  padding-bottom: var(--space-8);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: -8px;
  width: 2px;
  background: var(--line);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__item p {
  padding-top: var(--space-1);
  color: var(--text);
}

.fit-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.fit-card {
  background: var(--white);
  border-left: 4px solid var(--line);
}

.fit-card--good {
  border-left-color: var(--success);
}

.fit-card--limit {
  border-left-color: var(--warning);
}

.fit-card h3 {
  font-size: 15px;
  margin-bottom: var(--space-2);
}

.fit-card p {
  color: var(--text);
  font-size: 15px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
}

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

.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 18px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue-700);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding-bottom: var(--space-4);
  color: var(--text);
  max-width: 640px;
}

/* Disclosure (order-stage list) */
.disclosure summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--blue-700);
  padding: var(--space-2) 0;
}

.disclosure ol {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-6);
  list-style: decimal;
  color: var(--text);
}

.disclosure li {
  padding: var(--space-1) 0;
}

/* Document chain */
.doc-chain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.doc-chain__step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-weight: 700;
  color: var(--navy-900);
}

.doc-chain__arrow {
  color: var(--muted);
  font-weight: 700;
}

.doc-chain__branch {
  margin: var(--space-2) 0 var(--space-6);
  padding: var(--space-3) var(--space-4);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  display: inline-block;
}

/* Scope table (product page) */
.scope-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-6);
}

.scope-table th,
.scope-table td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
  vertical-align: top;
}

.scope-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* Detail list */
.detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.detail-list dt {
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-1);
}

.detail-list dd {
  margin: 0;
  color: var(--text);
}

/* Form */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
}

.form-progress {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.form-step__heading {
  margin-bottom: var(--space-1);
}

.form-step__helper {
  color: var(--muted);
  margin-bottom: var(--space-6);
}

.form__row {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-2);
  font-size: 15px;
}

.form__required {
  color: var(--error);
}

.form__control {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-4);
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--page);
}

select.form__control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23334155' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form__control:invalid {
  color: var(--muted);
}

textarea.form__control {
  min-height: 96px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}

.form__control:focus {
  border-color: var(--blue-700);
}

.form__control[aria-invalid="true"] {
  border-color: var(--error);
}

.form__helper {
  margin-top: var(--space-1);
  font-size: 13px;
  color: var(--muted);
}

.form__error {
  margin-top: var(--space-1);
  font-size: 13px;
  color: var(--error);
  display: none;
}

.form__row.has-error .form__error {
  display: block;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 14px;
  color: var(--text);
}

.form__consent input {
  margin-top: 4px;
  flex-shrink: 0;
}

.form__actions {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.form__back {
  background: none;
  border: none;
  color: var(--blue-700);
  font-weight: 600;
  cursor: pointer;
  padding: var(--space-2) 0;
  min-height: 44px;
}

.form__small-text {
  color: var(--muted);
  font-size: 13px;
  margin-top: var(--space-3);
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-fit-note {
  border: 1px solid var(--line);
  background: var(--blue-50);
  border-radius: var(--radius-card-sm);
  padding: var(--space-6);
}

.form-fit-note p {
  margin-bottom: var(--space-4);
}

.form-fail {
  border: 1px solid var(--error);
  background: #fdf2f1;
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  color: var(--error);
  margin-top: var(--space-4);
  display: none;
}

.form-fail.is-visible {
  display: block;
}

/* Next-step panel beside the form */
.next-step-panel {
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-8);
}

.next-step-panel h2 {
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.next-step-panel .timeline__item {
  padding-bottom: var(--space-6);
}

.next-step-panel .reassurance {
  margin-top: var(--space-4);
}

/* Demo page aside */
.demo-aside {
  border-radius: var(--radius-card);
  padding: var(--space-8);
}

.demo-aside h2 {
  margin-bottom: var(--space-4);
  font-size: 22px;
}

.demo-aside ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.demo-aside--navy {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .9);
}

.demo-aside--navy h2 {
  color: #fff;
}

.demo-aside--navy li {
  padding-left: var(--space-6);
  position: relative;
  color: rgba(255, 255, 255, .85);
}

.demo-aside--navy li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-100);
  font-weight: 700;
}

.demo-aside--navy .reassurance {
  margin-top: var(--space-6);
  color: rgba(255, 255, 255, .7);
}

.demo-aside--navy .text-link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .5);
}

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.contact-card h2 {
  font-size: 20px;
  margin-bottom: var(--space-3);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-method {
  font-size: 17px;
}

.contact-method a {
  font-weight: 700;
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .68);
  padding: var(--space-12) 0 var(--space-8);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-8);
}

.footer__brand {
  max-width: 360px;
}

.footer__brand img {
  width: 150px;
  height: auto;
  margin-bottom: var(--space-3);
}

.footer__brand p {
  color: rgba(255, 255, 255, .6);
  margin-bottom: var(--space-2);
}

.footer__maker a {
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}

.footer__links a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-size: 15px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  margin-top: var(--space-4);
}

.footer__contact a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

/* Error / not found */
.error-page .container {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
  max-width: 560px;
}

.error-page h1 {
  margin-bottom: var(--space-4);
}

.error-page p {
  margin-bottom: var(--space-8);
  color: var(--muted);
}

.error-page__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Redirect page */
.redirect-page .container {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
  max-width: 560px;
}

/* Simple page intro (About, Contact, Privacy, product hero) */
.page-intro {
  padding: 56px 0 var(--space-8);
}

.page-intro h1 {
  margin-bottom: var(--space-4);
}

.page-intro .lead {
  color: var(--text);
}

.prose h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: var(--space-3);
  color: var(--text);
}

.prose + .prose {
  margin-top: var(--space-6);
}

.effective-date {
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-12 {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8 {
    grid-column: auto;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section--compact {
    padding: var(--space-12) 0;
  }

  .site-nav__links,
  .site-header__cta--desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta-compact {
    display: inline-flex;
    min-width: 104px;
    white-space: nowrap;
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .site-header__bar {
    min-height: 68px;
  }

  .site-header__logo img {
    width: 136px;
  }

  .hero {
    padding: var(--space-12) 0 var(--space-8);
  }

  .footer__grid {
    flex-direction: column;
    gap: var(--space-6);
  }

  .form-panel {
    padding: var(--space-6) var(--space-4);
  }

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

  .product-detail-mock__grid {
    grid-template-columns: 1fr;
  }

  .mock-row {
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
  }

  .mock-row span:nth-child(2) {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }

  .hero__grid {
    min-height: 560px;
  }
}

/* Progressive enhancement: some controls only make sense once JS runs the
   two-step form logic; without JS the whole form shows as one flow. */
.js-only {
  display: none;
}

.js .js-only {
  display: inline-flex;
}

.form-step__heading:focus,
.form-fail:focus {
  outline: 3px solid var(--blue-700);
  outline-offset: 2px;
}

.product-explainer {
  margin: 0;
}

.product-explainer img {
  display: block;
}

/* Homepage export-workflow section */
.pain-band {
  padding: clamp(64px, 8vw, 112px) 0;
  overflow: hidden;
}

.pain-band__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.pain-band h2 {
  max-width: 620px;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.pain-list {
  max-width: 620px;
  margin-top: clamp(32px, 4vw, 52px);
}

.pain-item {
  gap: var(--space-4);
  padding: 22px 0;
}

.pain-item .icon-holder {
  flex: 0 0 auto;
}

.pain-bridge {
  max-width: 590px;
  margin-top: clamp(32px, 4vw, 48px);
}

.pain-band__visual {
  margin: 0;
  min-width: 0;
}

.pain-band__visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .pain-band {
    padding: 56px 0;
  }

  .pain-band__grid {
    grid-template-columns: 1fr;
  }

  .pain-band__visual {
    display: none;
  }

  .pain-item {
    padding: 20px 0;
  }
}

/* Homepage hero refinement */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 0;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  right: -18vw;
  top: -28vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 115, 255, .2), rgba(83, 115, 255, 0) 68%);
}

.hero__grid {
  min-height: 590px;
  gap: clamp(40px, 5vw, 72px);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 670px;
}

.hero__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(47, 79, 199, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
}

.hero__copy h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(42px, 4.55vw, 64px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero__copy .lead {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

.hero__actions {
  gap: 20px;
  margin-bottom: 22px;
}

.hero__actions .btn {
  min-width: 178px;
  box-shadow: 0 12px 24px rgba(47, 79, 199, .22);
}

.hero__micro {
  max-width: 560px;
  padding-left: 14px;
  border-left: 2px solid var(--blue-600);
  line-height: 1.55;
}

.hero__visual {
  position: relative;
}

.hero-visual-panel {
  position: relative;
  padding: clamp(12px, 1.6vw, 20px);
  border: 1px solid rgba(47, 79, 199, .14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(239, 243, 255, .94));
  box-shadow: 0 24px 60px rgba(17, 22, 63, .14);
}

.hero-visual-panel img {
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 14px;
}

.hero-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.hero-chip-row .chip {
  justify-content: center;
  min-height: 34px;
  padding: 7px 8px;
  text-align: center;
}

.proof-line {
  max-width: calc(var(--container) - 48px);
  margin-top: clamp(48px, 7vw, 88px);
  padding: 18px 0;
  letter-spacing: .01em;
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 0;
  }

  .hero__grid {
    min-height: 0;
    gap: 40px;
  }

  .hero__copy h1 {
    font-size: clamp(38px, 10vw, 46px);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__actions .link-arrow {
    width: 100%;
    justify-content: center;
  }

  .hero-chip-row {
    display: flex;
  }

  .hero-chip-row .chip {
    flex: 1 1 30%;
  }

  .proof-line {
    margin-top: 44px;
    padding: 16px 0;
  }
}

/* Accessible, restrained visual motion */
@media (prefers-reduced-motion: no-preference) {
  .hero.motion-pending .hero__eyebrow,
  .hero.motion-pending .hero__copy h1,
  .hero.motion-pending .hero__copy .lead,
  .hero.motion-pending .hero__actions,
  .hero.motion-pending .hero__micro {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(.16, 1, .3, 1), transform 700ms cubic-bezier(.16, 1, .3, 1);
  }

  .hero.motion-pending .hero__visual {
    opacity: 0;
    transform: translate3d(28px, 10px, 0);
    transition: opacity 900ms cubic-bezier(.16, 1, .3, 1), transform 900ms cubic-bezier(.16, 1, .3, 1);
  }

  .hero.motion-pending.motion-in .hero__eyebrow,
  .hero.motion-pending.motion-in .hero__copy h1,
  .hero.motion-pending.motion-in .hero__copy .lead,
  .hero.motion-pending.motion-in .hero__actions,
  .hero.motion-pending.motion-in .hero__micro,
  .hero.motion-pending.motion-in .hero__visual {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .hero.motion-pending.motion-in .hero__eyebrow { transition-delay: 0ms; }
  .hero.motion-pending.motion-in .hero__copy h1 { transition-delay: 80ms; }
  .hero.motion-pending.motion-in .hero__copy .lead { transition-delay: 160ms; }
  .hero.motion-pending.motion-in .hero__actions { transition-delay: 240ms; }
  .hero.motion-pending.motion-in .hero__micro { transition-delay: 320ms; }
  .hero.motion-pending.motion-in .hero__visual { transition-delay: 180ms; }

  .hero.motion-pending.motion-in .hero-visual-panel {
    animation: ee-hero-visual-drift 7s ease-in-out 1100ms infinite alternate;
  }

  @keyframes ee-hero-visual-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -8px, 0); }
  }

  .motion-section-pending {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 650ms cubic-bezier(.16, 1, .3, 1), transform 650ms cubic-bezier(.16, 1, .3, 1);
  }

  .motion-section-pending.motion-section-in {
    opacity: 1;
    transform: translateY(0);
  }

  .card-main,
  .card-small,
  .contact-card,
  .benefit-item {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  @media (hover: hover) {
    .card-main:hover,
    .card-small:hover,
    .contact-card:hover,
    .benefit-item:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 34px rgba(17, 22, 63, .12);
    }
  }

  .site-nav__links a {
    position: relative;
  }

  .site-nav__links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }

  .site-nav__links a:hover::after,
  .site-nav__links a:focus-visible::after {
    transform: scaleX(1);
  }
}


/* Product-result section refinement */
.product-result {
  position: relative;
  overflow: hidden;
}

.product-result::before {
  position: absolute;
  z-index: -1;
  top: 7%;
  left: -16rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 93, 214, .09), transparent 68%);
  content: "";
  pointer-events: none;
}

.product-result .grid-12 {
  align-items: center;
}

.product-result .product-explainer {
  position: relative;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(45, 93, 214, .14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(17, 22, 63, .13);
}

.product-result .product-explainer::before {
  position: absolute;
  z-index: -1;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border: 1px solid rgba(45, 93, 214, .12);
  border-radius: 24px;
  background: var(--blue-50);
  content: "";
}

.product-result .image-frame__ratio {
  overflow: hidden;
  border-radius: 23px;
}

.product-result .benefit-list {
  position: relative;
  margin-top: 28px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 22, 63, .06);
}

.product-result .benefit-list::before {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 39px;
  width: 1px;
  background: linear-gradient(rgba(60, 92, 224, .28), rgba(45, 93, 214, .08));
  content: "";
}

.product-result .benefit-item {
  position: relative;
  z-index: 1;
  gap: 18px;
  margin: 0;
  padding: 20px 22px;
  background: transparent;
}

.product-result .benefit-item + .benefit-item {
  border-top: 1px solid var(--line);
}

.product-result .benefit-item .icon-holder {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.product-result .benefit-item h3 {
  margin-bottom: 4px;
  font-size: clamp(18px, 1.5vw, 21px);
}

.product-result .benefit-item p {
  max-width: 48ch;
}

.product-result .small-clarification {
  margin-top: 26px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid rgba(60, 92, 224, .58);
}

.product-result .section__cta {
  margin-top: 28px;
}

@media (max-width: 768px) {
  .product-result .product-explainer::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
  }

  .product-result .benefit-item {
    padding: 18px;
  }
}


/* Home demo-preview refinement */
.demo-preview {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}

.demo-preview .section__head {
  max-width: 650px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.demo-preview .grid-12 {
  align-items: stretch;
}

.demo-preview__agenda {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy-900);
  box-shadow: 0 24px 54px rgba(17, 22, 63, .18);
}

.demo-preview__agenda::before {
  position: absolute;
  top: -8rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255, 255, 255, .035), 0 0 0 64px rgba(255, 255, 255, .02);
  content: "";
}

.demo-preview .timeline {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
}

.demo-preview .timeline__item {
  min-height: 58px;
  padding: 9px 0 28px 58px;
}

.demo-preview .timeline__item:last-child {
  padding-bottom: 0;
}

.demo-preview .timeline__item::before {
  top: 42px;
  bottom: -2px;
  left: 20px;
  width: 1px;
  background: rgba(255, 255, 255, .26);
}

.demo-preview .timeline__marker {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 15px;
}

.demo-preview .timeline__item p {
  padding: 0;
  color: rgba(255, 255, 255, .91);
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 650;
  line-height: 1.4;
}

.demo-preview .fit-panel {
  height: 100%;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(17, 22, 63, .08);
}

.demo-preview .fit-card {
  min-height: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 0;
  border-left: 4px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.demo-preview .fit-card + .fit-card {
  border-top: 1px solid var(--line);
}

.demo-preview .fit-card--good {
  border-left-color: var(--success);
  background: linear-gradient(90deg, rgba(15, 138, 103, .055), transparent 68%);
}

.demo-preview .fit-card--limit {
  border-left-color: var(--warning);
  background: linear-gradient(90deg, rgba(184, 107, 22, .055), transparent 68%);
}

.demo-preview .fit-card h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 17px;
}

.demo-preview .fit-card p {
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.6;
}

.demo-preview .fit-panel__cta {
  margin-top: auto;
  padding: 32px 24px 24px;
}

.demo-preview .fit-panel__cta .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .demo-preview .section__head {
    margin-bottom: 32px;
  }

  .demo-preview .grid-12 {
    gap: 18px;
  }

  .demo-preview__agenda,
  .demo-preview .fit-panel {
    border-radius: 18px;
  }

  .demo-preview .timeline {
    padding: 26px 22px;
  }

  .demo-preview .timeline__item {
    padding-left: 54px;
  }

  .demo-preview .fit-card {
    padding: 22px;
  }

  .demo-preview .fit-panel__cta {
    padding: 26px 18px 18px;
  }
}


/* Home FAQ refinement */
.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  position: absolute;
  z-index: -1;
  top: 4rem;
  right: -15rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 92, 224, .075), transparent 68%);
  content: "";
}

.faq-section .container {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(32px, 7vw, 108px);
}

.faq-section .section__head {
  position: sticky;
  top: 108px;
  margin: 0;
}

.faq-section .section__head::before {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-700);
  content: "Questions before you request a demo";
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.faq-section .faq-list {
  max-width: none;
}

.faq-section .faq-item {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-section .faq-item[open] {
  border-color: rgba(60, 92, 224, .35);
  box-shadow: 0 14px 30px rgba(17, 22, 63, .08);
}

.faq-section .faq-item summary {
  padding: 21px 52px 21px 22px;
  color: var(--navy-900);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.4;
}

.faq-section .faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 19px;
  line-height: 25px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-section .faq-item p {
  max-width: 66ch;
  padding: 0 52px 22px 22px;
  color: var(--text);
  line-height: 1.65;
}

@media (hover: hover) {
  .faq-section .faq-item:hover {
    border-color: rgba(60, 92, 224, .32);
    transform: translateY(-1px);
  }
}

@media (max-width: 768px) {
  .faq-section .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-section .section__head {
    position: static;
  }

  .faq-section .faq-item summary {
    padding: 18px 48px 18px 18px;
  }

  .faq-section .faq-item summary::after {
    right: 14px;
  }

  .faq-section .faq-item p {
    padding: 0 18px 18px;
  }
}


/* Home demo-request refinement */
.demo-request-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f9ff 0%, var(--blue-50) 48%, #fff 100%);
}

.demo-request-section::before {
  position: absolute;
  z-index: 0;
  top: -16rem;
  right: -14rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(60, 92, 224, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(60, 92, 224, .025), 0 0 0 80px rgba(60, 92, 224, .015);
  content: "";
  pointer-events: none;
}

.demo-request-section .container {
  position: relative;
  z-index: 1;
}

.demo-request-section .section__head {
  max-width: 630px;
}

.demo-request-section .grid-12 {
  align-items: start;
}

.demo-request-section .form-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-color: rgba(60, 92, 224, .2);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(17, 22, 63, .12);
}

.demo-request-section .form-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600));
  content: "";
}

.demo-request-section .form-progress {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  letter-spacing: .08em;
}

.demo-request-section .form-step__heading {
  font-size: clamp(25px, 2.35vw, 32px);
  letter-spacing: -.025em;
}

.demo-request-section .form__row {
  margin-bottom: 22px;
}

.demo-request-section .form__control {
  border-color: #b4c0d2;
  border-radius: 10px;
  background: #fff;
}

.demo-request-section .form__control:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(60, 92, 224, .15);
  outline-offset: 1px;
}

.demo-request-section .form__actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.demo-request-section .form-panel-wrap > .form__small-text {
  max-width: 67ch;
}

.demo-request-section .next-step-panel {
  position: sticky;
  top: 104px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 40px);
  border: 0;
  border-radius: 22px;
  background: var(--navy-900);
  box-shadow: 0 24px 54px rgba(17, 22, 63, .18);
}

.demo-request-section .next-step-panel::before {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.demo-request-section .next-step-panel h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(23px, 2.1vw, 29px);
}

.demo-request-section .next-step-panel .timeline {
  position: relative;
  z-index: 1;
}

.demo-request-section .next-step-panel .timeline__item {
  padding-left: 48px;
  padding-bottom: 26px;
}

.demo-request-section .next-step-panel .timeline__item::before {
  left: 15px;
  background: rgba(255, 255, 255, .24);
}

.demo-request-section .next-step-panel .timeline__marker {
  background: var(--blue-600);
  color: #fff;
}

.demo-request-section .next-step-panel .timeline__item p {
  padding-top: 3px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
}

.demo-request-section .next-step-panel .reassurance {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

@media (max-width: 768px) {
  .demo-request-section .form-panel,
  .demo-request-section .next-step-panel {
    border-radius: 18px;
  }

  .demo-request-section .form-panel {
    padding: 26px 20px;
  }

  .demo-request-section .next-step-panel {
    position: static;
    padding: 28px 24px;
  }
}


/* Product page: recorded-order section */
.product-order-stage {
  position: relative;
  overflow: hidden;
}

.product-order-stage::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  left: -14rem;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 92, 224, .08), transparent 68%);
  content: "";
}

.product-order-stage .grid-12 {
  align-items: center;
}

.product-order-stage .product-explainer {
  position: relative;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(60, 92, 224, .16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(17, 22, 63, .14);
}

.product-order-stage .product-explainer::before {
  position: absolute;
  z-index: -1;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  border: 1px solid rgba(60, 92, 224, .12);
  border-radius: 24px;
  background: var(--blue-50);
  content: "";
}

.product-order-stage .image-frame__ratio {
  overflow: hidden;
  border-radius: 23px 23px 0 0;
}

.product-order-stage .image-frame__caption {
  border-top: 1px solid var(--line);
  background: #fff;
}

.product-order-stage h2 {
  max-width: 13ch;
  font-size: clamp(34px, 3.25vw, 48px);
  line-height: 1.09;
  letter-spacing: -.035em;
}

.product-order-stage .disclosure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 22, 63, .06);
}

.product-order-stage .disclosure summary {
  min-height: 62px;
  padding: 19px 22px;
  background: var(--blue-50);
}

.product-order-stage .disclosure ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 8px 20px 12px 42px;
}

.product-order-stage .disclosure li {
  padding: 8px 8px 8px 0;
  color: var(--ink-700);
  font-size: 14px;
}

.product-order-stage .disclosure p {
  margin: 0 20px 20px !important;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .product-order-stage .product-explainer::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
  }

  .product-order-stage h2 {
    max-width: none;
  }

  .product-order-stage .disclosure ol {
    grid-template-columns: 1fr;
  }
}


/* Product page: remaining section refinements */
.product-page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 0 clamp(72px, 9vw, 112px);
  background: linear-gradient(118deg, var(--navy-950), var(--navy-900));
}

.product-page-intro::before,
.product-page-intro::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.product-page-intro::before {
  top: -16rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .035), 0 0 0 88px rgba(255, 255, 255, .018);
}

.product-page-intro::after {
  bottom: -17rem;
  left: 38%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(83, 115, 255, .24), transparent 68%);
}

.product-page-intro h1 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.product-page-intro .lead {
  max-width: 61ch;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 1.7vw, 21px);
}

.product-page-intro .btn {
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.product-records-section {
  position: relative;
  overflow: hidden;
}

.product-records-section .grid-12 {
  align-items: center;
}

.product-records-section .image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(60, 92, 224, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(17, 22, 63, .1);
}

.product-records-section .image-frame__ratio {
  overflow: hidden;
  border-radius: 21px 21px 0 0;
}

.product-records-section .image-frame__caption {
  border-top: 1px solid var(--line);
  background: #fff;
}

.product-records-section h2 {
  max-width: 14ch;
  font-size: clamp(34px, 3.15vw, 47px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.product-records-section .benefit-list {
  position: relative;
  margin-top: 28px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 22, 63, .06);
}

.product-records-section .benefit-item {
  gap: 18px;
  margin: 0;
  padding: 20px 22px;
}

.product-records-section .benefit-item + .benefit-item {
  border-top: 1px solid var(--line);
}

.product-records-section .benefit-item .icon-holder {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
}

.product-records-section .benefit-item h3 {
  margin-bottom: 4px;
  font-size: 19px;
}

.product-records-section .section__cta {
  margin-top: 28px;
}

.product-document-flow {
  position: relative;
  overflow: hidden;
}

.product-document-flow .section__head {
  max-width: 750px;
}

.product-document-flow .doc-chain {
  max-width: 1080px;
  margin: clamp(36px, 5vw, 58px) 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 22, 63, .07);
}

.product-document-flow .doc-chain__step {
  padding: 13px 16px;
  border-color: var(--blue-100);
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(17, 22, 63, .04);
}

.product-document-flow .doc-chain__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 14px;
}

.product-document-flow .doc-chain__branch {
  margin: 12px 0 0 38%;
  padding: 11px 15px;
  border: 1px dashed rgba(60, 92, 224, .45);
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--navy-900);
}

.product-scope-section {
  position: relative;
  overflow: hidden;
}

.product-scope-section .section__head {
  max-width: 740px;
}

.product-scope-section .scope-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 22, 63, .08);
}

.product-scope-section .scope-table th {
  padding: 19px 20px;
  border: 0;
  background: var(--navy-900);
  color: #fff;
  font-size: 15px;
}

.product-scope-section .scope-table td {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-700);
  line-height: 1.55;
}

.product-scope-section .scope-table td:first-child {
  background: rgba(60, 92, 224, .035);
}

.product-scope-section .scope-table td:last-child {
  border-right: 0;
  background: rgba(23, 32, 51, .025);
}

.product-scope-section .scope-table tbody tr:last-child td {
  border-bottom: 0;
}

.product-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--navy-900);
  text-align: center;
}

.product-final-cta::before {
  position: absolute;
  top: -16rem;
  left: 50%;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .035);
  content: "";
  transform: translateX(-50%);
}

.product-final-cta .container {
  position: relative;
}

.product-final-cta h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -.035em;
}

.product-final-cta .lead {
  color: rgba(255, 255, 255, .78);
}

.product-final-cta .btn {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

@media (max-width: 768px) {
  .product-page-intro {
    padding: 72px 0 76px;
  }

  .product-page-intro h1,
  .product-records-section h2 {
    max-width: none;
  }

  .product-records-section .benefit-item {
    padding: 18px;
  }

  .product-document-flow .doc-chain {
    padding: 18px;
  }

  .product-document-flow .doc-chain__branch {
    margin-left: 0;
  }

  .product-scope-section .scope-table th,
  .product-scope-section .scope-table td {
    min-width: 210px;
    padding: 16px;
  }
}


/* Demo page refinement */
.demo-page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 10vw, 126px) 0 clamp(60px, 7vw, 84px);
  background: linear-gradient(135deg, #fff 0%, var(--blue-50) 64%, #eef2ff 100%);
}

.demo-page-intro::before {
  position: absolute;
  z-index: -1;
  top: -13rem;
  right: -11rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(60, 92, 224, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(60, 92, 224, .035), 0 0 0 84px rgba(60, 92, 224, .02);
  content: "";
}

.demo-page-intro h1 {
  max-width: 15ch;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.demo-page-intro .lead {
  margin-top: 20px;
  font-size: clamp(18px, 1.65vw, 21px);
}

.demo-request-page {
  position: relative;
  overflow: hidden;
  padding-top: clamp(32px, 5vw, 60px);
  background: #fff;
}

.demo-request-page .grid-12 {
  align-items: start;
}

.demo-request-page .form-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-color: rgba(60, 92, 224, .2);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(17, 22, 63, .12);
}

.demo-request-page .form-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600));
  content: "";
}

.demo-request-page .form-progress {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  letter-spacing: .08em;
}

.demo-request-page .form-step__heading {
  font-size: clamp(25px, 2.35vw, 32px);
  letter-spacing: -.025em;
}

.demo-request-page .form__row {
  margin-bottom: 22px;
}

.demo-request-page .form__control {
  border-color: #b4c0d2;
  border-radius: 10px;
}

.demo-request-page .form__control:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(60, 92, 224, .15);
  outline-offset: 1px;
}

.demo-request-page .form__actions {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.demo-request-page .demo-aside {
  position: sticky;
  top: 104px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(17, 22, 63, .18);
}

.demo-request-page .demo-aside::before {
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.demo-request-page .demo-aside h2,
.demo-request-page .demo-aside ul,
.demo-request-page .demo-aside .reassurance {
  position: relative;
  z-index: 1;
}

.demo-request-page .demo-aside h2 {
  font-size: clamp(23px, 2.1vw, 29px);
}

.demo-request-page .demo-aside li {
  padding-left: 28px;
  padding-bottom: 8px;
  line-height: 1.5;
}

.demo-request-page .demo-aside li::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-size: 11px;
}

.demo-request-page .demo-aside .reassurance {
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.demo-request-page .demo-contact {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--blue-50);
}

.demo-request-page .demo-contact .reassurance {
  margin: 0;
  color: var(--navy-900);
  font-weight: 700;
}

.demo-request-page .demo-contact .contact-methods {
  margin-top: 10px;
  gap: 5px;
}

.demo-request-page .demo-contact .contact-method a {
  color: var(--blue-700);
}

@media (max-width: 768px) {
  .demo-page-intro {
    padding: 72px 0 58px;
  }

  .demo-page-intro h1 {
    max-width: none;
  }

  .demo-request-page .form-panel,
  .demo-request-page .demo-aside {
    border-radius: 18px;
  }

  .demo-request-page .form-panel {
    padding: 26px 20px;
  }

  .demo-request-page .demo-aside {
    position: static;
    padding: 28px 24px;
  }
}


/* About page refinement */
.about-page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0 clamp(72px, 9vw, 108px);
  background: linear-gradient(135deg, #fff 0%, var(--blue-50) 66%, #edf2ff 100%);
}

.about-page-intro::before {
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -10rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(60, 92, 224, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(60, 92, 224, .035), 0 0 0 84px rgba(60, 92, 224, .018);
  content: "";
}

.about-page-intro h1 {
  max-width: 15ch;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.about-page-intro .lead {
  margin-top: 20px;
  font-size: clamp(18px, 1.65vw, 21px);
}

.about-story-section {
  position: relative;
  overflow: hidden;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.about-story-card {
  position: relative;
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(17, 22, 63, .07);
}

.about-story-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--blue-700);
  content: "";
}

.about-story-card:nth-child(2) {
  border-color: rgba(60, 92, 224, .18);
  background: linear-gradient(145deg, #fff, var(--blue-50));
}

.about-story-card h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(28px, 2.75vw, 39px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.about-story-card p {
  max-width: 47ch;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

/* About page: who builds it */
.about-team-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
}

.about-team-section::before {
  position: absolute;
  z-index: 0;
  top: -14rem;
  left: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(60, 92, 224, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(60, 92, 224, .028), 0 0 0 80px rgba(60, 92, 224, .015);
  content: "";
  pointer-events: none;
}

.about-team-section .container {
  position: relative;
  z-index: 1;
}

.about-team-section .section__head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -.03em;
}

.about-cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.about-cred-item {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 22, 63, .06);
}

.about-cred-item .icon-holder {
  margin-bottom: 16px;
}

.about-cred-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
}

.about-cred-item p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.about-people {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(60, 92, 224, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
}

.about-people__title {
  margin-bottom: 20px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-people__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.about-person {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.about-person__initials {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.about-person__name {
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 700;
}

.about-person__role {
  margin-top: 2px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.5;
}

.about-people__note {
  margin-top: clamp(20px, 2.5vw, 28px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 14px;
}

.about-contact-layout .about-contact-address {
  margin-top: 20px;
  color: rgba(255, 255, 255, .55) !important;
  font-size: 13px;
}

.about-contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--navy-900);
}

.about-contact-section::before {
  position: absolute;
  top: -15rem;
  left: 50%;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(255, 255, 255, .035);
  content: "";
  transform: translateX(-50%);
}

.about-contact-layout {
  position: relative;
  max-width: 760px;
  text-align: center;
}

.about-contact-layout h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -.035em;
}

.about-contact-layout > p {
  color: rgba(255, 255, 255, .76) !important;
}

.about-contact-layout .contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-contact-layout .contact-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 4px 6px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  text-align: center;
}

.about-contact-layout .contact-method a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.about-contact-layout .contact-method a,
.about-contact-layout .link-arrow {
  color: #fff;
}

.about-contact-layout .btn {
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

@media (max-width: 768px) {
  .about-page-intro {
    padding: 72px 0 76px;
  }

  .about-page-intro h1 {
    max-width: none;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-story-card {
    min-height: 0;
    padding: 30px 24px;
    border-radius: 18px;
  }

  .about-contact-layout .contact-methods {
    grid-template-columns: 1fr;
  }

  .about-cred-grid,
  .about-people__list {
    grid-template-columns: 1fr;
  }

  .about-people {
    padding: 24px 20px;
  }
}

/* Footer refinement */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 72px) 0 clamp(28px, 3vw, 36px);
}

.site-footer::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600));
  content: "";
}

.site-footer::after {
  position: absolute;
  z-index: 0;
  right: -12rem;
  bottom: -14rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .022), 0 0 0 80px rgba(255, 255, 255, .012);
  content: "";
  pointer-events: none;
}

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

.site-footer .footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(120px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.footer__brand img {
  width: 160px;
}

.footer__brand p {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
}

.footer__col-label {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-footer .footer__links {
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 12px;
}

.site-footer .footer__links a {
  display: inline-flex;
  transition: color 150ms ease, transform 150ms ease;
}

.site-footer .footer__links a:hover {
  transform: translateX(2px);
}

.footer__links--contact a {
  font-size: 15px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: rgba(255, 255, 255, .7);
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.footer__social a:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

@media (max-width: 768px) {
  .site-footer .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

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