:root {
  --ink: #231b29;
  --ink-soft: #5f5663;
  --plum: #44233f;
  --plum-deep: #2b1729;
  --rose: #a8465a;
  --rose-dark: #87364a;
  --clay: #c9674f;
  --gold: #d9a64d;
  --sage: #71846e;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --mist: #f1eae4;
  --line: #ddd1c9;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 12px 34px rgba(53, 29, 49, 0.08);
  --shadow-lg: 0 24px 80px rgba(53, 29, 49, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 5%, rgba(217, 166, 77, 0.14), transparent 25rem),
    radial-gradient(circle at 90% 28%, rgba(168, 70, 90, 0.09), transparent 28rem),
    var(--cream);
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--rose-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--plum);
}

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--plum-deep);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.privacy-bar {
  padding: 8px 20px;
  color: #f8efe5;
  background: var(--plum-deep);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(68, 35, 63, 0.12);
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner,
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--plum-deep);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 2px solid var(--plum);
  border-radius: 12px 12px 7px 7px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  transform: rotate(-1deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 8px;
  width: 19px;
  height: 19px;
  border-top: 2px solid var(--plum);
  border-left: 2px solid var(--plum);
  transform: rotate(45deg);
  background: var(--cream);
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

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

.brand-text small {
  color: var(--rose-dark);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 21px;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--rose-dark);
}

.nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--plum);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--rose-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--plum-deep);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.1rem);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.5vw, 4.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lede {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.36rem);
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 11vw, 150px) 0 92px;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(300px, 47vw, 700px);
  aspect-ratio: 0.86;
  border: 2px solid rgba(68, 35, 63, 0.12);
  border-bottom: 0;
  border-radius: 250px 250px 0 0;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.55), rgba(217, 166, 77, 0.08));
  transform: rotate(4deg);
}

.hero::after {
  top: 35px;
  right: -10vw;
}

.hero-copy {
  max-width: 930px;
}

.hero strong {
  color: var(--rose-dark);
  font-weight: inherit;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--plum);
  box-shadow: 0 8px 20px rgba(68, 35, 63, 0.14);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
button.button:hover {
  color: var(--white);
  background: var(--rose-dark);
}

.button.secondary {
  border-color: var(--plum);
  color: var(--plum);
  background: transparent;
  box-shadow: none;
}

.button.secondary:hover {
  color: var(--white);
  background: var(--plum);
}

.button.quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.trust-strip {
  border-block: 1px solid rgba(68, 35, 63, 0.12);
  background: rgba(255, 253, 248, 0.78);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  padding: 23px 20px;
  border-right: 1px solid rgba(68, 35, 63, 0.1);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong {
  display: block;
  color: var(--plum);
  font-size: 1rem;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section.compact {
  padding-block: 54px;
}

.section.paper {
  border-block: 1px solid rgba(68, 35, 63, 0.08);
  background: var(--paper);
}

.section.plum {
  color: #f7eeda;
  background: var(--plum-deep);
}

.section.plum h2,
.section.plum h3,
.section.plum .eyebrow {
  color: var(--white);
}

.section.plum p,
.section.plum .lede {
  color: #dfd3da;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading > * {
  margin-bottom: 0;
}

.grid-2,
.grid-3,
.grid-5 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(24px, 3vw, 35px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-sm);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card .card-link {
  margin-top: auto;
  padding-top: 20px;
  font-weight: 800;
}

.number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--rose-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: #f8e9e6;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boundary-grid .card:nth-child(1) {
  border-top: 5px solid var(--gold);
}

.boundary-grid .card:nth-child(2) {
  border-top: 5px solid var(--rose);
}

.boundary-grid .card:nth-child(3) {
  border-top: 5px solid var(--sage);
}

.moment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.moment-list a {
  display: block;
  min-height: 150px;
  padding: 28px;
  color: var(--white);
  background: var(--plum-deep);
  text-decoration: none;
}

.moment-list a:hover {
  background: #3a2037;
}

.moment-list strong {
  display: block;
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.moment-list span {
  color: #d9ccd5;
}

.privacy-promise {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 70px;
  align-items: center;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-weight: 750;
}

.promise-list li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--sage);
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 128px) 0 76px;
  border-bottom: 1px solid rgba(68, 35, 63, 0.1);
}

.page-hero::after {
  top: -180px;
  right: -12vw;
  opacity: 0.62;
}

