@font-face {
  font-family: Inter;
  src: url(assets/inter.ttf);
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Serif;
  src: url(assets/serif.ttf);
  font-weight: 200 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: #f7f6ef;
  color: #20372f;
  font:
    14px/1.65 Inter,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b58950;
  outline-offset: 5px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Serif, Georgia, serif;
  font-weight: 500;
  line-height: 1.13;
}
h2 {
  font-size: clamp(36px, 4vw, 53px);
  letter-spacing: -1.5px;
}
h3 {
  font-size: 26px;
}
p {
  color: #6b7268;
}
.wrap {
  max-width: 1280px;
  padding: 0 64px;
  margin: auto;
}
header {
  height: 104px;
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  border-bottom: 1px solid #dedfd5;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 550;
}
.brand img {
  object-fit: contain;
}
.brand > span {
  font: 10px Inter;
  align-self: flex-start;
  margin-top: 9px;
  margin-left: -7px;
}
nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
nav a:hover,
.text-link:hover {
  color: #967044;
}
.nav-end {
  display: flex;
  gap: 28px;
  align-items: center;
}
.lang {
  background: none;
  font-size: 12px;
  padding: 10px 0;
}
.lang span {
  margin-left: 10px;
}
.nav-cta {
  border-bottom: 1px solid #193f36;
  padding-bottom: 5px;
  font-size: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 690px;
  padding-top: 64px;
  padding-bottom: 70px;
  gap: 24px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.tiny-pine {
  font-size: 22px;
  color: #78917b;
}
.hero h1 {
  font-size: clamp(68px, 7.8vw, 110px);
  letter-spacing: -4px;
  line-height: 1.02;
  margin-bottom: 28px;
}
.intro {
  font-size: 16px;
  line-height: 1.9;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 17px 23px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 550;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.primary {
  background: #193f36;
  color: #f7f6ef;
}
.text-link {
  font-size: 12px;
}
.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: #7b8176;
  margin-top: 24px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #768c76;
  border-radius: 100%;
}
.hero-art {
  position: relative;
  min-height: 500px;
}
.art-orbit {
  position: absolute;
  inset: 20px -15px 20px 0;
  background: #e6e9df;
  border-radius: 50% 50% 47% 53%;
  transform: rotate(-14deg);
}
.art-orbit:after {
  content: "";
  position: absolute;
  inset: -15px;
  border: 1px solid #dde0d4;
  border-radius: 50%;
}
.art-caption {
  position: absolute;
  right: 12px;
  top: 0;
  font-size: 9px;
  letter-spacing: 2.5px;
  writing-mode: vertical-rl;
}
.hero-book {
  position: absolute;
  width: 220px;
  height: 330px;
  object-fit: cover;
  border-radius: 3px 9px 9px 3px;
  box-shadow:
    4px 14px 20px #24382d28,
    2px 0 0 #d3d1bd;
  transition: transform 0.5s;
}
.hero-book.back {
  top: 40px;
  left: 18px;
  transform: rotate(-12deg);
}
.hero-book.front {
  top: 100px;
  right: 18px;
  transform: rotate(10deg);
}
.hero-art:hover .back {
  transform: rotate(-15deg) translateY(-5px);
}
.hero-art:hover .front {
  transform: rotate(7deg) translateY(-8px);
}
.audio-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 0;
  background: #fffef8ef;
  border: 1px solid #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  box-shadow: 0 18px 48px #263d2b13;
  backdrop-filter: blur(10px);
}
.audio-disc {
  background: #193f36;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  padding-left: 2px;
}
.audio-pill small {
  font-size: 8px;
  letter-spacing: 1.4px;
  display: block;
  color: #7a8678;
}
.audio-pill strong {
  font-size: 11px;
  font-weight: 500;
}
.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  height: 24px;
}
.wave i {
  width: 2px;
  height: 8px;
  background: #69816c;
}
.wave i:nth-child(2n) {
  height: 18px;
}
.wave i:nth-child(3) {
  height: 25px;
}
.manifesto {
  border-top: 1px solid #dedfd5;
  border-bottom: 1px solid #dedfd5;
}
.manifesto > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  font-size: 11px;
  color: #606e60;
}
.asterisk {
  color: #8a9b80;
  font-size: 24px;
}
.collection {
  padding-top: 94px;
  padding-bottom: 100px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading p {
  font-size: 12px;
  max-width: 330px;
  line-height: 1.9;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
.filters {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 29px;
}
.filters button {
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  font-size: 11px;
}
.filters button.selected {
  border-color: #193f36;
  background: #e8ece2;
}
.filters > span {
  margin-left: auto;
  font-size: 10px;
  color: #7b8176;
}
.books {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.book {
  text-align: left;
  background: none;
  padding: 0;
}
.book .cover {
  overflow: hidden;
  background: #e5e7dc;
  border-radius: 5px;
  aspect-ratio: 2/3;
  position: relative;
}
.book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.book:hover img {
  transform: scale(1.035);
}
.book .book-type {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #7a8577;
  margin: 17px 0 7px;
}
.book h3 {
  font-size: 21px;
  min-height: 2.3em;
  line-height: 1.15;
}
.book .author {
  font-size: 11px;
  color: #7b8176;
  margin-top: 7px;
}
.book .view {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #f7f6ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.originals {
  background: #193f36;
  color: #f4f3e8;
  padding: 88px 0;
}
.original-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.original-copy .eyebrow {
  color: #b4c6b1;
}
.original-copy h2 {
  font-size: 48px;
  line-height: 1.15;
}
.original-copy p {
  font-size: 13px;
  color: #b7c7ba;
  max-width: 350px;
  margin: 23px 0 28px;
  line-height: 1.9;
}
.ivory {
  background: #edeedf;
  color: #193f36;
}
.original-note {
  border-top: 1px solid #496255;
  margin-top: 42px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #a5b8a7;
}
.original-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
.original-covers button {
  background: none;
  color: inherit;
  padding: 0;
  text-align: left;
}
.original-covers button + button {
  margin-top: 70px;
}
.original-covers img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 35px #102d2350;
  transition: transform 0.3s;
}
.original-covers button:hover img {
  transform: translateY(-6px);
}
.original-covers span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 15px;
  color: #b7c7ba;
}
.experience {
  padding-top: 100px;
  padding-bottom: 100px;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 44px;
  align-items: center;
}
.mode {
  width: 100%;
  display: flex;
  text-align: left;
  padding: 26px 0;
  gap: 18px;
  background: none;
  border-bottom: 1px solid #d9ddd2;
  align-items: flex-start;
  opacity: 0.65;
}
.mode:first-child {
  border-top: 1px solid #d9ddd2;
}
.mode.active {
  opacity: 1;
}
.mode-number {
  font-size: 10px;
  padding-top: 4px;
}
.mode h3 {
  font-size: 25px;
  margin-bottom: 9px;
}
.mode p {
  font-size: 12px;
  line-height: 1.8;
}
.mode > span:last-child {
  margin-left: auto;
  opacity: 0;
}
.mode.active > span:last-child {
  opacity: 1;
}
.subnote {
  font-size: 10px;
  margin-top: 24px;
  max-width: 340px;
}
.demo-stage {
  background: #e8eadf;
  padding: 30px 38px 22px;
  border-radius: 50% 50% 8px 8px/10% 10% 8px 8px;
}
.reader-demo {
  --reader-bg: #fbfaf4;
  --reader-ink: #20372f;
  background: var(--reader-bg);
  color: var(--reader-ink);
  box-shadow: 0 15px 36px #273e3020;
  border: 1px solid #d9ddd2;
  border-radius: 15px;
  padding: 24px 27px;
  min-height: 395px;
  transition:
    background 0.25s,
    color 0.25s;
}
.demo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Serif;
  font-size: 15px;
  border-bottom: 1px solid #7a82612a;
  padding-bottom: 15px;
}
.demo-label {
  font-size: 7px;
  letter-spacing: 1.6px;
  margin: 27px 0 20px;
  opacity: 0.65;
}
.demo-passage {
  font-family: Serif;
  font-size: 23px;
  line-height: 1.65;
  min-height: 164px;
}
.demo-passage mark {
  background: #d7e2cc;
  color: inherit;
  padding: 2px 0;
}
.demo-passage b {
  font-weight: 500;
  color: #00613f;
}
.demo-definition {
  min-height: 65px;
  visibility: hidden;
  background: #e6ebdf;
  border-radius: 7px;
  padding: 10px 13px;
  position: relative;
  margin-top: 10px;
  color: #193f36;
  display: flex;
  flex-direction: column;
}
.demo-definition small {
  font-size: 9px;
  margin-left: 5px;
  color: #77816e;
}
.demo-definition > span {
  font: 17px Serif;
}
.demo-definition strong {
  font-size: 11px;
  font-weight: 400;
}
.demo-definition .saved-word {
  position: absolute;
  right: 15px;
  top: 17px;
  font: 22px Inter;
}
.demo-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 9px;
}
.demo-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #95a38f;
  border-radius: 50%;
}
.theme-picker {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 22px;
}
.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff88;
  outline: 1px solid transparent;
  outline-offset: 3px;
}
.swatch.selected {
  outline-color: #758470;
}
.swatch.forest {
  background: #193f36;
}
.swatch.paper {
  background: #ac8b5b;
}
.swatch.blue {
  background: #254569;
}
.swatch.ink {
  background: #272832;
}
.theme-picker > span {
  font-size: 9px;
  margin-left: auto;
}
.demo-disclaimer {
  display: block;
  text-align: center;
  font-size: 8px;
  color: #6f776b;
  margin-top: 20px;
}
.membership {
  padding-top: 60px;
  padding-bottom: 75px;
  border-top: 1px solid #dcdfd4;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 30px;
}
.member-intro h2 {
  font-size: 35px;
}
.plan {
  border: 1px solid #d9dfd1;
  border-radius: 7px;
  padding: 26px;
}
.plan-label {
  font-size: 10px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
}
.plan h3 {
  font-size: 26px;
  margin: 26px 0 15px;
}
.plan p {
  font-size: 11px;
  line-height: 1.9;
}
.plan a,
.pro-foot {
  display: block;
  margin-top: 24px;
  font-size: 10px;
}
.pro {
  background: #e6eadf;
  border-color: #e6eadf;
}
.pro-foot {
  color: #65735f;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 75px;
  padding-bottom: 90px;
  padding-top: 30px;
}
.faq h2 {
  font-size: 36px;
}
details {
  border-bottom: 1px solid #d9ddd2;
  padding: 18px 0;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 18px;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 14px;
  padding-right: 30px;
}
.join {
  text-align: center;
  background: #e9ecdf;
  padding-top: 62px;
  padding-bottom: 65px;
  border-radius: 12px;
  max-width: 1152px;
}
.join > img {
  margin-bottom: 20px;
}
.join .eyebrow {
  justify-content: center;
  font-size: 9px;
}
.join h2 {
  font-size: 58px;
}
.join p {
  margin-top: 23px;
  font-size: 12px;
}
.store-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.store-row > span {
  border: 1px solid #aeb8a5;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
}
.store-row small {
  display: block;
  font-size: 8px;
  color: #6e7b66;
}
footer {
  display: flex;
  gap: 25px;
  align-items: center;
  min-height: 150px;
}
footer .brand {
  font-size: 25px;
}
footer > span {
  font-size: 10px;
  color: #74806f;
}
footer button {
  background: none;
  margin-left: auto;
  font-size: 10px;
}
footer .copyright {
  font-size: 9px;
}
dialog {
  border: 1px solid #d8dfcf;
  background: #f7f6ef;
  color: #20372f;
  border-radius: 14px;
  padding: 45px;
  max-width: 740px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #12271fc4;
  backdrop-filter: blur(4px);
}
.close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 28px;
  background: none;
}
.dialog-book {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
}
.dialog-book img {
  width: 100%;
  border-radius: 4px;
}
.dialog-book h2 {
  font-size: 35px;
  margin: 10px 0;
}
.dialog-book p {
  font-size: 13px;
  margin: 12px 0;
}
.dialog-book small {
  font-size: 10px;
}
.dialog-book .button {
  margin-top: 16px;
}
dialog h2 {
  font-size: 32px;
}
dialog p {
  margin-top: 15px;
}
.skip {
  position: absolute;
  top: -100px;
  background: #193f36;
  color: white;
  padding: 10px;
}
.skip:focus {
  top: 0;
  z-index: 20;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 740px;
  }
}
@media (max-width: 1050px) {
  header {
    padding: 0 32px;
  }
  .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero {
    min-height: 620px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-book {
    width: 180px;
    height: 270px;
  }
  .hero-book.front {
    right: 5px;
    top: 120px;
  }
  .hero-art {
    min-height: 450px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .original-grid {
    gap: 35px;
  }
  .original-copy h2 {
    font-size: 40px;
  }
  .experience-grid {
    gap: 35px;
  }
  .demo-stage {
    padding: 25px;
  }
  .membership {
    gap: 18px;
  }
  .plan {
    padding: 21px;
  }
  .member-intro h2 {
    font-size: 29px;
  }
  .join {
    margin: 0 32px;
  }
  .hero .intro br {
    display: contents;
  }
  .hero .intro br:after {
    content: " ";
  }
}
@media (max-width: 760px) {
  header {
    height: 80px;
    padding: 0 23px;
    gap: 10px;
  }
  .brand {
    font-size: 26px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
  }
  nav {
    display: none;
  }
  .nav-end {
    gap: 15px;
  }
  .nav-cta {
    font-size: 10px;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 36px;
    gap: 25px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 78px;
    letter-spacing: -3px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .intro {
    font-size: 14px;
    max-width: 340px;
  }
  .hero-actions {
    gap: 23px;
    margin-top: 24px;
  }
  .hero-art {
    width: 100%;
    max-width: 470px;
    justify-self: center;
    min-height: 410px;
    margin-top: 10px;
  }
  .hero-book {
    width: 170px;
    height: 255px;
  }
  .hero-book.back {
    left: 40px;
    top: 30px;
  }
  .hero-book.front {
    right: 35px;
    top: 85px;
  }
  .art-orbit {
    inset: 10px 15px 25px;
  }
  .audio-pill {
    bottom: 10px;
    left: 15px;
    right: 15px;
    padding: 13px;
  }
  .art-caption {
    right: 5px;
    font-size: 7px;
  }
  .audio-pill strong {
    font-size: 10px;
  }
  .audio-pill small {
    font-size: 6px;
  }
  .manifesto > .wrap {
    min-height: 65px;
    justify-content: center;
    font-size: 9px;
    gap: 15px;
  }
  .manifesto span:nth-last-child(-n + 2) {
    display: none;
  }
  .asterisk {
    font-size: 18px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 18px;
    font-size: 12px;
  }
  .collection {
    padding-top: 62px;
    padding-bottom: 60px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .filters > span {
    display: none;
  }
  .books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 16px;
  }
  .book h3 {
    font-size: 20px;
  }
  .originals {
    padding: 55px 0;
  }
  .original-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .original-copy h2 {
    font-size: 45px;
  }
  .original-copy p {
    max-width: none;
  }
  .original-note {
    display: none;
  }
  .original-covers {
    gap: 20px;
    padding: 0 12px;
  }
  .original-covers button + button {
    margin-top: 35px;
  }
  .experience {
    padding-top: 65px;
    padding-bottom: 55px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 30px;
  }
  .mode {
    padding: 20px 0;
  }
  .mode h3 {
    font-size: 24px;
  }
  .demo-stage {
    max-width: 420px;
    width: 100%;
    margin: auto;
    padding: 25px;
  }
  .reader-demo {
    padding: 22px;
    min-height: 385px;
  }
  .demo-passage {
    font-size: 22px;
  }
  .membership {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 45px;
    gap: 16px;
  }
  .member-intro h2 {
    font-size: 38px;
    margin-bottom: 12px;
  }
  .plan h3 {
    margin: 15px 0 10px;
    font-size: 28px;
  }
  .plan p {
    font-size: 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 55px;
    padding-top: 15px;
  }
  .join {
    margin: 0 14px;
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .join h2 {
    font-size: 42px;
  }
  footer {
    padding-top: 35px;
    padding-bottom: 35px;
    flex-wrap: wrap;
    gap: 15px;
  }
  footer > span {
    font-size: 9px;
  }
  footer button {
    margin-left: 0;
  }
  .copyright {
    margin-left: auto;
  }
  .dialog-book {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .dialog-book img {
    width: 120px;
  }
  .dialog-book h2 {
    font-size: 30px;
  }
  dialog {
    padding: 30px;
  }
  .hero-actions .button {
    padding: 15px 18px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 23px;
  }
  .nav-cta {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-book {
    width: 148px;
    height: 222px;
  }
  .hero-book.back {
    left: 18px;
  }
  .hero-book.front {
    right: 15px;
  }
  .hero-art {
    min-height: 365px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    font-size: 10px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .audio-pill {
    left: 0;
    right: 0;
  }
  .demo-stage {
    padding: 18px;
  }
  .reader-demo {
    padding: 19px;
  }
  .demo-passage {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Decorative artwork stays within the layout on narrow screens. */
.hero-art {
  overflow: clip;
}
.demo-passage mark {
  color: #193f36;
}
.mode:focus-visible {
  outline-offset: 2px;
}
.swatch {
  position: relative;
}
.swatch:before {
  content: "";
  position: absolute;
  inset: -10px;
}
.lang,
.nav-cta {
  white-space: nowrap;
}
.hero-book.front {
  right: 42px;
}
.hero-book.back {
  left: 36px;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .hero-book.front {
    right: 30px;
  }
  .hero-book.back {
    left: 25px;
  }
}
@media (max-width: 760px) {
  .hero-book.front {
    right: 35px;
  }
  .hero-book.back {
    left: 40px;
  }
}
@media (max-width: 360px) {
  .nav-cta {
    display: none;
  }
  .hero-book.front {
    right: 20px;
  }
  .hero-book.back {
    left: 27px;
  }
}
/* Final responsive/accessibility pass: roomy targets without visual bulk. */
.lang,
.brand,
.text-link,
.filters button,
footer button,
summary,
.plan a {
  min-height: 44px;
}
.lang,
.text-link,
.plan a {
  display: inline-flex;
  align-items: center;
}
summary {
  align-items: center;
}
summary:after {
  flex-shrink: 0;
}
.close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  line-height: 1;
  top: 7px;
  right: 9px;
  z-index: 1;
}
.dialog-open {
  overflow: hidden;
}
.mode {
  opacity: 1;
}
.mode:not(.active) h3 {
  color: #526354;
}
.mode.active h3 {
  color: #193f36;
}
.theme-picker {
  gap: 2px;
  flex-wrap: wrap;
}
.swatch {
  width: 44px;
  height: 44px;
  background: transparent !important;
  border: 0;
  outline: 0;
}
.swatch:before {
  inset: 13px;
  border: 2px solid #ffffff88;
  border-radius: 50%;
  background: var(--swatch);
  outline: 1px solid transparent;
  outline-offset: 3px;
}
.swatch.selected:before {
  outline-color: #526354;
}
.swatch:focus-visible {
  outline: 2px solid #795018;
  outline-offset: 0;
}
.swatch.forest {
  --swatch: #193f36;
}
.swatch.paper {
  --swatch: #ac8b5b;
}
.swatch.blue {
  --swatch: #254569;
}
.swatch.ink {
  --swatch: #272832;
}
.theme-picker > span {
  margin-left: 10px;
}
.demo-stage,
.mode > div,
.section-heading > div,
.dialog-book > div {
  min-width: 0;
}
h1,
h2,
h3,
p,
summary {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .theme-picker > span {
    flex-basis: 100%;
    margin-left: 0;
    text-align: center;
    font-size: 11px;
  }
  .mode p,
  .plan p,
  .faq p {
    font-size: 13px;
  }
  .book .author {
    font-size: 12px;
  }
  .demo-disclaimer {
    font-size: 10px;
  }
  .availability {
    font-size: 11px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .book h3 {
    min-height: 3.45em;
  }
  .book .book-type {
    font-size: 9px;
  }
  .store-row {
    flex-wrap: wrap;
  }
}
html {
  scrollbar-gutter: stable;
}
