/* AccreditMe public site — the stylesheet every page links (/pages.css).
 *
 * The palette derives from the theme in src/app.ts: ink, paper, line and
 * accent are the platform's --app-* tokens, so the page, the kit and the
 * staff console read as one system. The four pastel card tints are the
 * page's own decoration and stay literal (see docs/DESIGN.md).
 * The staff console (/outreach, the SPA) links this file too. */

/* ── Base ──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--app-bg);
  color: var(--app-ink);
  font-family: var(--app-font);
}
/* Keyboard focus stays visible — restyle it, never remove it. */
:focus-visible { outline: 2px solid var(--app-accent); outline-offset: 2px }
:focus:not(:focus-visible) { outline: none }

.am-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* dobase-allow: DOB-DESIGN-RAW-COLOR the pastel card tints are this page's own decoration; the theme models surfaces and actions, not four display tints */
.am-marketing {
  --am-ink: var(--app-ink);
  --am-muted: var(--app-ink-muted);
  --am-paper: var(--app-surface);
  --am-warm: var(--app-bg);
  --am-line: var(--app-border);
  --am-accent: var(--app-accent);
  --am-accent-deep: color-mix(in oklch, var(--app-accent) 82%, var(--app-ink));
  /* The one display face is a system serif: Georgia ships with every desktop
     and most phones, so the page makes no font request for it. */
  --am-serif: Georgia, "Times New Roman", serif;
  --am-mint: #dff4e8;
  --am-violet: #e8e3ff;
  --am-peach: #f8e5d5;
  --am-sky: #dceef4;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--am-ink);
  background: var(--am-warm);
  font-family: var(--app-font);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.am-marketing *,
.am-marketing *::before,
.am-marketing *::after { box-sizing: border-box; }
.am-marketing :is(h1, h2, h3, p) { margin-top: 0; }
.am-marketing :is(a, button) { font: inherit; }
.am-marketing a { color: inherit; }
.am-marketing button { color: inherit; }
.am-marketing .am-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
}
.am-marketing .am-icon svg { width: 100%; height: 100%; display: block; }
.am-header {
  position: absolute;
  z-index: 20;
  inset: 24px 0 auto;
  padding-inline: clamp(18px, 4vw, 64px);
}
.am-nav-shell {
  width: min(1180px, 100%);
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgb(21 42 38 / .12);
  border-radius: 22px;
  background: rgb(255 254 250 / .86);
  box-shadow: 0 14px 44px rgb(35 51 45 / .09);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.am-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -.03em;
  text-decoration: none;
}
.am-brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}
.am-nav-links { display: flex; align-items: center; justify-content: center; gap: 30px; }
.am-nav-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--am-muted); font-size: .91rem; font-weight: 600; text-decoration: none; }
.am-nav-links a:hover { color: var(--am-accent); }
.am-nav-actions { display: flex; align-items: center; gap: 18px; }
.am-marketing .am-nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 15px;
  color: var(--am-warm);
  background: var(--am-ink);
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.am-nav-cta:hover { background: var(--am-accent); }
.am-menu-button {
  width: 44px;
  height: 44px;
  display: none;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
.am-menu-button span { width: 20px; height: 2px; display: block; margin: 5px auto; border-radius: 2px; background: currentColor; }

.am-hero {
  position: relative;
  min-height: 960px;
  display: grid;
  place-items: start center;
  padding: 176px clamp(20px, 5vw, 80px) 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgb(246 193 116 / .42), transparent 25%),
    radial-gradient(circle at 83% 24%, rgb(109 201 184 / .34), transparent 27%),
    linear-gradient(180deg, #fcf9ef 0%, #eef6f0 66%, var(--am-warm) 100%);
}
.am-hero::before,
.am-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(7 95 88 / .15);
  border-radius: 42px;
  transform: rotate(-12deg);
}
.am-hero::before { width: 330px; height: 430px; top: 160px; left: -190px; }
.am-hero::after { width: 430px; height: 300px; top: 230px; right: -260px; transform: rotate(18deg); }
.am-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgb(7 95 88 / .16); pointer-events: none; }
.am-orbit-one { width: 760px; height: 760px; top: -420px; left: calc(50% - 380px); }
.am-orbit-two { width: 1080px; height: 1080px; top: -600px; left: calc(50% - 540px); }
.am-hero-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  margin-inline: auto;
  text-align: center;
}
.am-announcement {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  padding: 6px 14px 6px 9px;
  border: 1px solid rgb(7 95 88 / .18);
  border-radius: 999px;
  color: var(--am-accent-deep);
  background: rgb(255 255 255 / .58);
  font-size: .8rem;
  font-weight: 700;
}
.am-announcement .am-icon { width: 26px; height: 26px; padding: 6px; border-radius: 50%; color: white; background: var(--am-accent); }
.am-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(3.65rem, 7vw, 5.4rem);
  font-weight: 710;
  letter-spacing: -.067em;
  line-height: .98;
}
.am-hero h1 em { display: block; color: var(--am-accent); font-family: var(--am-serif); font-weight: 500; letter-spacing: -.055em; }
.am-hero-copy > p {
  max-width: 650px;
  margin: 27px auto 30px;
  color: #50534f;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}
.am-hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.am-marketing .am-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid var(--am-accent);
  border-radius: 15px;
  color: var(--app-accent-ink);
  background: var(--am-accent);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--am-accent) 22%, transparent);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.am-button:hover { transform: translateY(-2px); background: var(--am-accent-deep); box-shadow: 0 13px 30px color-mix(in srgb, var(--am-accent) 30%, transparent); }
