@layer reset, tokens, base, layout, components, motion;

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

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
  }

  body,
  h1, h2, h3, h4,
  p, ul, figure {
    margin: 0;
  }

  img, svg {
    max-width: 100%;
    height: auto;
    display: block;
  }

  button, a {
    color: inherit;
  }

  button {
    font: inherit;
    background: none;
    border: 0;
    cursor: pointer;
  }

  ul {
    padding: 0;
    list-style: none;
  }
}

@layer tokens {
  :root,
  html[data-theme="light"] {
    --ms-red: #db2828;
    --ms-red-deep: #a81c1c;
    --ms-red-dark: #7a1212;
    --ms-green: #1d5238;
    --ms-green-soft: #2f7a54;
    --ms-gray: #c2c2c2;
    --ms-sand: #efe7d5;
    --ms-navy: #25406f;
    --ms-accent: #ff9d00;
    --ms-ink: #1c241f;
    --ms-heading: #25406f;
    --ms-muted: #5a615c;
    --ms-paper: #efe7d5;
    --ms-foam: #fffdf8;
    --ms-line: color-mix(in srgb, var(--ms-green) 18%, var(--ms-sand));
    --header-bg: #db2828;
    --header-fg: #ffffff;
    --hero-fg: #ffffff;
    --surface-dark: #141a17;
    --font-display: Outfit, ui-sans-serif, system-ui, sans-serif;
    --font-body: Manrope, ui-sans-serif, system-ui, sans-serif;
    --wrap: min(calc(100% - clamp(1.25rem, 4vw, 3.5rem)), 92rem);
    --radius: 1.25rem;
    --header: 4.25rem;
    --ease: cubic-bezier(.22, 1, .36, 1);
    color-scheme: light;
  }

  html[data-theme="dark"] {
    --ms-ink: #efe7d5;
    --ms-heading: #efe7d5;
    --ms-muted: #c2c2c2;
    --ms-paper: #121614;
    --ms-foam: #1b221e;
    --ms-line: color-mix(in srgb, var(--ms-green) 35%, #2a332e);
    --header-bg: #141a17;
    --header-fg: #ffffff;
    --surface-dark: #0e1210;
    color-scheme: dark;
  }
}

@layer base {
  html {
    color-scheme: light;
  }

  html[data-theme="dark"] {
    color-scheme: dark;
  }

  body.ms-theme {
    font-family: var(--font-body);
    color: var(--ms-ink);
    background: var(--ms-paper);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
  }

  body.ms-theme :is(h1, h2, h3, h4, p, li, dt, dd, strong, em, small, span, label) {
    color: inherit;
  }

  body.ms-theme :is(h1, h2, h3, h4) {
    font-family: var(--font-display);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: var(--ms-heading);
  }

  h1 {
    font-size: clamp(3rem, 9vw, 7.5rem);
  }

  h2 {
    font-size: clamp(2rem, 5vw, 4.25rem);
  }

  h3 {
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    letter-spacing: -0.03em;
  }

  p + p,
  p + ul {
    margin-top: 0.9rem;
  }

  a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }

  :focus-visible {
    outline: 2px solid var(--ms-green);
    outline-offset: 3px;
  }

  .visually-hidden,
  .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .skip-link:focus {
    position: fixed;
    z-index: 80;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--ms-foam);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
  }
}

@layer layout {
  .wrap {
    width: var(--wrap);
    margin-inline: auto;
  }

  .section {
    padding: clamp(4.5rem, 10vw, 8.5rem) 0;
    overflow: clip;
  }

  .section--paper {
    background:
      radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--ms-green) 10%, transparent), transparent 50%),
      var(--ms-paper);
  }

  .section--features {
    background: var(--ms-foam);
  }

  .section--ink {
    background:
      linear-gradient(165deg, var(--ms-navy) 0%, #17233a 48%, var(--ms-green) 140%);
    color: var(--ms-sand);
  }

  .section--ink :is(h2, h3, a, p, li, strong) {
    color: var(--ms-sand);
  }

  .section--ink p,
  .section--ink li {
    color: color-mix(in srgb, var(--ms-sand) 82%, white);
  }

  .section__intro {
    max-width: 72rem;
    margin-bottom: clamp(2rem, 5vw, 4rem);
  }

  .lede,
  .lead {
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    color: var(--ms-muted);
    max-width: 54rem;
  }

  .section--ink .lede {
    color: color-mix(in srgb, var(--ms-sand) 88%, white);
  }
}

