:root {
  --mt-green-950: #102f28;
  --mt-green-900: #173f34;
  --mt-green-800: #245b3f;
  --mt-green-700: #2e7050;
  --mt-green-100: #e4eee6;
  --mt-orange: #e75b2b;
  --mt-orange-dark: #c7461d;
  --mt-orange-soft: #fff0e8;
  --mt-cream: #f6f0df;
  --mt-sand: #e9d7ad;
  --mt-blue: #dfeaec;
  --mt-ink: #17211d;
  --mt-muted: #59655f;
  --mt-line: #dfe4df;
  --mt-white: #ffffff;
  --mt-radius-lg: 28px;
  --mt-radius-md: 18px;
  --mt-radius-sm: 12px;
  --mt-shadow: 0 20px 60px rgba(16, 47, 40, .1);
}

body.mt-portal-view {
  background: #fbfaf6;
  color: var(--mt-ink);
}

.mt-portal,
.mt-portal * {
  box-sizing: border-box;
}

.mt-portal {
  overflow: hidden;
  color: var(--mt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.mt-portal h1,
.mt-portal h2,
.mt-portal h3,
.mt-portal p {
  margin-top: 0;
}

.mt-portal h1,
.mt-portal h2,
.mt-portal h3 {
  color: inherit;
  font-family: inherit;
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-transform: none;
}

.mt-portal h1 { font-size: clamp(2.7rem, 6.6vw, 6rem); }
.mt-portal h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
.mt-portal h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.mt-portal a { color: inherit; }

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

.mt-kicker {
  margin-bottom: 14px;
  color: var(--mt-orange);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.mt-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: .94rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.mt-button:hover { transform: translateY(-2px); }
.mt-button--primary { background: var(--mt-orange); color: var(--mt-white) !important; }
.mt-button--primary:hover { background: var(--mt-orange-dark); }
.mt-button--ghost { border-color: rgba(255, 255, 255, .45); color: var(--mt-white) !important; }
.mt-button--ghost:hover { background: rgba(255, 255, 255, .1); }
.mt-button--ghost-dark { border-color: #aeb8b2; color: var(--mt-green-950) !important; }
.mt-button--ghost-dark:hover { background: var(--mt-green-100); }
.mt-button--outline { border-color: var(--mt-green-800); color: var(--mt-green-800) !important; }
.mt-button--outline:hover { background: var(--mt-green-100); }
.mt-button--cream { background: var(--mt-cream); color: var(--mt-green-950) !important; }
.mt-button--cream:hover { background: var(--mt-white); }

.mt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mt-green-800) !important;
  font-size: .94rem;
  font-weight: 780;
  text-decoration: none !important;
}

.mt-text-link span { transition: transform .2s ease; }
.mt-text-link:hover span { transform: translateX(4px); }
.mt-text-link--light { color: var(--mt-white) !important; }

.mt-hero {
  position: relative;
  isolation: isolate;
  padding: 86px 0 92px;
  background: var(--mt-green-950);
  color: var(--mt-white);
}

.mt-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(231, 91, 43, .14), transparent 30%),
    repeating-linear-gradient(100deg, transparent 0 86px, rgba(255,255,255,.035) 87px 89px);
  content: "";
}

.mt-hero::after {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -230px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
  content: "";
}

.mt-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 94px);
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr);
}

.mt-hero h1 { max-width: 900px; margin-bottom: 28px; }
.mt-hero h1 em { color: #f2b594; font-style: normal; }
.mt-hero__lead { max-width: 720px; color: rgba(255,255,255,.8); font-size: clamp(1.06rem, 1.6vw, 1.25rem); }
.mt-proof { margin: 20px 0 0; color: rgba(255,255,255,.67); font-size: .84rem; }
.mt-proof span { margin-right: 7px; color: #9dd6ae; }

.mt-field-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--mt-radius-lg);
  padding: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}

.mt-field-card::after {
  position: absolute;
  width: 210px;
  height: 210px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: rgba(231,91,43,.22);
  content: "";
}

