/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 · macrostructure: Long Document · genre: SEO product landing · tone: direct, technical, product-led · palette anchor: Ghost blue · theme: studied-DNA (source: landing-codex) · fingerprint: display-led opener / universal meeting-source rail / continuous feature chapters / inline product evidence / FAQ close · nav: N9 · footer: Ft5 · contrast: pass (40–41) · slop: pass (42–49) · mobile: static-pass (34, 49–57) */
:root {
  --amn-color-bg: var(--g-bg);
  --amn-color-surface: var(--g-bg-raised);
  --amn-color-card: var(--g-card);
  --amn-color-card-strong: var(--g-card-2);
  --amn-color-border: var(--g-border);
  --amn-color-border-soft: var(--g-border-soft);
  --amn-color-text: var(--g-text);
  --amn-color-muted: var(--g-text-2);
  --amn-color-quiet: var(--g-text-3);
  --amn-color-accent: var(--g-blue);
  --amn-color-accent-soft: var(--g-blue-soft);
  --amn-color-accent-ink: var(--amn-color-bg);
  --amn-color-live: var(--g-red);
  --amn-color-success: var(--g-green);
  --amn-color-teams: #7b83eb;
  --amn-color-calm-green: #78a98e;
  --amn-color-calm-green-soft: rgba(120, 169, 142, 0.2);
  --amn-color-overlay: rgba(0, 0, 0, 0.72);
  --amn-color-shadow: rgba(0, 0, 0, 0.34);
  --amn-font-sans: var(--g-sans);
  --amn-font-mono: var(--g-mono);
  --amn-shell: 1120px;
  --amn-reading: 68ch;
  --amn-gutter: clamp(20px, 4vw, 48px);
  --amn-nav-height: 72px;
  --amn-radius-sm: 8px;
  --amn-radius-md: 12px;
  --amn-radius-lg: 16px;
  --amn-space-section: clamp(88px, 11vw, 152px);
  --amn-focus-size: 3px;
  --amn-duration-caret: 620ms;
  --amn-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --amn-z-modal: 200;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: clip;
}

html {
  background: var(--amn-color-bg);
}

body {
  min-width: 320px;
  background: var(--amn-color-bg);
  color: var(--amn-color-text);
  font-family: var(--amn-font-sans);
  font-size: 16px;
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: var(--amn-focus-size) solid var(--amn-color-accent);
  outline-offset: 4px;
}

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

.amn-nav {
  min-height: var(--amn-nav-height);
  background: var(--amn-color-bg);
}

.amn-nav__inner {
  min-height: var(--amn-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.amn-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--amn-color-text);
  font-weight: 700;
  white-space: nowrap;
}

.amn-wordmark__mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.amn-wordmark__mark svg {
  width: 20px;
  height: 20px;
}

.amn-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--amn-color-accent);
  border-radius: var(--amn-radius-sm);
  background: var(--amn-color-accent);
  color: var(--amn-color-accent-ink);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.amn-button:hover {
  background: var(--amn-color-text);
  border-color: var(--amn-color-text);
  color: var(--amn-color-bg);
}

.amn-button--small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 13px;
}

.amn-button--secondary {
  background: transparent;
  border-color: var(--amn-color-border);
  color: var(--amn-color-text);
}

.amn-button--secondary:hover {
  background: var(--amn-color-card-strong);
  border-color: var(--amn-color-quiet);
  color: var(--amn-color-text);
}

.amn-kicker,
.amn-label {
  margin: 0;
  color: var(--amn-color-accent);
  font-family: var(--amn-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.amn-hero {
  min-height: calc(100svh - var(--amn-nav-height));
  display: grid;
  align-items: center;
  padding-block: 72px 108px;
}

.amn-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.amn-hero__copy {
  min-width: 0;
}

.amn-hero h1 {
  max-width: 12ch;
  margin: 20px 0 24px;
  font-size: clamp(46px, 5.2vw, 76px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}

.amn-hero__lede {
  max-width: 57ch;
  margin: 0;
  color: var(--amn-color-muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.amn-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
}

.amn-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amn-color-muted);
  font-weight: 650;
  white-space: nowrap;
}

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

.amn-inline-link {
  color: var(--amn-color-text);
  text-decoration-line: underline;
  text-decoration-color: var(--amn-color-calm-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.amn-inline-link:hover {
  color: var(--amn-color-calm-green);
}

.amn-hero__scope {
  margin: 24px 0 0;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.amn-record {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--amn-color-card);
  border: 1px solid var(--amn-color-border);
  border-radius: var(--amn-radius-lg);
  box-shadow: 0 28px 80px var(--amn-color-shadow);
}

.amn-record__header,
.amn-record__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
}

.amn-record__header {
  border-bottom: 1px solid var(--amn-color-border-soft);
}

.amn-record__meeting {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amn-color-text);
  min-width: 0;
}

.amn-record__meeting > strong {
  overflow: hidden;
  font-family: var(--amn-font-sans);
  font-size: 13px;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amn-record__chip {
  padding: 3px 6px;
  background: var(--amn-color-card-strong);
  border: 1px solid var(--amn-color-border-soft);
  border-radius: 4px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.amn-record__chip--live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--amn-color-text);
}

.amn-record__chip--live i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--amn-color-live);
}