@layer components {
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ms-red);
    margin-bottom: 0.9rem;
  }

  .eyebrow--light {
    color: #ffd3d0;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header);
    background: var(--header-bg);
    color: var(--header-fg);
    transition: background 400ms var(--ease), box-shadow 400ms var(--ease);
  }

  .site-header.is-scrolled {
    background: color-mix(in srgb, var(--header-bg) 92%, black);
    box-shadow: 0 10px 40px color-mix(in srgb, black 28%, transparent);
  }

  .site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .brand {
    order: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    min-width: 0;
  }

  .site-nav {
    order: 2;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .site-header__tools {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: 0.35rem;
  }

  .brand img {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
  }

  .brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.04em;
    white-space: nowrap;
    color: var(--header-fg);
  }

  body.ms-theme .site-header a,
  body.ms-theme .site-header .menu-item a,
  body.ms-theme .site-nav a,
  body.ms-theme .site-header .brand__name {
    color: #fff !important;
    text-decoration: none;
  }

  .site-nav__list {
    display: flex;
    gap: 1.1rem;
  }

  .site-nav a {
    font-size: 0.92rem;
    font-weight: 600;
  }

  .theme-toggle {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, white 40%, transparent);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .theme-toggle:hover {
    background: color-mix(in srgb, white 12%, transparent);
  }

  [data-theme="dark"] .theme-toggle__icon--moon,
  :root:not([data-theme="dark"]) .theme-toggle__icon--sun {
    display: none;
  }

  [data-theme="dark"] .theme-toggle__icon--sun {
    display: block;
  }

  .nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, white 30%, transparent);
    color: #fff;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    display: block;
    width: 1.05rem;
    height: 2px;
    background: #fff;
    margin: auto;
    position: relative;
    transition: transform 300ms var(--ease);
  }

  .nav-toggle__bars::before { top: -6px; position: absolute; }
  .nav-toggle__bars::after { top: 6px; position: absolute; }

  .is-open .nav-toggle__bars { background: transparent; }
  .is-open .nav-toggle__bars::before { transform: rotate(45deg); top: 0; }
  .is-open .nav-toggle__bars::after { transform: rotate(-45deg); top: 0; }

  .btn,
  .btn--light,
  .btn--ghost,
  .btn--header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--ms-red);
    color: #fff;
    border: 1px solid transparent;
    transition: transform 400ms var(--ease), background 250ms ease, color 250ms ease;
  }

  .btn:hover,
  .btn--light:hover,
  .btn--header:hover {
    transform: translateY(-2px);
  }

  .btn--light {
    background: #fff;
    color: var(--ms-red-deep);
  }

  .btn--ghost,
  .btn--header {
    background: transparent;
    border-color: color-mix(in srgb, white 55%, transparent);
    color: #fff;
  }

  body.ms-theme .hero .btn--ghost,
  body.ms-theme .site-header .btn--header,
  body.ms-theme .section--cta .btn--ghost {
    color: #fff;
    border-color: color-mix(in srgb, white 55%, transparent);
    background: transparent;
  }

  .btn--header {
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
  }

  .btn--disabled {
    opacity: 0.7;
    cursor: default;
  }

  .hero {
    position: relative;
    isolation: isolate;
    min-height: min(100svh, 64rem);
    display: grid;
    align-items: end;
    background: var(--ms-red);
    color: var(--hero-fg);
    overflow: clip;
    padding: 3rem 0 0;
  }

  .hero__title {
    color: #fff;
    filter: none;
    opacity: 1;
    transform: none;
    font-size: clamp(2.75rem, 7.5vw, 6rem);
  }

  .hero__waves {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }

  .waves-svg {
    width: 100%;
    height: 100%;
  }

  .hero__grid {
    display: grid;
    gap: 2rem;
    align-items: end;
    padding-bottom: 0;
  }

  .hero__copy {
    padding-bottom: clamp(2rem, 6vw, 5rem);
    max-width: 42rem;
  }

  .hero .lead {
    color: #ffe8e6;
    margin-top: 1.1rem;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
  }

  .hero__note {
    margin-top: 1.1rem;
    font-size: 0.88rem;
    color: #ffd0cc;
    max-width: 34rem;
  }

  .hero__visual {
    justify-self: end;
    width: min(28rem, 100%);
    translate: 0 12%;
    filter: drop-shadow(0 30px 50px color-mix(in srgb, black 35%, transparent));
  }

  .hero__visual img {
    width: 100%;
    border-radius: 2rem 2rem 0 0;
    object-fit: cover;
    aspect-ratio: 9 / 14;
  }

  .purpose-grid,
  .google-grid,
  .split,
  .site-footer__grid {
    display: grid;
    gap: 1.25rem;
  }

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

  .purpose-card,
  .google-card,
  .stat,
  .cta-box {
    background: var(--ms-foam);
    border: 1px solid var(--ms-line);
    border-radius: calc(var(--radius) + 0.3rem);
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--ms-ink);
  }

  .purpose-card {
    border-top: 5px solid var(--ms-green);
  }

  .purpose-card:nth-child(2) {
    border-top-color: var(--ms-navy);
  }

  .purpose-card:nth-child(3) {
    border-top-color: var(--ms-accent);
  }

  .purpose-card h3,
  .stat strong {
    color: var(--ms-heading);
  }

  .purpose-card p,
  .feature-band p {
    color: var(--ms-muted);
  }

  .feature-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4.5rem);
    align-items: center;
    margin-bottom: clamp(3rem, 8vw, 6rem);
  }

  .feature-band--reverse {
    direction: rtl;
  }

  .feature-band--reverse > * {
    direction: ltr;
  }

  .feature-band__media img {
    width: min(100%, 28rem);
    margin-inline: auto;
    border-radius: 2rem;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--ms-red) 18%, transparent);
  }

  .feature-band__media--stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    align-items: end;
  }

  .feature-band__media--stack img {
    width: 100%;
  }

  .feature-band__media--stack img:last-child {
    translate: 0 8%;
  }

  .check-list {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.55rem;
  }

  .check-list li {
    position: relative;
    padding-left: 1.4rem;
    font-weight: 650;
  }

  .check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--ms-green);
  }

  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .chips span {
    border: 1px solid var(--ms-line);
    background: var(--ms-paper);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.88rem;
    font-weight: 650;
  }

  .google-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }

  .google-card {
    background: color-mix(in srgb, white 8%, transparent);
    border-color: color-mix(in srgb, white 16%, transparent);
  }

  .google-card h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.6rem;
  }

  .google-card h3:first-child {
    margin-top: 0;
  }

  .google-card ul {
    display: grid;
    gap: 0.55rem;
  }

  .google-card li {
    padding-left: 1rem;
    border-left: 2px solid var(--ms-red);
  }

  .google-card__policy {
    margin-top: 1.2rem;
    font-weight: 650;
  }

  .split {
    grid-template-columns: 1.4fr 0.8fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
  }

  .stat-stack {
    display: grid;
    gap: 0.8rem;
  }

  .stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: -0.04em;
    color: var(--ms-green);
  }

  .section--cta {
    background: var(--ms-red);
    color: #fff;
    padding-block: clamp(3rem, 8vw, 5.5rem);
  }

  .cta-box {
    background: color-mix(in srgb, black 18%, transparent);
    border-color: color-mix(in srgb, white 20%, transparent);
    text-align: center;
    padding: clamp(2rem, 6vw, 4rem);
  }

  .cta-box p,
  .cta-box .lede {
    margin-inline: auto;
    color: #ffe6e4;
  }

  .cta-box__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.4rem 0 1rem;
  }

  .link-plain {
    color: #fff;
  }

  .site-footer {
    background: var(--surface-dark);
    color: var(--ms-sand);
    padding: 3.5rem 0 1.4rem;
  }

  .site-footer a {
    color: #fff;
    text-decoration: none;
  }

  .site-footer .brand__name {
    color: #fff !important;
  }

  .site-footer p,
  .site-footer li {
    color: var(--ms-gray);
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .site-footer .brand__name {
    font-size: 1.25rem;
  }

  .site-footer p,
  .site-footer li {
    color: var(--ms-gray);
  }

  .site-footer__nav ul,
  .site-footer__contact {
    display: grid;
    gap: 0.45rem;
  }

  .site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid color-mix(in srgb, white 10%, transparent);
    padding-top: 1rem;
    font-size: 0.88rem;
  }

  .legal {
    width: var(--wrap);
    max-width: none;
    padding: clamp(3rem, 7vw, 5.5rem) 0 5.5rem;
    color: var(--ms-ink);
  }

  .legal :is(h1, h2, h3, p, li, strong) {
    color: var(--ms-ink);
  }

  .legal h1,
  .legal h2,
  .legal h3 {
    color: var(--ms-heading);
  }

  .legal__hero {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--ms-green);
  }

  .legal__hero .eyebrow {
    margin-bottom: 1.15rem;
  }

  .legal h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.15;
    margin: 0 0 1.25rem;
  }

  .legal .lede {
    max-width: none;
    margin: 0 0 1.1rem;
    line-height: 1.6;
  }

  .legal__meta {
    margin-top: 0;
    color: var(--ms-muted);
    font-size: 0.95rem;
  }

  .legal section {
    margin-top: 2.75rem;
    padding-top: 0.35rem;
  }

  .legal h2 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.25;
    margin: 0 0 1rem;
    padding-top: 0.4rem;
  }

  .legal h2 + p,
  .legal p + p {
    margin-top: 0.95rem;
  }

  .legal p {
    max-width: none;
    line-height: 1.7;
  }

  .legal ul {
    list-style: disc;
    padding-left: 1.35rem;
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  body.ms-theme .hero :is(h1, .hero__title, .lead, .hero__note) {
    color: #fff;
  }

  body.ms-theme .hero .eyebrow--light {
    color: var(--ms-sand);
  }

  body.ms-theme .hero .btn--light {
    color: var(--ms-red-deep);
  }
}

