/* AMDana public site — premium layer (31 Oct 2026)
   Loaded LAST, after site.css, on every marketing page. site.css is left as
   it was (tests read it, and the bid room and checkout depend on it); this
   file restates the visual language on top of it:
   system type, near-monochrome colour, raised tiles, slim translucent nav,
   pill buttons, generous whitespace, no 3D tilt, nothing hidden until scroll. */

:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Satoshi", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Satoshi", Arial, sans-serif;

  --accent: #2547F4;
  --accent-hover: #1B37C7;
  --accent-on-dark: #6E8BFF;
  --canvas: #fbfbfd;
  --canvas-2: #f5f5f7;
  --tile: #ffffff;
  --tile-dark: #1d1d1f;

  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --navy: #1d1d1f;
  --navy-2: #1d1d1f;
  --navy-3: #2c2c2e;
  --cobalt: #2547F4;
  --cloud: #f5f5f7;
  --line: #e3e3e8;
  --line-2: #d2d2d7;

  --text-base: 1.0625rem;
  --shell: 1120px;

  --tile-radius: 30px;
  --tile-pad: 48px;
  --tile-shadow: 0 1px 1px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06), 0 24px 64px rgba(0,0,0,.06);
  --tile-shadow-hover: 0 2px 4px rgba(0,0,0,.05), 0 14px 36px rgba(0,0,0,.09), 0 36px 88px rgba(0,0,0,.10);
  --ease-tile: cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 640px) {
  :root { --tile-radius: 22px; --tile-pad: 26px; }
}

/* ---------------------------------------------------------------- base */
body {
  background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.47; font-weight: 400;
  letter-spacing: -0.012em;
}
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.07; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -0.022em; line-height: 1.14; }
h4 { font-size: 1.1875rem; letter-spacing: -0.018em; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.42; color: var(--ink-3); font-weight: 400; letter-spacing: -0.016em; }
.muted { color: var(--ink-3); }
.eyebrow {
  display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; text-transform: none;
  color: var(--ink-3); margin-bottom: .6rem;
}
.eyebrow::before { content: none; }
.tagline { font-style: normal; color: var(--ink-3); font-weight: 400; }
:focus-visible { outline: 3px solid rgba(37,71,244,.45); outline-offset: 3px; }

.shell { width: min(var(--shell), calc(100% - 3rem)); }
.shell-narrow { width: min(820px, calc(100% - 3rem)); }
.section { padding-block: 136px; }
.section-tight { padding-block: 96px; }
@media (max-width: 760px) {
  .shell, .shell-narrow { width: calc(100% - 2rem); }
  .section { padding-block: 84px; }
  .section-tight { padding-block: 64px; }
}
.section-head { display: block; max-width: 860px; margin-bottom: 56px; }
.section-head h2 { max-width: 20ch; }
.section-head .lede { margin-top: 1.1rem; max-width: 54ch; }
.section-head > div + div { margin-top: 1.4rem; }
a.more, a.link-more { font-weight: 400; white-space: nowrap; }
a.more:hover, a.link-more:hover { text-decoration: underline; }

