@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "Manrope Variable", Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a2555;
  background: #fbfcfe;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #082351;
  --navy-deep: #041735;
  --blue: #3478f6;
  --blue-dark: #1760dc;
  --ink-muted: #53647c;
  --paper: #fbfcfe;
  --white: #ffffff;
  --ice: #eef7ff;
  --ice-strong: #e5f2ff;
  --line: #d9e4f0;
  --success: #149655;
  --shadow-soft: 0 24px 70px rgba(8, 35, 81, 0.12);
  --shadow-device: 0 28px 64px rgba(5, 26, 60, 0.2);
  --radius-large: 30px;
  --radius-medium: 20px;
  --page-width: 1220px;
  --section-space: clamp(5.5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: clip;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

#site,
main {
  max-width: 100%;
  overflow-x: clip;
}

body,
button,
a {
  font: inherit;
}

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

a {
  color: inherit;
}

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

p {
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.2rem, 6.7vw, 6.75rem);
  font-weight: 720;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.7rem);
  font-weight: 700;
  line-height: 1.04;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  translate: 0 -180%;
  border-radius: 999px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  translate: 0;
}

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

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(217, 228, 240, 0.72);
  background: var(--paper);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(8, 35, 81, 0.14);
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.7vw, 2.4rem);
}

.site-navigation > a:not(.app-store-button) {
  position: relative;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-navigation > a:not(.app-store-button)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  scale: 0 1;
  transform-origin: right;
  transition: scale 180ms ease;
}

.site-navigation > a:not(.app-store-button):hover::after {
  scale: 1 1;
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.app-store-button {
  display: inline-flex;
  width: 174px;
  border-radius: 10px;
  transition: translate 180ms ease, filter 180ms ease;
}

.app-store-button img {
  width: 100%;
  height: auto;
}

.app-store-button:hover {
  filter: brightness(1.08);
  translate: 0 -2px;
}

.app-store-button--compact {
  width: 136px;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  background: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__lede {
  max-width: 56ch;
  margin-top: 2rem;
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.1rem;
}

.text-link,
.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 720;
  text-decoration: none;
}

.text-link:hover,
.inline-cta:hover {
  color: var(--blue-dark);
}

.hero__note {
  margin-top: 1.35rem;
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.5;
}

.hero-devices {
  position: relative;
  min-height: 610px;
}

.device-frame {
  overflow: hidden;
  border: 1px solid #b8c5d3;
  background: #0a1422;
  box-shadow: var(--shadow-device);
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-frame--phone {
  border-width: 7px;
  border-radius: 42px;
}

.device-frame--ipad {
  border-width: 8px;
  border-radius: 30px;
}

.hero-devices__ipad {
  position: absolute;
  top: 1rem;
  right: -3.5rem;
  width: min(680px, 96%);
  aspect-ratio: 1.27;
}

.hero-devices__phone {
  position: absolute;
  z-index: 2;
  bottom: -0.4rem;
  left: 1.5rem;
  width: 218px;
  aspect-ratio: 1320 / 2868;
}

.feature-band {
  border-block: 1px solid #dce8f3;
  background: var(--ice);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}

.feature-band__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.4rem);
}

.feature-highlight {
  min-width: 0;
}

.feature-highlight svg {
  margin-bottom: 1rem;
  color: var(--blue);
}

.feature-highlight h2 {
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.feature-highlight p {
  font-size: 0.78rem;
  line-height: 1.65;
}

.story-section {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.story-section--ice {
  background: var(--ice);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8.5rem);
}

.story-grid--visual-first {
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
}

.story-copy h2 {
  max-width: 11ch;
}

.story-copy > p:not(.eyebrow) {
  max-width: 53ch;
  margin-top: 1.6rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.8rem 0 0;
  padding: 0;
  color: var(--navy);
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 630;
}

.check-list svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.phone-sequence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.7rem, 1.6vw, 1.2rem);
}

.phone-sequence .device-frame {
  aspect-ratio: 1320 / 2868;
  border-width: 4px;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(8, 35, 81, 0.13);
}

.phone-sequence .device-frame:nth-child(2) {
  translate: 0 -2rem;
}