.mt-field-card__eyebrow { margin: 24px 0 4px; color: #f2b594; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mt-field-card h2 { margin-bottom: 15px; font-size: clamp(2rem, 3.5vw, 2.7rem); }
.mt-field-card > p:not(.mt-field-card__eyebrow) { color: rgba(255,255,255,.75); }
.mt-field-card .mt-text-link { margin-top: 17px; }

.mt-app-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--mt-green-100);
  color: var(--mt-green-800);
}

.mt-app-icon svg,
.mt-task svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.mt-app-icon--light { background: rgba(255,255,255,.12); color: #f2b594; }
.mt-app-icon--large { width: 82px; height: 82px; border-radius: 24px; }
.mt-app-icon--large svg { width: 43px; height: 43px; }

.mt-check-list,
.mt-feature-list {
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.mt-check-list { color: rgba(255,255,255,.85); font-size: .9rem; }
.mt-check-list li::before { margin-right: 9px; color: #9dd6ae; content: "✓"; }

.mt-task-section,
.mt-suite,
.mt-knowledge,
.mt-latest,
.mt-tools-list,
.mt-calculators,
.mt-app-features,
.mt-method,
.mt-faq,
.mt-data,
.mt-other-apps { padding: 92px 0; }

.mt-section-heading {
  display: grid;
  align-items: end;
  gap: 30px;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
}

.mt-section-heading h2 { max-width: 780px; margin-bottom: 0; }
.mt-section-heading > p { max-width: 510px; margin: 0 0 4px auto; color: var(--mt-muted); }
.mt-section-heading--center { display: block; text-align: center; }

.mt-task-grid {
  display: grid;
  border-top: 1px solid var(--mt-line);
  border-left: 1px solid var(--mt-line);
  grid-template-columns: repeat(3, 1fr);
}

.mt-task {
  display: grid;
  min-height: 178px;
  align-content: start;
  border-right: 1px solid var(--mt-line);
  border-bottom: 1px solid var(--mt-line);
  padding: 26px;
  background: var(--mt-white);
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease;
}

.mt-task:hover { background: var(--mt-green-950); color: var(--mt-white); }
.mt-task > span { display: inline-flex; margin-bottom: 22px; color: var(--mt-orange); }
.mt-task strong { font-size: 1.08rem; }
.mt-task small { margin-top: 4px; color: var(--mt-muted); font-size: .82rem; }
.mt-task:hover small { color: rgba(255,255,255,.66); }

.mt-mercuriale { padding: 104px 0; background: var(--mt-cream); }
.mt-mercuriale__grid { display: grid; align-items: center; gap: clamp(50px, 8vw, 110px); grid-template-columns: 1fr 1fr; }
.mt-mercuriale__content > p:not(.mt-kicker) { color: var(--mt-muted); font-size: 1.06rem; }
.mt-feature-list { margin-top: 28px; }
.mt-feature-list li { display: flex; gap: 11px; align-items: flex-start; }
.mt-feature-list li span { color: var(--mt-orange); font-weight: 900; }
.mt-feature-list--compact { gap: 7px; margin-top: 17px; font-size: .9rem; }

.mt-mercuriale__visual {
  position: relative;
  min-height: 520px;
  border-radius: var(--mt-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(231,91,43,.55), transparent 27%),
    repeating-linear-gradient(104deg, transparent 0 58px, rgba(255,255,255,.04) 59px 61px),
    var(--mt-green-950);
  box-shadow: var(--mt-shadow);
}

.mt-stat-card {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 21px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.mt-stat-card small { display: block; color: var(--mt-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.mt-stat-card strong { display: block; margin-top: 7px; color: var(--mt-green-950); font-size: .94rem; }
.mt-stat-card--one { width: 62%; left: 9%; top: 12%; }
.mt-stat-card--two { width: 68%; right: 8%; bottom: 15%; }
.mt-stat-card--three { display: flex; width: 54%; right: 4%; top: 43%; gap: 12px; align-items: center; background: var(--mt-orange); }
.mt-stat-card--three strong { margin: 0; color: var(--mt-white); font-size: .82rem; line-height: 1.35; }
.mt-stat-card--three svg { width: 28px; height: 28px; fill: none; stroke: white; stroke-width: 2; }
.mt-stat-line { display: block; height: 7px; margin-top: 22px; border-radius: 999px; background: var(--mt-green-100); }
.mt-stat-line i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--mt-orange); }
.mt-stat-bars { display: flex; height: 70px; align-items: end; gap: 8px; margin-top: 18px; }
.mt-stat-bars i { width: 18%; border-radius: 5px 5px 2px 2px; background: var(--mt-green-700); }
.mt-stat-bars i:nth-child(1) { height: 42%; }.mt-stat-bars i:nth-child(2) { height: 68%; }.mt-stat-bars i:nth-child(3) { height: 93%; background: var(--mt-orange); }.mt-stat-bars i:nth-child(4) { height: 71%; }.mt-stat-bars i:nth-child(5) { height: 53%; }

.mt-suite { background: var(--mt-white); }
.mt-app-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.mt-app-grid--three { grid-template-columns: repeat(3, 1fr); }
.mt-app-card { display: flex; min-height: 370px; flex-direction: column; border: 1px solid var(--mt-line); border-radius: var(--mt-radius-md); padding: 28px; background: #fff; box-shadow: 0 8px 30px rgba(16,47,40,.04); }
.mt-app-card:hover { border-color: #b7c7bd; box-shadow: var(--mt-shadow); }
.mt-app-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.mt-app-card__kicker { margin: 31px 0 7px; color: var(--mt-orange); font-size: .74rem; font-weight: 780; letter-spacing: .09em; text-transform: uppercase; }
.mt-app-card h3 { margin-bottom: 13px; }
.mt-app-card > p:not(.mt-app-card__kicker) { color: var(--mt-muted); }
.mt-app-card .mt-text-link { margin-top: auto; padding-top: 20px; }

.mt-status { display: inline-flex; width: fit-content; align-items: center; border-radius: 999px; padding: 7px 11px; font-size: .7rem; font-weight: 800; line-height: 1.25; }
.mt-status.is-live { background: #dff3e4; color: #24603a; }
.mt-status.is-soon { background: var(--mt-orange-soft); color: #9b3d1d; }
.mt-privacy-note { margin: 28px 0 0; color: var(--mt-muted); font-size: .88rem; text-align: center; }
.mt-privacy-note span { margin-right: 7px; color: var(--mt-green-700); }

.mt-knowledge { background: #f3f4ef; }
.mt-search { display: flex; min-height: 52px; align-items: center; border: 1px solid #cfd6d1; border-radius: 999px; padding-left: 16px; overflow: hidden; background: var(--mt-white); }
.mt-search > span { display: inline-flex; color: var(--mt-green-700); }
.mt-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.mt-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 10px 12px; background: transparent; font-size: .88rem; }
.mt-search button { align-self: stretch; border: 0; padding: 0 18px; background: var(--mt-green-900); color: white; font-size: .8rem; font-weight: 760; cursor: pointer; }
.mt-hub-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.mt-hub { display: flex; min-height: 310px; flex-direction: column; border-radius: var(--mt-radius-md); padding: 26px; text-decoration: none !important; transition: transform .2s ease; }
.mt-hub:hover { transform: translateY(-5px); }
.mt-hub > span { align-self: flex-end; font-size: .75rem; font-weight: 800; }
.mt-hub h3 { margin: auto 0 13px; }
.mt-hub p { color: rgba(23,33,29,.72); font-size: .9rem; }
.mt-hub strong { font-size: .82rem; }
.mt-hub--orange { background: #f4b390; }.mt-hub--green { background: #b9d5bd; }.mt-hub--sand { background: var(--mt-sand); }.mt-hub--blue { background: var(--mt-blue); }

.mt-latest { background: var(--mt-white); }
.mt-article-grid { display: grid; border-top: 1px solid var(--mt-line); border-left: 1px solid var(--mt-line); grid-template-columns: repeat(4, 1fr); }
.mt-article-card { display: flex; min-height: 315px; flex-direction: column; border-right: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); padding: 25px; }
.mt-article-card__meta { color: var(--mt-orange); font-size: .74rem; font-weight: 760; text-transform: uppercase; }
.mt-article-card h3 { margin: 18px 0 14px; font-size: 1.18rem; line-height: 1.25; }
.mt-article-card h3 a { text-decoration: none; }
.mt-article-card > p:not(.mt-article-card__meta) { color: var(--mt-muted); font-size: .88rem; }
.mt-article-card .mt-text-link { margin-top: auto; }

.mt-community { padding: 100px 0; background: var(--mt-green-100); }
.mt-community__grid { display: grid; gap: 80px; grid-template-columns: 1fr 1fr; }
.mt-community__grid > div:first-child > p:not(.mt-kicker) { max-width: 620px; color: var(--mt-muted); }
.mt-community__links { border-top: 1px solid #b9c9be; }
.mt-community__links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #b9c9be; padding: 20px 4px; text-decoration: none; }
.mt-community__links a span { color: var(--mt-muted); font-size: .85rem; }

.mt-final-cta { padding: 28px 0 92px; background: var(--mt-green-100); }
.mt-final-cta__box,
.mt-feedback__box,
.mt-development__box { display: flex; align-items: center; justify-content: space-between; gap: 38px; border-radius: var(--mt-radius-lg); padding: 48px; background: var(--mt-green-950); color: white; }
.mt-final-cta__box h2 { max-width: 760px; margin: 0; }
.mt-final-cta__box .mt-kicker,
.mt-feedback__box .mt-kicker,
.mt-development__box .mt-kicker { color: #f2b594; }

/* Tools hub */
.mt-page-hero { padding: 82px 0; background: var(--mt-green-950); color: white; }
.mt-page-hero__grid { display: grid; align-items: end; gap: 70px; grid-template-columns: 1.35fr .65fr; }
.mt-page-hero h1 { margin-bottom: 24px; font-size: clamp(2.8rem, 5.6vw, 5rem); }
.mt-page-hero__grid > div:first-child > p:not(.mt-kicker) { max-width: 760px; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.mt-page-hero__aside { border-left: 3px solid var(--mt-orange); padding: 8px 0 8px 25px; }
.mt-page-hero__aside strong { display: block; margin-bottom: 8px; }
.mt-page-hero__aside p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.mt-tools-list { background: var(--mt-white); }
.mt-tool-rows { border-top: 1px solid var(--mt-line); }
.mt-tool-row { display: grid; align-items: start; gap: 34px; border-bottom: 1px solid var(--mt-line); padding: 38px 0; grid-template-columns: minmax(230px, .7fr) minmax(320px, 1.2fr) minmax(210px, .55fr); }
.mt-tool-row__identity { display: flex; gap: 18px; align-items: center; }
.mt-tool-row__identity p { margin: 0 0 3px; color: var(--mt-orange); font-size: .7rem; font-weight: 760; text-transform: uppercase; }
.mt-tool-row__identity h3 { margin: 0; }
.mt-tool-row__body > p { margin: 13px 0 0; color: var(--mt-muted); font-size: .92rem; }
.mt-tool-row__actions { display: grid; gap: 10px; }
.mt-soon-note { color: var(--mt-muted); font-size: .75rem; text-align: center; }
.mt-calculators { background: var(--mt-cream); }
.mt-calculator-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.mt-calculator-card { display: grid; min-height: 230px; align-content: start; gap: 20px; border-radius: var(--mt-radius-md); padding: 27px; background: white; grid-template-columns: auto 1fr auto; text-decoration: none !important; }
.mt-calculator-card > span { display: inline-flex; color: var(--mt-orange); }
.mt-calculator-card svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
.mt-calculator-card h3 { margin-bottom: 11px; }
.mt-calculator-card p { margin: 0; color: var(--mt-muted); font-size: .88rem; }
.mt-calculator-card > strong { color: var(--mt-green-700); }
.mt-feedback { padding: 28px 0 92px; background: var(--mt-cream); }
.mt-feedback__box > div { flex: 1; }
.mt-feedback__box h2 { margin-bottom: 10px; }
.mt-feedback__box p:last-child { max-width: 720px; margin: 0; color: rgba(255,255,255,.7); }

/* Application pages */
.mt-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 25px; color: var(--mt-muted); font-size: .8rem; }
.mt-breadcrumb a { text-decoration: none; }
.mt-app-hero { padding: 55px 0 96px; }
.mt-app-hero__grid { display: grid; align-items: center; gap: 80px; grid-template-columns: 1.2fr .8fr; }
.mt-app-hero .mt-kicker { margin-top: 26px; }
.mt-app-hero h1 { margin-bottom: 18px; font-size: clamp(3.5rem, 7vw, 6.8rem); }
.mt-app-hero__tagline { max-width: 750px; margin-bottom: 16px; color: var(--mt-green-800); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 720; line-height: 1.35; }
.mt-app-hero__description { max-width: 760px; color: var(--mt-muted); }
.mt-app-device { display: flex; justify-content: center; }
.mt-app-device__screen { display: flex; width: min(310px, 78vw); aspect-ratio: .55; align-items: center; flex-direction: column; justify-content: center; border: 11px solid var(--mt-green-950); border-radius: 48px; padding: 36px; background: linear-gradient(160deg, var(--mt-cream), #fff); box-shadow: 0 28px 80px rgba(16,47,40,.2); text-align: center; }
.mt-app-device__screen.mt-app-device__screen--screenshot { width: min(296px, 82vw); aspect-ratio: auto; overflow: hidden; padding: 0; background: #f8f3ee; }
.mt-app-device__screen--screenshot img { display: block; width: 100%; height: auto; border-radius: 36px; }
.mt-app-device__screen > strong { margin-top: 24px; color: var(--mt-green-950); font-size: 1.45rem; }
.mt-app-device__screen > small { margin-top: 3px; color: var(--mt-muted); }
.mt-device-lines { display: grid; width: 100%; gap: 10px; margin-top: 42px; }
.mt-device-lines i { height: 10px; border-radius: 999px; background: var(--mt-green-100); }
.mt-device-lines i:nth-child(2) { width: 72%; background: var(--mt-orange-soft); }
.mt-device-lines i:nth-child(3) { width: 86%; }
.mt-app-features { background: var(--mt-green-950); color: white; }
.mt-app-features__grid { display: grid; gap: 80px; grid-template-columns: .8fr 1.2fr; }
.mt-app-features__grid > div > p:last-child { color: rgba(255,255,255,.7); }
.mt-app-features ol { margin: 0; padding: 0; list-style: none; }
.mt-app-features li { display: grid; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.17); padding: 24px 0; grid-template-columns: 42px 1fr; }
.mt-app-features li:last-child { border-bottom: 1px solid rgba(255,255,255,.17); }
.mt-app-features li span { color: #f2b594; font-size: .75rem; font-weight: 800; }
.mt-app-features li strong { font-size: 1.03rem; }
.mt-method { background: var(--mt-cream); }
.mt-step-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.mt-step-grid article { border-radius: var(--mt-radius-md); padding: 30px; background: white; }
.mt-step-grid article > span { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--mt-orange-soft); color: var(--mt-orange-dark); font-size: .82rem; font-weight: 800; }
.mt-step-grid h3 { margin: 30px 0 12px; }
.mt-step-grid p { margin: 0; color: var(--mt-muted); font-size: .9rem; }
.mt-faq { background: white; }
.mt-faq__grid { display: grid; gap: 80px; grid-template-columns: .6fr 1.4fr; }
.mt-faq details { border-top: 1px solid var(--mt-line); padding: 22px 0; }
.mt-faq details:last-child { border-bottom: 1px solid var(--mt-line); }
.mt-faq summary { font-weight: 760; cursor: pointer; }
.mt-faq details p { margin: 15px 0 0; color: var(--mt-muted); }
.mt-development { padding: 28px 0 92px; background: var(--mt-green-950); }
.mt-development__box { background: var(--mt-orange); }
.mt-development__box h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.mt-development__box p:last-child { max-width: 800px; margin: 0; color: rgba(255,255,255,.78); }
.mt-data { background: var(--mt-green-100); }
.mt-data__grid { display: grid; align-items: center; gap: 30px; grid-template-columns: auto 1fr auto; }
.mt-data h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.mt-data p:last-child { max-width: 760px; margin: 0; color: var(--mt-muted); }
.mt-other-apps { background: #f8f6ef; }

.mt-portal a:focus-visible,
.mt-portal button:focus-visible,
.mt-portal input:focus-visible,
.mt-portal summary:focus-visible {
  outline: 3px solid #f2a27d;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .mt-hero__grid,
  .mt-mercuriale__grid,
  .mt-page-hero__grid,
  .mt-app-hero__grid,
  .mt-app-features__grid,
  .mt-faq__grid,
  .mt-community__grid { grid-template-columns: 1fr; }
  .mt-field-card { max-width: 570px; }
  .mt-task-grid,
  .mt-app-grid,
  .mt-app-grid--three,
  .mt-hub-grid,
  .mt-article-grid { grid-template-columns: repeat(2, 1fr); }
  .mt-tool-row { grid-template-columns: 1fr 1.4fr; }
  .mt-tool-row__actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(180px, 1fr)); }
  .mt-calculator-grid,
  .mt-step-grid { grid-template-columns: 1fr; }
  .mt-calculator-card { min-height: auto; }
  .mt-app-device { grid-row: 1; }
  .mt-app-device__screen { aspect-ratio: .68; }
  .mt-data__grid { grid-template-columns: auto 1fr; }
  .mt-data__grid .mt-text-link { grid-column: 2; }
}

@media (max-width: 700px) {
  .mt-portal { font-size: 16px; }
  .mt-shell { width: min(100% - 28px, 1180px); }
  .mt-hero { padding: 58px 0 64px; }
  .mt-hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .mt-task-section,
  .mt-suite,
  .mt-knowledge,
  .mt-latest,
  .mt-tools-list,
  .mt-calculators,
  .mt-app-features,
  .mt-method,
  .mt-faq,
  .mt-data,
  .mt-other-apps { padding: 68px 0; }
  .mt-mercuriale { padding: 72px 0; }
  .mt-section-heading { display: block; }
  .mt-section-heading > p,
  .mt-section-heading > .mt-text-link { margin: 18px 0 0; }
  .mt-task-grid,
  .mt-app-grid,
  .mt-app-grid--three,
  .mt-hub-grid,
  .mt-article-grid { grid-template-columns: 1fr; }
  .mt-task { min-height: 142px; }
  .mt-mercuriale__visual { min-height: 410px; }
  .mt-stat-card--one { width: 75%; }
  .mt-stat-card--two { width: 78%; }
  .mt-stat-card--three { width: 68%; }
  .mt-search { margin-top: 24px; }
  .mt-search button { padding: 0 12px; }
  .mt-hub { min-height: 230px; }
  .mt-community { padding: 70px 0; }
  .mt-community__grid { gap: 42px; }
  .mt-community__links a { align-items: flex-start; flex-direction: column; gap: 4px; }
  .mt-final-cta { padding-bottom: 70px; }
  .mt-final-cta__box,
  .mt-feedback__box,
  .mt-development__box { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .mt-page-hero { padding: 62px 0; }
  .mt-page-hero__grid { gap: 32px; }
  .mt-tool-row { gap: 23px; grid-template-columns: 1fr; }
  .mt-tool-row__actions { grid-column: auto; grid-template-columns: 1fr; }
  .mt-app-hero { padding: 44px 0 70px; }
  .mt-app-hero__grid { gap: 50px; }
  .mt-app-device__screen { width: min(270px, 78vw); border-width: 9px; border-radius: 38px; }
  .mt-app-device__screen--screenshot img { border-radius: 28px; }
  .mt-app-features__grid,
  .mt-faq__grid { gap: 42px; }
  .mt-data__grid { align-items: start; grid-template-columns: 1fr; }
  .mt-data__grid .mt-text-link { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-portal *,
  .mt-portal *::before,
  .mt-portal *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
