:root {
  color-scheme: light;
  --paper: #f4eddf;
  --paper-deep: #ebe1cf;
  --ink: #171713;
  --muted-ink: #6d685e;
  --rule: rgb(23 23 19 / 0.28);
  --orange: #dd6b24;
  --orange-dark: #a8440f;
  --content: 1180px;
  --reading: 760px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background-color: var(--paper);
  background-image: url("../../assets/paper-texture.png");
  background-size: 720px 720px;
  background-attachment: fixed;
  color: var(--ink);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: rgb(244 237 223 / 0.72);
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--orange-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid #315f8c;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  transform: translateY(-180%);
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.site-header {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  position: relative;
  display: inline-block;
  padding: 4px 30px 8px 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 5vw, 4.15rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.09em;
  text-decoration: none;
}

.wordmark::before {
  position: absolute;
  top: -3px;
  right: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.wordmark::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--ink);
  content: "";
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.site-nav a {
  padding-block: 12px;
  border-bottom: 2px solid transparent;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--orange);
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgb(23 23 19 / 0.6);
  border-radius: 999px;
  background: rgb(244 237 223 / 0.72);
}

.language-switch button {
  min-width: 39px;
  min-height: 36px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.page {
  padding-block: clamp(48px, 8vw, 104px);
}

.hero {
  min-height: min(760px, calc(100vh - 108px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(42px, 8vw, 116px);
  padding-block: clamp(42px, 7vw, 92px);
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8.6vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
}

.hero .lead,
.page-intro .lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: #3f3c36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.34;
}

.hero-mark {
  position: relative;
  width: min(100%, 390px);
  justify-self: end;
}

.hero-mark::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -18px;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgb(23 23 19 / 0.34);
  border-radius: 22.5%;
  background: var(--paper-deep);
  box-shadow: 0 26px 70px rgb(23 23 19 / 0.16);
  object-fit: cover;
}

.hero-mark figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 1px solid var(--ink);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ink);
}

.metric {
  min-height: 164px;
  padding: 31px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--ink);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border-right: 0;
}

.metric dt {
  margin-bottom: 11px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.3vw, 4.8rem);
  font-weight: 700;
  line-height: 0.94;
}

.section {
  padding-block: clamp(66px, 10vw, 130px);
  border-bottom: 1px solid var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  margin-bottom: clamp(46px, 7vw, 84px);
}

.section-index {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6vw, 6.3rem);
  font-weight: 700;
  line-height: 0.9;
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.section-heading p {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted-ink);
  font-size: 1.04rem;
  line-height: 1.68;
}

.availability-section {
  padding-top: clamp(58px, 8vw, 104px);
}

.issue-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.issue-release {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--ink);
  text-decoration: none;
}

.issue-release:last-child {
  border-right: 0;
}

.issue-release figure {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0 0 24px;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
  box-shadow: 0 18px 38px rgb(23 23 19 / 0.13);
}

.issue-release img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.issue-release small,
.issue-release > p {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.45;
  text-transform: uppercase;
}

.issue-release small {
  color: var(--orange-dark);
}

.issue-release h3 {
  margin: 12px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.issue-release > p {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted-ink);
}

.issue-release--preview figure {
  opacity: 0.86;
}

.issue-release:hover h3,
.issue-release:focus-visible h3 {
  color: var(--orange-dark);
}

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

.feature {
  display: grid;
  grid-template-columns: 62px minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 56px);
  padding-block: 28px;
  border-bottom: 1px solid var(--rule);
}

.feature:last-child {
  border-bottom: 0;
}

.feature-number {
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.feature p {
  max-width: 650px;
  margin: 0;
  color: #4d4941;
  line-height: 1.65;
}

.publication-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.publication {
  min-height: 340px;
  padding: clamp(34px, 5vw, 68px);
  border-right: 1px solid var(--ink);
}

.publication:last-child {
  border-right: 0;
}

.publication small {
  display: block;
  margin-bottom: 36px;
  color: var(--orange-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.publication h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.publication p {
  max-width: 460px;
  margin: 27px 0 0;
  color: var(--muted-ink);
  line-height: 1.6;
}

.editorial-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 6vw, 74px);
  border-left: 6px solid var(--orange);
  background: rgb(235 225 207 / 0.72);
}

.editorial-note strong {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.8;
}

.editorial-note h2 {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.editorial-note p {
  max-width: 830px;
  margin: 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  line-height: 1.38;
}

.faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--ink);
}

.faq summary {
  position: relative;
  padding: 25px 58px 25px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.22rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  color: var(--orange-dark);
  content: "+";
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  transform: translateY(-50%);
}

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

.faq details > div {
  max-width: 720px;
  padding: 0 0 28px;
  color: #4d4941;
  line-height: 1.7;
}

.faq p {
  margin: 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: clamp(42px, 7vw, 78px);
  background: var(--ink);
  color: var(--paper);
}