/* ------------------------------------------------------------- buttons */
.button {
  border-radius: 980px; min-height: 44px; padding: 0 22px;
  font-family: var(--font-body); font-size: 17px; font-weight: 400; letter-spacing: -0.01em;
  background: var(--accent); color: #fff; border: 1px solid transparent; box-shadow: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { background: var(--accent-hover); transform: none; }
.button:active { transform: none; }
.button-amber { background: var(--accent); color: #fff; }
.button-amber:hover { background: var(--accent-hover); color: #fff; }
.button-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.button-ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.button-light { background: transparent; color: var(--accent-on-dark); border-color: transparent; padding-inline: 8px; }
.button-light:hover { background: transparent; color: #fff; }
.button-large { min-height: 50px; padding: 0 28px; font-size: 17px; }
.button-small { min-height: 30px; padding: 0 14px; font-size: 13px; }
/* Trailing arrows read as decoration at this scale; a leading icon (Run the week) stays. */
.button > svg.icon:last-child:not(:first-child) { display: none; }

/* ------------------------------------------------------------------ nav */
.site-header {
  background: rgba(251,251,253,.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-shell { min-height: 54px; width: min(var(--shell), calc(100% - 3rem)); }
.brand { gap: .55rem; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.03em; }
.brand-word .am { color: var(--ink); }
.brand small { display: none; }
.site-nav { gap: 1.75rem; }
.site-nav a { color: rgba(0,0,0,.8); font-weight: 400; font-size: 13px; letter-spacing: -0.005em; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav .button, .site-nav .button:hover, .site-nav .nav-demo, .site-nav .nav-demo:hover, .site-nav .nav-demo[aria-current="page"] { color: #fff; font-weight: 400; }
.nav-toggle { border: 0; background: transparent; border-radius: 10px; }
@media (min-width: 921px) { .site-nav { gap: 1.6rem; } }
@media (max-width: 920px) {
  .site-nav { background: rgba(251,251,253,.98); padding: .5rem 1.5rem 1.25rem; box-shadow: 0 24px 48px rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); }
  .site-nav a { font-size: 17px; min-height: 48px; display: flex; align-items: center; padding: 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .site-nav .button { min-height: 44px; margin-top: 1rem; justify-content: center; font-size: 17px; border-bottom: 0; }
}

/* The floating "Book a demo" button stays in the markup for the tests and
   scripts that look for it, but no longer floats over the content: the nav
   pill and the hero carry the same link. */
.demo-float { display: none !important; }
body.has-demo-float { padding-bottom: 0 !important; }

/* ----------------------------------------------------------------- hero */
.hero { padding-block: 104px 136px; overflow: clip; text-align: center; }
.hero-grid { display: block; }
.hero-grid > div:first-child { max-width: 900px; margin-inline: auto; }
.hero h1 { max-width: none; margin-inline: auto; }
.hero h1 em { display: block; font-style: normal; color: var(--ink-3); }
.hero .lede { margin: 1.5rem auto 0; max-width: 40ch; }
.hero-actions { justify-content: center; align-items: center; gap: 28px; margin-top: 2.25rem; }
.hero-actions .link-more { font-size: 17px; }
.hero-meta { justify-content: center; gap: .5rem 1.75rem; margin-top: 2rem; color: var(--ink-3); font-size: 14px; font-weight: 400; }
.hero-meta .icon { color: var(--ink-4); }

/* Product screens: flat, in one raised tile, cross-fading. No perspective, no parallax. */
.stage { perspective: none; min-height: 0; max-width: 880px; margin: 80px auto 0; padding-bottom: 72px; text-align: left; }
.stage-inner { transform: none !important; transform-style: flat; height: 470px; transition: none; }
.screen {
  transform: none !important; transform-style: flat; border: 0; border-radius: var(--tile-radius);
  box-shadow: var(--tile-shadow); background: var(--tile); opacity: 0; transition: opacity .7s ease;
}
.screen[data-pos="0"] { opacity: 1; z-index: 3; }
.screen[data-pos="1"], .screen[data-pos="2"], .screen[data-pos="3"] { opacity: 0; }
.screen-bar { background: transparent; border-bottom: 1px solid var(--line); padding: 14px 22px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.screen-bar i, .screen-bar i:first-child, .screen-bar i:nth-child(2), .screen-bar i:nth-child(3) { background: #d2d2d7; }
.screen-bar b { color: var(--ink-3); font-weight: 600; }
.screen-body { padding: 26px 30px; gap: 1rem; }
.stage-dots { left: 50%; transform: translateX(-50%); bottom: 26px; gap: 10px; }
.stage-dots button { width: 8px; height: 8px; border-radius: 50%; background: #d2d2d7; position: relative; }
.stage-dots button::after { content: ""; position: absolute; inset: -18px; }
.stage-dots button[aria-current="true"] { background: var(--ink); }
.stage-caption { left: 0; right: 0; bottom: -4px; text-align: center; font-size: 14px; font-weight: 400; color: var(--ink-3); }
@media (max-width: 960px) {
  .hero { padding-block: 72px 88px; }
  .stage { margin-top: 56px; min-height: 0; }
  .stage-inner { height: 440px; }
  .stage-caption { bottom: -4px; }
}
@media (max-width: 520px) {
  .hero-actions { gap: 18px; }
  .stage-inner { height: 430px; }
  .screen-body { padding: 18px; }
  .screen-bar { padding: 12px 16px; }
}

/* Mockup internals: quieter, still the real product. */
.mock-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.row, .msg, .kpi, .pollgrid > div { border-color: var(--line); }
.row { border-radius: 12px; }
.kpi { background: var(--canvas-2); border: 0; border-radius: 14px; }
.kpi b { font-family: var(--font-display); font-weight: 600; }
.pollgrid .h { background: var(--ink); border-color: var(--ink); }
.table th { letter-spacing: .02em; }

/* ------------------------------------------- the tour (slideshow, dark) */
.rail { background: #000; padding-block: 136px; }
.rail h2, .rail h3 { color: #f5f5f7; }
.rail .eyebrow { color: var(--ink-4); }
.rail .lede { color: var(--ink-4); }
.slideshow { margin-top: 0; }
/* All slides share one grid cell, so the stack is as tall as its tallest
   slide at every width: nothing overlaps the controls, nothing is clipped. */
.slides { display: grid; min-height: 0; }
.slide {
  position: relative; inset: auto; grid-area: 1 / 1;
  background: var(--tile-dark); border-radius: 32px; padding: 56px;
  transform: none; transition: opacity .6s ease, visibility .6s;
}
.slide[data-state="active"], .slide[data-state="leaving"] { transform: none; }
.slide-num { color: var(--ink-3); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; font-size: 14px; }
.slide-copy h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.03em; color: #f5f5f7; }
.slide-copy p { color: #a1a1a6; font-size: 17px; line-height: 1.5; }
.slide-copy li { color: #d2d2d7; font-size: 15px; }
.slide-copy li .icon { color: var(--ink-4); }
.slide-visual { background: #fff; border-radius: 22px; padding: 24px; box-shadow: none; }
.slide-controls { margin-top: 28px; }
.slide-controls button { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.slide-progress button { height: 3px; background: rgba(255,255,255,.18); }
.slide-progress button[aria-current="true"]::after { background: #f5f5f7; }
@media (max-width: 900px) {
  .slides { min-height: 0; }
  .slide { padding: 28px 24px; border-radius: 24px; }
  .rail { padding-block: 88px; }
}
.ticker { display: none; }

/* ------------------------------------------------------------ simulator */
.sim { background: var(--canvas-2); border: 0; }
.sim-picker { gap: 10px; margin-bottom: 32px; }
.sim-picker button { min-height: 44px; padding: 0 18px; border-radius: 980px; border: 1px solid var(--line-2); background: transparent; font-weight: 400; font-size: 15px; color: var(--ink); }
.sim-picker button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sim-grid { gap: 24px; }
.sim-story, .sim-dash {
  background: var(--tile); border: 0; border-radius: var(--tile-radius); padding: var(--tile-pad); box-shadow: var(--tile-shadow);
}
.sim-dash { top: 88px; }
.timeline .what { background: var(--canvas-2); border: 0; border-radius: 14px; }
.timeline .when { color: var(--ink-4); letter-spacing: .02em; }
.sim-dash .kpi b { font-weight: 600; }

/* -------------------------------------------- pillars, as raised tiles */
html.js .reveal:not(.is-in), .reveal { opacity: 1; transform: none; }
.pillars { gap: 28px; }
.pillar {
  background: var(--tile); border: 0; border-radius: var(--tile-radius); padding: var(--tile-pad);
  box-shadow: var(--tile-shadow); gap: 48px;
}
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; }
.pillar-copy li .icon { color: var(--ink-4); }
.pillar-visual { background: var(--canvas-2); border: 0; box-shadow: none; border-radius: 22px; padding: 24px; }
.pillar-visual .row, .pillar-visual .table { background: transparent; }
@media (max-width: 900px) { .pillar { gap: 28px; } .pillar-visual { padding: 16px; } }

/* --------------------------------------------------------------- globe */
.globe-section { background: #000; }
.globe-section .eyebrow { color: var(--ink-4); }
.globe-section .lede { color: #a1a1a6; }
.globe-fallback { background: radial-gradient(circle at 38% 32%, #3a3a3c, #1d1d1f 55%, #000 80%); box-shadow: none; }
.zone { background: var(--tile-dark); border: 0; border-radius: 14px; }
.zone small { color: var(--ink-4); }
.zone .ok { color: #f5f5f7; } .zone .warn { color: var(--ink-4); }

/* -------------------------------------------- security, as bento tiles */
.ledger {
  grid-template-columns: repeat(3, 1fr); gap: 24px; border: 0; border-radius: 0; overflow: visible; background: transparent;
}
.ledger > div {
  background: var(--tile); border: 0 !important; border-radius: var(--tile-radius); padding: 40px;
  box-shadow: var(--tile-shadow);
}
.ledger > div:nth-child(4n+1), .ledger > div:nth-child(4n) { grid-column: span 2; }
.ledger h4 { font-size: 1.3125rem; letter-spacing: -0.022em; gap: .7rem; margin-bottom: .6rem; }
.ledger h4 .icon { color: var(--accent); width: 1.3em; height: 1.3em; }
.ledger p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ledger .status { color: var(--ink-4); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 13px; margin-top: 1rem; }
@media (max-width: 900px) {
  .ledger { grid-template-columns: 1fr; gap: 16px; }
  .ledger > div:nth-child(4n+1), .ledger > div:nth-child(4n) { grid-column: auto; }
  .ledger > div { padding: var(--tile-pad); }
}
.honest { background: var(--canvas-2); border: 0; border-radius: 22px; padding: 28px 32px; margin-top: 28px; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------- pricing */
.pricing { background: var(--canvas-2); border: 0; }
.billing-toggle { background: #e8e8ed; border: 0; }
.billing-toggle button { font-weight: 400; font-size: 14px; }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.billing-note { color: var(--ink-3); font-size: 14px; max-width: 70ch; }
.plans { gap: 24px; margin-top: 48px; }
.plan {
  background: var(--tile); border: 0; border-radius: var(--tile-radius); padding: 40px; box-shadow: var(--tile-shadow);
}
.plan[data-featured="true"] { background: var(--tile-dark); border: 0; box-shadow: var(--tile-shadow); }
.plan[data-featured="true"] .plan-tag, .plan[data-featured="true"] .price small, .plan[data-featured="true"] li, .plan[data-featured="true"] .fee { color: #a1a1a6; }
.plan[data-featured="true"] li .icon { color: #f5f5f7; }
.plan[data-featured="true"] .fee .fee-term { color: var(--ink-4); }
.plan-badge {
  top: 18px; left: auto; right: 22px; background: rgba(255,255,255,.12); color: #f5f5f7;
  font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; padding: .3rem .75rem;
}
.plan[data-featured="true"] .plan-head { padding-right: 7.5rem; }
.plan h3 { font-size: 2rem; letter-spacing: -0.03em; }
.plan-tag { font-weight: 400; font-size: 15px; }
.price b { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; }
.price small { font-weight: 400; }
.plan li .icon { color: var(--ink-4); }
.plan .button { margin-top: auto; }
@media (max-width: 640px) { .plan { padding: var(--tile-pad); } }

.matrix { margin-top: 0; background: var(--tile); border-radius: var(--tile-radius); box-shadow: var(--tile-shadow); padding: 16px 28px; }
.matrix .table th { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.matrix .yes { color: var(--ink); } .matrix .lim { color: var(--ink-3); }
.matrix tr.group td { background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; padding-top: 1.6rem; color: var(--ink); }

.faq { gap: 12px; }
.faq details { border: 0; border-radius: 18px; background: var(--tile); box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 4px 14px rgba(0,0,0,.05); padding: 0 24px; }
.faq summary { font-weight: 600; min-height: 56px; }
.faq summary::after { color: var(--ink-3); }

.rules li { border-color: var(--line); }

/* ---------------------------------------------------------- page heads */
.page-head { padding-block: 104px 56px; }
.page-head h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 20ch; letter-spacing: -0.035em; }
.page-head .lede { margin-top: 1.25rem; }
@media (max-width: 760px) { .page-head { padding-block: 64px 36px; } }

/* ----------------------------------------------------------- catalogue */
.catalogue { gap: 64px; }
.cat-group { border-top: 1px solid var(--line); padding-top: 40px; }
.cat-group h3 { font-size: 1.5rem; top: 84px; }
.cat-items { gap: 20px; }
.cat-item {
  background: var(--tile); border: 0; border-radius: 24px; padding: 28px 30px; box-shadow: var(--tile-shadow);
}
.cat-item b { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.02em; margin-bottom: .35rem; }
.cat-item p { font-size: 15px; line-height: 1.5; }
.cat-item .pill { margin-top: .9rem; }

/* ---------------------------------------------------------------- demo */
.demo-card { background: var(--tile); border: 0; border-radius: var(--tile-radius); padding: var(--tile-pad); box-shadow: var(--tile-shadow); }
.demo-points li { font-weight: 400; }
.demo-points svg { color: var(--ink-4); }

/* ------------------------------------------------------------ forms */
.field input, .field select, .field textarea { border-radius: 12px; border-color: var(--line-2); font-family: var(--font-body); font-size: 17px; }
.field label { font-weight: 600; }
.choice { border-radius: 16px; }
.choice b { font-family: var(--font-display); font-weight: 600; }
.summary { border: 0; border-radius: var(--tile-radius); box-shadow: var(--tile-shadow); }

/* ------------------------------------------------------- closing tile */
.cta { background: var(--canvas); color: var(--ink); }
.cta-grid { background: var(--tile-dark); border-radius: 32px; padding: 80px 72px; box-shadow: var(--tile-shadow); }
.cta h2 { color: #f5f5f7; max-width: 16ch; }
.cta .lede { color: #a1a1a6; margin-top: 1.1rem; }
.cta-actions { gap: 20px; align-items: center; }
@media (max-width: 860px) { .cta-grid { padding: 48px 28px; border-radius: 24px; } }

/* -------------------------------------------------------------- footer */
.site-footer { background: var(--canvas-2); border-top: 0; padding-block: 64px 36px; font-size: 13px; }
.footer-main nav strong { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink); }
.footer-main nav a { color: var(--ink-3); font-size: 13px; min-height: 28px; display: flex; align-items: center; }
.footer-main nav a:hover { color: var(--ink); }
.footer-brand p { color: var(--ink-3); font-size: 13px; }
.footer-legal { border-top: 1px solid var(--line-2); color: var(--ink-4); font-size: 12px; }

/* ------------------------------------------- raised tiles: pointer lift */
.pillar, .ledger > div, .cat-item, .plan, .demo-card {
  transition: transform .35s var(--ease-tile), box-shadow .35s var(--ease-tile);
}
@media (hover: hover) {
  .pillar:hover, .ledger > div:hover, .cat-item:hover, .plan:hover, .demo-card:hover {
    transform: translateY(-4px); box-shadow: var(--tile-shadow-hover);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pillar:hover, .ledger > div:hover, .cat-item:hover, .plan:hover, .demo-card:hover { transform: none; }
  .screen { transition: none; }
}

/* ------------------------------------------------- review pass, 31 Oct */
.button > svg.icon:last-child { display: none; }
.button[data-sim-run] > svg.icon { display: block; }
.slide-visual { transform: none !important; }
.timeline li { opacity: .5; }
.timeline li[data-done="true"] { opacity: 1; }
h2 + .lede, h1 + .lede { margin-top: 1.25rem; }
.globe-fallback { background: radial-gradient(circle at 38% 32%, #48484a, #1d1d1f 60%, #0b0b0c 85%); }
.plan-head { flex-direction: column; align-items: flex-start; gap: .35rem; }
.plan[data-featured="true"] .plan-head { padding-right: 0; }
.plan .button { font-size: 15px; white-space: nowrap; }
@media (max-width: 520px) { .stage-inner { height: 540px; } }

/* Pricing page: the tier section follows the page head without a second full gap. */
.page-head + .pricing { padding-top: 40px; }
