/* ============================================================
   AMSY Visual Redesign — appearance & layout only
   Plugin contracts, class names used by JS, data-amsy-*, forms
   and all functional hooks remain untouched.
   ============================================================ */

:root {
  /* Surfaces */
  --vault: #0c1a15;
  --vault-2: #12241d;
  --vault-3: #1a3028;
  --vault-line: rgba(180, 210, 190, .14);
  --vault-text: #e8f0eb;
  --vault-muted: #9fb5a8;

  --porcelain: #f6f8f5;
  --porcelain-2: #eef2eb;
  --paper: #ffffff;
  --ink: #0d1a15;
  --ink-2: #3d5248;
  --ink-3: #566b60;
  --line: #dce5df;

  /* Brand */
  --accent: #1aad8a;
  --accent-hi: #3dd4b0;
  --accent-soft: #d4f5eb;
  --accent-ink: #0a6b54;
  --signal: #7ec9a8;
  --signal-ink: #1a6b50;
  --lime: #c5e87a;
  --alert: #e86b5a;

  /* Type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --wrap: 1180px;
  --gutter: 28px;
  --header-h: 76px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(.22, .8, .28, 1);
  --shadow-sm: 0 2px 8px -2px rgba(13, 26, 21, .06);
  --shadow-md: 0 12px 32px -12px rgba(13, 26, 21, .12);
  --shadow-lg: 0 24px 48px -16px rgba(13, 26, 21, .18);
  --shadow-accent: 0 12px 28px -8px rgba(26, 173, 138, .35);
}

/* ---------- base overrides ---------- */
body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.025em;
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 248, 245, .88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font: 700 1.15rem/1 var(--display);
  letter-spacing: .04em;
  color: var(--ink);
}

.brand-text small {
  margin-top: 5px;
  font-size: .65rem;
  color: var(--ink-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav-list,
.site-nav .menu {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 550;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.nav-list a:hover {
  color: var(--ink);
  background: var(--porcelain-2);
}

.nav-list a[aria-current="page"],
.nav-list .current-menu-item > a {
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.site-header .btn-quiet {
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 550;
}

.site-header .btn-quiet:hover {
  color: var(--accent-ink);
}

.site-header .btn-primary {
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: none;
}

.site-header .btn-primary:hover {
  background: var(--vault-2);
  transform: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  font: 600 .9375rem/1 var(--body);
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #042a20;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -8px rgba(26, 173, 138, .4);
}

.tone-light .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(13, 26, 21, .25);
}

.tone-light .btn-primary:hover {
  background: var(--vault-2);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-hi);
  color: var(--accent-hi);
  background: rgba(255, 255, 255, .06);
}

.btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-row.is-center {
  justify-content: center;
}

/* ---------- sections & tones ---------- */
.section {
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
}

.amsy-refined .section {
  padding-block: clamp(64px, 8vw, 104px);
}

.tone-dark {
  --fg: var(--vault-text);
  --fg-2: var(--vault-muted);
  --fg-h: #fff;
  --bg: var(--vault);
  --surface: var(--vault-2);
  --rule: var(--vault-line);
  --link: var(--accent-hi);
  --sig: var(--signal);
  background: var(--bg);
  color: var(--fg);
}

.tone-light {
  --fg: var(--ink-2);
  --fg-2: var(--ink-3);
  --fg-h: var(--ink);
  --bg: var(--porcelain);
  --surface: var(--paper);
  --rule: var(--line);
  --link: var(--accent-ink);
  --sig: var(--signal-ink);
  background: var(--bg);
  color: var(--fg);
}

.tone-light.tone-alt {
  --bg: var(--paper);
  --surface: var(--porcelain);
}

.tone-dark h1, .tone-dark h2, .tone-dark h3,
.tone-light h1, .tone-light h2, .tone-light h3 {
  color: var(--fg-h);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin: 0 0 1rem;
  font: 650 .75rem/1.3 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sig);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: .35em;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 58ch;
  margin: 0;
}

/* ---------- hero ---------- */
.amsy-refined .hero {
  background: linear-gradient(165deg, #f6f8f5 0%, #eef4ef 45%, #e6f0e8 100%);
  color: var(--ink);
  padding: 48px 0 0;
  --fg-h: var(--ink);
  --fg: var(--ink-2);
  --fg-2: var(--ink-3);
  --sig: var(--signal-ink);
  position: relative;
  overflow: hidden;
}

.amsy-refined .hero .field-lines,
.amsy-refined .hero .fx-net {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}

.hero-copy h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 2rem + 3.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 650;
  margin-bottom: .45em;
}

.hero .lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 38ch;
  margin-bottom: 1.6em;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: .5em;
  margin-top: 1.25em;
  font-size: .875rem;
  color: var(--ink-3);
}

