:root {
  --pink: #ffc4db;
  --hot: #ec347c;
  --wine: #65072e;
  --ink: #4a0928;
  --paper: #fff8ec;
  --line: #65072e33;
  --yellow: #f6ff83;
  --notebook: #fffaf3;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--pink);
  color: var(--ink);
  font-family: 'Golos Text',Arial,sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="dark"] body {
  --pink: #30091c;
  --ink: #ffdfeb;
  --paper: #fce8d5;
  --line: #ffb5d955;
  --notebook: #48112c;
}

.wrap {
  width: min(1160px,calc(100% - 64px));
  margin: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

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

.skip-link {
  position: absolute;
  inset: 12px auto auto 12px;
  transform: translateY(-160%);
  z-index: 30;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff8ec;
}

.skip-link:focus { transform: none; }

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 5px;
}

::selection {
  background: var(--wine);
  color: var(--pink);
}

.display,h1,h2,h3 {
  font-family: 'Dela Gothic One','Arial Black',Arial,sans-serif;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.05em;
}

.hand {
  font-family: 'Caveat',cursive;
  font-size: 27px;
  line-height: 1;
}

.tiny {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
}

.muted {
  opacity: .65;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 19px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
}

.wordmark {
  font-family: 'Dela Gothic One',Arial,sans-serif;
  font-size: 25px;
  letter-spacing: -1.7px;
  line-height: 1;
}

.wordmark sup {
  font-family: Arial,sans-serif;
  vertical-align: top;
  font-size: 9px;
  letter-spacing: 0;
  padding-left: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
}

.menu-btn {
  display: none;
}

.login {
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 50px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--wine);
  color: #fff5eb;
  padding: 19px 23px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  min-height: 58px;
  transition: transform .2s,box-shadow .2s;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #49062633;
}

.button svg {
  flex-shrink: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 14px;
}

.hero-top {
  text-align: center;
  position: relative;
  z-index: 3;
}

.hero-top .tiny {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 9px 16px;
}

.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hot);
}

h1 {
  font-size: clamp(42px,7.5vw,105px);
  text-transform: uppercase;
  margin: 25px 0 0;
  line-height: .98;
}

h1 span {
  display: block;
  color: var(--hot);
}

.title-first {
  color: var(--wine);
}

.hero-scene {
  height: 580px;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.hero-zina {
  position: absolute;
  height: 590px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(3px 0 0 #fff7ee) drop-shadow(-3px 0 0 #fff7ee) drop-shadow(0 -3px 0 #fff7ee);
}

.couple {
  position: absolute;
  background-image: url('/assets/collage-1109/love-stories.webp');
  background-size: 200% 300%;
  border: 6px solid #fff8ee;
  box-shadow: 0 4px 8px #65072e22;
}

.hero-pair {
  width: 230px;
  height: 155px;
  z-index: 0;
  opacity: .8;
}

.pair-a {
  left: 3%;
  top: 20px;
  transform: rotate(-12deg);
  background-position: 0 0;
}

.pair-b {
  right: 1%;
  top: 45px;
  transform: rotate(12deg);
  background-position: 100% 0;
}

.pair-c {
  left: 0;
  bottom: 40px;
  transform: rotate(8deg);
  background-position: 0 100%;
}

.pair-d {
  right: 1%;
  bottom: 55px;
  transform: rotate(-8deg);
  background-position: 100% 50%;
}

.speech {
  position: absolute;
  background: #fffaf0;
  color: #4a0928;
  font-size: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 4px 0 #65072e16;
  z-index: 4;
  max-width: 245px;
}

.speech::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 20px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid #fffaf0;
}

.speech small {
  font-size: 9px;
  display: block;
  opacity: .55;
  margin-bottom: 4px;
}

.msg-a {
  left: 9%;
  top: 145px;
  transform: rotate(-7deg);
}

.msg-b {
  right: 7%;
  top: 250px;
  transform: rotate(7deg);
  background: var(--yellow);
  font-weight: 600;
}

.msg-b::after {
  border-top-color: var(--yellow);
}

.msg-c {
  left: 15%;
  bottom: 64px;
  transform: rotate(4deg);
}

.note {
  position: absolute;
  z-index: 5;
  background: #fff8ed;
  color: var(--wine);
  padding: 20px;
  font-family: 'Caveat',Georgia,serif;
  font-size: 27px;
  line-height: .95;
  box-shadow: 0 6px 18px #65072e18;
  text-align: center;
}

.note::before {
  content: '';
  width: 65px;
  height: 20px;
  background: #fff7ed88;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  backdrop-filter: blur(2px);
}

.hero-note {
  left: 0;
  top: 265px;
  transform: rotate(-8deg);
  width: 195px;
}

.sticker {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--hot);
  color: white;
  font-family: 'Golos Text',Arial,sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.15;
  clip-path: polygon(50% 0%,58% 7%,69% 2%,74% 13%,85% 12%,88% 25%,98% 31%,93% 42%,100% 50%,93% 59%,98% 70%,87% 76%,87% 88%,75% 88%,69% 98%,58% 94%,50% 100%,41% 93%,30% 98%,25% 87%,12% 88%,12% 75%,2% 69%,7% 57%,0% 50%,7% 40%,2% 30%,13% 24%,12% 12%,25% 12%,31% 2%,42% 7%);
  width: 125px;
  height: 125px;
}

.hero-sticker {
  position: absolute;
  right: 14%;
  top: 25px;
  transform: rotate(14deg);
  z-index: 5;
}