.crumbs {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.crumbs a {
  color: inherit;
}

.context-note,
.privacy-note,
.medical-note,
.handoff {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
}

.context-note {
  border-left: 5px solid var(--gold);
  background: #fff4da;
}

.privacy-note {
  border: 1px solid #bdd0bb;
  background: #edf4ea;
}

.medical-note {
  border: 1px solid #e3c4c8;
  background: #f8e9e6;
}

.handoff {
  color: #f9efe0;
  background: var(--plum);
}

.handoff a {
  color: #ffd88d;
  font-weight: 850;
}

.tool-shell {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.tool-head p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-grid.spaced {
  margin-top: 24px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--plum-deep);
  font-weight: 800;
}

.field small {
  color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  border: 1px solid #cdbeb8;
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

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

.check-item,
.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.check-item:hover,
.radio-card:hover {
  border-color: var(--rose);
}

.check-item input,
.radio-card input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--rose-dark);
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-card strong {
  display: block;
  color: var(--plum-deep);
}

.radio-card span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.status {
  min-height: 26px;
  margin-top: 12px;
  color: var(--sage);
  font-weight: 800;
}

.result-panel {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #fff6df;
}

.result-panel.is-visible {
  display: block;
}

.progress-track {
  overflow: hidden;
  height: 8px;
  margin: 12px 0 7px;
  border-radius: 999px;
  background: var(--mist);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width 180ms ease;
}

.script-card {
  position: relative;
  margin: 16px 0;
  padding: 24px;
  border-left: 5px solid var(--rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--mist);
}

.script-card blockquote {
  margin: 0 0 16px;
  color: var(--plum-deep);
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.5;
}

.copy-script {
  border: 0;
  padding: 0;
  color: var(--rose-dark);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding: 0 0 34px 72px;
  counter-increment: steps;
}

.step-list li::before {
  content: counter(steps);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--plum);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.step-list li::after {
  content: "";
  position: absolute;
  top: 54px;
  bottom: 5px;
  left: 23px;
  width: 1px;
  background: var(--line);
}

.step-list li:last-child::after {
  display: none;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.resource p,
.resource strong {
  margin: 0;
}

.resource .source-label {
  color: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.founder-photo {
  overflow: hidden;
  border-radius: 180px 180px var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.definition-list {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0 30px;
  margin: 30px 0;
}

.definition-list dt,
.definition-list dd {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.definition-list dt {
  font-weight: 850;
}

.definition-list dd {
  margin: 0;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 64px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.prose h3 {
  margin-top: 38px;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin-block: 8px;
}

.callout-band {
  padding: 46px 0;
  color: var(--white);
  background: var(--rose-dark);
}

.callout-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.callout-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.callout-band p {
  max-width: 600px;
  margin: 8px 0 0;
  color: #f5dfe4;
}

.callout-band .button {
  flex: 0 0 auto;
  color: var(--plum-deep);
  background: var(--white);
}

.site-footer {
  color: #d9ccd5;
  background: #1d151e;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.65fr;
  gap: 60px;
  padding-block: 64px;
}

.footer-main h2,
.footer-main h3 {
  color: var(--white);
}

.footer-main h2 {
  margin-bottom: 16px;
  font-size: 2.5rem;
}

.footer-main h3 {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main li {
  margin-block: 8px;
}

.footer-main a {
  color: #e9dde4;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.mj-owner-mark {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 32px;
  color: var(--white);
  background: #000000;
  text-align: center;
}

.mj-owner-mark__label {
  margin: 0 0 12px;
  color: #ffffff;
  font: 600 11px/1.4 Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.mj-owner-mark__link {
  display: inline-block;
  line-height: 0;
}

.mj-owner-mark__logo {
  display: block;
  width: min(475px, 82vw);
  max-width: 100%;
  height: auto;
}

.error-code {
  margin: 0;
  color: var(--rose);
  font-family: var(--serif);
  font-size: clamp(6rem, 24vw, 16rem);
  line-height: 0.8;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 120px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
    background: var(--paper);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

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

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

  .trust-grid div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(68, 35, 63, 0.1);
  }

  .privacy-promise,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 620px;
  }

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

  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero::after {
    top: 180px;
    right: -190px;
  }

  .section-heading,
  .grid-2,
  .grid-3,
  .grid-5,
  .tool-grid,
  .radio-grid,
  .privacy-promise,
  .promise-list,
  .moment-list,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

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

  .trust-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(68, 35, 63, 0.1);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .moment-list a {
    min-height: auto;
  }

  .tool-head,
  .callout-band .container,
  .footer-bottom .container {
    align-items: stretch;
    flex-direction: column;
  }

  .resource {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .definition-list {
    grid-template-columns: 1fr;
  }

  .definition-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .definition-list dd {
    padding-top: 5px;
  }

  .field.full {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .actions .button,
  .tool-actions .button {
    width: 100%;
  }

  .tool-shell {
    padding: 20px 16px;
  }

  .mj-owner-mark {
    padding: 24px 16px 28px;
  }

  .mj-owner-mark__label {
    font-size: 10px;
  }

  .mj-owner-mark__logo {
    width: min(360px, 88vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    margin: 0.55in;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .privacy-bar,
  .site-header,
  .site-footer,
  .callout-band,
  .actions,
  .tool-actions,
  .copy-script,
  .no-print {
    display: none !important;
  }

  .section,
  .page-hero {
    padding: 20px 0;
  }

  .container {
    width: 100%;
  }

  .tool-shell,
  .card,
  .script-card {
    break-inside: avoid;
    border-color: #777;
    box-shadow: none;
  }

  input,
  textarea,
  select {
    border-color: #777;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    font-weight: 400;
  }
}
