:root {
  color-scheme: light;
  --paper: #f3ede0;
  --paper-light: #faf6ec;
  --ink: #1c1b18;
  --muted: #686158;
  --red: #a92a20;
  --red-dark: #7f1d17;
  --olive: #4d5b34;
  --line: rgba(28, 27, 24, 0.32);
  --line-light: rgba(243, 237, 224, 0.34);
  --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 0.2em; }

a:hover { color: var(--red); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 10;
  border-top: 8px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(-4deg);
}

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid var(--red-dark);
  color: var(--paper-light);
  background: var(--red);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.button:hover { color: #fff; background: var(--red-dark); }

.button-small { min-height: 44px; padding: 8px 18px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  min-height: 760px;
  padding-block: 72px 82px;
}

.hero-copy { position: relative; z-index: 2; }

.hero h1,
.section h2,
.modes-copy h2,
.privacy-band h2,
.legal-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 { font-size: clamp(76px, 9.5vw, 144px); }

.hero h1 span { color: var(--red); }

.hero-lead {
  margin: 28px 0 12px;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.hero-body { max-width: 520px; margin: 0; color: #47413b; font-size: 18px; }

.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 32px; }

.release-note {
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-figure { margin: 0; border: 1px solid var(--line); background: var(--paper-light); }

.hero-figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.hero-figure figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 18px;
  border-top: 1px dashed var(--line);
  color: var(--red);
  font-family: var(--display);
  font-style: italic;
}

.stamp {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border: 3px double currentColor;
  border-radius: 50%;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-align: center;
  transform: rotate(-11deg);
}

.stamp::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.stamp-hero { position: absolute; right: 46%; bottom: 46px; background: rgba(243, 237, 224, 0.9); }

.principle { color: var(--paper-light); background: var(--ink); }

.principle-inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.principle p { max-width: 880px; margin: 0; font-family: var(--display); font-size: clamp(28px, 4vw, 54px); line-height: 1.08; }

.principle span { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; }

.section { padding-block: 124px; }

.section-heading { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: end; }

.section h2,
.modes-copy h2,
.privacy-band h2 { font-size: clamp(54px, 7vw, 94px); }

.section-heading > p { max-width: 460px; margin: 0 0 8px; color: var(--muted); font-size: 18px; }

.receipt-list { margin: 80px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }

.receipt-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--line);
}

.receipt-number { padding-top: 7px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: 0.1em; }

.receipt-list h3 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1.15; }

.receipt-list p { max-width: 700px; margin: 8px 0 0; color: var(--muted); }

.modes-band { padding-block: 116px; color: var(--paper-light); background: var(--olive); }

.modes-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 100px; }

.modes-copy p { max-width: 440px; margin: 30px 0 0; color: rgba(250, 246, 236, 0.78); }

.modes-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }

.modes-list li { display: grid; grid-template-columns: minmax(150px, 0.7fr) 1.3fr; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line-light); }

.modes-list strong { font-family: var(--display); font-size: 22px; font-weight: 600; }

.modes-list span { color: rgba(250, 246, 236, 0.74); }

.split-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: center; }

.split-visual { min-height: 620px; display: grid; place-items: center; background: var(--ink); }

.bill-paper { width: min(380px, 78%); padding: 40px 34px 32px; color: var(--ink); background: var(--paper-light); transform: rotate(-2deg); box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.24); }

.bill-paper > span { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }

.bill-paper > strong { display: block; margin: 24px 0 30px; font-family: var(--display); font-size: 58px; font-weight: 500; line-height: 0.9; }

.bill-rule { border-top: 1px dashed var(--line); }

.bill-paper p { margin: 14px 0; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }

.bill-total { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); }

.bill-total b { color: var(--red); }

.split-copy h2 { max-width: 680px; }

.split-copy p { max-width: 590px; margin: 30px 0 0; color: var(--muted); font-size: 18px; }

.privacy-band { padding-block: 100px; color: var(--paper-light); background: var(--red); }

.privacy-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 80px; align-items: center; }

.stamp-light { position: relative; color: var(--paper-light); }

.privacy-band h2 { letter-spacing: -0.045em; }

