:root {
  --ink: #222b3d;
  --forest: #203d3a;
  --red: #963845;
  --paper: #fbf4e7;
  --line: #d7c9ae;
  --night: #101c36;
  --ivory: #fff4d9;
  --gold: #f4d292;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "DM Serif Text", Georgia, serif;
  --mono: "Courier New", monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #ba6935;
  outline-offset: 3px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
.skip {
  position: fixed;
  z-index: 20;
  top: -80px;
  left: 12px;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.simple-state,
.loading {
  max-width: 680px;
  margin: 70px auto;
  text-align: center;
  padding: 36px;
}
.simple-state p {
  margin: 16px;
}
.postmark {
  color: var(--red);
  font: 700 45px var(--mono);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.parcel-game {
  max-width: 650px;
}
.parcel-game h1 {
  font: 700 38px var(--serif);
  margin: 20px 0 12px;
}
.parcel-game p {
  line-height: 1.8;
}
.parcel-game canvas {
  width: 100%;
  height: auto;
  display: block;
  border: 7px solid #c7b58f;
  margin-block: 16px;
  cursor: pointer;
  touch-action: manipulation;
}
.parcel-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.parcel-game [hidden] {
  display: none;
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(160px, 225px) minmax(0, 680px);
  justify-content: space-between;
  gap: clamp(40px, 7vw, 100px);
  width: min(1030px, calc(100% - 100px));
  margin: 0 auto;
  padding: 64px 0 76px;
}
.reading-main {
  min-width: 0;
}
.guide-create-link {
  margin-top: 25px;
}
.guide-sticky {
  position: sticky;
  top: 36px;
}
.guide-mobile {
  display: none;
}
.guide-contents p,
.guide-mobile summary {
  font: 600 24px/1.2 var(--serif);
  letter-spacing: -0.035em;
}
.guide-contents ul {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.guide-contents li {
  border-bottom: 1px solid var(--line);
}
.guide-contents li a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  color: #445849;
  text-decoration: none;
}
.guide-contents li a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-section + .guide-section {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 34px;
}
.guide-section {
  scroll-margin: 30px;
}
.guide-section h2 {
  font: 600 clamp(30px, 3.3vw, 46px)/1.1 var(--serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.guide-copy {
  margin-top: 18px;
  color: #36483e;
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: break-word;
}
.guide-copy p + p,
.guide-copy article + article,
.guide-answer + .guide-answer {
  margin-top: 15px;
}
.guide-copy a {
  text-decoration-color: #81937e;
  text-underline-offset: 3px;
}
.guide-copy h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 650 23px/1.25 var(--serif);
  letter-spacing: -0.025em;
}
.guide-example {
  margin: 20px 0;
  padding: 15px 20px;
  background: #f0e9d7;
  border-left: 3px solid #a34539;
  color: #5c4035;
  font:
    italic 21px/1.5 Georgia,
    serif;
}
.home-comments {
  max-width: 1030px;
}

/* Common frame around the illustrated calendar and its other pages. */
.mast,
.sitefoot {
  color: var(--ivory);
  background: var(--night);
}
.mast {
  border-bottom: 1px solid #d4b77c40;
  position: relative;
  z-index: 3;
}
.mast-inner,
.foot-inner,
.section-inner {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.mast-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 1px #0003);
}
.brand > span {
  font: 400 22px/1.03 var(--serif);
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  margin-top: 4px;
  color: #e6c88e;
  font: 650 9px/1 var(--sans);
  letter-spacing: 0.22em;
}
.mast .desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 29px;
}
.mast nav a,
.mine-link {
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.mast nav a:hover,
.sitefoot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mine-link {
  padding: 9px 16px;
  border: 1px solid #d1af7366;
  border-radius: 5px;
  white-space: nowrap;
}
.mine-link:hover {
  background: #fff1ce13;
}
.mobile-nav {
  display: none;
}
.foot-inner {
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sitefoot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 19px;
}
.sitefoot nav a {
  font-size: 13px;
  text-decoration: none;
  color: #eee2c9;
}
.button {
  min-height: 46px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 700 15px/1.2 var(--sans);
  text-decoration: none;
}
.button.primary {
  color: #fff9e9;
  background: #99364c;
  border-color: #a24457;
}
.button.primary:hover {
  background: #842d40;
}
.button.light {
  color: var(--ink);
  border-color: #bda98b;
  background: #fff9ee;
}
.button.light:hover {
  background: #eae2d1;
}
.section-inner {
  padding-block: 44px;
}
.section-inner h2 {
  font: 400 clamp(27px, 2.6vw, 39px)/1.15 var(--serif);
  letter-spacing: -0.025em;
}
.skip {
  color: var(--night);
}

/* The winter stage and its wooden gift cabinet. */
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #142642;
  color: var(--ivory);
  border-bottom: 2px solid #b8985f;
}
.night-scene {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      #09162ace 0,
      #0b192d9c 26%,
      #0d1e3315 63%,
      #0b183122 100%
    ),
    linear-gradient(0deg, #0c192c45, transparent 27%);
}
.opening {
  width: min(1210px, calc(100% - 100px));
  margin: 0 auto;
  min-height: clamp(540px, 43vw, 676px);
  padding: 54px 0 56px;
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(32px, 4vw, 70px);
  align-items: center;
}
.intro {
  max-width: 490px;
  padding-bottom: 24px;
}
.date-line {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffe0a3;
  font: 650 13px/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.date-line::before {
  content: "";
  width: 33px;
  height: 1px;
  background: #dfbb7b;
}
.intro h1 {
  max-width: 9ch;
  margin: 15px 0 16px;
  color: #fff4dc;
  font: 400 clamp(69px, 6.1vw, 94px)/0.94 var(--serif);
  letter-spacing: -0.052em;
  text-shadow: 0 2px 15px #06122661;
}
.intro h1 em {
  color: #f5d7a2;
  font-style: italic;
}
.intro-copy {
  max-width: 38ch;
  color: #f8efdf;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
}
.actions {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 23px;
}
.actions .primary {
  border: 1px solid #db8291;
  background: linear-gradient(#bd4762, #a32f4e);
  box-shadow:
    0 3px 0 #6a2237,
    0 5px 12px #07102566;
}
.actions .primary:hover {
  background: linear-gradient(#cc5671, #ad3853);
}
.code-link,
.home-new {
  color: #f8e9ce;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-color: #e7cd9f;
}
.free {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #e9dccc;
}
.free .create-terms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.free a {
  text-decoration-color: #d6bd97;
  text-underline-offset: 3px;
}
.free i {
  width: 3px;
  height: 3px;
  background: #e1bf84;
  border-radius: 50%;
}
.calendar-desk {
  margin: 0;
  align-self: center;
  min-width: 0;
  scroll-margin: 18px;
}
.calendar-scene {
  isolation: isolate;
  position: relative;
  padding: 0 10px 12px;
  border: 1px solid #dcb678;
  border-radius: 12px 12px 6px 6px;
  background:
    repeating-linear-gradient(
      3deg,
      transparent 0 5px,
      #f5c18114 6px,
      transparent 8px
    ),
    linear-gradient(
      90deg,
      #734729,
      #b7804d 7%,
      #91603b 25%,
      #ae7947 61%,
      #a26c3f 87%,
      #6d432c
    );
  box-shadow:
    inset 0 0 0 2px #9d683f,
    inset 0 0 0 4px #e8bf855c,
    0 5px 0 #593920,
    0 8px 15px #0610258c,
    0 14px 36px #0813268a;
}
.cabinet-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 8px 0;
  color: #ffe5a9;
}
.cabinet-heading::before,
.cabinet-heading::after {
  content: "";
  width: clamp(26px, 6.8vw, 98px);
  height: 3px;
  border-block: 1px solid #f6cf8fa3;
}
.cabinet-heading h2 {
  color: #fff0cb;
  text-shadow: 0 1px 2px #472915;
  font: 400 clamp(20px, 1.8vw, 29px)/1.1 var(--serif);
  letter-spacing: 0.01em;
}
.demo-grid {
  --recess: #263f3a;
  --shadow: #142324;
  --warmth: #607356;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  aspect-ratio: 1.68;
  gap: 4px 3px;
  padding: 3px;
  border: 1px solid #512f1e;
  border-top-color: #392619;
  background: linear-gradient(#b78552, #906240);
  box-shadow: 0 1px 0 #d9ad74;
}
.demo-grid[data-style="berry"] {
  --recess: #6b3541;
  --shadow: #321d29;
  --warmth: #a26468;
}
.demo-grid[data-style="midnight"] {
  --recess: #344665;
  --shadow: #17233d;
  --warmth: #607696;
}
.day {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1px;
  color: #382a23;
  background:
    radial-gradient(ellipse at 50% 70%, var(--warmth) 0, var(--recess) 75%),
    var(--recess);
  box-shadow:
    inset 2px 3px 6px var(--shadow),
    inset -1px -2px 3px var(--shadow);
}
.day::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(#d9ac75, #ba8753 28%, #87572e 80%);
  box-shadow: 0 -1px 0 #f4d8a17d;
  pointer-events: none;
}
.day img {
  position: absolute;
  left: 8%;
  top: 4%;
  width: 84%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(1px 3px 2px #050c1866);
  transition: transform 0.2s ease-out;
  transform-origin: center bottom;
}
.day:nth-child(3n) img {
  transform: rotate(3deg);
}
.day:nth-child(4n + 2) img {
  transform: rotate(-3deg);
}
.day span {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  min-width: 27%;
  padding: 0 4px;
  border: 1px solid #bf8f53;
  border-radius: 2px;
  background: linear-gradient(110deg, #ebc68b, #ffe4ad 50%, #d7aa71);
  box-shadow: 0 1px 1px #563219;
  color: #382a20;
  font: 700 clamp(11px, 1.05vw, 16px)/1.15 var(--sans);
  font-variant-numeric: tabular-nums;
}
.day:hover img,
.day:focus-visible img {
  transform: translateY(-3%) scale(1.08);
}
.day:focus-visible {
  outline: 3px solid #fff0b5;
  outline-offset: -3px;
  z-index: 1;
}
.day.is-opened span {
  color: #fff8e0;
  background: #614151;
  border-color: #e9c999;
}
.sample-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 13px;
  padding: 5px 8px;
  background: #0e203ae6;
  border: 1px solid #d2b4703b;
  border-radius: 5px;
  color: #fff4d9;
}
.preview-hint {
  font-size: 13px;
  text-shadow: 0 1px 4px #0d172c;
}
.theme-picker,
.themes {
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-picker {
  gap: 8px;
}
.theme-picker > span {
  font-size: 12px;
  color: #ecdec6;
}
.themes button {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 5px 8px;
  background: #112138c9;
  border: 1px solid #bba57980;
  border-radius: 4px;
  color: #fff0d3;
  font: 550 12px/1.1 var(--sans);
}
.themes button[aria-pressed="true"] {
  background: #f8e7c8;
  color: #222c32;
  border-color: #f8d89f;
}
.themes i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #547454;
}
.themes [data-theme="berry"] i {
  background: #ac5065;
}
.themes [data-theme="midnight"] i {
  background: #586f9d;
}
.sample-list {
  grid-column: 1/-1;
  color: var(--ivory);
  background: #101f36e6;
  padding: 10px 16px;
}
.sample-list details + details {
  border-top: 1px solid #d0b78d59;
}
.sample-list summary {
  cursor: pointer;
  padding: 8px 0;
}
.sample-list p {
  padding: 5px 0 10px;
}

/* A three-part illustrated table of contents on the paper below the stage. */
.reading-layout {
  padding-block: 56px 68px;
}
.guide-contents p,
.guide-mobile summary {
  font-weight: 400;
}
.guide-contents li a {
  color: #4d4b48;
}
.guide-section h2,
.guide-copy h3 {
  color: #253048;
  font-weight: 400;
}
.guide-copy {
  color: #3e4041;
}
.guide-example {
  background: #f1e7d5;
  border-color: #a14b52;
  color: #6f3e40;
  font-family: var(--serif);
  font-weight: 400;
}
.guide-copy a {
  text-decoration-color: #b18372;
}
.home-comments {
  border-top: 1px solid var(--line);
}
#demo-note {
  position: relative;
  width: min(430px, calc(100% - 32px));
  padding: 28px 32px 31px;
  overflow: visible;
  border: 1px solid #c4a675;
  border-radius: 8px;
  background: #fff4dd;
  color: #2e3544;
  box-shadow: 0 22px 80px #030c1c66;
}
#demo-note::after {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #dbc6a0;
  border-radius: 4px;
}
dialog::backdrop {
  background: #0a142bbd;
}
.close-note {
  position: absolute;
  z-index: 1;
  right: 11px;
  top: 9px;
  height: 35px;
  width: 35px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5e4d51;
  font-size: 26px;
  line-height: 1;
}
.close-note:hover {
  background: #e9d9bd;
}
.letter-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
#demo-note small {
  display: block;
  margin-top: 9px;
  font: 650 12px var(--sans);
  letter-spacing: 0.065em;
  color: #8f404d;
}
#demo-note h2 {
  font: 400 33px/1.1 var(--serif);
  margin: 9px 0 11px;
}
#demo-note p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
}

@media (max-width: 1050px) {
  .opening,
  .mast-inner,
  .foot-inner,
  .section-inner {
    width: calc(100% - 64px);
  }
  .opening {
    grid-template-columns: minmax(240px, 0.73fr) minmax(0, 1.27fr);
    gap: 28px;
    min-height: 505px;
  }
  .intro h1 {
    font-size: clamp(61px, 7.1vw, 74px);
  }
  .mast-inner {
    gap: 23px;
  }
  .mast .desktop-nav {
    gap: 22px;
  }
  .sample-caption {
    gap: 6px 12px;
  }
}
@media (max-width: 780px) {
  .mast-inner,
  .foot-inner,
  .section-inner,
  .opening,
  .reading-layout {
    width: calc(100% - 40px);
  }
  .mast-inner {
    min-height: 60px;
    gap: 15px;
  }
  .brand img {
    width: 39px;
    height: 39px;
  }
  .mast .desktop-nav {
    gap: 15px;
  }
  .mast nav a,
  .mine-link {
    font-size: 13px;
  }
  .mine-link {
    padding: 8px 10px;
  }
  .opening {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    max-width: 625px;
    padding: 31px 0 33px;
  }
  .intro {
    max-width: none;
    text-align: center;
    padding: 0;
  }
  .hero::before {
    background: linear-gradient(180deg, #09182fa3, #0d20386e 48%, #0b172d42);
  }
  .night-scene {
    object-position: 58% 65%;
  }
  .date-line,
  .actions,
  .free {
    justify-content: center;
  }
  .date-line::before,
  .date-line::after {
    content: "";
    width: 22px;
    height: 1px;
    background: #ddbd86;
  }
  .intro h1 {
    max-width: 13ch;
    margin: 10px auto;
    font-size: clamp(46px, 8vw, 63px);
  }
  .intro-copy {
    max-width: 46ch;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.45;
    text-wrap: balance;
  }
  .actions {
    margin-top: 15px;
  }
  .free {
    margin-top: 9px;
  }
  .calendar-desk {
    width: 100%;
  }
  .demo-grid {
    aspect-ratio: 1.79;
  }
  .guide-sticky {
    display: none;
  }
  .guide-mobile {
    display: block;
    border-block: 1px solid var(--line);
  }
  .guide-mobile summary {
    cursor: pointer;
    padding-block: 13px;
  }
  .guide-mobile summary span {
    float: right;
    font: 600 13px/29px var(--sans);
  }
  .guide-mobile ul {
    margin: 0 0 8px;
    border: 0;
  }
  .guide-mobile li:last-child {
    border: 0;
  }
  .reading-layout {
    display: block;
    max-width: 670px;
    padding: 30px 0 45px;
  }
  .calendar-guide {
    margin-top: 24px;
  }
}
@media (max-width: 625px) {
  .mast-inner,
  .foot-inner,
  .section-inner {
    width: calc(100% - 30px);
  }
  .mast-inner {
    min-height: 57px;
    gap: 9px;
  }
  .mast .desktop-nav {
    display: none;
  }
  .mast .brand {
    gap: 6px;
  }
  .mast .brand img {
    width: 37px;
    height: 37px;
  }
  .mast .brand > span {
    font-size: 19px;
    white-space: nowrap;
  }
  .mast .brand small {
    font-size: 8px;
    margin-top: 3px;
  }
  .mine-link {
    margin-left: auto;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border: 1px solid #d1af7366;
    border-radius: 4px;
    list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary i {
    width: 16px;
    height: 1px;
    background: currentColor;
    box-shadow:
      0 5px currentColor,
      0 -5px currentColor;
  }
  .mobile-nav nav {
    position: absolute;
    z-index: 2;
    top: calc(100% + 6px);
    right: 0;
    width: max-content;
    min-width: 160px;
    padding: 5px;
    display: grid;
    background: #15243c;
    border: 1px solid #bd9665;
    border-radius: 4px;
    box-shadow: 0 8px 16px #111b3255;
  }
  .mobile-nav nav a {
    display: block;
    padding: 10px;
  }
  .opening {
    width: calc(100% - 28px);
    padding: 24px 0 26px;
    gap: 20px;
  }
  .intro h1 {
    font-size: clamp(43px, 10.6vw, 57px);
    line-height: 0.96;
  }
  .intro-copy {
    max-width: 37ch;
    font-size: 15px;
    line-height: 1.45;
  }
  .date-line {
    font-size: 11px;
  }
  .actions {
    gap: 17px;
    margin-top: 13px;
  }
  .actions .primary {
    min-height: 43px;
    padding: 10px 15px;
  }
  .free {
    font-size: 11px;
    margin-top: 8px;
  }
  .calendar-scene {
    padding: 0 6px 7px;
    border-radius: 8px 8px 4px 4px;
  }
  .cabinet-heading {
    padding: 6px 0;
  }
  .cabinet-heading h2 {
    font-size: 19px;
  }
  .demo-grid {
    gap: 3px 2px;
    aspect-ratio: 1.48;
    padding: 2px;
  }
  .day img {
    top: 4%;
    height: 79%;
  }
  .day span {
    min-width: 31%;
    font-size: 10px;
    padding: 0 2px;
  }
  .day::before {
    height: 4px;
  }
  .sample-caption {
    margin: 12px 1px 0;
    gap: 7px 12px;
  }
  .preview-hint {
    font-size: 12px;
  }
  .theme-picker {
    gap: 5px;
  }
  .theme-picker > span {
    font-size: 11px;
  }
  .themes button {
    font-size: 11px;
    padding: 4px 5px;
    min-height: 29px;
  }
  .themes i {
    width: 7px;
    height: 7px;
  }
  .foot-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .sitefoot nav {
    justify-content: flex-start;
  }
  .guide-copy {
    font-size: 16px;
  }
  .guide-copy h3 {
    font-size: 22px;
  }
  .guide-section + .guide-section {
    margin-top: 26px;
    padding-top: 25px;
  }
}
@media (max-width: 370px) {
  .mast-inner {
    gap: 7px;
  }
  .mast .brand img {
    width: 32px;
    height: 32px;
  }
  .mast .brand > span {
    font-size: 17px;
  }
  .mine-link {
    font-size: 12px;
    padding-inline: 7px;
  }
  .opening {
    width: calc(100% - 20px);
  }
  .intro h1 {
    font-size: 39px;
  }
  .sample-caption {
    justify-content: center;
  }
}

@media (max-width: 370px) and (max-height: 640px) {
  .mast-inner {
    min-height: 49px;
  }
  .opening {
    padding-top: 13px;
    gap: 12px;
  }
  .intro h1 {
    font-size: 35px;
    margin-block: 6px;
  }
  .intro-copy {
    font-size: 14px;
    line-height: 1.35;
  }
  .actions {
    margin-top: 8px;
  }
  .free {
    margin-top: 6px;
  }
}

.walkthrough {
  padding: clamp(2.8rem, 6vw, 5rem) 0;
  background: #f9f1e1;
  border-bottom: 1px solid #dfd0b4;
}
.walkthrough-inner, .calendar-ritual {
  width: min(1150px, calc(100% - 48px));
  margin-inline: auto;
}
.walkthrough-heading {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 1.55rem;
}
.walkthrough-heading img { width: clamp(56px, 9vw, 100px); height: auto; }
.walkthrough-heading h2, .calendar-ritual h2 {
  font: 400 clamp(1.9rem, 4vw, 3.25rem)/1.05 var(--serif);
  letter-spacing: -.035em;
}
.walkthrough-heading p, .calendar-ritual p { margin-top: .55rem; }
.walkthrough-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.55rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.walkthrough-steps a { display: block; color: inherit; text-decoration: none; }
.walkthrough-shot {
  display: grid;
  place-items: center;
  padding: clamp(.4rem, 1vw, .85rem);
  aspect-ratio: 2 / 3;
  border-radius: 18px 18px 9px 9px;
  border: 1px solid #8f7454;
  background: radial-gradient(ellipse at 50% 275%, #52627b, #172746 75%);
  box-shadow: 0 9px 18px #2a1c291f;
}
.walkthrough-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 10px;
}
.walkthrough-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .45rem;
  margin-top: .85rem;
}
.walkthrough-caption > span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  background: #efe0bb;
  border: 1px solid #cbb17b;
  border-radius: 50%;
  color: #7e3045;
  font-weight: 750;
  font-size: .8rem;
}
.walkthrough-caption h3 { font: 400 clamp(1.12rem, 2vw, 1.5rem)/1.1 var(--serif); }
.walkthrough-caption p { margin-top: .35rem; font-size: .875rem; line-height: 1.4; color: #5e5148; }
.walkthrough-steps a:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.calendar-ritual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 29%);
  align-items: center;
  gap: clamp(.8rem, 4vw, 3rem);
  margin-top: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1rem, 5vw, 3.4rem);
  background: linear-gradient(110deg, #112039ee, #14233a88), url("/solstice-night.webp") center 78% / cover;
  color: #fff1d7;
  border: 1px solid #947652;
  border-radius: 16px;
}
.calendar-ritual p { max-width: 48ch; color: #eee3d0; }
.calendar-ritual .button { margin-top: 1rem; }
.calendar-ritual img { width: min(100%, 230px); height: auto; justify-self: center; }
.guide-scenario > img { float: right; margin: 0 0 .35rem .6rem; object-fit: contain; }
.home-conversation { background: #f0e6d4; border-top: 1px solid #d8c7aa; }
.home-conversation .home-comments { border-top: 0; }
@media (max-width: 720px) {
  .walkthrough-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.45rem; }
  .walkthrough-inner, .calendar-ritual { width: calc(100% - 32px); }
}
@media (max-width: 470px) {
  .walkthrough-caption { gap: .33rem; }
  .walkthrough-caption > span { width: 1.25rem; height: 1.25rem; }
  .calendar-ritual { grid-template-columns: minmax(0, 1fr) 75px; }
  .calendar-ritual h2 { font-size: 1.75rem; }
}
