/* Site-local design system for the mailmorris.com deploy root. */
/* Self-hosted Google Fonts: Inter and JetBrains Mono. See assets/fonts/OFL-*.txt. */
/* cyrillic-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-01-UcCo3FwrK3iLTcvvYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-02-UcCo3FwrK3iLTcvmYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-03-UcCo3FwrK3iLTcvuYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-04-UcCo3FwrK3iLTcvhYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-05-UcCo3FwrK3iLTcvtYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-06-UcCo3FwrK3iLTcvsYwYZ8UA3J58.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-07-UcCo3FwrK3iLTcviYwYZ8UA3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-08-tDbV2o-flEEny0FZhsfKu5WU4xD2OwGtT0rU3BE.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-09-tDbV2o-flEEny0FZhsfKu5WU4xD_OwGtT0rU3BE.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-10-tDbV2o-flEEny0FZhsfKu5WU4xD4OwGtT0rU3BE.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-11-tDbV2o-flEEny0FZhsfKu5WU4xD0OwGtT0rU3BE.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-12-tDbV2o-flEEny0FZhsfKu5WU4xD1OwGtT0rU3BE.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono-13-tDbV2o-flEEny0FZhsfKu5WU4xD7OwGtT0rU.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf9f5;
  --ink: #1b1c1a;
  --ink-soft: #30312e;
  --muted: #666961;
  --muted-light: #70736b;
  --line: #e1ded4;
  --line-strong: #cfcbc0;
  --paper: #ffffff;
  --accent: #7a4d3f;
  --accent-soft: #f4eee9;
  --link: #284f71;
  --max: 1120px;
  --read: 760px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--link);
}

a:focus-visible {
  outline: 3px solid rgba(40, 79, 113, 0.32);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 64px));
  min-height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.brand-name {
  font-weight: 650;
}

.site-nav,
.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.site-nav a,
.site-footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--ink);
}

.eyebrow,
dt,
.stamp-row,
.policy-meta,
.toc-title,
.toc .n,
.num {
  font-family: var(--mono);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 80px;
  align-items: start;
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  padding: 12px 0 74px;
}

.hero-title-lockup {
  margin: 18px 0 26px;
}

.hero-title {
  max-width: 15ch;
  margin: 0;
  font-size: 4.55rem;
  line-height: 1.04;
}

.hero-lede {
  max-width: min(48ch, 100%);
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.hero-note {
  max-width: min(62ch, 100%);
  margin-bottom: 0;
  color: var(--muted);
}

.hero-brand-panel {
  display: grid;
  gap: 26px;
  align-items: end;
  justify-items: start;
}

.hero-logo {
  width: min(280px, 100%);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(27, 28, 26, 0.12));
}

.hero-logo-mobile {
  display: none;
}

.hero-meta {
  display: grid;
  gap: 18px;
  width: 100%;
  margin-bottom: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

dd {
  margin-left: 0;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.section-split {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  padding: 78px 0 36px;
}

.section-label h2 {
  margin: 14px 0 0;
  font-size: 1.7rem;
  line-height: 1.15;
}

.section-body p {
  max-width: min(62ch, 100%);
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  width: min(var(--max), calc(100% - 64px));
  margin: 70px auto 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item h2 {
  margin: 13px 0 9px;
  font-size: 1.06rem;
}

.trust-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-item .eyebrow {
  color: var(--accent);
}

.stamp-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 8px;
  color: var(--muted-light);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.policy-page {
  background: var(--bg);
}

.policy-hero,
.policy-content {
  width: min(var(--read), calc(100% - 64px));
  margin-inline: auto;
}

.policy-hero {
  padding: 12px 0 34px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  margin: 14px 0 14px;
  font-size: 3.35rem;
  line-height: 1.08;
}

.policy-intro {
  max-width: min(62ch, 100%);
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.76rem;
}

.policy-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.toc {
  width: min(var(--read), calc(100% - 64px));
  margin: 34px auto 0;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.toc-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toc ol {
  column-count: 2;
  column-gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  break-inside: avoid;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.toc .n {
  display: inline-block;
  width: 2.5em;
  color: var(--muted-light);
  font-size: 0.72rem;
}

.toc a {
  text-decoration: none;
}

.policy-content {
  padding: 42px 0 86px;
}

.policy-content section {
  scroll-margin-top: 92px;
}

.policy-content h2 {
  margin: 42px 0 14px;
  font-size: 1.38rem;
  line-height: 1.2;
}

.policy-content section:first-child h2 {
  margin-top: 0;
}

.policy-content h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.policy-content p,
.policy-content li {
  color: var(--ink-soft);
}

.policy-content p {
  margin-bottom: 14px;
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy-content li::marker {
  color: var(--muted-light);
}

.policy-content a {
  color: var(--link);
  font-weight: 650;
}

.num {
  display: inline-block;
  min-width: 2.7em;
  color: var(--muted-light);
  font-size: 0.76rem;
  font-weight: 500;
  vertical-align: 0.15em;
}

.callout {
  margin: 22px 0;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.callout p {
  margin: 0;
}

.site-footer {
  margin-top: 80px;
  padding: 38px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.site-footer-meta p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer-meta p:last-child {
  color: var(--muted-light);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .site-header-inner,
  .hero-grid,
  .section,
  .trust-grid,
  .stamp-row,
  .policy-hero,
  .policy-content,
  .toc,
  .site-footer-inner {
    width: min(calc(100% - 40px), var(--max));
  }

  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .site-nav,
  .site-footer-links {
    justify-content: flex-start;
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 12px 0 48px;
  }

  .hero-title-lockup {
    display: grid;
    grid-template-columns: 194px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin: 20px 0 26px;
  }

  .hero-title {
    max-width: 12ch;
    font-size: 2.65rem;
  }

  .hero-logo-mobile {
    display: block;
    width: 194px;
  }

  .hero-logo-desktop {
    display: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-split,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section-split {
    gap: 24px;
    padding-top: 56px;
  }

  .trust-grid {
    gap: 30px;
    margin-top: 54px;
  }

  .stamp-row,
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-hero {
    padding-top: 12px;
  }

  .toc ol {
    column-count: 1;
  }
}

@media (max-width: 960px) and (min-width: 821px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
    padding: 12px 0 58px;
  }

  .hero-title {
    max-width: 14ch;
    font-size: 3.65rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    padding: 0 0 0 20px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .hero-brand-panel {
    gap: 24px;
  }

  .hero-logo {
    width: 210px;
  }

  .section-split {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
  }

  .trust-grid {
    gap: 30px;
  }

  .policy-hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 460px) {
  .hero-title-lockup {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    margin: 18px 0 22px;
  }

  .hero-logo-mobile {
    width: 132px;
  }

  .hero-title {
    max-width: 10.5ch;
    font-size: 1.84rem;
  }

  .policy-hero h1 {
    font-size: 2.6rem;
  }

  .policy-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 600px) and (min-width: 461px) {
  .hero-title-lockup {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
  }

  .hero-logo-mobile {
    width: 150px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: 2.12rem;
  }

  .policy-hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 360px) {
  .hero-title-lockup {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-logo-mobile {
    width: 104px;
  }

  .hero-title {
    max-width: 10ch;
    font-size: 1.35rem;
  }
}

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