.wide-product-crop {
  overflow: hidden;
  aspect-ratio: 1.56;
  border: 1px solid #c9d6e3;
  border-radius: var(--radius-large);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.wide-product-crop img {
  width: 100%;
  height: 177%;
  object-fit: cover;
  object-position: top;
}

.wide-product-crop--editor img {
  object-position: 50% 7%;
}

.inline-cta {
  margin-top: 1.6rem;
  color: var(--blue-dark);
}

.mini-proof {
  display: flex;
  max-width: 460px;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mini-proof svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.mini-proof strong {
  color: var(--navy);
}

.template-composition {
  position: relative;
  min-height: 620px;
}

.template-composition__ipad {
  position: absolute;
  top: 0;
  left: -7rem;
  width: min(700px, 98%);
  aspect-ratio: 1.28;
}

.template-composition__phone {
  position: absolute;
  z-index: 2;
  right: -0.4rem;
  bottom: 0;
  width: 205px;
  aspect-ratio: 1320 / 2868;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}

.format-list span {
  border: 1px solid #c9d8e7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  padding: 0.58rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 690;
}

.privacy-section {
  background: var(--white);
}

.section-heading {
  max-width: 650px;
}

.section-heading h2 {
  max-width: 12ch;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 1.3rem;
}

.section-heading--centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading--centered h2 {
  margin-inline: auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--line);
}

.privacy-grid article {
  background: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.privacy-grid svg {
  margin-bottom: 2.8rem;
  color: var(--blue);
}

.privacy-grid h3 {
  margin-bottom: 0.65rem;
}

.privacy-grid p {
  font-size: 0.84rem;
  line-height: 1.65;
}

.faq-section {
  background: var(--ice);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-list {
  border-top: 1px solid #cbd8e6;
}

.faq-list details {
  border-bottom: 1px solid #cbd8e6;
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  color: var(--navy);
  padding: 1.45rem 3rem 1.45rem 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  color: var(--blue-dark);
  content: "+";
  font-size: 1.55rem;
  font-weight: 480;
  translate: 0 -50%;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 62ch;
  padding: 0 3rem 1.5rem 0;
  font-size: 0.9rem;
}

.download-section {
  background: var(--white);
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #cbd9e8;
  border-radius: var(--radius-large);
  background: var(--ice);
  padding: clamp(1.7rem, 4vw, 3.2rem);
  box-shadow: 0 18px 50px rgba(8, 35, 81, 0.08);
}

.download-panel__icon {
  width: clamp(64px, 6vw, 80px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 24%;
  box-shadow: 0 16px 34px rgba(8, 35, 81, 0.18);
}

.download-panel .eyebrow {
  margin-bottom: 0.7rem;
}

.download-panel h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
}

.download-panel p:not(.eyebrow) {
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding-block: 3rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem 2.5rem;
}

.brand--footer,
.site-footer nav a {
  color: var(--white);
}

.brand--footer img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  color: #aab9cc;
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.2rem;
}

.site-footer nav a {
  font-size: 0.78rem;
  font-weight: 630;
  text-decoration: none;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.35rem;
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  }

  .hero-devices {
    min-height: 530px;
  }

  .hero-devices__phone {
    width: 184px;
  }

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

  .feature-highlight:nth-child(n + 4) {
    border-top: 1px solid #d4e2ee;
    padding-top: 1.7rem;
  }

  .story-grid,
  .story-grid--visual-first {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 3.5rem;
  }

  .template-composition {
    min-height: 520px;
  }
}

@media (max-width: 819px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header__inner {
    min-height: 68px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 0.5rem 20px 1.2rem;
    box-shadow: 0 18px 36px rgba(8, 35, 81, 0.1);
  }

  .site-navigation--open {
    display: grid;
  }

  .site-navigation > a:not(.app-store-button) {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
  }

  .site-navigation > a:not(.app-store-button)::after {
    display: none;
  }

  .site-navigation .app-store-button {
    margin-top: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4.8rem;
  }

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

  .hero__copy {
    max-width: 660px;
  }

  .hero-devices {
    min-height: min(690px, 90vw);
    margin-top: 1rem;
  }

  .hero-devices__ipad {
    right: -4rem;
    width: 88%;
  }

  .hero-devices__phone {
    left: 9%;
    width: clamp(150px, 27vw, 210px);
  }

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

  .feature-highlight:nth-child(n + 3) {
    border-top: 1px solid #d4e2ee;
    padding-top: 1.7rem;
  }

  .story-grid,
  .story-grid--visual-first,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .story-grid--visual-first .story-copy {
    order: -1;
  }

  .story-copy h2 {
    max-width: 13ch;
  }

  .phone-sequence {
    max-width: 660px;
  }

  .wide-product-crop {
    max-width: 760px;
  }

  .template-composition {
    min-height: min(670px, 96vw);
  }

  .template-composition__ipad {
    left: -3rem;
    width: 86%;
  }

  .template-composition__phone {
    right: 4%;
    width: clamp(145px, 25vw, 205px);
  }

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

  .privacy-grid svg {
    margin-bottom: 1.6rem;
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .download-panel .app-store-button {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  :root {
    --section-space: 5rem;
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--page-width));
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

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

  .hero-devices {
    min-height: 530px;
    margin-inline: -16px;
  }

  .hero-devices__ipad {
    top: 0;
    right: -28%;
    width: 112%;
  }

  .hero-devices__phone {
    bottom: 0;
    left: 9%;
    width: 148px;
    border-width: 5px;
    border-radius: 30px;
  }

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

  .feature-highlight:nth-child(n + 2) {
    border-top: 1px solid #d4e2ee;
    padding-top: 1.5rem;
  }

  .phone-sequence {
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
  }

  .phone-sequence .device-frame:nth-child(2) {
    translate: 0;
  }

  .phone-sequence .device-frame:nth-child(3) {
    display: none;
  }

  .wide-product-crop {
    aspect-ratio: 1.1;
    border-radius: 22px;
  }

  .template-composition {
    min-height: 480px;
    margin-inline: -12px;
  }

  .template-composition__ipad {
    left: -34%;
    width: 126%;
  }

  .template-composition__phone {
    right: 0;
    width: 142px;
    border-width: 5px;
    border-radius: 30px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .download-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-panel__icon,
  .download-panel h2 {
    margin-inline: auto;
  }

  .download-panel .app-store-button {
    grid-column: 1;
    justify-self: center;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

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


/* Refined static-site footer */
.site-footer {
  padding-block: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(4rem, 10vw, 9rem);
  padding-block: clamp(4rem, 7vw, 6rem);
}

.site-footer__brand-block > p {
  max-width: 40ch;
  margin-top: 1.4rem;
  color: #b8c5d5;
  font-size: 1rem;
  line-height: 1.75;
}

.app-store-button--footer {
  width: 154px;
  margin-top: 1.8rem;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 3rem;
}

.site-footer__links nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.site-footer__links a {
  color: #dce5ef;
  font-size: 0.88rem;
  font-weight: 620;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__label {
  margin-bottom: 0.3rem;
  color: #7790ae;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.5rem 2rem;
}

.site-footer__bottom p {
  color: #8fa1b8;
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .site-footer__links {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Standalone legal pages */
.legal-page {
  background: var(--paper);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 12%, rgba(12, 142, 242, 0.16), transparent 30%),
    linear-gradient(180deg, #eef8ff 0%, var(--paper) 100%);
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem);
}

.legal-hero__inner {
  max-width: 920px;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
  color: var(--blue-dark);
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
}

.legal-back-link:hover {
  color: var(--navy);
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(3.25rem, 8vw, 7.2rem);
}

.legal-hero__lede {
  max-width: 650px;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.legal-meta {
  margin-top: 1.6rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.legal-toc {
  position: sticky;
  top: 112px;
}

.legal-toc__inner {
  border-left: 1px solid #c8d8e7;
  padding-left: 1.3rem;
}

.legal-toc__label {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  gap: 0.1rem;
}

.legal-toc a {
  border-radius: 8px;
  color: var(--ink-muted);
  padding: 0.38rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}

.legal-toc a:hover {
  background: var(--ice);
  color: var(--blue-dark);
}

.legal-content {
  min-width: 0;
  max-width: 760px;
}

.legal-intro {
  margin-bottom: 3.75rem;
  border: 1px solid #c9d9e8;
  border-radius: 22px;
  background: var(--ice);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.legal-intro p,
.legal-section p,
.legal-section li,
.legal-section address {
  color: #47596d;
  font-size: 0.96rem;
  line-height: 1.78;
}

.legal-intro p + p,
.legal-section p + p {
  margin-top: 1rem;
}

.legal-section {
  scroll-margin-top: 110px;
  border-top: 1px solid var(--line);
  padding-block: 2.75rem;
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 1.35rem;
  font-size: clamp(1.65rem, 3.3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.legal-section h2 span {
  color: var(--blue);
}

.legal-section h3 {
  margin: 1.8rem 0 0.65rem;
  font-size: 1.02rem;
}

.legal-section strong {
  color: var(--navy);
}

.legal-section a {
  color: var(--blue-dark);
  font-weight: 650;
  text-underline-offset: 0.2em;
}

.legal-section ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding-left: 1.3rem;
}

.legal-section li::marker {
  color: var(--blue);
}

.legal-section--contact {
  margin-top: 1rem;
  border: 1px solid #c9d9e8;
  border-radius: 24px;
  background: var(--ice);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.legal-section--contact h2 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.legal-section address {
  margin-top: 1.15rem;
  font-style: normal;
}

@media (max-width: 819px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc__inner {
    border-left: 0;
    border-radius: 18px;
    background: var(--ice);
    padding: 1.3rem;
  }

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

@media (max-width: 560px) {
  .legal-hero {
    padding-top: 3.8rem;
  }

  .legal-back-link {
    margin-bottom: 3.5rem;
  }

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

  .legal-section {
    padding-block: 2.3rem;
  }
}
