:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --ink: #292921;
  --muted: #706b5e;
  --green: #294f42;
  --red: #ba4a38;
  --rule: #d5d7ca;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  border-top: 6px solid var(--green);
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 6px;
}
a:hover {
  color: var(--red);
}
.page {
  max-width: 1600px;
  margin: auto;
  background: var(--paper);
}
header,
footer {
  max-width: 1184px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header {
  height: 112px;
  border-bottom: 1px solid var(--green);
}
.brand {
  font-size: 34px;
  font-weight: bold;
  font-style: italic;
  text-decoration: none;
  letter-spacing: -1.5px;
}
.brand-period {
  color: var(--red);
}
nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
.app-store {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #79776e;
}
.app-store small {
  font-size: 10px;
  border: 1px solid #c9c8bf;
  padding: 4px 6px;
}
.hero {
  max-width: 1184px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  column-gap: 70px;
  padding: 76px 0 0;
}
.label,
.number {
  font:
    11px system-ui,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}
.hero .label {
  margin: 8px 0 28px;
}
h1 {
  font-size: clamp(46px, 4.8vw, 70px);
  font-weight: normal;
  line-height: 1.08;
  letter-spacing: -2.6px;
  margin: 0 0 28px;
}
h1 em {
  color: var(--green);
}
.intro {
  font-size: 21px;
  line-height: 1.65;
  max-width: 375px;
  color: var(--muted);
  margin: 0 0 12px;
}
.open-book {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  background: var(--green);
  color: var(--paper);
  padding: 17px 23px;
  text-decoration: none;
  font:
    16px system-ui,
    sans-serif;
  margin-top: 20px;
  border: 1px solid var(--green);
}
.open-book:hover {
  background: var(--paper);
  color: var(--green);
}
.tour-link {
  display: block;
  width: fit-content;
  font-size: 16px;
  margin-top: 23px;
  text-decoration: none;
}
.tour-link span {
  margin-left: 12px;
  color: var(--red);
}
.book {
  background: var(--green);
  color: #e3d9b4;
  border-radius: 3px 8px 8px 3px;
  padding: 24px 25px 24px 35px;
  box-shadow:
    inset 7px 0 0 #1e3d32,
    inset 10px 0 0 #446356,
    5px 5px 0 #d7d3c4,
    8px 8px 0 #ede9dd,
    10px 10px 0 #c9c7ba,
    16px 21px 25px #29292115;
  max-width: 420px;
  width: 100%;
  justify-self: end;
  transform: rotate(3deg);
}
.cover-border {
  border: 1px solid #aab08a;
  padding: 29px 20px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 456px;
}
.cover-label,
.cover-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.cover-title {
  font-size: 76px;
  font-style: italic;
  line-height: 0.9;
  margin: 34px 0 18px;
  letter-spacing: -4px;
}
.glass {
  width: 76px;
  height: 82px;
  margin-bottom: 15px;
}
.belongs {
  margin-top: 32px;
  font-size: 11px;
  font-style: italic;
  color: #c0c6b1;
  width: 80%;
}
.belongs span {
  display: block;
  font-size: 23px;
  padding: 9px 0 5px;
  border-bottom: 1px solid #81947a;
  color: #e3d9b4;
}
.hero-footnote {
  grid-column: 1/-1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 68px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--green);
}
#tour {
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 65px;
  scroll-margin-top: 24px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading .label {
  grid-column: 1/-1;
  margin: 0 0 21px;
}
h2 {
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -1px;
  font-weight: normal;
  margin: 0;
}
.section-heading > p:last-child {
  text-align: right;
  line-height: 1.6;
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.tour-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.tour-copy h3 {
  font-size: 38px;
  line-height: 1.15;
  font-weight: normal;
  letter-spacing: -0.7px;
  margin: 23px 0;
}
.tour-copy > p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
}
.number {
  color: var(--red);
  letter-spacing: 1.5px;
}
.tour-copy .margin-note {
  font-size: 20px;
  font-style: italic;
  color: var(--green);
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
figure {
  margin: 0;
  min-width: 0;
}
figure a {
  display: block;
  border: 1px solid #cfcebf;
  box-shadow: 5px 6px 0 #e7e4d8;
}
figure img {
  width: 100%;
  height: auto;
  display: block;
}
.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}
.reverse .tour-copy {
  order: 2;
}
.reverse figure {
  order: 1;
}
.sample-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: -22px 0 60px;
}
.closing {
  text-align: center;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  max-width: 1184px;
  margin: auto;
  padding: 52px 20px;
  background: repeating-linear-gradient(
    transparent 0 32px,
    #53665f14 32px 33px
  );
}
.closing .label {
  margin-bottom: 23px;
}
.closing p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin-top: 21px;
}
.closing p span {
  color: #79776e;
}
footer {
  flex-wrap: wrap;
  padding: 36px 0 42px;
}
footer .brand {
  font-size: 26px;
}
footer p,
footer > a[href="#main"] {
  font-size: 12px;
  color: var(--muted);
}
.footer-details {
  display: contents;
}
.footer-details nav {
  font:
    13px Georgia,
    serif;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-details p {
  margin: 0;
  line-height: 1.8;
}
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 25px;
  min-height: 65vh;
}
.legal-page h1 {
  font-size: clamp(38px, 5vw, 54px);
  margin-top: 25px;
}
.legal-page h2 {
  font-size: 27px;
  margin-top: 32px;
}
.legal-page p:not(.label) {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.legal-page section,
.legal-page .legal-contents {
  scroll-margin-top: 24px;
}
.legal-page ul,
.legal-page ol,
.legal-page td,
.legal-page address {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.legal-page li + li {
  margin-top: 9px;
}
.legal-date {
  margin-top: -12px;
}
.guide-page section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.guide-page h3 {
  margin-top: 32px;
  font-size: 21px;
  font-weight: normal;
  color: var(--green);
}
.guide-steps li + li {
  margin-top: 22px;
}
.guide-endpoint {
  display: block;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid var(--rule);
  color: var(--green);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.legal-summary {
  margin: 34px 0;
  padding: 2px 26px 20px;
  border-left: 4px solid var(--green);
  background: #53665f0b;
}
.legal-summary h2 {
  margin-top: 20px;
}
.legal-contents {
  display: block;
  margin: 34px 0 42px;
  padding: 22px 25px;
  border: 1px solid var(--rule);
}
.legal-contents strong {
  font-size: 15px;
  color: var(--ink);
}
.legal-contents ol {
  columns: 2;
  margin-bottom: 0;
  padding-left: 22px;
}
.legal-contents li {
  break-inside: avoid;
}
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--rule);
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 610px;
}
.legal-page th,
.legal-page td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.legal-page tr:last-child th,
.legal-page tr:last-child td {
  border-bottom: 0;
}
.legal-page thead th,
.legal-page tbody th {
  color: var(--ink);
  font-family: system-ui, sans-serif;
  font-size: 14px;
}
.legal-page tbody th {
  width: 29%;
}
.legal-page address {
  margin-top: 24px;
  font-style: normal;
}
.legal-page .legal-emphasis {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 2;
  padding: 12px;
  background: var(--paper);
}
.skip-link:focus {
  top: 12px;
}
@keyframes page-reveal {
  from {
    transform: translateY(18px);
    opacity: 0.88;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tour-row figure {
      animation: page-reveal 1s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}
@media (max-width: 1250px) {
  header,
  footer,
  .hero,
  .closing {
    margin-left: 40px;
    margin-right: 40px;
  }
  #tour {
    margin-left: 70px;
    margin-right: 70px;
  }
  .hero {
    column-gap: 45px;
  }
  .book {
    max-width: 360px;
  }
  .cover-border {
    min-height: 430px;
  }
  .tour-row {
    gap: 48px;
  }
}
@media (max-width: 760px) {
  header {
    height: 90px;
    margin: 0 22px;
  }
  .brand {
    font-size: 28px;
  }
  nav {
    gap: 20px;
    font-size: 13px;
  }
  .app-store {
    flex-direction: column;
    gap: 4px;
  }
  .app-store small {
    font-size: 8px;
    padding: 2px 4px;
  }
  .hero {
    margin: 0 25px;
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero .label {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
  }
  h1 {
    font-size: clamp(44px, 8.2vw, 60px);
    letter-spacing: -1.8px;
  }
  .intro {
    font-size: 20px;
    max-width: 440px;
  }
  .book {
    margin-top: 54px;
    justify-self: center;
    max-width: 320px;
  }
  .cover-border {
    min-height: 395px;
    padding-top: 24px;
  }
  .cover-title {
    font-size: 65px;
  }
  .cover-label {
    font-size: 9px;
  }
  .hero-footnote {
    margin-top: 45px;
    font-size: 11px;
  }
  #tour {
    margin: 0 25px;
    padding-top: 43px;
  }
  .section-heading {
    display: block;
    margin-bottom: 34px;
  }
  h2 {
    font-size: 37px;
  }
  .section-heading > p:last-child {
    text-align: left;
    margin-top: 18px;
    font-size: 17px;
  }
  .section-heading > p:last-child br {
    display: none;
  }
  .tour-row,
  .reverse {
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin-bottom: 48px;
    align-items: stretch;
  }
  .tour-copy h3 {
    font-size: 33px;
    margin: 16px 0;
  }
  .tour-copy > p {
    font-size: 18px;
    margin-bottom: 0;
  }
  .tour-copy .margin-note {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 18px;
  }
  .reverse .tour-copy,
  .reverse figure {
    order: initial;
  }
  .sample-note {
    line-height: 1.6;
    margin: 0 0 36px;
  }
  .closing {
    margin: 0 22px;
    padding: 36px 8px;
  }
  .closing .label {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .closing h2 {
    font-size: 35px;
  }
  footer {
    margin: 0 25px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px 0;
  }
  footer p {
    margin: 0;
  }
  footer > a[href="#main"] {
    width: 100%;
  }
  .legal-page {
    padding: 42px 22px;
  }
  .legal-page ul,
  .legal-page ol {
    padding-left: 24px;
  }
  .legal-contents ol {
    columns: 1;
  }
}
