:root {
  --paper: #edf0f3;
  --bg: #edf0f3;
  --bg2: #dfe4e8;
  --panel: #ffffff;
  --card: #ffffff;
  --card2: #f3f5f7;
  --ink: #171b21;
  --dim: #59616b;
  --faint: #89919b;
  --line: rgba(19, 24, 30, 0.17);
  --line2: rgba(19, 24, 30, 0.08);
  --accent: #f35f4f;
  --accent2: #c8f169;
  --blue: #f35f4f;
  --lime: #c8f169;
  --good: #dff3d7;
  --goodink: #27633a;
  --warn: #fff1c7;
  --warnink: #775b08;
  --bad: #ffe1dc;
  --badink: #b43a2c;
  --acid: rgba(243, 95, 79, 0.08);
  --pink: rgba(243, 95, 79, 0.08);
  --limetint: rgba(200, 241, 105, 0.18);
  --glow: rgba(243, 95, 79, 0.16);
  --shell: #111417;
  --shell2: #1d2227;
  --shellink: #f5f7f8;
  --source: #c8f169;
  --brief: #91d8ff;
  --pattern: #ff7464;
  --create: #ffc95c;
  --publish: #72e0c0;
  --learn: #ff9abb;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ui: "DM Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20, 29, 23, 0.05), 0 18px 45px rgba(20, 29, 23, 0.09);
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #0f1114;
  --bg: #0f1114;
  --bg2: #171a1f;
  --panel: #171a1f;
  --card: #171a1f;
  --card2: #20242a;
  --ink: #f4f6f7;
  --dim: #b6bcc3;
  --faint: #777f88;
  --line: rgba(244, 246, 247, 0.16);
  --line2: rgba(244, 246, 247, 0.08);
  --accent: #ff6b57;
  --accent2: #cdfb70;
  --blue: #ff6b57;
  --lime: #cdfb70;
  --good: #213b2b;
  --goodink: #a8e5b7;
  --warn: #3c3218;
  --warnink: #f4d47a;
  --bad: #43231f;
  --badink: #ff9b8f;
  --acid: rgba(255, 107, 87, 0.11);
  --pink: rgba(255, 107, 87, 0.11);
  --limetint: rgba(205, 251, 112, 0.12);
  --glow: rgba(255, 107, 87, 0.2);
  --shell: #090b0d;
  --shell2: #171b20;
  --shellink: #f5f7f8;
  color-scheme: dark;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body > #bgstars,
body > .grain {
  display: none;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
.btn,
.go,
.save,
.rm,
.nav-cta {
  min-height: 40px;
  border-radius: 8px !important;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 100ms ease !important;
}

button:active:not(:disabled),
.btn:active,
.go:active,
.save:active,
.rm:active,
.nav-cta:active {
  transform: scale(0.96) !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(145, 216, 255, 0.62);
  outline-offset: 2px;
}

.serif,
h1.serif,
h2.serif {
  font-family: var(--serif);
  font-weight: 400;
}

.mm-site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 72px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 20, 23, 0.96);
  color: var(--shellink);
  backdrop-filter: blur(16px);
}

.mm-nav-inner {
  width: min(1440px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
}

.mm-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.mm-brand-copy {
  display: grid;
  gap: 4px;
}

.mm-brand-copy small {
  color: #91d8ff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mm-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mm-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c7ccd1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  margin: 0 !important;
}

.mm-nav-links a:hover,
.mm-nav-links a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.12);
  background: #1d2227;
  color: #fff !important;
}

.mm-nav-links .mm-nav-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(243, 95, 79, 0.18);
}

.mm-nav-links .mm-nav-primary:hover {
  border-color: #ff7464;
  background: #ff7464;
}

.mm-nav-toggle {
  display: none;
  width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1d2227;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.mm-site-footer {
  border-top: 1px solid var(--line);
  background: var(--shell);
  color: var(--shellink);
}

.mm-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.mm-footer-brand p {
  max-width: 440px;
  margin: 10px 0 0;
  color: #9ba3ab;
  font-size: 13px;
}

.mm-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.mm-footer-links a {
  color: #c7ccd1;
  text-decoration: none;
  font-size: 13px;
}

.mm-footer-links a:hover {
  color: #fff;
}

/* Landing page */
.home-page {
  overflow-x: hidden;
}

.home-page .mm-site-nav {
  position: fixed;
}

.home-main {
  padding-top: 72px;
}

.home-hero {
  position: relative;
  height: calc(100svh - 96px);
  min-height: 690px;
  max-height: 920px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--shell);
  color: var(--shellink);
}

