@font-face {
  font-family: 'Instrument Sans Variable';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/instrument-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader Variable';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/newsreader-latin.woff2') format('woff2');
}
:root {
  --font-instrument-sans: 'Instrument Sans Variable';
  --font-newsreader: 'Newsreader Variable';
  --background: #f5efdf;
  --foreground: #19211b;
  --card: #fffdf8;
  --primary: #22543d;
  --muted-foreground: #5c625d;
  --border: #b9b3a6;
  --ring: #22543d;
  --butter: #f3c95b;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-instrument-sans), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 5px;
}
::selection {
  color: var(--foreground);
  background: var(--butter);
}
.info-page {
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 48px;
}
.info-header,
.info-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.info-header {
  min-height: 104px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.info-navigation,
.info-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
}
.info-navigation a,
.info-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
.info-page a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.info-hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 46px;
  padding: 82px 0 76px;
}
.info-eyebrow {
  margin: 0 0 19px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1.6;
}
.info-hero h1 {
  margin: 0 0 27px;
  font:
    400 clamp(56px, 6.1vw, 78px)/0.98 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.045em;
}
.info-lead {
  margin: 0;
  max-width: 450px;
  font-size: 18px;
  line-height: 1.7;
}
.info-preview {
  max-width: 410px;
  margin-top: 33px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.info-preview p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.info-preview p:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.info-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #b84c33;
}
.info-book-scene {
  position: relative;
  min-height: 416px;
  display: grid;
  place-items: center;
}
.info-book-scene::before {
  content: '';
  position: absolute;
  width: 94%;
  height: 85%;
  background-image:
    linear-gradient(#22543d0d 1px, transparent 1px),
    linear-gradient(90deg, #22543d0d 1px, transparent 1px);
  background-size: 27px 27px;
  border-radius: 50%;
}
.info-paper,
.info-book {
  position: absolute;
  width: 236px;
  height: 320px;
}
.info-paper {
  border: 1px solid #b9b3a6;
  background: #fffdf8;
}
.info-paper-back {
  transform: rotate(12deg) translate(9px, 0);
}
.info-paper-front {
  transform: rotate(4deg) translate(4px, 0);
}
.info-book {
  display: flex;
  flex-direction: column;
  transform: rotate(-6deg);
  padding: 26px 29px 25px;
  border-radius: 2px 5px 5px 2px;
  background: #22543d;
  color: #fffdf8;
  border-left: 7px solid #193f2e;
  box-shadow:
    2px 5px 0 #193f2e,
    9px 13px 20px #19211b14;
}
.info-book-imprint {
  font-size: 9px;
  letter-spacing: 0.17em;
}
.info-book-rule {
  width: 38px;
  height: 4px;
  background: var(--butter);
  margin: 26px 0 21px;
}
.info-book-title {
  font:
    400 44px/1.05 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.015em;
}
.info-book-footer {
  margin-top: auto;
  font-size: 7px;
  letter-spacing: 0.13em;
}
.info-book-caption {
  position: absolute;
  bottom: 0;
  color: var(--muted-foreground);
  font-size: 11px;
  text-align: center;
}
.info-process {
  padding: 46px 0 61px;
  border-top: 1px solid var(--border);
}
.info-section-intro {
  margin-bottom: 31px;
}
.info-section-intro .info-eyebrow {
  margin-bottom: 10px;
}
.info-page h2 {
  margin: 0;
  font:
    400 39px/1.1 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.info-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.info-step-number {
  color: #526954;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.info-steps h3 {
  margin: 12px 0 10px;
  font:
    500 25px/1.2 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.015em;
}
.info-steps p {
  margin: 0;
  color: #4c554c;
  font-size: 14px;
  line-height: 1.75;
}
.info-support {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 56px;
  border-top: 1px solid var(--border);
  padding: 55px 0 63px;
}
.info-support-copy p {
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.8;
  color: #414d43;
}
.info-support-copy p:last-child {
  margin-bottom: 0;
}
.info-policy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 5px;
  margin: 3px 0 10px;
  color: var(--primary);
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.info-support-copy .info-support-details {
  font-size: 11px;
}
.info-support-details a {
  display: inline-block;
  padding: 9px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.info-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 28px;
  color: var(--muted-foreground);
}
.info-footer p {
  margin: 0;
  font-size: 12px;
}
.info-footer nav {
  gap: 6px 24px;
}
.info-footer a {
  font-size: 12px;
}
.info-not-found {
  max-width: 720px;
  padding: 80px 0;
}
.info-not-found h1 {
  margin: 0 0 24px;
  font:
    400 54px/1.1 var(--font-newsreader),
    Georgia,
    serif;
}
.info-not-found p {
  line-height: 1.8;
}
.info-not-found a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 760px) {
  .info-page {
    padding: 0 26px;
  }
  .info-header {
    gap: 9px 24px;
  }
  .info-navigation {
    gap: 4px 20px;
  }
  .info-hero {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 48px 0 47px;
  }
  .info-hero h1 {
    font-size: clamp(56px, 11vw, 72px);
  }
  .info-lead {
    max-width: 540px;
  }
  .info-book-scene {
    min-height: 390px;
    margin-top: 10px;
  }
  .info-book-scene::before {
    width: 310px;
    max-width: 100%;
  }
  .info-process {
    padding: 38px 0 41px;
  }
  .info-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .info-steps li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 0 13px;
  }
  .info-step-number {
    padding-top: 6px;
    grid-row: 1 / 3;
  }
  .info-steps h3 {
    margin-top: 0;
  }
  .info-support {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0;
  }
  .info-support h2 br {
    display: none;
  }
}
@media (max-width: 400px) {
  .info-page {
    padding: 0 22px;
  }
  .info-header {
    padding: 25px 0 12px;
  }
  .info-navigation {
    gap: 4px 21px;
  }
  .info-navigation a {
    font-size: 13px;
  }
  .info-lead {
    font-size: 17px;
  }
  .info-preview {
    margin-top: 26px;
  }
  .info-paper,
  .info-book {
    width: 208px;
    height: 289px;
  }
  .info-book {
    padding: 23px 25px;
  }
  .info-book-title {
    font-size: 39px;
  }
  .info-book-rule {
    margin: 22px 0 18px;
  }
  .info-book-scene {
    min-height: 350px;
  }
  .info-page h2 {
    font-size: 34px;
  }
  .info-email {
    font-size: 16px;
  }
  .info-footer {
    gap: 2px;
  }
}

/* Rendered legal page styles, unchanged from app/(legal). */
.page {
  min-height: 100svh;
  padding: 0 24px;
  color: var(--foreground);
  background: var(--background);
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.header {
  min-height: 104px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.wordmark {
  color: var(--primary);
  font:
    500 38px/1 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.065em;
}

.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 14px;
}

.navigation a,
.footer > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.navigation a[aria-current='page'] {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.main {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 0 80px;
}

.introduction {
  margin-bottom: 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.introduction h1 {
  margin: 0 0 22px;
  font:
    400 clamp(44px, 7vw, 68px)/1.04 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lead {
  max-width: 55ch;
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
}

.updated {
  margin: 20px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.content {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.content section + section {
  margin-top: 36px;
}

.content h2 {
  margin: 0 0 12px;
  font:
    500 29px/1.2 var(--font-newsreader),
    Georgia,
    serif;
  letter-spacing: -0.025em;
}

.content p {
  margin: 0 0 16px;
}

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

.content ul {
  margin: 0 0 16px;
  padding-left: 24px;
  list-style: disc;
}

.content li + li {
  margin-top: 8px;
}

.content a,
.footer > a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 5px;
  border-radius: 2px;
}

.footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.6;
}

.footer p {
  margin: 0;
}

.skipLink {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 24px;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: var(--card);
  color: var(--primary);
}

.skipLink:focus {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .page {
    padding: 0 22px;
  }

  .header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 25px 0 12px;
  }

  .main {
    padding: 46px 0 56px;
  }

  .lead {
    font-size: 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