.hero-stage {
  position: relative;
}

.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
}

/* module bar under hero */
.module-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 8px;
  box-shadow: var(--shadow-md);
}

.module-bar a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  transition: background .2s ease;
}

.module-bar a:hover {
  background: var(--accent-soft);
}

.module-bar .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

.module-bar b {
  display: block;
  font-size: .875rem;
  font-weight: 650;
  margin-bottom: 2px;
}

.module-bar small {
  font-size: .75rem;
  color: var(--ink-3);
  line-height: 1.35;
}

/* ---------- ticker ---------- */
.fx-ticker {
  background: var(--porcelain-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.fx-ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: fx-tick 40s linear infinite;
  padding-left: 48px;
}

.fx-ticker span {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.fx-ticker span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}

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

/* ---------- retail question ---------- */
.r-question {
  background: var(--vault);
  color: var(--vault-text);
  padding: 56px 0;
}

.r-question-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.r-eyebrow {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--lime);
  margin-bottom: 14px;
}

.r-question h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.25rem);
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.r-question p:not(.r-eyebrow) {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--vault-muted);
  margin: 0 0 12px;
}

.r-text-link {
  color: var(--lime);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  transition: opacity .2s;
}

.r-text-link:hover {
  opacity: .8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- motion / visibility lab ---------- */
.visibility-lab {
  background: var(--paper);
}

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

.lab-heading h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem);
  margin: 0;
}

.motion-toggle {
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.motion-toggle:hover,
.motion-toggle[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}

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

.motion-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s;
}

.motion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.motion-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.motion-top small {
  font-size: .65rem;
  letter-spacing: .04em;
  opacity: .7;
}

.motion-card h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.motion-card p {
  font-size: .875rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* motion illustration scenes */
.identity-scene,
.mini-scan,
.insight-scene {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 20px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
}

.identity-tag {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .7rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.signal-lane {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 36px;
}

.signal-lane i {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  animation: signal-pulse 1.8s ease-in-out infinite;
}

.signal-lane i:nth-child(2) { animation-delay: .2s; width: 80%; }
.signal-lane i:nth-child(3) { animation-delay: .4s; width: 55%; }

@keyframes signal-pulse {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}

.identity-record {
  background: var(--vault);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .7rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 90px;
}

.identity-record b { font-size: .65rem; letter-spacing: .06em; opacity: .7; }
.identity-record span {
  height: 4px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
}
.identity-record em {
  font-style: normal;
  color: var(--accent-hi);
  font-size: .7rem;
  font-weight: 600;
}

.mini-scan {
  position: relative;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.mini-scan span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .6rem;
  display: grid;
  place-items: center;
}

.mini-scan .scan-exception {
  background: #fde8e4;
  color: var(--alert);
  font-weight: 700;
}

.scan-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: .6;
  animation: scan-move 2.4s ease-in-out infinite;
}

@keyframes scan-move {
  0% { top: 15%; opacity: 0; }
  20% { opacity: .7; }
  80% { opacity: .7; }
  100% { top: 85%; opacity: 0; }
}

.sample-readout {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: .75rem;
  color: var(--ink-3);
}

.sample-readout b {
  color: var(--alert);
  font-weight: 650;
}

.insight-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
}