.am-marketing .am-button-secondary {
  border-color: color-mix(in srgb, var(--am-ink) 16%, transparent);
  color: var(--am-ink);
  background: color-mix(in srgb, var(--am-paper) 72%, transparent);
  box-shadow: none;
}
.am-button-secondary:hover { background: var(--am-paper); }
.am-hero-preview-wrap {
  position: relative;
  z-index: 3;
  width: min(980px, 100%);
  margin: 68px auto 0;
  perspective: 1300px;
}
.am-preview-sample {
  position: absolute;
  top: -12px;
  right: 14px;
  z-index: 4;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgb(41 66 58 / .18);
  background: rgb(255 254 250 / .92);
  color: rgb(41 66 58 / .72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.am-hero-preview {
  padding: 18px;
  border: 1px solid rgb(41 66 58 / .16);
  border-radius: 26px;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 42px 90px rgb(45 66 58 / .17);
  transform: rotateX(2deg);
}
.am-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 5px 4px 19px; border-bottom: 1px solid #e4e6e1; }
.am-preview-toolbar > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.am-preview-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--am-accent); font-weight: 800; }
.am-preview-toolbar strong,
.am-preview-toolbar small { display: block; }
.am-preview-toolbar strong { font-size: .95rem; }
.am-preview-toolbar small { color: var(--am-muted); font-size: .75rem; }
.am-preview-toolbar button { width: 40px; height: 40px; border: 1px solid var(--am-line); border-radius: 12px; background: white; }
.am-preview-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0; border: 1px solid #e7e8e4; border-radius: 18px; overflow: hidden; }
.am-preview-summary > div { padding: 15px 18px; border-right: 1px solid #e7e8e4; }
.am-preview-summary > div:last-child { border-right: 0; }
.am-preview-summary span,
.am-preview-summary strong { display: block; }
.am-preview-summary span { color: var(--am-muted); font-size: .7rem; }
.am-preview-summary strong { margin-top: 2px; font-size: 1.15rem; }
.am-preview-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.am-preview-step {
  min-height: 126px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e4e5e1;
  border-radius: 17px;
  background: #fbfbf8;
}
.am-preview-step > .am-icon:last-child { position: absolute; top: 15px; right: 15px; color: #16846b; }
.am-preview-step > i { width: 8px; height: 8px; position: absolute; top: 18px; right: 18px; border-radius: 50%; background: #d49b3e; }
.am-preview-step-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--am-accent); background: #e1f2eb; }
.am-preview-step strong,
.am-preview-step small { display: block; }
.am-preview-step strong { font-size: .82rem; }
.am-preview-step small { margin-top: 2px; color: var(--am-muted); font-size: .68rem; }
.am-preview-step.is-active { border-color: #8fcfc0; background: #f0fbf6; }
.am-preview-step.is-ready { background: #f7f3ff; }
.am-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 3px 1px; }
.am-preview-footer > span { display: inline-flex; align-items: center; gap: 8px; color: var(--am-muted); font-size: .72rem; }
.am-preview-footer > span i { width: 8px; height: 8px; border-radius: 50%; background: #17846c; }
.am-preview-footer button { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border: 0; border-radius: 12px; color: white; background: var(--am-ink); font-size: .78rem; font-weight: 700; }
.am-floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgb(45 66 58 / .13);
  border-radius: 16px;
  background: white;
  box-shadow: 0 16px 38px rgb(45 66 58 / .16);
}
.am-floating-note .am-icon { width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: var(--am-accent); background: var(--am-mint); }
.am-floating-note strong,
.am-floating-note small { display: block; line-height: 1.2; }
.am-floating-note strong { font-size: .85rem; }
.am-floating-note small { color: var(--am-muted); font-size: .66rem; }
.am-note-left { top: 100px; left: -86px; }
.am-note-right { right: -75px; bottom: 84px; }

.am-section { width: min(1180px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(76px, 9vw, 124px); }
.am-section-intro { max-width: 720px; margin-bottom: 42px; }
.am-section-intro h2,
.am-organizations h2 {
  margin: 10px 0 17px;
  font-size: clamp(2.45rem, 4.8vw, 3.7rem);
  font-weight: 690;
  letter-spacing: -.055em;
  line-height: 1.04;
}
.am-section-intro p,
.am-org-copy > p { max-width: 650px; margin-bottom: 0; color: var(--am-muted); font-size: 1.05rem; }
.am-eyebrow { display: block; color: var(--am-accent); font-size: .75rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.am-product-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--am-line);
  border-radius: 16px;
  background: #efeee9;
  scrollbar-width: none;
}
.am-product-tabs::-webkit-scrollbar { display: none; }
.am-product-tab {
  min-height: 46px;
  flex: 1 0 auto;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: var(--am-muted);
  background: transparent;
  font-size: .86rem;
  font-weight: 680;
  white-space: nowrap;
}
.am-product-tab:hover { color: var(--am-ink); }
.am-product-tab.is-active { color: var(--am-ink); background: white; box-shadow: 0 3px 10px rgb(35 40 36 / .08); }
.am-demo { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 510px; overflow: hidden; border: 1px solid #d9ddd7; border-radius: 28px; background: var(--am-paper); }
.am-demo-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 5vw, 68px); }
.am-demo-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 16px; color: white; background: var(--am-accent); }
.am-demo-icon .am-icon { width: 25px; height: 25px; }
.am-demo-copy h3 { margin: 12px 0 15px; font-size: clamp(1.85rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.045em; }
.am-demo-copy p { margin-bottom: 26px; color: var(--am-muted); }
.am-demo-copy .am-button { min-height: 48px; }
.am-demo-window { align-self: center; min-height: 420px; margin: 34px 0 34px 34px; padding: 24px; border: 1px solid #d8ddd8; border-right: 0; border-radius: 24px 0 0 24px; background: #f5f7f3; box-shadow: -16px 18px 45px rgb(47 66 56 / .1); }
.am-window-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px; }
.am-window-top > div { display: flex; align-items: center; gap: 11px; }
.am-window-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--am-ink); font-weight: 800; }
.am-window-top strong,
.am-window-top small { display: block; }
.am-window-top strong { font-size: .83rem; }
.am-window-top small { color: var(--am-muted); font-size: .67rem; }
.am-status { padding: 5px 9px; border-radius: 999px; color: #17654f; background: #dff3e9; font-size: .64rem; font-weight: 750; }
.am-window-progress { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin-bottom: 15px; padding: 16px; border-radius: 15px; background: white; }
.am-window-progress span { color: var(--am-muted); font-size: .72rem; }
.am-window-progress strong { font-size: .78rem; }
.am-window-progress i { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 9px; background: #e4e8e3; }
.am-window-progress b { width: 86%; height: 100%; display: block; border-radius: inherit; background: var(--am-accent); }
.am-demo-rows { display: grid; gap: 9px; }
.am-demo-row { min-height: 70px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid #e0e4df; border-radius: 14px; background: white; }
.am-demo-state { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #eceeea; }
.am-demo-row.is-complete .am-demo-state { color: #14745b; background: #e0f4ea; }
.am-demo-row.is-active { border-color: #9dcfc4; }
.am-demo-row.is-active .am-demo-state::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--am-accent); box-shadow: 0 0 0 5px #dcefe9; }
.am-demo-row strong,
.am-demo-row small { display: block; }
.am-demo-row strong { font-size: .78rem; }
.am-demo-row small { color: var(--am-muted); font-size: .66rem; }
.am-live-pill { padding: 4px 7px; border-radius: 999px; color: var(--am-accent); background: #e2f2ec; font-size: .61rem; font-weight: 750; }

.am-workflow { padding-top: 70px; }
.am-flow { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--am-line); }
.am-flow-step { min-width: 0; position: relative; padding: 28px 24px 32px; border-right: 1px solid var(--am-line); }
.am-flow-step:last-child { border-right: 0; }
.am-flow-number { color: #999c96; font-size: .68rem; font-weight: 740; letter-spacing: .12em; }
.am-flow-icon { width: 44px; height: 44px; display: grid; place-items: center; margin: 32px 0 28px; border-radius: 14px; color: var(--am-accent); background: var(--am-mint); }
.am-flow-step h3 { margin-bottom: 8px; font-size: 1.23rem; letter-spacing: -.025em; }
.am-flow-step p { margin: 0; color: var(--am-muted); font-size: .88rem; }

.am-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 30px; }
.am-feature { min-height: 600px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgb(29 36 31 / .1); border-radius: 28px; }
.am-feature-copy { padding: clamp(28px, 4vw, 48px); }
.am-feature h3 { max-width: 470px; margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.55rem); letter-spacing: -.045em; line-height: 1.08; }
.am-feature p { max-width: 500px; color: #535752; }
.am-feature-violet { background: var(--am-violet); }
.am-feature-mint { background: var(--am-mint); }
.am-feature-peach { background: var(--am-peach); }
.am-feature-sky { background: var(--am-sky); }
.am-certificate-visual {
  width: 82%;
  min-height: 270px;
  align-self: flex-end;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 -12px -18px 0;
  padding: 34px;
  border: 9px double #423f68;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 24px 48px rgb(50 44 85 / .18);
  text-align: center;
  transform: rotate(-2deg);
}
.am-certificate-visual span { font-family: var(--am-serif); font-size: 1.3rem; letter-spacing: .1em; }
.am-certificate-visual small { color: #6a6874; font-size: .61rem; letter-spacing: .22em; }
.am-certificate-visual i { width: 54px; height: 1px; margin: 19px; background: #8c88a9; }
.am-certificate-visual strong { font-family: var(--am-serif); font-size: 1.25rem; font-style: italic; }
.am-certificate-visual p { margin: 9px 0; font-size: .67rem; }
.am-certificate-visual b { padding: 5px 9px; border-radius: 99px; color: #21644d; background: #e0f0e8; font-size: .58rem; }
.am-form-visual { width: 82%; align-self: center; margin: 0 auto -18px; padding: 30px; border: 1px solid rgb(38 83 65 / .15); border-radius: 23px 23px 0 0; background: white; box-shadow: 0 20px 44px rgb(42 78 61 / .12); }
.am-form-visual small,
.am-form-visual strong { display: block; }
.am-form-visual small { color: var(--am-muted); font-size: .7rem; }
.am-form-visual strong { margin-top: 8px; font-size: 1rem; }
.am-form-visual > div { display: flex; gap: 7px; margin: 24px 0; }
.am-form-visual i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d7ddd8; border-radius: 10px; font-size: .74rem; font-style: normal; }
.am-form-visual i.selected { color: white; border-color: var(--am-accent); background: var(--am-accent); }
.am-form-visual button { width: 100%; min-height: 44px; border: 0; border-radius: 11px; color: white; background: var(--am-ink); font-size: .76rem; font-weight: 700; }
.am-record-visual { width: 78%; align-self: flex-end; margin: 0 -8px -12px 0; padding: 28px; border-radius: 24px 0 0 0; background: #fffdf9; box-shadow: 0 20px 46px rgb(90 60 35 / .13); transform: rotate(1.5deg); }
.am-record-visual > div:first-child { display: flex; align-items: center; gap: 12px; }
.am-record-visual > div:first-child > span:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: white; background: #a15f43; font-weight: 800; }
.am-record-visual strong,
.am-record-visual small { display: block; }
.am-record-visual small { color: var(--am-muted); font-size: .7rem; }
.am-record-visual dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 14px; }
.am-record-visual dl > div { padding: 13px; border-radius: 12px; background: #f6eee7; }
.am-record-visual dt { color: var(--am-muted); font-size: .65rem; }
.am-record-visual dd { margin: 1px 0 0; font-size: 1.15rem; font-weight: 760; }
.am-record-visual p { display: flex; align-items: center; gap: 8px; margin: 0; color: #25634f; font-size: .72rem; }
.am-org-visual { min-height: 280px; position: relative; margin: 0 34px 22px; }
.am-org-visual > span { width: 98px; height: 98px; position: absolute; display: grid; place-items: center; border: 8px solid #e4f1f4; border-radius: 24px; color: white; background: #507f91; box-shadow: 0 16px 30px rgb(44 86 102 / .15); font-size: 1.4rem; font-weight: 800; }
.am-org-visual .am-org-main { width: 132px; height: 132px; z-index: 3; top: 60px; left: calc(50% - 66px); border-color: white; background: var(--am-accent); }
.am-org-visual > span:nth-child(2) { top: 20px; left: 12%; transform: rotate(-9deg); }
.am-org-visual > span:nth-child(3) { top: 18px; right: 12%; background: #6d6a9a; transform: rotate(8deg); }
.am-org-visual > span:nth-child(4) { bottom: 0; left: calc(50% - 49px); background: #a46f56; }
.am-org-visual small { position: absolute; inset: auto 0 18px; color: #46636d; font-size: .7rem; text-align: center; }

.am-organizations {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}
.am-org-copy ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.am-org-copy li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 620; }
.am-org-copy li .am-icon { color: var(--am-accent); }
.am-workspace-stack { min-height: 450px; position: relative; }
.am-workspace-card { width: min(430px, 84%); min-height: 220px; position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid rgb(20 30 25 / .12); border-radius: 25px; background: white; box-shadow: 0 25px 60px rgb(42 57 48 / .14); }
.am-workspace-card > span { width: 54px; height: 54px; position: absolute; top: 25px; left: 26px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--am-accent); font-weight: 800; }
.am-workspace-card strong { font-size: 1.08rem; }
.am-workspace-card small { color: var(--am-muted); }
.am-workspace-card i { position: absolute; top: 28px; right: 25px; padding: 5px 9px; border-radius: 99px; color: #1d664f; background: #dcf0e7; font-size: .62rem; font-style: normal; font-weight: 740; }
.am-workspace-back { transform: translate(-61%, -70%) rotate(-8deg); background: #ebe7ff; }
.am-workspace-mid { transform: translate(-39%, -45%) rotate(8deg); background: #f8e6d9; }
.am-workspace-front { transform: translate(-50%, -28%); }
.am-trust { padding-top: 45px; padding-bottom: 90px; text-align: center; }
.am-trust > p { margin-bottom: 28px; color: var(--am-muted); font-size: .78rem; font-weight: 670; }
.am-trust > div { display: flex; justify-content: center; gap: 22px 52px; flex-wrap: wrap; }
.am-trust > div span { display: flex; align-items: center; gap: 10px; color: #6e716c; font-size: .88rem; font-weight: 700; }
.am-trust i { width: 24px; height: 24px; display: inline-block; border: 2px solid #999d97; border-radius: 8px 4px 9px 5px; transform: rotate(8deg); }

.am-contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(40px, 6vw, 90px);
  margin-bottom: 38px;
  padding: clamp(40px, 5vw, 70px);
  border-radius: 34px;
  color: white;
  background: #123e3a;
}
.am-contact .am-eyebrow { color: #9ad5c7; }
.am-contact h2 { margin: 10px 0 17px; font-size: clamp(2.3rem, 4.4vw, 3.3rem); font-weight: 690; letter-spacing: -.055em; line-height: 1.04; }
.am-contact-copy > p { max-width: 520px; margin-bottom: 26px; color: #d4e6e1; font-size: 1.05rem; }
.am-contact-copy ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.am-contact-copy li { display: flex; align-items: flex-start; gap: 10px; color: #eaf4f1; font-size: .9rem; }
.am-contact-copy li .am-icon { margin-top: .2em; color: #9ad5c7; }
.am-contact-card { padding: clamp(22px, 3vw, 32px); border-radius: 24px; color: var(--am-ink); background: var(--am-paper); box-shadow: 0 30px 70px rgb(0 20 18 / .25); }
.am-contact-form { display: grid; gap: 16px; }
.am-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.am-field { display: grid; gap: 6px; }
.am-field > span { font-size: .78rem; font-weight: 700; color: #3f423e; }
.am-field input,
.am-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--am-line);
  border-radius: 12px;
  color: var(--am-ink);
  background: white;
  font: inherit;
  font-size: .95rem;
}
.am-field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.am-field input:focus,
.am-field textarea:focus { border-color: var(--am-accent); outline: 3px solid rgb(7 95 88 / .18); outline-offset: 0; }
.am-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.am-form-actions .am-button { min-height: 50px; border: 0; cursor: pointer; }
.am-form-actions .am-button:disabled { opacity: .6; transform: none; cursor: wait; }
.am-form-status { margin: 0; font-size: .85rem; color: var(--am-muted); }
.am-form-status.is-ok { color: #17654f; font-weight: 650; }
.am-form-status.is-error { color: #a33a2a; font-weight: 650; }
.am-contact-privacy { margin: 0; color: var(--am-muted); font-size: .76rem; line-height: 1.55; }
.am-contact-privacy a { color: var(--am-accent); font-weight: 700; }
.am-footer {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 24px 36px;
  margin-inline: auto;
  padding: 46px 0 30px;
  border-top: 1px solid var(--am-line);
}
.am-footer > div:first-child p { max-width: 360px; margin: 14px 0 0; color: var(--am-muted); font-size: .82rem; }
.am-footer > nav { display: flex; align-items: flex-start; gap: 8px 22px; flex-wrap: wrap; }
.am-footer > nav a { display: inline-flex; min-height: 44px; align-items: center; color: #565a55; font-size: .78rem; font-weight: 650; text-decoration: none; }
.am-footer > nav a:hover { color: var(--am-accent); text-decoration: underline; }
.am-footer > small { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--am-line); color: #858881; font-size: .68rem; }

/* Legal pages extend the editorial marketing system without imitating a contract PDF. */
.am-legal-shell { display: flex; min-height: 100dvh; flex-direction: column; overflow: clip; }
.am-legal-site-header {
  width: min(1180px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding-block: 28px;
  border-bottom: 1px solid var(--am-line);
}
.am-marketing .am-legal-contact-link { display: inline-flex; min-height: 46px; align-items: center; padding-inline: 18px; border-radius: 14px; color: var(--am-warm); background: var(--am-ink); font-size: .86rem; font-weight: 700; text-decoration: none; }
.am-legal-contact-link:hover { background: var(--am-accent); }
.am-legal-page { width: min(1180px, calc(100% - 40px)); flex: 1; margin-inline: auto; padding-block: clamp(58px, 8vw, 104px); }
.am-legal-hero, .am-legal-document-header { display: grid; gap: 14px; max-width: 790px; margin-bottom: 48px; }
.am-legal-hero h1, .am-legal-document-header h1, .am-legal-not-found h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 690; letter-spacing: -.06em; line-height: .98; }
.am-legal-hero > p, .am-legal-document-header > p, .am-legal-not-found > p { max-width: 680px; margin: 0; color: var(--am-muted); font-size: 1.05rem; }
.am-marketing .am-legal-back { width: fit-content; min-height: 44px; display: inline-flex; align-items: center; color: var(--am-accent); font-size: .86rem; font-weight: 700; text-decoration: none; }
.am-legal-back:hover { text-decoration: underline; }
.am-legal-dates { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 8px 0 0; }
.am-legal-dates > div { display: flex; gap: 9px; }
.am-legal-dates dt { color: #858881; font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.am-legal-dates dd { margin: 0; color: var(--am-muted); font-size: .78rem; }
.am-legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; min-width: 0; }
.am-legal-nav { position: sticky; top: 24px; display: grid; gap: 3px; padding: 8px; border: 1px solid var(--am-line); border-radius: 18px; background: var(--am-paper); box-shadow: 0 12px 34px rgb(35 51 45 / .06); }
.am-legal-nav a { display: flex; min-height: 44px; align-items: center; padding-inline: 13px; border-radius: 11px; color: var(--am-muted); font-size: .82rem; font-weight: 650; text-decoration: none; }
.am-legal-nav a:hover { color: var(--am-accent); background: var(--am-warm); }
.am-legal-nav a.is-active { color: var(--am-accent-deep); background: var(--am-mint); }
.am-legal-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.am-legal-card { display: flex; min-width: 0; min-height: 180px; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px; border: 1px solid var(--am-line); border-radius: 22px; background: var(--am-paper); box-shadow: 0 10px 30px rgb(35 51 45 / .05); text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.am-legal-card:hover { border-color: #a9c9c3; box-shadow: 0 16px 38px rgb(35 51 45 / .09); transform: translateY(-2px); }
.am-legal-card > div { min-width: 0; }
.am-legal-card h2 { margin: 0 0 10px; font-size: 1.22rem; letter-spacing: -.025em; line-height: 1.2; }
.am-legal-card p { margin: 0; color: var(--am-muted); font-size: .86rem; }
.am-legal-card > span { flex: none; color: var(--am-accent); font-size: 1.2rem; }
.am-legal-note { grid-column: 1 / -1; padding: 22px 24px; border-radius: 18px; background: var(--am-sky); }
.am-legal-note strong { display: block; margin-bottom: 6px; }
.am-legal-note p { margin: 0; color: #4f625f; font-size: .86rem; }
.am-legal-document { min-width: 0; max-width: 760px; }
.am-legal-document section { padding: 0 0 38px; }
.am-legal-document section + section { padding-top: 38px; border-top: 1px solid var(--am-line); }
.am-legal-document h2 { margin: 0 0 18px; font-size: clamp(1.35rem, 2.5vw, 1.75rem); letter-spacing: -.035em; line-height: 1.15; }
.am-legal-document p, .am-legal-document li { color: #4f524d; font-size: .95rem; line-height: 1.75; }
.am-legal-document p { margin: 0 0 16px; }
.am-legal-document ul { display: grid; gap: 10px; margin: 0 0 16px; padding-left: 22px; }
.am-legal-callout { margin: 0 0 18px; padding: 22px 24px; border-left: 4px solid var(--am-accent); border-radius: 0 16px 16px 0; background: var(--am-mint); }
.am-legal-callout strong { display: block; margin-bottom: 6px; }
.am-legal-callout p { margin: 0; color: #405650; }
.am-legal-not-found { display: grid; align-content: center; gap: 16px; max-width: 720px; }
.am-legal-not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

@media (max-width: 1050px) {
  .am-nav-links { gap: 18px; }
  .am-note-left { left: -25px; }
  .am-note-right { right: -20px; }
  .am-feature { min-height: 560px; }
}
@media (max-width: 820px) {
  .am-header { top: 16px; padding-inline: 16px; }
  .am-nav-shell { grid-template-columns: 1fr auto; min-height: 62px; padding-left: 14px; }
  .am-nav-links {
    display: none;
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--am-line);
    border-radius: 18px;
    background: var(--am-paper);
    box-shadow: 0 18px 45px rgb(35 51 45 / .14);
  }
  .am-nav-links.is-open { display: flex; }
  .am-nav-links a { padding: 12px; border-radius: 10px; }
  .am-nav-links a:hover { background: #f1f2ed; }
  .am-menu-button { display: block; }
  .am-hero { min-height: auto; padding-top: 150px; }
  .am-hero-preview-wrap { margin-top: 50px; }
  .am-note-left,
  .am-note-right { display: none; }
  .am-preview-flow { grid-template-columns: repeat(2, 1fr); }
  .am-demo { grid-template-columns: 1fr; }
  .am-demo-copy { padding-bottom: 30px; }
  .am-demo-window { margin: 0 0 30px 30px; }
  .am-flow { grid-template-columns: repeat(2, 1fr); }
  .am-flow-step:nth-child(2) { border-right: 0; }
  .am-flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--am-line); }
  .am-features { grid-template-columns: 1fr; }
  .am-feature { min-height: 570px; }
  .am-organizations { grid-template-columns: 1fr; }
  .am-footer { grid-template-columns: 1fr 1fr; }
  .am-footer > div:first-child, .am-footer > small { grid-column: 1 / -1; }
  .am-legal-layout { grid-template-columns: 1fr; }
  .am-legal-nav { position: static; display: flex; overflow-x: auto; overscroll-behavior-inline: contain; }
  .am-legal-nav a { flex: none; }
  .am-contact { grid-template-columns: 1fr; }
  .am-workspace-stack { min-height: 420px; }
}
@media (max-width: 560px) {
  .am-marketing { font-size: 16px; }
  .am-nav-actions { gap: 8px; }
  .am-nav-cta { min-height: 44px; padding-inline: 13px; }
  .am-nav-cta .am-icon { display: none; }
  .am-hero { padding: 140px 16px 60px; }
  .am-hero h1 { font-size: clamp(3rem, 15vw, 4.1rem); }
  .am-hero-copy > p { font-size: 1rem; }
  .am-hero-actions { display: grid; grid-template-columns: 1fr; }
  .am-button { width: 100%; }
  .am-hero-preview { padding: 12px; border-radius: 20px; }
  .am-preview-summary > div { padding: 11px 9px; }
  .am-preview-summary strong { font-size: .95rem; }
  .am-preview-flow { grid-template-columns: 1fr; }
  .am-preview-step { min-height: 78px; display: grid; grid-template-columns: auto 1fr; align-items: center; justify-content: initial; }
  .am-preview-footer { align-items: stretch; flex-direction: column; }
  .am-preview-footer button { justify-content: center; }
  .am-section { width: min(100% - 28px, 1180px); padding-block: 68px; }
  .am-section-intro { margin-bottom: 30px; }
  .am-section-intro h2,
  .am-organizations h2,
  .am-contact h2 { font-size: 2.35rem; }
  .am-product-tabs { margin-inline: -14px; padding-inline: 14px; border-inline: 0; border-radius: 0; }
  .am-demo { border-radius: 22px; }
  .am-demo-copy { padding: 28px 23px; }
  .am-demo-window { min-height: 380px; margin: 0 0 18px 18px; padding: 16px; }
  .am-flow { grid-template-columns: 1fr; }
  .am-flow-step,
  .am-flow-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--am-line); }
  .am-flow-step:last-child { border-bottom: 0; }
  .am-flow-icon { margin-block: 22px 18px; }
  .am-feature { min-height: 520px; border-radius: 22px; }
  .am-feature-copy { padding: 27px 23px; }
  .am-certificate-visual,
  .am-form-visual,
  .am-record-visual { width: 90%; }
  .am-org-copy ul { grid-template-columns: 1fr; }
  .am-workspace-stack { min-height: 360px; }
  .am-workspace-card { min-height: 190px; padding: 22px; }
  .am-trust > div { align-items: center; flex-direction: column; }
  .am-contact { width: min(100% - 28px, 1180px); padding: 30px 22px; border-radius: 26px; }
  .am-field-row { grid-template-columns: 1fr; }
  .am-footer { width: min(100% - 28px, 1180px); grid-template-columns: 1fr; gap: 18px; }
  .am-footer > nav { gap: 4px 16px; }
  .am-legal-site-header, .am-legal-page { width: min(100% - 28px, 1180px); }
  .am-legal-site-header { padding-block: 20px; }
  .am-legal-site-header .am-brand { font-size: 1rem; }
  .am-legal-site-header .am-brand-logo { width: 34px; height: 34px; }
  .am-legal-page { padding-block: 52px; }
  .am-legal-hero, .am-legal-document-header { margin-bottom: 34px; }
  .am-legal-hero h1, .am-legal-document-header h1, .am-legal-not-found h1 { font-size: 2.65rem; }
  .am-legal-index { grid-template-columns: 1fr; }
  .am-legal-card { min-height: 0; padding: 22px; }
  .am-legal-nav { margin-inline: -14px; border-inline: 0; border-radius: 0; }
  .am-legal-document p, .am-legal-document li { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .am-marketing *, .am-marketing *::before, .am-marketing *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