.home-hero-copy {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 46px;
  text-align: center;
}

.home-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent2);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.home-kicker::before,
.section-kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.home-hero h1 {
  max-width: 960px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 400;
  line-height: 0.98;
  text-wrap: balance;
}

.home-hero h1 span {
  color: #91d8ff;
}

.home-hero-copy > p {
  max-width: 720px;
  margin: 16px auto 22px;
  color: #bdc4ca;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.site-launcher {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #1d2227;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.site-launcher input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  background: #111417;
  color: #fff;
  font-size: 16px;
}

.site-launcher input::placeholder {
  color: #77818a;
}

.site-launcher button {
  min-width: 172px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.site-launcher button:hover {
  border-color: #ff7464;
  background: #ff7464;
}

.hero-trust {
  margin: 9px auto 0;
  color: #818a93;
  font-size: 11px;
}

.hero-stage {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -16%;
  width: min(1160px, calc(100% - 70px));
  aspect-ratio: 16 / 9;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px 8px 0 0;
  background: #0f1114;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

/* The tour recording is 1440px wide - without these the raw <video> width
   forces the whole landing page to pan sideways on phones. */
.demo-stage {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: #0f1114;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.demo-stage video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-stage-bar,
.demo-stage-bar {
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #1d2227;
  color: #8d969f;
  font-size: 10px;
}

.hero-stage-bar i,
.demo-stage-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59616b;
}

.hero-stage-bar i:first-child,
.demo-stage-bar i:first-child {
  background: var(--pattern);
}

.hero-stage-bar i:nth-child(2),
.demo-stage-bar i:nth-child(2) {
  background: var(--create);
}

.hero-stage-bar i:nth-child(3),
.demo-stage-bar i:nth-child(3) {
  background: var(--source);
}

.hero-stage-bar span,
.demo-stage-bar span {
  margin-left: auto;
}

.hero-stage img,
.hero-stage video,
.demo-stage video {
  display: block;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  object-position: center top;
  background: #111417;
}

.phase-rail {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.phase-rail-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.phase-item {
  min-width: 0;
  padding: 18px 14px 17px;
  border-top: 4px solid var(--phase-color);
  border-right: 1px solid var(--line2);
}

.phase-item:last-child {
  border-right: 0;
}

.phase-item b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.phase-item span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--faint);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.home-section.alt {
  background: var(--panel);
}

.home-section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.section-heading .section-kicker {
  color: var(--accent);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 16px;
  text-wrap: pretty;
}

.demo-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--shell);
  box-shadow: var(--shadow);
}

.demo-stage video {
  object-fit: cover;
  object-position: top center;
}

.demo-caption {
  margin: 12px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--faint);
  font-size: 12px;
}

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

.output-card {
  position: relative;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--card-color);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(20, 29, 23, 0.04);
}

.output-card .output-type {
  color: var(--dim);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.output-card h3 {
  margin: 13px 0 10px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.08;
}

.output-card p {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

.output-card .quality {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  min-height: 36px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(39, 99, 58, 0.18);
  border-radius: 6px;
  background: var(--good);
  color: var(--goodink);
  font-size: 11px;
  font-weight: 700;
}

.quality b {
  white-space: nowrap;
}

.proof-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.proof-panel {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.proof-panel.dark {
  border-color: #2c3339;
  background: var(--shell);
  color: #fff;
}

.proof-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
}

.proof-panel > p {
  max-width: 540px;
  margin: 12px 0 22px;
  color: var(--dim);
}

.proof-panel.dark > p {
  color: #aeb6bd;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-list div {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line2);
  border-radius: 6px;
  background: var(--card2);
  color: var(--dim);
  font-size: 13px;
}

.proof-panel.dark .check-list div {
  border-color: rgba(255, 255, 255, 0.1);
  background: #1d2227;
  color: #c4cbd1;
}

.check-list i {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--accent2);
}

.price-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.price-mini {
  min-height: 180px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--tier-color);
  border-radius: 8px;
  background: var(--panel);
}

.price-mini b {
  font-size: 13px;
}

