:root {
  color-scheme: light;
  --paper: #f1efe9;
  --paper-solid: #faf8f3;
  --paper-wash: rgba(250, 248, 243, .76);
  --ink: #19221e;
  --text: #3e4943;
  --muted: #626c66;
  --jade: #315c4a;
  --jade-deep: #214838;
  --line: rgba(49, 92, 74, .22);
  --line-strong: rgba(25, 34, 30, .3);
  --display: "Newsreader", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --z-header: 30;
  --z-mobile-nav: 50;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { color: inherit; font: inherit; }
button { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--jade-deep);
  outline-offset: 3px;
}
button:active, .nav-item:active, .back-link:active { transform: translateY(1px); }

.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--paper);
  background-image: url('/assets/ink-mirror/product-shell-desktop-v101.jpg');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--jade-deep);
  color: var(--paper-solid);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding: 16px 52px;
  border-bottom: 1px solid rgba(25, 34, 30, .09);
  background: rgba(241, 239, 233, .92);
  backdrop-filter: blur(16px);
}

.wordmark {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  text-decoration: none;
}

.product-nav { display: flex; align-items: center; gap: clamp(30px, 3.6vw, 58px); }
.product-nav--mobile { display: none; }
.nav-item {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}
.nav-item::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--jade);
  content: "";
  opacity: 0;
  transform: scaleX(.65);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-item:hover, .nav-item.is-active { color: var(--jade-deep); }