.privacy-band p { max-width: 800px; margin: 30px 0 0; font-size: 19px; }

.text-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; }

.text-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 750; }

.site-footer { padding-block: 54px; color: var(--paper-light); background: var(--ink); }

.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 36px 72px; }

.footer-inner strong { font-family: var(--display); font-size: 28px; }

.footer-inner p { margin: 6px 0 0; color: rgba(250, 246, 236, 0.65); font-size: 14px; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: 12px 26px; }

.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--paper-light); font-size: 14px; }

.copyright { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(250, 246, 236, 0.16); }

.legal-hero { padding-block: 96px 72px; border-bottom: 1px solid var(--line); }

.legal-date { margin: 0 0 28px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }

.legal-hero h1 { max-width: 1040px; font-size: clamp(60px, 8.5vw, 122px); }

.legal-hero > p:not(.legal-date) { max-width: 760px; margin: 34px 0 0; color: var(--muted); font-size: 19px; }

.support-hero { position: relative; }

.support-hero .button { margin-top: 30px; }

.stamp-inline { position: absolute; right: 0; top: 88px; }

.legal { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; padding-block: 76px 124px; }

.legal section { padding: 38px 0 42px; border-bottom: 1px dashed var(--line); }

.legal section:first-child { padding-top: 0; }

.legal h2 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.06; }

.legal p { margin: 14px 0 0; }

.legal ul { margin: 18px 0 0; padding-left: 24px; }

.legal li + li { margin-top: 9px; }

.note { margin-top: 24px; padding: 20px 22px; border-left: 4px solid var(--red); background: var(--paper-light); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
  .hero-copy { max-width: 650px; }
  .hero-figure { max-width: 760px; }
  .stamp-hero { right: 18px; bottom: 32px; }
  .section-heading,
  .modes-layout,
  .split-section { grid-template-columns: 1fr; gap: 54px; }
  .section-heading { align-items: start; }
  .modes-copy p { max-width: 620px; }
  .split-visual { min-height: 520px; order: 2; }
  .privacy-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 28px); }
  body { font-size: 16px; }
  .site-header { border-top-width: 6px; }
  .nav { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .nav-links > a:not(.button) { display: none; }
  .hero { gap: 38px; padding-block: 48px 72px; }
  .hero h1 { font-size: clamp(72px, 25vw, 112px); }
  .hero-lead { margin-top: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .release-note { max-width: 240px; }
  .hero-figure img { aspect-ratio: 4 / 3; object-position: 61% center; }
  .hero-figure figcaption { justify-content: flex-start; }
  .stamp-hero { width: 94px; height: 94px; right: 4px; bottom: 18px; font-size: 9px; }
  .stamp-hero::before { width: 74px; height: 74px; }
  .principle-inner { min-height: 150px; grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  .principle span { order: -1; }
  .section { padding-block: 88px; }
  .section h2,
  .modes-copy h2,
  .privacy-band h2 { font-size: clamp(48px, 15vw, 74px); }
  .receipt-list { margin-top: 54px; }
  .receipt-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .receipt-list h3 { font-size: 27px; }
  .modes-band { padding-block: 84px; }
  .modes-list li { grid-template-columns: 1fr; gap: 4px; }
  .split-section { gap: 42px; }
  .split-visual { min-height: 430px; }
  .bill-paper { width: 82%; padding: 34px 28px 26px; }
  .bill-paper > strong { font-size: 48px; }
  .privacy-band { padding-block: 80px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 38px; }
  .stamp-light { width: 100px; height: 100px; }
  .stamp-light::before { width: 78px; height: 78px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
  .legal-hero { padding-block: 68px 54px; }
  .legal-hero h1 {
    font-size: clamp(46px, 13vw, 72px);
    overflow-wrap: normal;
    hyphens: manual;
  }
  .stamp-inline { position: relative; top: auto; right: auto; margin-bottom: 46px; }
  .legal { padding-block: 54px 88px; }
  .legal section { padding-block: 32px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(28, 27, 24, 0.68); --muted: #47413b; }
  .button { border-width: 2px; }
}