.amn-record__transcript {
  padding: 18px;
}

.amn-record__turn {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--amn-color-border-soft);
  color: var(--amn-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.amn-record__turn:last-child {
  border-bottom: 0;
}

.amn-record__turn > strong {
  color: var(--amn-color-text);
  font-size: 12px;
}

.amn-record__turn > p {
  margin: 0;
}

.amn-record__turn--active {
  color: var(--amn-color-text);
}

.amn-record__speaker-state {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.amn-record__speaker-state small {
  color: var(--amn-color-muted);
  font-family: var(--amn-font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.amn-record__typed-line {
  min-height: 3em;
  color: var(--amn-color-text);
}

.amn-type-caret {
  width: 1px;
  height: 1em;
  display: none;
  margin-inline-start: 2px;
  vertical-align: -0.12em;
  background: var(--amn-color-accent);
}

.amn-record__turn--active.is-typing .amn-type-caret {
  display: inline-block;
  animation: amn-type-caret var(--amn-duration-caret) steps(1, end) infinite;
}

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

@keyframes amn-type-caret {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

.amn-record__result {
  margin: 0 18px 12px;
  padding: 11px 13px;
  background: var(--amn-color-accent-soft);
  border-left: 2px solid var(--amn-color-accent);
  border-radius: 0 var(--amn-radius-sm) var(--amn-radius-sm) 0;
}

.amn-record__result[hidden] {
  display: none;
}

.amn-record__result p {
  margin: 3px 0 8px;
  color: var(--amn-color-muted);
  font-size: 12px;
  line-height: 1.42;
}

.amn-record__result strong,
.amn-record__result small {
  display: block;
}

.amn-record__result strong {
  margin-top: 5px;
  color: var(--amn-color-text);
  font-size: 13px;
}

.amn-record__result small {
  padding-top: 7px;
  border-top: 1px solid var(--amn-color-border-soft);
  color: var(--amn-color-muted);
  font-size: 10px;
  line-height: 1.4;
}

.amn-record__result small b {
  margin-right: 6px;
  color: var(--amn-color-accent);
  font-family: var(--amn-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.amn-record__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-block: 12px;
  border-top: 1px solid var(--amn-color-border-soft);
  font-family: var(--amn-font-sans);
  letter-spacing: 0;
}

.amn-record__control {
  min-width: 0;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 3px 0;
  background: transparent;
  border: 0;
  color: var(--amn-color-muted);
  cursor: pointer;
  font-family: var(--amn-font-sans);
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.amn-record__control:active {
  transform: translateY(1px);
}

.amn-record__toggle {
  position: relative;
  width: 24px;
  height: 14px;
  flex: 0 0 24px;
  display: block;
  background: var(--amn-color-calm-green-soft);
  border: 1px solid var(--amn-color-calm-green);
  border-radius: 999px;
  font-size: 0;
  line-height: 0;
}

.amn-record__toggle::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  background: var(--amn-color-calm-green);
  border-radius: 50%;
  content: "";
}

.amn-record__control[aria-checked="false"] .amn-record__toggle {
  background: var(--amn-color-card-strong);
  border-color: var(--amn-color-quiet);
}

.amn-record__control[aria-checked="false"] .amn-record__toggle::after {
  right: 12px;
  background: var(--amn-color-quiet);
}

@media (hover: hover) and (pointer: fine) {
  .amn-record__control:hover {
    color: var(--amn-color-text);
  }
}

.amn-platforms {
  padding-block: clamp(48px, 6vw, 76px);
  border-block: 1px solid var(--amn-color-border-soft);
  background: var(--amn-color-surface);
  color: var(--amn-color-text);
}

.amn-platforms__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(36px, 8vw, 112px);
}

.amn-platforms__intro h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.amn-platforms__intro p {
  max-width: 68ch;
  margin: 0;
  color: var(--amn-color-muted);
  font-size: 17px;
  text-wrap: pretty;
}

.amn-platforms__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 56px);
  border-block: 1px solid var(--amn-color-border-soft);
}

.amn-platform {
  min-width: 0;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-right: 1px solid var(--amn-color-border-soft);
}

.amn-platform:last-child {
  border-right: 0;
}

.amn-platform svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--amn-color-text);
}

.amn-platform > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.amn-platform strong {
  color: var(--amn-color-text);
  font-size: 13px;
  line-height: 1.2;
}

.amn-platform small {
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.amn-platform--any {
  background: var(--amn-color-accent-soft);
  color: var(--amn-color-text);
}

.amn-platform--teams svg {
  color: var(--amn-color-teams);
}

.amn-platform--in-person svg {
  fill: none;
  stroke: var(--amn-color-calm-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amn-platform--any svg {
  color: var(--amn-color-accent);
}

.amn-features {
  padding-block: var(--amn-space-section);
}

.amn-features__intro {
  max-width: 860px;
  margin-bottom: clamp(64px, 8vw, 104px);
}

.amn-features__intro h2,
.amn-definition h2,
.amn-faq__intro h2,
.amn-cta h2 {
  margin: 18px 0 20px;
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.07;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
}

.amn-features__intro > p:last-child {
  max-width: var(--amn-reading);
  margin: 0;
  color: var(--amn-color-muted);
  font-size: 18px;
}

.amn-feature-flow {
  border-top: 1px solid var(--amn-color-border);
}

.amn-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 8vw, 112px);
  padding-block: clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--amn-color-border);
}

.amn-feature--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.amn-feature--reverse .amn-feature__copy {
  order: 2;
}

.amn-feature__copy {
  min-width: 0;
}

.amn-feature__copy h3 {
  max-width: 16ch;
  margin: 0 0 24px;
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.12;
  overflow-wrap: anywhere;
  min-width: 0;
}

.amn-feature__copy > p {
  max-width: 62ch;
  margin: 0 0 20px;
  color: var(--amn-color-muted);
  font-size: 17px;
  text-wrap: pretty;
}

.amn-feature__copy > p:last-child {
  margin-bottom: 0;
}

.amn-feature__evidence,
.amn-capture-spec,
.amn-feature > .amn-memory-card,
.amn-feature > .amn-linked-note,
.amn-feature > .amn-heartbeat-card,
.amn-feature > blockquote {
  min-width: 0;
}

.amn-capture-spec {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  border-block: 1px solid var(--amn-color-border);
}

.amn-capture-spec dt,
.amn-capture-spec dd {
  padding-block: 20px;
  border-bottom: 1px solid var(--amn-color-border-soft);
}

.amn-capture-spec dt:last-of-type,
.amn-capture-spec dd:last-of-type {
  border-bottom: 0;
}

.amn-capture-spec dt {
  padding-inline-end: 24px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.amn-capture-spec dd {
  margin: 0;
  color: var(--amn-color-text);
  font-size: 14px;
  font-weight: 650;
}

.amn-feature__evidence .amn-output-list,
.amn-feature > .amn-memory-card,
.amn-feature > .amn-linked-note,
.amn-feature > .amn-heartbeat-card,
.amn-feature > blockquote {
  margin-top: 0;
}

.amn-output-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  overflow: hidden;
  background: var(--amn-color-border-soft);
  border: 1px solid var(--amn-color-border-soft);
  border-radius: var(--amn-radius-md);
}

.amn-output-list span {
  min-height: 84px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: var(--amn-color-card);
  color: var(--amn-color-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.amn-memory-card {
  margin-top: 30px;
  padding: 20px;
  background: var(--amn-color-card);
  border: 1px solid var(--amn-color-border-soft);
  border-radius: var(--amn-radius-md);
}

.amn-memory-card strong,
.amn-memory-card p,
.amn-memory-card small {
  display: block;
}

.amn-memory-card strong {
  margin-top: 12px;
  font-size: 16px;
}

.amn-memory-card p {
  margin: 6px 0 16px;
  color: var(--amn-color-muted);
  font-size: 14px;
}

.amn-memory-card small {
  padding-top: 13px;
  border-top: 1px solid var(--amn-color-border-soft);
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.amn-insight-card,
.amn-linked-note,
.amn-heartbeat-card {
  margin-top: 30px;
  padding: 20px;
  background: var(--amn-color-card);
  border: 1px solid var(--amn-color-border-soft);
  border-radius: var(--amn-radius-md);
}

.amn-insight-card {
  border-left: 2px solid var(--amn-color-accent);
  border-radius: 0 var(--amn-radius-md) var(--amn-radius-md) 0;
}

.amn-insight-card__top,
.amn-heartbeat-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.amn-insight-card__top > span:last-child,
.amn-heartbeat-card__top > span:last-child {
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.amn-insight-card > strong,
.amn-heartbeat-card > strong,
.amn-linked-note strong {
  display: block;
  margin-top: 13px;
  color: var(--amn-color-text);
  font-size: 16px;
}

.amn-insight-card > p,
.amn-heartbeat-card > p,
.amn-linked-note p {
  margin: 6px 0 16px;
  color: var(--amn-color-muted);
  font-size: 14px;
}

.amn-say-now,
.amn-heartbeat-card__draft {
  padding: 13px 14px;
  background: var(--amn-color-accent-soft);
  border-radius: var(--amn-radius-sm);
}

.amn-say-now > span,
.amn-heartbeat-card__draft > span,
.amn-linked-note small > span {
  color: var(--amn-color-accent);
  font-family: var(--amn-font-mono);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.amn-say-now p,
.amn-heartbeat-card__draft p {
  margin: 5px 0 0;
  color: var(--amn-color-text);
  font-size: 13px;
  line-height: 1.5;
}

.amn-linked-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.amn-linked-note p {
  margin-bottom: 0;
}

.amn-linked-note small {
  display: grid;
  gap: 4px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-align: right;
}

.amn-heartbeat-card {
  background: var(--amn-color-card-strong);
}

.amn-heartbeat-card__top > span:last-child {
  color: var(--amn-color-success);
}

blockquote {
  margin: 30px 0 0;
  padding: 22px 24px;
  background: var(--amn-color-card);
  border-left: 2px solid var(--amn-color-accent);
}

blockquote p {
  margin: 0 0 14px;
  color: var(--amn-color-text);
  font-size: 17px;
  font-weight: 650;
}

blockquote footer {
  color: var(--amn-color-muted);
  font-size: 14px;
}

.amn-definition {
  padding-block: var(--amn-space-section);
  background: var(--amn-color-surface);
  color: var(--amn-color-text);
}

.amn-definition__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 9vw, 128px);
}

.amn-definition h2 {
  max-width: 11ch;
}

.amn-definition__copy p {
  max-width: 62ch;
  margin: 0 0 22px;
  color: var(--amn-color-muted);
  font-size: 18px;
}

.amn-definition__copy p:last-child {
  margin-bottom: 0;
}

.amn-faq {
  padding-block: var(--amn-space-section);
}

.amn-faq__intro {
  max-width: 760px;
  margin-bottom: 54px;
}

.amn-faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(44px, 8vw, 112px);
  border-top: 1px solid var(--amn-color-border);
}

.amn-faq__list article {
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--amn-color-border);
}

.amn-faq__list h3 {
  max-width: 23ch;
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.amn-faq__list p {
  max-width: 58ch;
  margin: 0;
  color: var(--amn-color-muted);
  font-size: 15px;
}

.amn-cta {
  padding-block: clamp(92px, 12vw, 168px);
  background: var(--amn-color-accent);
  color: var(--amn-color-accent-ink);
  text-align: center;
}

.amn-cta__inner {
  max-width: 820px;
}

.amn-cta .amn-kicker {
  color: var(--amn-color-accent-ink);
}

.amn-cta h2 {
  margin-inline: auto;
}

.amn-cta p:not(.amn-kicker) {
  max-width: 60ch;
  margin: 0 auto 30px;
  font-size: 17px;
}

.amn-cta .amn-button {
  background: var(--amn-color-bg);
  border-color: var(--amn-color-bg);
  color: var(--amn-color-text);
}

.amn-cta .amn-button:hover {
  background: var(--amn-color-text);
  border-color: var(--amn-color-text);
  color: var(--amn-color-bg);
}

.amn-footer {
  padding-block: clamp(68px, 9vw, 108px) 36px;
  background: var(--amn-color-bg);
  color: var(--amn-color-text);
}

.amn-footer > .amn-shell > p {
  max-width: 23ch;
  margin: 0 0 clamp(74px, 10vw, 132px);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}

.amn-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--amn-color-border-soft);
}

.amn-footer__meta small {
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: right;
}

.ram-ov {
  position: fixed;
  inset: 0;
  z-index: var(--amn-z-modal);
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
  background: var(--amn-color-overlay);
}

.ram-ov.on {
  display: flex;
}

.ram-ov:popover-open {
  display: flex;
}

.ram-ov::backdrop {
  background: transparent;
}

.ram {
  width: min(100%, 460px);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 26px;
  background: var(--amn-color-card);
  border: 1px solid var(--amn-color-border);
  border-radius: var(--amn-radius-lg);
  box-shadow: 0 28px 80px var(--amn-color-shadow);
}

.ram-kick {
  margin-bottom: 10px;
  color: var(--amn-color-accent);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.ram h2 {
  margin: 0 0 5px;
  font-size: 24px;
  line-height: 1.2;
}

.ram-sub {
  margin: 0 0 20px;
  color: var(--amn-color-muted);
  font-size: 14px;
}

.ram label {
  display: block;
  margin: 16px 0 6px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.ram input,
.ram select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--amn-color-bg);
  border: 1px solid var(--amn-color-border);
  border-radius: var(--amn-radius-sm);
  color: var(--amn-color-text);
}

.ram select {
  cursor: pointer;
}

.ram-plan {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.ram-plan em {
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.ram-range {
  appearance: none;
  min-height: 4px !important;
  padding: 0 !important;
  background: var(--amn-color-border) !important;
  border: 0 !important;
  border-radius: 2px !important;
}

.ram-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  background: var(--amn-color-accent);
  border: 3px solid var(--amn-color-card);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--amn-color-accent);
  cursor: pointer;
}

.ram-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--amn-color-accent);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.ram-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--amn-color-quiet);
  font-family: var(--amn-font-mono);
  font-size: 9px;
}