.heart {
  position: absolute;
  width: 70px;
  height: 70px;
  z-index: 1;
  color: var(--hot);
  transform: rotate(-15deg);
}

.heart svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.heart-a {
  left: 23%;
  top: 5px;
}

.heart-b {
  right: 22%;
  bottom: 25px;
  transform: rotate(14deg);
  color: var(--wine);
}

.hero-bottom {
  position: relative;
  z-index: 5;
  margin: -5px auto 30px;
  max-width: 460px;
  text-align: center;
  padding: 16px 28px 0;
  background: var(--pink);
}

.hero-bottom p {
  font-size: 14px;
  margin: 0 0 17px;
}

.hero-bottom .hand {
  font-size: 22px;
  margin-top: 10px;
}

.ticker {
  overflow: hidden;
  background: var(--wine);
  color: #ffcae1;
  transform: rotate(-1.4deg) scale(1.02);
  position: relative;
  z-index: 6;
  margin: 15px 0 10px;
  padding: 17px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 25px;
  align-items: center;
  animation: marquee 30s linear infinite;
  font-family: 'Dela Gothic One',Arial,sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: -.05em;
}

.ticker b {
  font-family: Georgia,serif;
  color: var(--yellow);
  font-size: 28px;
  line-height: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 80px 0;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-label .hand {
  font-size: 23px;
}

h2 {
  font-size: clamp(32px,4.5vw,58px);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.lead {
  font-size: 14px;
  line-height: 1.65;
  max-width: 420px;
  margin: 0;
}

.translator-section {
  position: relative;
}

.notebook {
  background-color: var(--notebook);
  background-image: linear-gradient(#8abbd626 1px,transparent 1px),linear-gradient(90deg,#8abbd626 1px,transparent 1px);
  background-size: 21px 21px;
  border-radius: 10px;
  padding: 48px 50px;
  position: relative;
  box-shadow: 5px 6px 0 #65072e13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.notebook::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 40px;
  bottom: 40px;
  width: 17px;
  background: radial-gradient(ellipse at center,#65072e 0 3px,transparent 4px) 0 0/17px 24px;
}

.notebook h2 {
  font-size: 40px;
}

.notebook h2 span {
  color: var(--hot);
}

.notebook .lead {
  font-size: 13px;
  max-width: 330px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 10px 13px;
  font-size: 11px;
  background: var(--notebook);
}

.chip[aria-pressed=true] {
  background: var(--wine);
  color: #fff3e8;
  border-color: var(--wine);
}

.analysis {
  background: #fff9ef;
  color: #4a0928;
  padding: 25px;
  transform: rotate(2deg);
  border: 1px solid #65072e22;
  box-shadow: 4px 6px 0 #65072e16;
  align-self: center;
  position: relative;
}

.analysis:before {
  content: '';
  position: absolute;
  width: 75px;
  height: 22px;
  background: #ff9dc8a0;
  left: 40%;
  top: -10px;
  transform: rotate(-5deg);
}

.analysis-top {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 1px dashed #65072e44;
  padding-bottom: 15px;
}

.tiny-z {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 72% 30%;
  margin-right: 5px;
  vertical-align: middle;
}

.analysis h3 {
  font-family: 'Golos Text',Arial,sans-serif;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 20px 0 15px;
}

.analysis p {
  font-size: 13px;
  line-height: 1.6;
}

.analysis-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  gap: 10px;
  margin-top: 22px;
}

.example-label {
  font-size: 10px;
  opacity: .6;
  margin: 14px 0 0;
}

.story-section {
  background: var(--wine);
  color: #ffc4db;
  border-radius: 35px 35px 0 0;
  position: relative;
  padding: 65px 0;
}

.story-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.story-intro h2 {
  color: #fff5eb;
  font-size: clamp(38px,5.5vw,70px);
}

.story-intro h2 span {
  color: #ff8cbe;
}

.story-intro p {
  max-width: 300px;
  margin: 0 0 20px;
  font-size: 13px;
}

.story-stage {
  position: relative;
  height: 700px;
  margin: 25px 0 10px;
  border-radius: 30px;
  background: #f8a9c9;
  isolation: isolate;
  overflow: hidden;
}

.story-stage:before {
  position: absolute;
  inset: 0;
  content: '';
  background-image: url('/assets/collage-1109/love-stories.webp');
  background-size: cover;
  opacity: .16;
}

.story-stage .couple {
  width: 30%;
  height: 230px;
  z-index: 1;
  transition: transform .25s;
  opacity: .95;
}

.scene-1 {
  left: 3%;
  top: 30px;
  transform: rotate(-6deg);
  background-position: 0 0;
}

.scene-2 {
  left: 36%;
  top: 30px;
  transform: rotate(5deg);
  background-position: 100% 0;
}

.scene-3 {
  right: 1%;
  top: 85px;
  transform: rotate(-7deg);
  background-position: 0 50%;
}

.scene-4 {
  left: 2%;
  bottom: 55px;
  transform: rotate(6deg);
  background-position: 100% 50%;
}

.scene-5 {
  left: 35%;
  bottom: 45px;
  transform: rotate(-8deg);
  background-position: 0 100%;
}

.scene-6 {
  right: 1%;
  bottom: 70px;
  transform: rotate(7deg);
  background-position: 100% 100%;
}

.chat {
  position: absolute;
  z-index: 3;
  text-align: left;
  background: #fff9ef;
  color: #4a0928;
  padding: 12px 16px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 3px 0 #65072e20;
  transition: transform .2s;
  min-height: 44px;
}

.chat:hover {
  transform: rotate(0) scale(1.04);
}

.chat small {
  font-size: 8px;
  opacity: .5;
  display: block;
  margin-top: 5px;
}

.chat1 {
  left: 6%;
  top: 245px;
  transform: rotate(3deg);
}

.chat2 {
  left: 38%;
  top: 260px;
  transform: rotate(-5deg);
  background: var(--yellow);
}

.chat3 {
  right: 4%;
  top: 290px;
  transform: rotate(4deg);
}

.chat4 {
  left: 5%;
  bottom: 20px;
  transform: rotate(-4deg);
}

.chat5 {
  left: 39%;
  bottom: 15px;
  transform: rotate(5deg);
}

.chat6 {
  right: 5%;
  bottom: 30px;
  transform: rotate(-3deg);
  background: var(--yellow);
}

.story-note {
  left: 38%;
  top: 47%;
  transform: rotate(-4deg);
  font-size: 32px;
  min-width: 225px;
}

.story-note:before {
  background: #ff4a9899;
}

.stage-heart {
  position: absolute;
  left: 10%;
  top: 44%;
  font-size: 80px;
  color: var(--wine);
  font-family: Georgia,serif;
  transform: rotate(-15deg);
  z-index: 2;
}

.stage-voice {
  position: absolute;
  right: 7%;
  top: 53%;
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 16px;
  background: var(--hot);
  border-radius: 50px;
  color: #fff8ed;
  font-size: 9px;
  z-index: 2;
  transform: rotate(10deg);
}

.voice-bars {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 22px;
  margin: 0 8px;
}

.voice-bars i {
  background: currentColor;
  width: 2px;
  border-radius: 3px;
  height: var(--h, 8px);
}

.voice-bars i:nth-child(2), .voice-bars i:nth-child(8) { --h: 16px; }
.voice-bars i:nth-child(3) { --h: 10px; }
.voice-bars i:nth-child(4) { --h: 22px; }
.voice-bars i:nth-child(5) { --h: 13px; }
.voice-bars i:nth-child(6) { --h: 19px; }
.voice-bars i:nth-child(9) { --h: 11px; }

.story-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  gap: 15px;
  margin-top: 18px;
}

.story-controls button {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 11px;
}

.marquee-quote {
  background: #fff8ec;
  color: var(--wine);
  padding: 45px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.marquee-quote p {
  font-family: 'Caveat',Georgia,serif;
  font-size: 42px;
  line-height: 1.1;
  max-width: 750px;
  margin: 0 auto;
}

.marquee-quote p span {
  color: var(--hot);
}

.marquee-quote .tiny {
  display: block;
  margin-top: 18px;
  font-size: 9px;
}

.lab-section {
  background: var(--notebook);
  padding: 70px 0;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.lab-intro h2 span {
  color: var(--hot);
}

.lab-intro .hand {
  font-size: 28px;
  margin-top: 25px;
  display: block;
  transform: rotate(-4deg);
}

.tools {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 23px 0;
  font-size: 14px;
  font-weight: 500;
}

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

.num {
  font-size: 10px;
  color: var(--hot);
}

.plus {
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
}

details[open] .plus {
  transform: rotate(45deg);
}

.tool-body {
  padding: 0 15px 22px 30px;
  font-size: 13px;
  opacity: .8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border-bottom: 1px solid currentColor;
  margin-top: 16px;
  padding-bottom: 4px;
}

.text-link svg {
  width: 13px;
  height: 13px;
}

.final-section {
  padding: 65px 0;
  background: var(--hot);
  color: #fff9ed;
  overflow: hidden;
  position: relative;
}

.final-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.final-section h2 {
  font-size: clamp(37px,5.5vw,70px);
  position: relative;
  z-index: 2;
}

.final-section .button {
  background: #fff6e9;
  color: var(--wine);
  max-width: 420px;
}

.final-visual {
  height: 400px;
  position: relative;
}

.final-visual img {
  height: 430px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(5deg);
  filter: drop-shadow(5px 0 0 #fff5e4) drop-shadow(-5px 0 0 #fff5e4);
}

.final-visual .note {
  top: 0;
  right: 0;
  transform: rotate(7deg);
  font-size: 25px;
}

.footer-main {
  padding: 35px 0 45px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  background: var(--wine);
  color: #ffc4db;
}

.footer-copy {
  font-size: 10px;
  max-width: 300px;
  opacity: .65;
  margin-top: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 11px;
  align-items: flex-start;
  padding-top: 3px;
}

.footer-main .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.mobile-dock {
  display: none;
}

.drawer {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: var(--pink);
  color: var(--ink);
  z-index: 40;
  padding: max(25px, env(safe-area-inset-top)) max(25px, env(safe-area-inset-right)) max(25px, env(safe-area-inset-bottom)) max(25px, env(safe-area-inset-left));
}

.drawer[open] {
  display: block;
}

body:has(.drawer[open]) { overflow: hidden; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer nav {
  display: grid;
  gap: 25px;
  margin-top: 80px;
  font-family: 'Dela Gothic One',Arial,sans-serif;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.drawer small {
  display: block;
  margin-top: 50px;
}

.close {
  float: right;
}

.dialog {
  background: #fff6ea;
  color: #4a0928;
  padding: 30px;
  border: 3px solid #65072e;
  border-radius: 20px;
  width: min(92vw,500px);
  max-height: 85dvh;
  box-shadow: 10px 10px 0 #ed3b8244;
}

.dialog::backdrop {
  background: #30091cbb;
  backdrop-filter: blur(5px);
}

.modal-label {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 15px 0 30px;
}

.dialog h2 {
  font-size: 28px;
  clear: both;
  line-height: 1.1;
  letter-spacing: -1px;
}

.dialog p {
  font-size: 13px;
  line-height: 1.7;
}

#modal-question { font-weight: 600; }

.dialog .button {
  font-size: 12px;
}

.scene-bob {
  animation: float 7s ease-in-out infinite;
  animation-delay: var(--delay,0s);
}

.scene-1 { --delay: -1s; }
.scene-2 { --delay: -4s; }
.scene-3 { --delay: -2s; }
.scene-4 { --delay: -5s; }
.scene-5 { --delay: -3s; }
.scene-6 { --delay: -6s; }

.collage-motion-paused .scene-bob,
.collage-motion-paused .ticker-track {
  animation-play-state: paused;
}

@keyframes float {
  50% {
    translate: 0 -8px;
  }
}

.reveal {
  animation: reveal .25s ease;
}

@keyframes reveal {
  from {
    opacity: .3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:800px) {
  .wrap {
    width: calc(100% - 36px);
  }
  header {
    padding: 19px 0 17px;
  }
  .wordmark {
    font-size: 22px;
  }
  .header-right {
    gap: 8px;
  }
  .header-right>a {
    display: none;
  }
  .icon-btn {
    height: 33px;
    width: 33px;
    font-size: 16px;
  }
  .menu-btn {
    display: grid;
  }
  .hero {
    padding-top: 8px;
  }
  .hero-top .tiny {
    font-size: 8px;
    letter-spacing: .1em;
    padding: 7px 12px;
  }
  h1 {
    font-size: clamp(34px,9.4vw,69px);
    margin: 23px 12px 0;
    letter-spacing: -.06em;
    line-height: 1.06;
  }
  h1 .title-first {
    font-size: 1.55em;
    color: var(--wine);
    line-height: .92;
    margin-bottom: 7px;
  }
  :root[data-theme="dark"] body h1 .title-first {
    color: var(--ink);
  }
  .hero-scene {
    height: 410px;
    margin: 8px auto 0;
    width: min(100%,500px);
  }
  .hero-zina {
    height: 407px;
    max-width: 96%;
    bottom: -1px;
  }
  .hero-pair {
    width: 150px;
    height: 105px;
    border-width: 4px;
    opacity: .85;
  }
  .pair-a {
    left: -35px;
    top: 5px;
    transform: rotate(-12deg);
  }
  .pair-b {
    right: -35px;
    top: 20px;
    transform: rotate(11deg);
  }
  .pair-c {
    left: -42px;
    bottom: 40px;
  }
  .pair-d {
    right: -32px;
    bottom: 55px;
  }
  .speech {
    font-size: 9px;
    padding: 8px 10px;
    border-radius: 10px;
    max-width: 145px;
  }
  .speech small {
    font-size: 7px;
    margin-bottom: 2px;
  }
  .msg-a {
    left: 9px;
    top: 126px;
    transform: rotate(-7deg);
    max-width: 123px;
  }
  .msg-b {
    right: 4px;
    top: 245px;
    max-width: 128px;
  }
  .msg-c {
    display: none;
  }
  .hero-note {
    left: 9px;
    top: 305px;
    width: 130px;
    font-size: 20px;
    padding: 13px;
    transform: rotate(-9deg);
  }
  .note::before {
    width: 48px;
    height: 15px;
    top: -7px;
  }
  .hero-sticker {
    width: 79px;
    height: 79px;
    font-size: 8px;
    right: 4px;
    top: 124px;
    transform: rotate(10deg);
  }
  .heart {
    width: 45px;
    height: 45px;
  }
  .heart-a {
    left: 7%;
    top: 95px;
    display: none;
  }
  .heart-b {
    right: 9px;
    bottom: 20px;
    width: 47px;
  }
  .hero-bottom {
    max-width: none;
    padding: 16px 22px 0;
    margin: 0 auto 23px;
  }
  .hero-bottom p {
    font-size: 12px;
    margin-bottom: 14px;
  }
  .hero-bottom .button {
    padding: 16px 20px;
    min-height: 55px;
    font-size: 12px;
  }
  .hero-bottom .hand {
    font-size: 21px;
    margin-top: 10px;
  }
  .ticker {
    padding: 13px 0;
    margin: 12px 0;
  }
  .ticker-track {
    font-size: 12px;
    gap: 18px;
  }
  .ticker b {
    font-size: 21px;
  }
  .section {
    padding: 43px 0;
  }
  .section-label {
    margin-bottom: 18px;
    gap: 10px;
  }
  .section-label .tiny {
    font-size: 8px;
    letter-spacing: .08em;
  }
  .section-label .hand {
    font-size: 21px;
  }
  .notebook {
    padding: 30px 20px 25px;
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: 7px;
  }
  .notebook:before {
    left: -6px;
    top: 25px;
    bottom: 25px;
    width: 13px;
    background-size: 13px 22px;
  }
  .notebook h2 {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -.06em;
    margin-bottom: 18px;
  }
  .notebook .lead {
    font-size: 12px;
    max-width: 270px;
  }
  .chips {
    gap: 7px;
    margin-top: 20px;
  }
  .chip {
    font-size: 10px;
    padding: 10px 11px;
  }
  .analysis {
    padding: 19px 17px;
    transform: rotate(2deg);
    margin-bottom: 6px;
  }
  .analysis-top {
    font-size: 8px;
    gap: 8px;
    padding-bottom: 12px;
  }
  .tiny-z {
    height: 25px;
    width: 25px;
  }
  .analysis h3 {
    font-size: 23px;
  }
  .analysis p {
    font-size: 12px;
    line-height: 1.6;
  }
  .analysis-bottom {
    font-size: 8px;
  }
  .example-label {
    font-size: 9px;
    margin-top: 15px;
  }
  .story-section {
    padding: 37px 0 34px;
    border-radius: 24px 24px 0 0;
  }
  .story-intro {
    display: block;
  }
  .story-intro h2 {
    font-size: 37px;
    line-height: 1.03;
    margin-bottom: 18px;
  }
  .story-intro p {
    max-width: 290px;
    font-size: 12px;
    line-height: 1.6;
  }
  .story-stage {
    height: 645px;
    margin: 25px -5px 12px;
    border-radius: 16px;
  }
  .story-stage:before {
    background-size: auto 100%;
    opacity: .16;
  }
  .story-stage .couple {
    width: 48%;
    height: 145px;
    border-width: 4px;
  }
  .scene-1 {
    left: -4%;
    top: 22px;
    transform: rotate(-10deg);
  }
  .scene-2 {
    left: auto;
    right: -4%;
    top: 35px;
    transform: rotate(9deg);
  }
  .scene-3 {
    left: -4%;
    right: auto;
    top: 241px;
    transform: rotate(7deg);
  }
  .scene-4 {
    left: auto;
    right: -4%;
    top: 255px;
    bottom: auto;
    transform: rotate(-9deg);
  }
  .scene-5 {
    left: -4%;
    bottom: 35px;
    transform: rotate(-8deg);
  }
  .scene-6 {
    right: -4%;
    bottom: 22px;
    transform: rotate(9deg);
  }
  .chat {
    font-size: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    max-width: 166px;
    min-height: 44px;
  }
  .chat small {
    font-size: 7px;
    margin-top: 3px;
  }
  .chat1 {
    left: 10px;
    top: 153px;
    max-width: 145px;
  }
  .chat2 {
    left: auto;
    right: 10px;
    top: 174px;
    max-width: 140px;
  }
  .chat3 {
    right: auto;
    left: 9px;
    top: 370px;
    max-width: 148px;
  }
  .chat4 {
    left: auto;
    right: 10px;
    bottom: 218px;
    max-width: 145px;
  }
  .chat5 {
    left: 10px;
    bottom: 15px;
    max-width: 150px;
  }
  .chat6 {
    right: 10px;
    bottom: 4px;
    max-width: 141px;
  }
  .story-note {
    font-size: 23px;
    min-width: 0;
    width: 160px;
    left: 50%;
    top: 207px;
    padding: 12px 10px;
    transform: translateX(-50%) rotate(-5deg);
    z-index: 4;
  }
  .stage-heart {
    left: 43%;
    top: 63%;
    font-size: 45px;
  }
  .stage-voice {
    right: 17%;
    top: auto;
    bottom: 183px;
    font-size: 8px;
    padding: 7px 11px;
    transform: rotate(4deg);
  }
  .voice-bars {
    height: 17px;
    gap: 2px;
    margin: 0 5px;
  }
  .voice-bars i {
    width: 2px;
  }
  .story-controls {
    font-size: 8px;
    line-height: 1.4;
  }
  .story-controls button {
    font-size: 9px;
    white-space: nowrap;
    padding: 8px 0;
  }
  .marquee-quote {
    padding: 36px 24px;
  }
  .marquee-quote p {
    font-size: 30px;
  }
  .marquee-quote .tiny {
    font-size: 8px;
    margin-top: 16px;
  }
  .lab-section {
    padding: 40px 0;
  }
  .lab-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lab-intro h2 {
    font-size: 33px;
  }
  .lab-intro .lead {
    font-size: 12px;
    max-width: 285px;
  }
  .lab-intro .hand {
    font-size: 24px;
    margin-top: 20px;
  }
  summary {
    padding: 20px 0;
    font-size: 12px;
    gap: 12px;
  }
  .num {
    font-size: 9px;
  }
  .tool-body {
    font-size: 12px;
    padding: 0 8px 20px 24px;
  }
  .text-link {
    font-size: 11px;
  }
  .final-section {
    padding: 38px 0 0;
  }
  .final-content {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .final-section h2 {
    font-size: 39px;
    line-height: 1.05;
    max-width: 350px;
    margin-bottom: 20px;
  }
  .final-section .lead {
    font-size: 12px;
    max-width: 270px;
    margin-bottom: 20px;
  }
  .final-section .button {
    font-size: 12px;
    padding: 17px 20px;
  }
  .final-visual {
    height: 310px;
    margin-top: 28px;
  }
  .final-visual img {
    height: 335px;
    bottom: -4px;
    left: 55%;
    max-width: 92%;
    transform: translateX(-50%) rotate(5deg);
  }
  .final-visual .note {
    left: 0;
    right: auto;
    top: 25px;
    transform: rotate(-10deg);
    font-size: 22px;
    max-width: 130px;
    padding: 13px;
  }
  .footer-main {
    padding: 30px 0 100px;
  }
  .footer-main .wrap {
    display: block;
  }
  .footer-copy {
    font-size: 9px;
    max-width: 270px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
    font-size: 9px;
    margin-top: 25px;
  }
  .mobile-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    align-items: center;
    gap: 12px;
    background: #fff5e8;
    color: var(--wine);
    padding: 10px 18px max(11px,env(safe-area-inset-bottom));
    border-top: 1px solid #65072e22;
    transition: transform .25s;
    box-shadow: 0 -4px 30px #65072e10;
  }
  .mobile-dock.hidden {
    transform: translateY(110%);
  }
  .dock-avatar {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    background: var(--pink);
    flex-shrink: 0;
  }
  .dock-copy {
    font-size: 9px;
    line-height: 1.3;
    flex: 1;
  }
  .dock-copy strong {
    font-size: 11px;
    display: block;
  }
  .mobile-dock>a {
    background: var(--wine);
    color: #fff5ed;
    padding: 11px 15px;
    border-radius: 50px;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-dock svg {
    width: 13px;
    height: 13px;
  }
  .dialog {
    padding: 22px;
    border-radius: 18px;
    border-width: 2px;
  }
  .dialog h2 {
    font-size: 25px;
  }
  .dialog .button {
    font-size: 11px;
    padding: 16px 18px;
  }
  .dialog .button svg {
    width: 15px;
  }
  .modal-label {
    font-size: 8px;
  }
  .drawer nav {
    font-size: 25px;
  }
}

@media(max-width:350px) {
  h1 {
    font-size: 9vw;
  }
  .hero-scene {
    height: 365px;
  }
  .hero-zina {
    height: 365px;
  }
  .hero-note {
    top: 270px;
  }
  .msg-b {
    top: 215px;
  }
  .hero-sticker {
    top: 110px;
  }
  .notebook {
    padding-inline: 16px;
  }
  .notebook h2 {
    font-size: 26px;
  }
  .story-intro h2 {
    font-size: 32px;
  }
  .chat {
    font-size: 8px;
    max-width: 135px;
  }
  .chat1,.chat2,.chat3,.chat4,.chat5,.chat6 {
    max-width: 135px;
  }
  .dock-copy {
    font-size: 8px;
  }
  .mobile-dock {
    gap: 8px;
    padding-inline: 12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

/* The original pink concept, with larger type and more room to read. */
body {
  font-size: 16px;
}

.header-right {
  font-size: 15px;
}

.button {
  font-size: 17px;
  min-height: 60px;
}

.hero-bottom p {
  font-size: 17px;
  line-height: 1.65;
}

.hero-bottom .hand {
  font-size: 26px;
  line-height: 1.2;
}

.hero-top .tiny,.tiny {
  font-size: 12px;
}

.speech {
  font-size: 15px;
  line-height: 1.4;
  padding: 13px 16px;
}

.speech small {
  font-size: 11px;
}

.note {
  line-height: 1.12;
}

.notebook .lead {
  font-size: 17px;
  line-height: 1.7;
}

.chip {
  font-size: 15px;
  min-height: 48px;
  padding: 12px 16px;
}

.analysis-top {
  font-size: 11px;
  line-height: 1.5;
}

.analysis h3 {
  font-size: 30px;
  line-height: 1.2;
}

.analysis p {
  font-size: 17px;
  line-height: 1.7;
}

.analysis-bottom {
  font-size: 12px;
  line-height: 1.5;
}

.example-label {
  font-size: 13px;
  line-height: 1.65;
}

.story-intro p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 350px;
}

.story-stage {
  height: 820px;
}

.chat {
  font-size: 15px;
  line-height: 1.4;
  min-height: 52px;
  max-width: 245px;
}

.chat small {
  font-size: 11px;
  line-height: 1.5;
}

.story-note {
  top: 44%;
  font-size: 32px;
}

.story-controls {
  font-size: 13px;
  line-height: 1.6;
}

.story-controls button {
  font-size: 14px;
  min-height: 44px;
}

.stage-voice {
  font-size: 12px;
}

.lab-intro .lead,.tool-body {
  font-size: 17px;
  line-height: 1.7;
}

summary {
  font-size: 18px;
  min-height: 72px;
}

.num {
  font-size: 13px;
}

.text-link {
  font-size: 16px;
  min-height: 44px;
}

.final-section .lead {
  font-size: 17px;
  line-height: 1.7;
}

.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  opacity: .8;
}

.footer-links {
  font-size: 14px;
  line-height: 1.5;
}

.dialog p {
  font-size: 17px;
  line-height: 1.7;
}

.dialog .button {
  font-size: 16px;
  line-height: 1.5;
}

.dialog h2 {
  font-size: 30px;
  line-height: 1.18;
}

.modal-label {
  font-size: 12px;
}

.dialog .example-label {
  font-size: 13px;
}

.dialog .icon-btn {
  height: 44px;
  width: 44px;
}

.familiar-section {
  background: var(--pink);
  padding: 0 0 60px;
}

.familiar-card {
  background: #ffecf5;
  border: 2px solid #ffffffa0;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  position: relative;
  overflow: hidden;
  padding: 45px 45px 0;
  color: #4a0928;
}

.familiar-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}

.familiar-copy .tiny {
  color: var(--hot);
}

.familiar-copy h2 {
  font-size: 39px;
  line-height: 1.12;
  margin: 25px 0 20px;
}

.familiar-copy h2 span {
  color: var(--hot);
}

.familiar-copy p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 420px;
}

.familiar-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--hot);
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 17px 20px;
  border-radius: 50px;
  min-height: 56px;
  margin-top: 25px;
  width: 100%;
  max-width: 340px;
}

.familiar-button svg { vertical-align: middle; }
.final-kicker { margin-bottom: 22px; }

.familiar-visual {
  position: relative;
  min-height: 470px;
}

.familiar-visual img {
  position: absolute;
  height: 480px;
  width: 100%;
  object-fit: contain;
  bottom: -8px;
  left: 0;
}

.familiar-stamp {
  position: absolute;
  bottom: 20px;
  right: 0;
  background: white;
  padding: 14px 16px;
  transform: rotate(6deg);
  font-size: 25px;
  line-height: 1.1;
  box-shadow: 0 5px 0 #65072e12;
}

@media(max-width:800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  header {
    padding-block: 20px;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .wordmark {
    font-size: 23px;
  }
  .header-right {
    gap: 7px;
  }
  .hero-top .tiny {
    font-size: 10px;
    padding: 9px 12px;
    max-width: calc(100% - 32px);
    line-height: 1.45;
    letter-spacing: .06em;
  }
  .hero-scene {
    height: 465px;
    margin-top: 18px;
  }
  .hero-zina {
    height: 455px;
    max-width: 100%;
    bottom: 0;
  }
  .speech {
    font-size: 12px;
    line-height: 1.4;
    padding: 10px 12px;
    max-width: 153px;
  }
  .speech small {
    font-size: 10px;
    margin-bottom: 3px;
  }
  .msg-a {
    left: 9px;
    top: 145px;
    max-width: 130px;
  }
  .msg-b {
    right: 6px;
    top: 270px;
    max-width: 153px;
  }
  .hero-note {
    top: 335px;
    width: 153px;
    font-size: 24px;
    line-height: 1.1;
    padding: 13px;
  }
  .hero-sticker {
    width: 90px;
    height: 90px;
    font-size: 10px;
    line-height: 1.15;
    right: 4px;
    top: 128px;
  }
  .hero-bottom {
    padding: 22px 22px 0;
    margin-bottom: 30px;
  }
  .hero-bottom p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .hero-bottom .button {
    font-size: 16px;
    min-height: 60px;
    padding: 17px 20px;
  }
  .hero-bottom .hand {
    font-size: 25px;
    line-height: 1.2;
    margin-top: 14px;
  }
  .section {
    padding: 50px 0;
  }
  .section-label {
    gap: 12px;
    align-items: flex-start;
  }
  .section-label .tiny {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .06em;
  }
  .section-label .hand {
    font-size: 23px;
    line-height: 1.15;
    text-align: right;
    max-width: 135px;
  }
  .notebook {
    padding: 32px 22px 28px;
    gap: 35px;
  }
  .notebook h2 {
    font-size: 29px;
    line-height: 1.13;
    letter-spacing: -.05em;
  }
  .notebook .lead {
    font-size: 16px;
    line-height: 1.7;
    max-width: none;
  }
  .chips {
    gap: 9px;
  }
  .chip {
    font-size: 14px;
    min-height: 48px;
    padding: 11px 13px;
  }
  .analysis {
    padding: 23px 18px;
    transform: rotate(1deg);
  }
  .analysis-top {
    font-size: 10px;
    line-height: 1.5;
    gap: 8px;
  }
  .tiny-z {
    width: 32px;
    height: 32px;
  }
  .analysis h3 {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -.8px;
  }
  .analysis p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  .analysis-bottom {
    font-size: 11px;
    flex-wrap: wrap;
    line-height: 1.5;
    margin-top: 20px;
  }
  .example-label {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 18px;
  }
  .story-section {
    padding: 42px 0 35px;
  }
  .story-intro h2 {
    font-size: 35px;
    line-height: 1.1;
    margin-bottom: 22px;
  }
  .story-intro p {
    font-size: 16px;
    line-height: 1.75;
    max-width: 320px;
  }
  .story-stage {
    height: 1080px;
    margin: 30px -4px 15px;
  }
  .story-stage .couple {
    width: 48%;
    height: 155px;
  }
  .scene-1 {
    top: 25px;
  }
  .scene-2 {
    top: 45px;
  }
  .scene-3 {
    top: 420px;
  }
  .scene-4 {
    top: 440px;
    bottom: auto;
  }
  .scene-5 {
    top: 800px;
    bottom: auto;
  }
  .scene-6 {
    top: 820px;
    bottom: auto;
  }
  .chat {
    font-size: 13px;
    line-height: 1.45;
    padding: 11px 12px;
    max-width: 47%;
    min-height: 56px;
  }
  .chat small {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 6px;
  }
  .chat1 {
    top: 165px;
    left: 8px;
    max-width: 47%;
  }
  .chat2 {
    top: 205px;
    right: 8px;
    left: auto;
    max-width: 47%;
  }
  .chat3 {
    top: 560px;
    left: 8px;
    right: auto;
    max-width: 47%;
  }
  .chat4 {
    top: 610px;
    right: 8px;
    left: auto;
    bottom: auto;
    max-width: 47%;
  }
  .chat5 {
    top: 940px;
    bottom: auto;
    left: 8px;
    max-width: 47%;
  }
  .chat6 {
    top: 980px;
    bottom: auto;
    right: 8px;
    max-width: 47%;
  }
  .story-note {
    top: 300px;
    width: 205px;
    font-size: 28px;
    line-height: 1.05;
    padding: 18px 15px;
  }
  .stage-voice {
    top: 740px;
    bottom: auto;
    right: 10%;
    font-size: 11px;
  }
  .stage-heart {
    top: 66%;
    left: 12%;
  }
  .story-controls {
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.6;
    gap: 14px;
  }
  .story-controls button {
    font-size: 13px;
    white-space: normal;
    max-width: 120px;
    min-height: 48px;
    text-align: right;
    line-height: 1.4;
    padding: 0;
  }
  .familiar-section {
    padding-bottom: 45px;
  }
  .familiar-card {
    padding: 30px 24px 0;
    display: block;
    border-radius: 22px;
  }
  .familiar-copy {
    padding-bottom: 0;
  }
  .familiar-copy .tiny {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .06em;
  }
  .familiar-copy h2 {
    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 22px 0;
  }
  .familiar-copy p {
    font-size: 16px;
    line-height: 1.7;
  }
  .familiar-button {
    font-size: 15px;
    min-height: 58px;
    padding: 16px 18px;
    margin-top: 23px;
  }
  .familiar-visual {
    height: 370px;
    min-height: 0;
    margin-top: 22px;
  }
  .familiar-visual img {
    height: 375px;
    width: 100%;
    left: 0;
    bottom: 0;
  }
  .familiar-stamp {
    font-size: 23px;
    line-height: 1.05;
    bottom: 20px;
    right: -10px;
    padding: 13px;
    max-width: 155px;
  }
  .marquee-quote p {
    font-size: 35px;
    line-height: 1.2;
  }
  .marquee-quote .tiny {
    font-size: 11px;
    line-height: 1.6;
  }
  .lab-section {
    padding: 46px 0;
  }
  .lab-intro h2 {
    font-size: 32px;
    line-height: 1.15;
  }
  .lab-intro .lead {
    font-size: 16px;
    line-height: 1.7;
    max-width: none;
  }
  .lab-intro .hand {
    font-size: 29px;
    line-height: 1.2;
  }
  .lab-grid {
    gap: 35px;
  }
  summary {
    font-size: 16px;
    line-height: 1.45;
    gap: 12px;
    padding: 22px 0;
    min-height: 75px;
  }
  .num {
    font-size: 12px;
  }
  .plus {
    font-size: 27px;
  }
  .tool-body {
    font-size: 16px;
    line-height: 1.75;
    padding: 0 5px 24px 25px;
  }
  .text-link {
    font-size: 15px;
    min-height: 44px;
    margin-top: 18px;
  }
  .final-section h2 {
    font-size: 37px;
    line-height: 1.1;
  }
  .final-section .tiny {
    font-size: 11px;
    line-height: 1.6;
  }
  .final-section .lead {
    font-size: 16px;
    line-height: 1.7;
    max-width: none;
  }
  .final-section .button {
    font-size: 15px;
    min-height: 60px;
    padding: 18px 20px;
  }
  .final-visual .note {
    font-size: 27px;
    max-width: 145px;
  }
  .footer-main {
    padding: 35px 0 125px;
  }
  .footer-copy {
    font-size: 13px;
    line-height: 1.7;
    max-width: none;
  }
  .footer-links {
    font-size: 13px;
    gap: 15px;
    line-height: 1.5;
  }
  .footer-links a {
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  .mobile-dock {
    padding: 12px 16px max(14px,env(safe-area-inset-bottom));
    gap: 11px;
  }
  .dock-avatar {
    width: 44px;
    height: 44px;
  }
  .dock-copy {
    font-size: 11px;
    line-height: 1.4;
  }
  .dock-copy strong {
    font-size: 13px;
  }
  .mobile-dock>a {
    font-size: 14px;
    min-height: 48px;
    padding: 12px 18px;
  }
  .dialog {
    padding: 25px 22px;
    border-width: 2px;
    max-height: 88dvh;
  }
  .dialog h2 {
    font-size: 26px;
    line-height: 1.2;
  }
  .dialog p {
    font-size: 16px;
    line-height: 1.75;
  }
  .dialog .button {
    font-size: 15px;
    min-height: 58px;
    padding: 16px 18px;
  }
  .modal-label {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  .dialog .example-label {
    font-size: 13px;
    line-height: 1.6;
  }
  .drawer nav {
    font-size: 24px;
    line-height: 1.4;
  }
  .drawer small {
    font-size: 28px;
  }
}

@media(max-width:350px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 20px;
  }
  .hero-note {
    top: 330px;
    width: 145px;
    font-size: 22px;
  }
  .notebook {
    padding-inline: 17px;
  }
  .notebook h2 {
    font-size: 25px;
  }
  .chip {
    font-size: 13px;
  }
  .analysis-top {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .story-intro h2 {
    font-size: 29px;
  }
  .chat {
    font-size: 12px;
  }
  .chat small {
    font-size: 10px;
  }
  .familiar-copy h2 {
    font-size: 23px;
  }
  .familiar-card {
    padding-inline: 20px;
  }
  .lab-intro h2 {
    font-size: 28px;
  }
  .dock-copy {
    display: none;
  }
  .mobile-dock>a {
    flex: 1;
    justify-content: center;
  }
  .mobile-dock {
    gap: 15px;
  }
  .final-section h2 {
    font-size: 32px;
  }
}

/* Action labels within the original visual design */
.disclosure-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.when-open {
  display: none;
}

details[open] .when-open {
  display: inline;
}

details[open] .when-closed {
  display: none;
}

summary .plus {
  margin-left: 6px;
  flex-shrink: 0;
}

.chat small {
  font-weight: 600;
  opacity: .8;
}

.tap-hint {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.tools>.tap-hint {
  padding-top: 14px;
}

a,button,summary {
  touch-action: manipulation;
}

@media(max-width:800px) {
  .disclosure-label {
    font-size: 10px;
  }
  summary {
    gap: 9px;
  }
  .chat small {
    font-size: 11px;
  }
}
