/* EasyHomeFit marketing site — Android app brand: hot pink, blush grounds, challenge accents */

:root {
  --pink: #ff3d6e;
  --pink-deep: #e02555;
  --pink-soft: #ff6b8f;
  --blush: #fff1f5;
  --blush-2: #ffe4ec;
  --ink: #171417;
  --quiet: #6b6468;
  --line: #f0d5dd;
  --paper: #ffffff;
  --wide: 1180px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(255, 61, 110, 0.16), transparent 55%),
    radial-gradient(700px 420px at 0% 10%, rgba(255, 107, 143, 0.12), transparent 50%),
    linear-gradient(180deg, var(--blush) 0%, var(--paper) 28%, var(--paper) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 245, 248, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(224, 37, 85, 0.1);
}

.nav {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.55rem;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(224, 37, 85, 0.22);
}

.nav-product {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-product a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-product a:hover {
  color: var(--pink-deep);
  background: rgba(255, 61, 110, 0.08);
  text-decoration: none;
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-shrink: 0;
  min-width: 0;
}

.nav-utils {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-legal {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--quiet);
  letter-spacing: -0.01em;
}

.nav-legal a {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-legal a:hover {
  color: var(--ink);
  background: rgba(23, 20, 23, 0.04);
  text-decoration: none;
}

.nav-legal a[aria-current="page"] {
  color: var(--pink-deep);
  font-weight: 650;
  background: rgba(255, 61, 110, 0.08);
}

.nav-contact {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.nav-contact:hover {
  text-decoration: none;
}

.nav-contact-label {
  flex-shrink: 0;
  color: var(--quiet);
  font-size: 0.8rem;
  font-weight: 600;
}

.nav-contact-email {
  color: var(--quiet);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-contact:hover .nav-contact-label,
.nav-contact:hover .nav-contact-email {
  color: var(--pink-deep);
}

.nav-contact-bar {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--quiet);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-contact-bar:hover {
  color: var(--pink-deep);
  background: rgba(255, 61, 110, 0.08);
  text-decoration: none;
}

.nav-contact-menu {
  display: none;
}

.nav-cta {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  box-shadow: 0 6px 16px rgba(224, 37, 85, 0.2);
}

.nav-drawer {
  display: none;
}

.nav-link-download {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  border: 0;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-pink {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 37, 85, 0.22);
}

.btn-pink:hover {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--pink) 100%);
}

.btn-store svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.8rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: end;
}

.logo-hero {
  margin: 0 0 1rem;
  width: clamp(5.5rem, 14vw, 8.25rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 1.15rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 28px rgba(224, 37, 85, 0.22);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.lede {
  margin: 0 0 1.6rem;
  max-width: 32rem;
  color: var(--quiet);
  font-size: 1.08rem;
}

.hero-media {
  min-height: min(62vh, 560px);
}

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-narrow {
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-lede {
  margin: 0;
  color: var(--quiet);
  font-size: 1.04rem;
}

.media-wide {
  min-height: 400px;
  margin: 0 0 2rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.split > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
}

.split h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.split p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.96rem;
}

.challenges {
  background: linear-gradient(180deg, rgba(255, 228, 236, 0.55), transparent);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.challenges .section-narrow,
.challenge-grid {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.challenge-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
  display: grid;
  gap: 0.45rem;
}

.challenge-card span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--quiet);
}

.challenge-card strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.challenge-card .media {
  min-height: 220px;
  margin: 0.35rem 0 0;
  border-radius: 16px;
}

.cutout-card {
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  max-width: 88%;
}

.tone-pink strong { color: var(--pink-deep); }
.tone-purple strong { color: #6d28d9; }
.tone-blue strong { color: #1d6fb8; }
.tone-green strong { color: #5f6b45; }

.tone-pink .media {
  background: linear-gradient(150deg, #ff8aa6, #e02555);
}

.tone-purple .media {
  background: linear-gradient(150deg, #c4b5fd, #7c3aed);
}

.tone-blue .media {
  background: linear-gradient(150deg, #93c5fd, #2563eb);
}

.tone-green .media {
  background: linear-gradient(150deg, #d4d8b8, #6b734f);
}

.how {
  background: var(--blush);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.how .section-narrow,
.how .steps {
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps > div {
  background: var(--paper);
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--quiet);
}

.download-box {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.25rem;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(60% 80% at 92% 50%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #ff4d7a 0%, #ff3d6e 42%, #c084fc 120%);
  color: #fff;
}

.download-box .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.download-box h2 {
  color: #fff;
}

.download-box > div > p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30rem;
}

.download-box .btn-pink {
  background: #fff;
  color: var(--pink-deep);
  box-shadow: none;
}

.download-box .btn-pink:hover {
  background: #fff5f8;
}

.download-icon {
  width: clamp(7.5rem, 18vw, 10rem);
  height: auto;
  border-radius: 22%;
  box-shadow: 0 18px 40px rgba(80, 10, 40, 0.32);
  justify-self: end;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  color: var(--quiet);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.footer-meta {
  margin: 0 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
  color: var(--quiet);
  font-size: 0.88rem;
}

.footer-meta a {
  color: var(--quiet);
}

.footer-meta a:hover {
  color: var(--pink-deep);
}

/* Brand wells: gradient on the figure; cutouts sit inside without fighting a cover rule */
.media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--blush-2);
  border: 1px solid var(--line);
  isolation: isolate;
}

.media-hero {
  background:
    radial-gradient(70% 60% at 70% 35%, rgba(255, 255, 255, 0.35), transparent 55%),
    linear-gradient(160deg, #ff7a9c 0%, #ff3d6e 48%, #c0265a 100%);
}

.media-product {
  background:
    radial-gradient(60% 50% at 30% 40%, rgba(255, 255, 255, 0.28), transparent 50%),
    linear-gradient(145deg, #ffd0dc, #ff5a84 60%, #d946ef);
}

.cutout {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: auto;
  height: 94%;
  max-width: 72%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(80, 20, 40, 0.28));
  pointer-events: none;
}

.cutout-hero {
  right: 2%;
  height: 96%;
  max-width: 86%;
}

.cutout-product {
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  max-width: min(420px, 58%);
}

.legal-layout {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.toc {
  position: sticky;
  top: 5rem;
  font-size: 0.88rem;
}

.toc-title {
  margin: 0 0 0.55rem;
  font-weight: 650;
}

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

.toc li + li {
  margin-top: 0.35rem;
}

.toc a {
  color: var(--quiet);
}

.doc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.1rem 2.5rem;
}

.doc-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  margin: 0 0 0.5rem;
}

.doc-title-row h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 12rem;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  font-weight: 650;
}

.platform-switch {
  --switch-pad: 3px;
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 11.5rem;
  padding: var(--switch-pad);
  border-radius: 999px;
  background: #f7dbe4;
  border: 1px solid var(--line);
}

.platform-switch::before {
  content: "";
  position: absolute;
  top: var(--switch-pad);
  bottom: var(--switch-pad);
  left: var(--switch-pad);
  width: calc(50% - var(--switch-pad));
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(23, 20, 23, 0.1);
  transition: transform 0.22s ease;
  pointer-events: none;
  z-index: 0;
}

.platform-switch[data-active="ios"]::before {
  transform: translateX(100%);
}

.platform-switch[data-active="android"]::before {
  transform: translateX(0);
}

.platform-switch a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--quiet);
  text-decoration: none;
  line-height: 1.2;
}

.platform-switch a:hover {
  color: var(--ink);
  text-decoration: none;
}

.platform-switch a[aria-current="page"] {
  color: var(--ink);
}

.doc .meta {
  color: var(--quiet);
  margin: 0 0 1.2rem;
}

.doc h2 {
  margin: 2rem 0 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 650;
  scroll-margin-top: 5.5rem;
}

.doc h2:first-of-type {
  border-top: 0;
}

.doc h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 650;
  scroll-margin-top: 5.5rem;
}

.doc p,
.doc ul {
  margin: 0 0 0.9rem;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.3rem;
}

.doc a {
  color: var(--pink-deep);
}

.doc .platform-switch a {
  color: var(--quiet);
  text-decoration: none;
}

.doc .platform-switch a:hover {
  color: var(--ink);
  text-decoration: none;
}

.doc .platform-switch a[aria-current="page"] {
  color: var(--ink);
}

.support-page {
  padding-bottom: 4.5rem;
}

.support-hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3.6rem 1.5rem 2.4rem;
}

.support-brand {
  margin: 0 0 0.85rem;
  width: clamp(4.5rem, 12vw, 6.5rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 0.95rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 22px rgba(224, 37, 85, 0.2);
}

.support-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.support-lede {
  margin: 0;
  max-width: 34rem;
  color: var(--quiet);
  font-size: 1.08rem;
}

.support-contact {
  background:
    radial-gradient(70% 80% at 12% 20%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(145deg, #ffe4ec 0%, #ffd0dc 42%, #ffb3c6 100%);
  border-top: 1px solid rgba(240, 213, 221, 0.9);
  border-bottom: 1px solid rgba(240, 213, 221, 0.9);
}

.support-contact-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.6rem 1.5rem;
}

.contact-label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-deep);
}

.contact-email {
  display: inline-block;
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-decoration: none;
  word-break: break-all;
  border-bottom: 2px solid rgba(224, 37, 85, 0.35);
}

.contact-email:hover {
  color: var(--pink-deep);
  border-bottom-color: var(--pink-deep);
  text-decoration: none;
}

.contact-hint {
  margin: 1rem 0 0;
  color: var(--quiet);
  font-size: 0.95rem;
}

.contact-meta {
  margin: 0.35rem 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.support-faq {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.support-faq-inner {
  max-width: 44rem;
}

.support-faq h2 {
  margin: 0 0 1.15rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-right: 2px solid var(--quiet);
  border-bottom: 2px solid var(--quiet);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.35rem;
}

.faq-item summary:hover {
  color: var(--pink-deep);
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--quiet);
  font-size: 0.98rem;
}

.faq-answer p {
  margin: 0 0 0.85rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ol {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.faq-answer li + li {
  margin-top: 0.35rem;
}

.faq-answer a {
  color: var(--pink-deep);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .nav-contact-bar {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-product,
  .nav-legal,
  .nav-utils {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-drawer {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.35rem);
    z-index: 30;
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(80, 20, 40, 0.12);
  }

  body.nav-open .nav-drawer {
    display: flex;
  }

  .nav-drawer a {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
  }

  .nav-drawer a:hover {
    background: var(--blush);
    text-decoration: none;
  }

  .nav-drawer a[aria-current="page"] {
    color: var(--pink-deep);
  }

  .nav-contact-menu {
    display: flex;
  }

  .nav-link-download {
    display: block;
    color: var(--pink-deep);
  }

  .hero,
  .split,
  .challenge-grid,
  .steps,
  .download-box {
    grid-template-columns: 1fr;
  }

  .download-box {
    justify-items: start;
    padding: 1.6rem 1.4rem;
  }

  .download-icon {
    justify-self: start;
  }

  .hero {
    align-items: start;
    padding-top: 2.6rem;
  }

  .hero-media,
  .media-wide {
    min-height: 300px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
  }

  .doc {
    padding: 1.35rem 1.15rem 1.7rem;
  }

  .doc-title-row {
    align-items: flex-start;
  }

  .platform-switch {
    min-width: 10.5rem;
  }
}

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

  .btn,
  .nav-toggle-bar,
  .platform-switch::before {
    transition: none;
  }
}