.ram-desc {
  min-height: 3em;
  margin: 10px 0 0;
  color: var(--amn-color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ram-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.ram-error {
  display: none;
  min-height: 1lh;
  margin: 12px 0 0;
  color: var(--amn-color-live);
  font-size: 13px;
}

.ram-error.on {
  display: block;
}

.ram-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.ram-actions .amn-button {
  width: 100%;
}

.ram-actions .amn-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ram-done {
  display: none;
  padding: 30px 0 12px;
  text-align: center;
}

.ram-done b,
.ram-done span {
  display: block;
}

.ram-done b {
  margin-bottom: 7px;
  color: var(--amn-color-success);
  font-size: 18px;
}

.ram-done span {
  color: var(--amn-color-muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .amn-hero {
    min-height: 0;
  }

  .amn-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-hero h1 {
    max-width: 14ch;
  }

  .amn-record {
    width: min(100%, 620px);
  }

  .amn-platforms__intro,
  .amn-feature,
  .amn-feature--reverse,
  .amn-definition__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-feature--reverse .amn-feature__copy {
    order: initial;
  }

  .amn-feature__copy h3,
  .amn-definition h2 {
    max-width: 18ch;
  }

  .amn-feature {
    gap: 32px;
  }

  .amn-platforms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amn-platform {
    border-bottom: 1px solid var(--amn-color-border-soft);
  }

  .amn-platform:nth-child(2n) {
    border-right: 0;
  }

  .amn-platform:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --amn-gutter: 20px;
    --amn-nav-height: 64px;
  }

  .amn-hero {
    padding-block: 54px 76px;
  }

  .amn-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    letter-spacing: -0.04em;
  }

  .amn-platforms__intro h2 {
    max-width: 14ch;
  }

  .amn-faq__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-output-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-output-list span {
    min-height: 58px;
    align-items: center;
  }

  .amn-linked-note {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  .amn-linked-note small {
    padding-top: 14px;
    border-top: 1px solid var(--amn-color-border-soft);
    text-align: left;
  }

  .amn-footer__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .amn-footer__meta small {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .amn-nav__inner {
    gap: 12px;
  }

  .amn-wordmark {
    gap: 7px;
  }

  .amn-nav .amn-wordmark__mark {
    width: 24px;
    height: 24px;
  }

  .amn-button--small {
    padding-inline: 12px;
  }

  .amn-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .amn-hero__actions .amn-button,
  .amn-hero__actions .amn-text-link {
    width: 100%;
    justify-content: center;
  }

  .amn-record__turn,
  .amn-record__turn--active {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .amn-record__typed-line {
    min-height: 4.5em;
  }

  .amn-record__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .amn-platforms__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-platform,
  .amn-platform:nth-child(2n) {
    min-height: 76px;
    border-right: 0;
    border-bottom: 1px solid var(--amn-color-border-soft);
  }

  .amn-platform:last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .amn-capture-spec {
    grid-template-columns: minmax(0, 1fr);
  }

  .amn-capture-spec dt {
    padding-block: 20px 4px;
    padding-inline-end: 0;
    border-bottom: 0;
  }

  .amn-capture-spec dd {
    padding-block: 0 20px;
  }

  .ram {
    padding: 22px 18px;
  }

  .ram-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