.price-mini strong {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.price-mini strong span {
  color: var(--faint);
  font-family: var(--ui);
  font-size: 12px;
}

.price-mini p {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 12px;
}

.price-mini a {
  margin-top: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.home-final {
  padding: 78px 0;
  background: var(--shell);
  color: #fff;
  text-align: center;
}

.home-final h2 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 400;
  line-height: 1;
  text-wrap: balance;
}

.home-final p {
  max-width: 620px;
  margin: 14px auto 24px;
  color: #aeb6bd;
}

.home-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.home-actions a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.home-actions a:first-child {
  border-color: var(--accent);
  background: var(--accent);
}

.playbook-signup {
  width: min(520px, 100%);
  margin: 24px auto 0;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #1d2227;
}

.playbook-signup input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px !important;
  background: #111417;
  color: #fff;
}

.playbook-signup button {
  padding: 0 14px;
  border: 1px solid var(--accent2);
  background: var(--accent2);
  color: #172017;
  font-weight: 750;
  cursor: pointer;
}

.playbook-message {
  min-height: 20px;
  margin-top: 9px;
  color: #9ba3ab;
  font-size: 12px;
}

.playbook-message a {
  color: #fff;
}

/* Existing product pages */
body:not(.home-page) > .wrap {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 0 80px;
}

body:not(.home-page) > .wrap > nav {
  display: none;
}

body:not(.home-page) h1 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

body:not(.home-page) h2,
body:not(.home-page) h3 {
  letter-spacing: 0;
}

body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) .sub,
body:not(.home-page) .plan,
body:not(.home-page) .panel,
body:not(.home-page) header,
body:not(.home-page) article {
  animation: none !important;
  filter: none !important;
}

.plan,
.card,
.panel,
.chan,
.cta,
.conn,
.finding,
.note {
  border-radius: 8px !important;
  box-shadow: none;
}

input,
textarea,
select {
  border-radius: 8px !important;
}

/* Pricing */
body.pricing-page > .wrap {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
}

.pricing-page .eyebrow {
  margin: 10px 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
}

.pricing-page h1 {
  margin: 0 auto 12px;
  font-size: 56px;
  line-height: 1;
}

.pricing-page .sub {
  color: var(--dim);
}

.pricing-page .plans {
  gap: 12px;
}

.pricing-page .plan {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brief);
  background: var(--panel);
}

.pricing-page .plan:nth-child(2) {
  border-top-color: var(--accent);
}

.pricing-page .plan:nth-child(3) {
  border-top-color: var(--publish);
}

.pricing-page .plan.pro {
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-left-color: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.pricing-page .badge {
  top: 14px;
  right: 14px;
  left: auto;
  padding: 5px 9px;
  transform: none;
  border-radius: 5px;
  background: var(--accent);
  letter-spacing: 0;
}

.pricing-page .name {
  color: var(--dim);
  letter-spacing: 0;
}

.pricing-page .price {
  font-size: 48px;
  letter-spacing: 0;
}

.pricing-page button {
  border-radius: 8px;
}

.pricing-page .plan.pro button {
  box-shadow: none;
}

.pricing-page > .wrap > p.sub:last-child {
  display: none;
}

/* Account */
.account-page > .wrap {
  width: min(980px, calc(100% - 40px));
  max-width: 980px;
}

.account-page > .wrap > p:first-child,
.account-page > .wrap > p.sub:last-child {
  display: none;
}

.account-page .auth-grid {
  gap: 18px;
}

.account-page .intro,
.account-page .card {
  border-radius: 8px;
}

.account-page .card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.account-page .tabs {
  border-radius: 8px;
  background: var(--card2);
}

.account-page .tabs button {
  border-radius: 5px !important;
}

.account-page .conn {
  border: 1px solid var(--line);
  background: var(--card2);
}

.account-page input,
.account-page textarea {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

/* Playbook */
.playbook-page article {
  max-width: 790px;
  margin: 0 auto;
}

.playbook-page .eyebrow,
.playbook-page .step {
  color: var(--accent);
  letter-spacing: 0;
}

.playbook-page section {
  border-top-color: var(--line);
}

.playbook-page .chan,
.playbook-page .cadence,
.playbook-page .cta {
  border-color: var(--line);
  background: var(--panel);
}

.playbook-page .foot {
  display: none;
}

/* Slop detector */
.slop-page > nav:not(.mm-site-nav) {
  display: none;
}

.slop-page > header.wrap,
.slop-page > .wrap {
  width: min(900px, calc(100% - 40px));
  max-width: 900px;
}

.slop-page > header.wrap {
  padding-top: 58px;
  padding-bottom: 24px;
}

.slop-page .tag {
  color: var(--accent);
  letter-spacing: 0;
}

.slop-page .panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.slop-page textarea {
  border-color: var(--line);
  background: var(--card2);
  color: var(--ink);
}

.slop-page button.go {
  background: var(--accent);
  color: #fff;
}

.slop-page footer:not(.mm-site-footer) {
  display: none;
}

/* Legal and reset pages */
.legal-page > .wrap,
.reset-page > .wrap {
  width: min(800px, calc(100% - 40px));
  max-width: 800px;
}

.legal-page > .wrap {
  padding-top: 58px;
}

.legal-page > .wrap > .muted:first-child,
.reset-page > .wrap > p:first-child {
  display: none;
}

.legal-page h1,
.reset-page h1 {
  font-size: 44px;
  line-height: 1.05;
}

.legal-page h2 {
  border-top-color: var(--line);
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--dim) !important;
}

.legal-page a {
  color: var(--accent);
}

.legal-page .note {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--dim);
}