.insight-bars i {
  width: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: 3px 3px 0 0;
  animation: bar-bounce 2s ease-in-out infinite;
}

.insight-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.insight-bars i:nth-child(2) { height: 65%; animation-delay: .1s; }
.insight-bars i:nth-child(3) { height: 50%; animation-delay: .2s; }
.insight-bars i:nth-child(4) { height: 80%; animation-delay: .3s; }
.insight-bars i:nth-child(5) { height: 45%; animation-delay: .4s; }
.insight-bars i:nth-child(6) { height: 70%; animation-delay: .5s; }

@keyframes bar-bounce {
  0%, 100% { transform: scaleY(.7); }
  50% { transform: scaleY(1); }
}

.insight-scene span {
  font-size: .65rem;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-left: 8px;
}

/* ---------- capabilities matrix ---------- */
.matrix {
  display: grid;
  gap: 20px;
}

.matrix.is-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.matrix.is-photo .matrix-cell {
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s;
}

.matrix.is-photo .matrix-cell:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.cell-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--porcelain-2);
}

.cell-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.matrix-cell:hover .cell-photo img {
  transform: scale(1.06);
}

.cell-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.cell-icon .icon {
  width: 18px;
  height: 18px;
}

.cell-body {
  padding: 20px 20px 24px;
}

.cell-body h3 {
  font-size: 1.05rem;
  margin-bottom: .35em;
}

.cell-body p {
  font-size: .875rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* ---------- workflow steps ---------- */
.steps.is-track {
  display: grid;
  grid-template-columns: repeat(var(--count, 5), minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  position: relative;
  border: none;
  margin-bottom: 40px;
}

.steps.is-track::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-soft));
  opacity: .5;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--porcelain-2);
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.step:hover .step-photo img {
  transform: scale(1.06);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  margin: 16px 16px 8px;
  font: 650 .75rem/1 var(--mono);
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: none;
  border-radius: 8px;
  padding: 0 10px;
}

.step h3 {
  font-size: 1rem;
  margin: 0 16px 6px;
}

.step p {
  font-size: .8125rem;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0 16px 20px;
}

.tech-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin-top: 8px;
}

.tech-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--porcelain);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.tech-facts .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
  margin-top: 2px;
}

.tech-facts b {
  display: block;
  font-size: .9rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.tech-facts span {
  font-size: .8125rem;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ---------- retail story ---------- */
.retail-story {
  background: var(--porcelain);
}

.retail-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.retail-story figure {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.retail-story figure img {
  width: 100%;
  height: auto;
  display: block;
}

.retail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 24px;
}

.retail-chips li {
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}

.retail-story h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.retail-story p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- security ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.point-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.point-list .icon {
  width: 22px;
  height: 22px;
  color: var(--accent-hi);
  flex: none;
  margin-top: 3px;
}

.point-list b {
  display: block;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 3px;
}

.point-list span {
  font-size: .875rem;
  color: var(--vault-muted);
  line-height: 1.5;
}

.framed-photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 56px -16px rgba(0, 0, 0, .45);
}

.framed-photo img {
  width: 100%;
  display: block;
  transition: transform 1s ease;
}

.framed-photo:hover img {
  transform: scale(1.03);
}

.photo-readout {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(12, 26, 21, .85));
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
}

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

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-hi);
  box-shadow: 0 0 0 0 rgba(61, 212, 176, .5);
  animation: live-ping 2s infinite;
}

@keyframes live-ping {
  70% { box-shadow: 0 0 0 8px rgba(61, 212, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 212, 176, 0); }
}

/* ---------- media section ---------- */
.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

/* ---------- final CTA ---------- */
.final-cta {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-inline: auto;
}

.final-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 16px;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  margin-bottom: .4em;
}