.cta-band small {
  display: block;
  margin-bottom: 18px;
  color: #f09a62;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.cta-band h2 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.store-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 1px solid rgb(244 237 223 / 0.6);
  color: rgb(244 237 223 / 0.76);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.page-intro {
  max-width: 980px;
  padding: clamp(36px, 7vw, 88px) 0 clamp(54px, 9vw, 110px);
}

.page-intro h1 {
  font-size: clamp(3rem, 8vw, 7.3rem);
}

.page-intro .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 28px;
  margin: 28px 0 0;
  color: var(--muted-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, var(--reading));
  justify-content: space-between;
  gap: clamp(40px, 9vw, 130px);
  padding-block: clamp(55px, 8vw, 100px);
  border-top: 1px solid var(--ink);
}

.reading-nav {
  align-self: start;
  position: sticky;
  top: 28px;
}

.reading-nav p {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reading-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-nav li {
  border-top: 1px solid var(--rule);
}

.reading-nav li:last-child {
  border-bottom: 1px solid var(--rule);
}

.reading-nav a {
  display: block;
  padding-block: 13px;
  color: var(--muted-ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.reading-nav a:hover {
  color: var(--orange-dark);
}

.prose {
  max-width: var(--reading);
}

.prose > section {
  margin-bottom: 62px;
  scroll-margin-top: 24px;
}

.prose > section:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 0 0 23px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 36px 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  line-height: 1.25;
}

.prose p,
.prose li {
  color: #3f3c36;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.72;
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 23px;
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 10px;
}

.prose a {
  color: var(--orange-dark);
}

.notice {
  margin: 35px 0 0;
  padding: 25px 27px;
  border-left: 5px solid var(--orange);
  background: rgb(235 225 207 / 0.68);
}

.notice strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-panel {
  margin-top: 38px;
  padding: clamp(27px, 5vw, 48px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.contact-panel small {
  display: block;
  margin-bottom: 13px;
  color: var(--orange-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-panel a {
  overflow-wrap: anywhere;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 4vw, 3rem);
  font-weight: 700;
}

.contact-panel p {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted-ink);
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}

.support-item {
  padding: clamp(27px, 5vw, 47px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.support-item:nth-child(2n) {
  border-right: 0;
}

.support-item h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.7vw, 2.05rem);
  line-height: 1.12;
}

.support-item p,
.support-item li {
  color: #4d4941;
  line-height: 1.65;
}

.support-item p {
  margin: 0;
}

.support-item ol,
.support-item ul {
  margin: 0;
  padding-left: 1.25em;
}

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

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 116px;
  border-top: 1px solid var(--ink);
}

.site-footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.site-footer p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-nav a {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 134px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-block: 20px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: min(72vw, 390px);
    justify-self: start;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-index {
    font-size: 3rem;
  }

  .issue-shelf {
    grid-template-columns: 1fr;
  }

  .issue-release,
  .issue-release:last-child {
    display: grid;
    grid-template-columns: minmax(112px, 0.38fr) minmax(0, 0.62fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .issue-release:last-child {
    border-bottom: 0;
  }

  .issue-release figure {
    grid-column: 1;
    grid-row: 1 / 4;
    margin: 0;
  }

  .issue-release small,
  .issue-release h3,
  .issue-release > p {
    grid-column: 2;
  }

  .issue-release h3 {
    align-self: center;
    margin-block: 10px;
  }

  .feature {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .feature p {
    grid-column: 2;
  }

  .reading-layout {
    grid-template-columns: 1fr;
  }

  .reading-nav {
    position: static;
  }

  .reading-nav ol {
    columns: 2;
    column-gap: 28px;
  }

  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  .page {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-nav {
    gap: 17px;
  }

  .site-nav a {
    font-size: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

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

  .metric,
  .metric:first-child {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .publication-pair,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .issue-release,
  .issue-release:last-child {
    grid-template-columns: minmax(96px, 0.36fr) minmax(0, 0.64fr);
    column-gap: 17px;
    padding: 20px 0;
  }

  .issue-release h3 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
  }

  .issue-release small,
  .issue-release > p {
    font-size: 0.61rem;
  }

  .publication,
  .support-item,
  .support-item:nth-child(2n) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .publication:last-child,
  .support-item:last-child {
    border-bottom: 0;
  }

  .editorial-note {
    grid-template-columns: 1fr;
  }

  .reading-nav ol {
    columns: 1;
  }

  .cta-band {
    padding-inline: 25px;
  }

  .store-cta {
    width: 100%;
  }
}

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

@media print {
  body {
    background: #fff;
  }

  body::before,
  .site-header,
  .site-footer,
  .reading-nav,
  .skip-link {
    display: none;
  }

  .page {
    width: 100%;
    padding: 0;
  }

  .reading-layout {
    display: block;
    padding: 0;
    border: 0;
  }
}