.legal-page table {
  border-color: var(--line);
  background: var(--panel);
}

.legal-page th {
  background: var(--card2) !important;
}

.legal-page footer:not(.mm-site-footer) {
  display: none;
}

.reset-page {
  min-height: 100svh;
  display: block;
}

.reset-page > .wrap {
  padding-top: 76px;
}

.reset-page .card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.reset-page input {
  border-color: var(--line);
  background: var(--card2);
  color: var(--ink);
}

.reset-page button.go {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 820px) {
  .mm-site-nav {
    height: 64px;
  }

  .mm-nav-inner {
    width: min(100% - 24px, 1440px);
  }

  .mm-brand img {
    width: 32px;
    height: 32px;
  }

  .mm-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mm-nav-links {
    position: absolute;
    top: 63px;
    right: 12px;
    width: min(260px, calc(100vw - 24px));
    padding: 8px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #171b20;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  }

  .mm-site-nav.open .mm-nav-links {
    display: grid;
  }

  .mm-nav-links a {
    justify-content: flex-start;
  }

  .home-main {
    padding-top: 64px;
  }

  .home-hero {
    height: 720px;
    min-height: 0;
  }

  .home-hero-copy {
    width: min(100% - 28px, 680px);
    padding-top: 30px;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .home-hero-copy > p {
    font-size: 14px;
  }

  .hero-stage {
    bottom: -3%;
    width: calc(100% - 28px);
  }

  .phase-rail-inner {
    width: 100%;
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(120px, 1fr));
    scrollbar-width: none;
  }

  .phase-rail-inner::-webkit-scrollbar {
    display: none;
  }

  .output-grid,
  .price-preview {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .output-card {
    min-height: 220px;
  }

  .mm-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mm-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body:not(.home-page) > .wrap,
  .slop-page > header.wrap,
  .slop-page > .wrap,
  .legal-page > .wrap,
  .reset-page > .wrap,
  .account-page > .wrap,
  .pricing-page > .wrap {
    width: calc(100% - 24px);
  }

  .mm-brand-copy small {
    display: none;
  }

  .home-hero {
    height: 700px;
  }

  .home-hero-copy {
    padding-top: 24px;
  }

  .home-kicker {
    margin-bottom: 10px;
  }

  .home-hero h1 {
    font-size: 41px;
    line-height: 1;
  }

  .home-hero-copy > p {
    margin: 12px auto 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .site-launcher {
    grid-template-columns: 1fr;
  }

  .site-launcher input {
    min-height: 46px;
  }

  .site-launcher button {
    min-width: 0;
    min-height: 46px;
  }

  .hero-trust {
    display: none;
  }

  .hero-stage {
    bottom: 12px;
    width: calc(100% - 20px);
    aspect-ratio: 4 / 3;
  }

  .hero-stage video,
  .hero-stage img {
    object-fit: cover;
    object-position: center top;
  }

  .hero-stage-bar,
  .demo-stage-bar {
    height: 28px;
  }

  .hero-stage img,
  .hero-stage video,
  .demo-stage video {
    height: calc(100% - 28px);
  }

  .home-section {
    padding: 62px 0;
  }

  .home-section-inner {
    width: calc(100% - 24px);
  }

  .section-heading h2,
  .home-final h2 {
    font-size: 38px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .demo-caption {
    display: block;
  }

  .demo-caption span:last-child {
    display: block;
    margin-top: 4px;
  }

  .proof-panel {
    min-height: 0;
    padding: 22px;
  }

  .home-actions {
    display: grid;
    padding: 0 18px;
  }

  .playbook-signup {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
  }

  .pricing-page h1,
  .legal-page h1,
  .reset-page h1 {
    font-size: 38px;
  }

  .pricing-page .plan,
  .slop-page .panel,
  .account-page .card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