.final-cta p {
  font-size: 1.05rem;
  color: var(--vault-muted);
  max-width: 48ch;
  margin: 0 auto 1.5em;
  line-height: 1.65;
}

.cta-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  list-style: none;
  margin: 0 0 2em;
}

.cta-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--vault-text);
}

.cta-facts .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-hi);
}

.subhero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
}

.subhero-bg.is-faint {
  opacity: .08;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--vault);
  color: var(--vault-text);
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .07;
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding: 56px 0 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
  font: 700 1.35rem/1.1 var(--display);
  letter-spacing: .03em;
}

.footer-brand small {
  font-size: .7rem;
  color: var(--vault-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-pitch {
  max-width: 420px;
}

.footer-pitch p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--vault-muted);
  margin-bottom: 1.25em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--vault-line);
  position: relative;
  z-index: 1;
}

.footer-grid h2 {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vault-muted);
  margin-bottom: 14px;
  font-weight: 650;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  display: block;
  padding: 5px 0;
  font-size: .9rem;
  color: var(--vault-text);
  text-decoration: none;
  transition: color .2s;
}

.footer-grid a:hover {
  color: var(--accent-hi);
}

.footer-grid .two-col {
  columns: 2;
  column-gap: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--vault-line);
  font-size: .75rem;
  color: var(--vault-muted);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ---------- pricing & other pages (general polish) ---------- */
.page-hero,
.subhero {
  padding: 64px 0 48px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .matrix.is-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps.is-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps.is-track::before {
    display: none;
  }
  .module-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
    --gutter: 20px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s ease;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list,
  .site-nav .menu {
    flex-direction: column;
    gap: 2px;
  }

  .nav-list a {
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }

  .nav-actions {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .hero-photo {
    max-width: 520px;
    margin-inline: auto;
  }

  .r-question-grid,
  .retail-story-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .motion-grid {
    grid-template-columns: 1fr;
  }

  .tech-facts {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

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

  .footer-grid .two-col {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .module-bar {
    grid-template-columns: 1fr;
  }

  .steps.is-track {
    grid-template-columns: 1fr 1fr;
  }

  .matrix.is-links {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    letter-spacing: -.03em;
  }

  .btn {
    min-height: 46px;
    font-size: .875rem;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fx-ticker-track,
  .signal-lane i,
  .scan-sweep,
  .insight-bars i,
  .live-dot,
  .hero-photo,
  .matrix-cell,
  .step,
  .motion-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- v1.6.0 contrast fixes: light surfaces must never inherit white text ---------- */
.tone-light .btn-outline { border-color: rgba(13, 26, 21, .35); color: var(--ink); background: transparent; }
.tone-light .btn-outline:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.module-bar b { color: var(--ink); }
.module-bar a:hover b { color: var(--accent-ink); }
.module-bar a, .module-bar a + a, .module-bar a:nth-child(3) { padding: 18px 16px; border-left: 0; }
.tone-light { --alert: #b83a2a; }
.motion-card .scan-exception, .motion-card + .motion-card b { color: #b83a2a; }

/* v1.10.1 Media & Training page: compact hero and tighter spacing */
.page-template-page-amsy-media .subhero{padding:32px 0 28px}
.page-template-page-amsy-media .subhero h1{font-size:clamp(1.8rem,1.2rem + 2vw,2.6rem)}
.page-template-page-amsy-media .subhero .btn-row{margin-top:18px}
.page-template-page-amsy-media .subhero-visual img,.page-template-page-amsy-media .subhero .subhero-media img{max-height:220px;width:auto;object-fit:cover}
.page-template-page-amsy-media .section{padding-block:clamp(32px,4vw,52px)}
.page-template-page-amsy-media .section-head{margin-bottom:20px}
.page-template-page-amsy-media .media-after-training{padding-top:0}
.page-template-page-amsy-media .media-after-training .section-head{margin-top:8px;padding-top:28px}