.nav-item.is-active::after { opacity: 1; transform: scaleX(1); }

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  color: var(--jade-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.legal-shell {
  width: min(calc(100% - 104px), 1160px);
  margin: 0 auto;
  padding: 84px 0 112px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: end;
  gap: 72px;
  padding-bottom: 58px;
}
.eyebrow, .summary-heading > p, .contents > p {
  margin: 0;
  color: var(--jade-deep);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .17em;
}
.legal-hero h1 {
  max-width: 780px;
  margin: 13px 0 0;
  font-family: var(--display);
  font-size: clamp(64px, 6.5vw, 92px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
}
.hero-copy > p {
  max-width: 36ch;
  margin: 0 0 26px;
  color: #46514b;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.36;
  letter-spacing: -.018em;
}
.hero-copy dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-copy dl > div { display: grid; gap: 5px; }
.hero-copy dt { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy dd { margin: 0; color: var(--text); font-size: 12px; line-height: 1.5; }

.document-switcher {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.document-tab {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0 26px;
  background: rgba(250, 248, 243, .35);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.document-tab:last-child { border-right: 0; }
.document-tab span { font-family: var(--display); font-size: 25px; line-height: 1; letter-spacing: -.025em; }
.document-tab small { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.document-tab:hover { background: rgba(250, 248, 243, .68); }
.document-tab.is-active { background: var(--jade-deep); color: var(--paper-solid); }
.document-tab.is-active small { color: rgba(250, 248, 243, .72); }

.plain-summary {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr);
  gap: clamp(48px, 7vw, 96px);
  margin: 64px 0 76px;
  padding: 50px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 248, 243, .68);
  box-shadow: 0 20px 60px rgba(25, 34, 30, .05);
}
.summary-heading h2 {
  margin: 14px 0 16px;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.summary-heading > span { display: block; max-width: 32ch; color: var(--muted); font-size: 11px; line-height: 1.6; }
.plain-summary ol { display: grid; align-content: start; gap: 0; margin: 0; padding: 0; list-style: none; }
.plain-summary li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.plain-summary li:first-child { padding-top: 0; }
.plain-summary li:last-child { padding-bottom: 0; border-bottom: 0; }
.plain-summary li > span { padding-top: 3px; color: var(--jade-deep); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.plain-summary li p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; }

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 720px);
  justify-content: center;
  align-items: start;
  gap: clamp(64px, 8vw, 108px);
}
.contents {
  position: sticky;
  top: 108px;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding: 6px 0 20px;
}
.contents ol { display: grid; gap: 2px; margin: 18px 0 30px; padding: 0; list-style: none; }
.contents a {
  display: block;
  padding: 7px 0 7px 13px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}
.contents a:hover, .contents a.is-active { border-left-color: var(--jade-deep); color: var(--jade-deep); }
.contents a.is-active { font-weight: 600; }
.contents .contents-contact {
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  border-left: 0;
  color: var(--text);
  font-size: 11px;
  line-height: 1.55;
}
.contents .contents-contact:hover { border-left: 0; text-decoration: underline; text-underline-offset: 3px; }

.mobile-contents { display: none; }

.legal-article { min-width: 0; }
.legal-section {
  scroll-margin-top: 108px;
  padding: 0 0 52px;
  margin: 0 0 50px;
  border-bottom: 1px solid var(--line);
}
.legal-section:last-of-type { margin-bottom: 0; }
.legal-section h2 {
  margin: 0 0 23px;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.032em;
}
.legal-section p {
  max-width: 69ch;
  margin: 0 0 16px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.78;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal-section a { color: var(--jade-deep); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-section a:hover { text-decoration-thickness: 2px; }

.article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
}
.article-end p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.article-end a { min-height: 44px; display: inline-flex; align-items: center; color: var(--jade-deep); font-size: 12px; font-weight: 600; text-underline-offset: 4px; }

.company-footer {
  width: min(calc(100% - 104px), 1160px);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 56px;
  margin: 0 auto;
  padding: 56px 0 58px;
  border-top: 1px solid var(--line-strong);
}
.footer-wordmark { margin: 0 0 8px !important; color: var(--ink) !important; font-family: var(--display); font-size: 27px !important; font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.company-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.company-details a { display: inline-block; margin-top: 10px; color: var(--jade-deep); font-size: 11px; text-underline-offset: 3px; }
.company-footer nav { display: grid; justify-items: end; gap: 7px; }
.company-footer nav :is(a, button) {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 10.5px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.company-footer nav :is(a, button):hover,
.company-footer nav :is(a, button)[aria-current="page"] {
  color: var(--jade-deep);
  text-decoration-color: currentColor;
}

@media (max-width: 1020px) {
  .site-header { padding-inline: 34px; gap: 28px; }
  .product-nav { gap: 26px; }
  .back-link { padding-left: 18px; }
  .legal-shell, .company-footer { width: min(calc(100% - 68px), 960px); }
  .legal-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 52px; }
  .document-tab { padding-inline: 20px; }
  .article-layout { grid-template-columns: 190px minmax(0, 660px); gap: 58px; }
  .plain-summary { padding: 42px; gap: 54px; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 86px; }
  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    padding: 10px 20px;
  }
  .wordmark { font-size: 28px; }
  .site-header > .product-nav { display: none; }
  .back-link { min-height: 44px; padding-left: 18px; font-size: 11.5px; }

  .legal-page {
    padding-bottom: 0;
    background-image: url('/assets/ink-mirror/product-shell-mobile-v101.jpg');
    background-size: 100% auto;
  }
  .legal-shell { width: auto; padding: 50px 20px 80px; }
  .legal-hero { display: block; padding-bottom: 36px; }
  .legal-hero h1 { margin-top: 11px; font-size: clamp(48px, 15vw, 64px); line-height: .95; }
  .hero-copy > p { margin: 27px 0 22px; max-width: 34ch; font-size: 19px; line-height: 1.42; }
  .hero-copy dl { gap: 16px; }
  .hero-copy dt { font-size: 9px; }
  .hero-copy dd { font-size: 10.5px; }

  .document-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .document-tab {
    min-height: 52px;
    display: flex;
    justify-content: center;
    padding: 0 6px;
    text-align: center;
  }
  .document-tab span { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0; }
  .document-tab small { display: none; }

  .plain-summary {
    display: block;
    margin: 40px 0 48px;
    padding: 28px 24px;
    box-shadow: 0 14px 38px rgba(25, 34, 30, .04);
  }
  .summary-heading h2 { margin: 12px 0; font-size: 34px; }
  .summary-heading > span { font-size: 10.5px; }
  .plain-summary ol { margin-top: 28px; }
  .plain-summary li { grid-template-columns: 28px 1fr; gap: 8px; padding: 15px 0; }
  .plain-summary li p { font-size: 13.5px; line-height: 1.6; }

  .article-layout { display: block; }
  .contents { display: none; }
  .mobile-contents {
    display: block;
    margin: 0 0 48px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }
  .mobile-contents summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    list-style: none;
  }
  .mobile-contents summary::-webkit-details-marker { display: none; }
  .mobile-contents summary::after { content: "+"; color: var(--jade-deep); font-size: 18px; font-weight: 400; }
  .mobile-contents[open] summary::after { content: "–"; }
  .mobile-contents summary span { margin-left: auto; color: var(--muted); font-size: 9.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
  .mobile-contents ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0; padding: 0 0 18px; list-style: none; }
  .mobile-contents a { min-height: 44px; display: flex; align-items: center; border-top: 1px solid var(--line); color: var(--text); font-size: 10.5px; line-height: 1.35; text-decoration: none; }

  .legal-section { scroll-margin-top: 84px; margin-bottom: 38px; padding-bottom: 40px; }
  .legal-section h2 { margin-bottom: 18px; font-size: 29px; line-height: 1.1; }
  .legal-section p { font-size: 14.5px; line-height: 1.75; }
  .article-end { padding-top: 0; }

  .company-footer {
    width: auto;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
    margin: 0 20px;
    padding: 42px 0 46px;
  }
  .company-footer nav { grid-template-columns: 1fr 1fr; justify-items: start; gap: 4px 16px; }
  .company-footer nav :is(a, button) { min-height: 44px; text-align: left; }

  .product-nav--mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-mobile-nav);
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border-top: 1px solid rgba(25, 34, 30, .14);
    background: rgba(241, 239, 233, .96);
    backdrop-filter: blur(15px);
  }
  .product-nav--mobile .nav-item { min-height: 68px; justify-content: center; padding: 0 2px; font-size: 11px; }
  .product-nav--mobile .nav-item::after { right: 24%; bottom: 10px; left: 24%; height: 1.5px; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: 16px; }
  .legal-shell { padding-inline: 16px; }
  .legal-hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 18px; }
  .plain-summary { padding: 24px 19px; }
  .summary-heading h2 { font-size: 31px; }
  .mobile-contents ol { grid-template-columns: 1fr; }
  .company-footer { margin-inline: 16px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .site-header {
    min-height: 56px;
    grid-template-columns: 1fr auto;
    padding: 6px 24px;
  }
  .site-header > .product-nav { display: none; }
  .wordmark { font-size: 28px; }
  .back-link { min-height: 44px; padding-left: 18px; font-size: 11px; }
  .legal-page {
    padding-bottom: 0;
    background-image: url('/assets/ink-mirror/product-shell-mobile-v101.jpg');
  }
  .legal-shell { width: auto; margin: 0 24px; padding: 34px 0 70px; }
  .legal-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  .legal-hero h1 { font-size: 48px; }
  .hero-copy > p { margin: 0 0 14px; font-size: 17px; }
  .hero-copy dl { padding-top: 12px; }
  .plain-summary { display: grid; grid-template-columns: .8fr 1.4fr; gap: 32px; padding: 24px; }
  .plain-summary ol { margin-top: 0; }
  .plain-summary li { padding: 10px 0; }
  .product-nav--mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--z-mobile-nav);
    min-height: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border-top: 1px solid rgba(25, 34, 30, .14);
    background: rgba(241, 239, 233, .96);
    backdrop-filter: blur(15px);
  }
  .product-nav--mobile .nav-item { min-height: 56px; justify-content: center; padding: 0 2px; font-size: 11px; }
  .product-nav--mobile .nav-item::after { right: 24%; bottom: 8px; left: 24%; height: 1.5px; }
}

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