@layer motion {
  .hero__visual img {
    animation: ms-float 7s var(--ease) infinite alternate;
  }

  .wave--a { animation: ms-drift 18s ease-in-out infinite alternate; }
  .wave--b { animation: ms-drift 22s ease-in-out infinite alternate-reverse; }
  .wave--c { animation: ms-drift 16s ease-in-out infinite alternate; }
  .wave--d { animation: ms-drift 20s ease-in-out infinite alternate-reverse; }

  @keyframes ms-float {
    from { transform: translate3d(0, 8px, 0) rotate(-1.5deg); }
    to { transform: translate3d(0, -16px, 0) rotate(1.8deg); }
  }

  @keyframes ms-drift {
    from { transform: translate3d(-2%, 1%, 0) scale(1.02); }
    to { transform: translate3d(3%, -2%, 0) scale(1.06); }
  }

  @keyframes ms-in-up {
    from { opacity: 0; transform: translate3d(0, 48px, 0); }
    to { opacity: 1; transform: none; }
  }

  @keyframes ms-in-left {
    from { opacity: 0; transform: translate3d(-48px, 20px, 0); }
    to { opacity: 1; transform: none; }
  }

  @keyframes ms-in-right {
    from { opacity: 0; transform: translate3d(48px, 20px, 0); }
    to { opacity: 1; transform: none; }
  }

  @keyframes ms-in-phone {
    from { opacity: 0; transform: translate3d(24px, 64px, 0) rotate(6deg); }
    to { opacity: 1; transform: none; }
  }

  @keyframes ms-out-up {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translate3d(0, -40px, 0); }
  }

  @keyframes ms-out-left {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translate3d(-28px, -32px, 0); }
  }

  @keyframes ms-out-right {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translate3d(28px, -32px, 0); }
  }

  @keyframes ms-out-phone {
    from { opacity: 1; transform: none; }
    to { opacity: 0; transform: translate3d(0, -56px, 0) rotate(-3deg); }
  }

  [data-animate] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 650ms var(--ease), transform 650ms var(--ease);
  }

  [data-animate="left"] { transform: translate3d(-40px, 16px, 0); }
  [data-animate="right"] { transform: translate3d(40px, 16px, 0); }
  [data-animate="phone"] { transform: translate3d(24px, 56px, 0) rotate(5deg); }

  [data-animate].is-in {
    opacity: 1;
    transform: none;
  }

  [data-animate].is-out {
    opacity: 0;
    transform: translate3d(0, -36px, 0);
  }

  [data-animate="left"].is-out { transform: translate3d(-28px, -28px, 0); }
  [data-animate="right"].is-out { transform: translate3d(28px, -28px, 0); }
  [data-animate="phone"].is-out { transform: translate3d(0, -48px, 0) rotate(-3deg); }

  [data-delay="80"].is-in { transition-delay: 80ms; }
  [data-delay="100"].is-in { transition-delay: 100ms; }
  [data-delay="160"].is-in { transition-delay: 160ms; }

  @supports (animation-timeline: view()) {
    [data-animate] {
      opacity: 1;
      transform: none;
      transition: none;
      animation: ms-in-up linear both, ms-out-up linear both;
      animation-timeline: view(), view();
      animation-range: entry 0% entry 45%, exit 0% exit 50%;
    }

    [data-animate="left"] {
      animation-name: ms-in-left, ms-out-left;
    }

    [data-animate="right"] {
      animation-name: ms-in-right, ms-out-right;
    }

    [data-animate="fade"] {
      animation-name: ms-in-up, ms-out-up;
    }

    [data-animate="phone"] {
      animation-name: ms-in-phone, ms-out-phone;
      animation-range: entry 0% entry 50%, exit 0% exit 55%;
    }
  }

  .hero__title,
  .hero__copy,
  .legal,
  .legal [data-animate] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .purpose-grid,
  .feature-band,
  .feature-band--reverse,
  .google-grid,
  .split,
  .site-footer__grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero__visual {
    width: min(22rem, 86vw);
    justify-self: center;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-header__tools {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    margin-left: 0;
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.1rem 1.4rem;
    background: color-mix(in srgb, var(--header-bg) 96%, black);
    border-bottom: 1px solid color-mix(in srgb, white 12%, transparent);
  }

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

  .site-nav__list {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-nav .btn--header {
    width: max-content;
  }
}

@media (max-width: 640px) {
  :root { --wrap: min(88rem, calc(100% - 1.25rem)); }
  .hero { min-height: auto; }
  .hero__copy { padding-bottom: 1.2rem; }

  .feature-band__media--stack {
    grid-template-columns: 1fr;
  }

  .feature-band__media--stack img:last-child {
    translate: 0 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-animate] { opacity: 1; transform: none; filter: none; }
}

@media (scripting: none) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@container (max-width: 40rem) {
  .feature-band { grid-template-columns: 1fr; }
}

body.ms-theme :is(h1, h2, h3, h4) {
  color: var(--ms-heading) !important;
}

body.ms-theme .purpose-card,
body.ms-theme .purpose-card p,
body.ms-theme .legal,
body.ms-theme .legal p,
body.ms-theme .legal li,
body.ms-theme .legal strong {
  color: var(--ms-ink) !important;
}

body.ms-theme .purpose-card h3,
body.ms-theme .legal :is(h1, h2, h3),
body.ms-theme .stat strong {
  color: var(--ms-heading) !important;
}

body.ms-theme .hero :is(h1, .hero__title, .lead, .hero__note) {
  color: #fff !important;
}

body.ms-theme .section--ink :is(h2, h3, p, li, a, strong),
body.ms-theme .section--cta :is(h2, p),
body.ms-theme .site-header :is(a, .brand__name) {
  color: #fff !important;
}

body.ms-theme .hero .btn--light {
  color: var(--ms-red-deep) !important;
}
