:root {
  color-scheme: light;
  --ink: #11162b;
  --muted: #55617b;
  --coral: #ff4a2b;
  --coral-dark: #d9341f;
  --paper: #f4fbff;
  --line: #dceaf2;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body.has-dialog {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
img {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #235fc3;
  outline-offset: 5px;
}
section[id] {
  scroll-margin-top: 28px;
}
.page-width {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.icon {
  flex: 0 0 auto;
  object-fit: contain;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 30;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: white;
  border-radius: 10px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-top: 16px;
}
.site-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 32px;
  padding-inline: 20px;
  border: 1px solid #ffffffc9;
  border-radius: 22px;
  background: #ffffffb8;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px #34546c08;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 750;
  font-size: 22px;
  letter-spacing: -0.6px;
  min-height: 44px;
}
.brand img {
  object-fit: contain;
}
.brand-wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.3px;
}
.brand-name {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0;
  padding-left: 12px;
  border-left: 1px solid #26384924;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: 20px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-links a:hover,
.footer-links a:hover {
  color: var(--coral-dark);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 100px;
  background: var(--coral);
  color: white;
  min-height: 58px;
  padding: 14px 38px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.button:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.nav-download {
  font-size: 15px;
  min-height: 44px;
  padding: 10px 25px;
  gap: 8px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  flex: 0 0 auto;
}
.icon-button:hover {
  background: #e7f1f7;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  height: clamp(760px, 65.4vw, 1000px);
  min-height: 760px;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-copy {
  padding-top: 112px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid #c8deeb;
  border-radius: 100px;
  background: #ffffff8f;
  font-size: 13px;
  font-weight: 600;
  color: #3e5772;
}
.hero-eyebrow img {
  opacity: 0.7;
}
.hero h1 {
  font-size: clamp(62px, 5.7vw, 82px);
  font-weight: 780;
  letter-spacing: -3.6px;
  line-height: 1.12;
  margin-top: 13px;
}
.hero h1 span {
  white-space: nowrap;
}
.hero-highlight {
  color: var(--coral-dark);
}
.hero-copy > p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 19px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  margin-top: 25px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 9px 0 8px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  background: transparent;
  min-height: 44px;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--coral-dark);
}
.scene-ui {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.photo-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 19px;
  border: 1px solid #ffffff80;
  border-radius: 19px;
  color: white;
  background: #24313ca8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 17px;
  white-space: nowrap;
  box-shadow: 0 5px 18px #06243c18;
}
.scene-prompt {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(550px, 50%);
  padding: 8px 10px 8px 19px;
  min-height: 58px;
  border-radius: 100px;
  background: #ffffffed;
  border: 1px solid #ffffffc0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 25px #36638214;
}
.scene-prompt > span:not(.round-action) {
  font-size: 17px;
  line-height: 1.45;
  flex: 1;
}
.scene-prompt > img {
  flex: 0 0 auto;
}
.round-action {
  width: 43px;
  height: 43px;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.scene-prompt:hover .round-action {
  transform: translateY(-2px);
}
.scene-note {
  position: absolute;
  right: 30px;
  bottom: 13px;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 5px #153947;
}
.creation-section {
  padding: 72px 0 64px;
  background: #f1faff;
}
.section-intro h2 {
  font-size: 48px;
  font-weight: 740;
  letter-spacing: -1.5px;
  line-height: 1.3;
}
.section-intro > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.7;
}
.creation-flow {
  list-style: none;
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.1fr;
  gap: 28px;
  margin: 38px 0 0;
  padding: 0;
}
.flow-step {
  text-align: center;
  position: relative;
  min-width: 0;
}
.step-index {
  display: block;
  text-align: left;
  padding-left: 12px;
  margin-bottom: 10px;
  color: #a13b2d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.step-visual {
  height: 225px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-button {
  padding: 0;
  background: transparent;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}
.art-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}
.art-button:hover img {
  transform: translateY(-4px);
}
.prints-art {
  max-width: 460px;
}
.photo-step .art-button {
  width: 110%;
  flex-shrink: 0;
}
.world-step .step-visual {
  position: relative;
}
.world-step .art-button {
  position: absolute;
  width: 118%;
  max-width: none;
  bottom: -4px;
  right: -12px;
}
.island-art {
  max-width: none;
}
.flow-step h3 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
}
.flow-step > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.idea-bubble {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #d4e8f4;
  background: #f8fcff;
  border-radius: 36px;
  padding: 22px 27px;
  text-align: left;
  box-shadow: 0 6px 20px #6593a912;
}
.idea-bubble p {
  font-size: 20px;
  line-height: 1.55;
  white-space: nowrap;
  color: #35435f;
}
.idea-bubble > img {
  width: 24px;
  height: 24px;
  filter: invert(43%) sepia(93%) saturate(3366%) hue-rotate(344deg)
    brightness(105%) contrast(103%);
}
.idea-step::before,
.world-step::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 100px;
  width: 26px;
  height: 26px;
  background: url("assets/icons/arrow-right.svg") center/contain no-repeat;
  opacity: 0.68;
  pointer-events: none;
}
.album-section {
  background: #f5fbff;
  padding: 8px 0 64px;
}
.album-inner {
  width: min(1280px, calc(100% - 112px));
  margin: auto;
  display: grid;
  grid-template-columns: 65% 35%;
  align-items: center;
  min-height: 445px;
  border: 1px solid #dceaf2;
  border-radius: 30px;
  background: #ffffff8f;
  overflow: hidden;
}
.album-art img {
  width: 100%;
  height: 445px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.album-copy {
  padding: 36px 40px 36px 45px;
}
.album-copy h2 {
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: -1px;
  font-weight: 740;
}
.album-copy > p {
  font-size: 21px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 25px;
}
.coral-link {
  color: #e93c21;
  margin-top: 27px;
  font-weight: 500;
}
.coral-link img {
  filter: invert(43%) sepia(93%) saturate(3366%) hue-rotate(344deg)
    brightness(105%) contrast(103%);
}
.download-section {
  background: #e6f4fe url("assets/worlds/closing-sea.webp") center 62% / cover
    no-repeat;
  text-align: center;
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-inner {
  padding: 30px 0;
}
.download-inner h2 {
  font-size: 41px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 740;
  margin-bottom: 14px;
}
.download-description {
  color: #425975;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.download-inner .button {
  min-height: 56px;
  padding-inline: 42px;
}
.site-footer {
  background: #f8fcff;
}
.footer-inner {
  padding: 25px 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 19px;
  gap: 9px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #6e7b90;
  font-size: 12px;
}
.copyright {
  margin: 0;
  font-size: inherit;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: #60708b;
}
.footer-meta .site-registration {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.content-dialog {
  padding: 46px;
  max-width: 490px;
  width: calc(100% - 36px);
  border: 1px solid #dce8f1;
  border-radius: 28px;
  background: #f8fcff;
  color: var(--ink);
  box-shadow: 0 25px 100px #071f3440;
}
.content-dialog::backdrop,
.image-dialog::backdrop {
  background: #0b1c30a6;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
}
.dialog-brand {
  margin: 0 0 22px;
}
.dialog-eyebrow {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #64738b;
  margin-bottom: 12px;
}
.content-dialog h2 {
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.7px;
}
.content-dialog > p:not(.dialog-eyebrow) {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 18px;
}
.content-dialog > .button {
  font-size: 16px;
  min-height: 50px;
  margin-top: 28px;
  padding: 12px 25px;
}
.dialog-help {
  font-size: 14px;
  color: #596b81;
  margin-left: 20px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.album-details {
  margin-top: 20px;
}
.album-details section {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.album-details h3 {
  font-size: 17px;
  margin-bottom: 7px;
}
.album-details p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.image-dialog {
  padding: 0;
  max-width: min(1100px, calc(100% - 40px));
  width: fit-content;
  border: 0;
  border-radius: 22px;
  background: #f1faff;
  color: var(--ink);
  overflow: visible;
}
.image-dialog figure {
  margin: 0;
}
.preview-image {
  max-height: 78vh;
  max-height: 78dvh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 22px 22px 0 0;
}
.image-dialog figcaption {
  font-size: 15px;
  text-align: center;
  padding: 18px 45px;
  line-height: 1.6;
}
.image-dialog .dialog-close {
  background: #ffffffec;
  z-index: 1;
}
@media (min-width: 1600px) {
  .hero-art img {
    object-position: center 56%;
  }
  .hero-copy {
    padding-top: 118px;
  }
}
@media (max-width: 1100px) {
  .page-width {
    width: calc(100% - 64px);
  }
  .site-nav {
    gap: 20px;
  }
  .nav-links {
    gap: 38px;
    margin-left: 20px;
  }
  .brand {
    font-size: 20px;
  }
  .hero {
    height: 800px;
    min-height: 800px;
  }
  .hero h1 {
    font-size: clamp(56px, 7vw, 72px);
  }
  .hero-copy {
    padding-top: 115px;
  }
  .hero-copy > p {
    font-size: 18px;
  }
  .scene-ui {
    bottom: 38px;
  }
  .scene-prompt {
    width: 56%;
    gap: 10px;
  }
  .scene-prompt > span:not(.round-action) {
    font-size: 15px;
  }
  .section-intro h2 {
    font-size: 37px;
  }
  .section-intro > p {
    font-size: 17px;
  }
  .creation-flow {
    gap: 20px;
    grid-template-columns: 1fr 0.8fr 1fr;
  }
  .step-visual {
    height: 220px;
  }
  .idea-bubble {
    padding: 18px 20px;
    border-radius: 30px;
    gap: 10px;
  }
  .idea-bubble p {
    font-size: 16px;
  }
  .flow-step > p {
    font-size: 14px;
  }
  .idea-step::before,
  .world-step::before {
    left: -23px;
    width: 23px;
    top: 99px;
  }
  .album-copy {
    padding: 25px 28px 25px 0;
  }
  .album-copy h2 {
    font-size: 35px;
  }
  .album-copy > p {
    font-size: 17px;
  }
  .album-inner {
    min-height: 340px;
    width: calc(100% - 64px);
    grid-template-columns: 60% 40%;
  }
  .album-art img {
    height: 340px;
  }
  .download-inner h2 {
    font-size: 34px;
  }
  .footer-links {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  :root {
    scroll-padding-top: 20px;
  }
  .page-width {
    width: calc(100% - 40px);
  }
  .site-nav {
    height: 56px;
    gap: 8px;
    padding-inline: 8px;
    border-radius: 18px;
  }
  .brand {
    font-size: 18px;
    gap: 7px;
    letter-spacing: -0.4px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .brand-wordmark {
    font-size: 22px;
    letter-spacing: -1px;
  }
  .brand-name {
    font-size: 14px;
    padding-left: 7px;
    margin-left: 0;
  }
  .nav-download {
    margin-left: auto;
    font-size: 13px;
    padding: 10px 12px;
    min-height: 40px;
    gap: 6px;
  }
  .nav-download .icon {
    width: 17px;
    height: 17px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px;
    background: #f8fcfff7;
    border: 1px solid #dceaf2;
    border-radius: 18px;
    box-shadow: 0 12px 25px #234d6a18;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 10px 18px;
    border-radius: 10px;
    min-height: 48px;
  }
  .nav-links a:hover {
    background: #e7f4fc;
  }
  .hero {
    height: 760px;
    min-height: 0;
    max-height: none;
  }
  .hero-art img {
    object-fit: cover;
    object-position: center bottom;
  }
  .hero-copy {
    padding-top: 107px;
  }
  .hero h1 {
    font-size: clamp(36px, 10.2vw, 59px);
    line-height: 1.16;
    letter-spacing: -1.7px;
  }
  .hero-copy > p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 300px;
    margin: 21px auto 0;
    text-wrap: balance;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 23px;
  }
  .hero-actions .text-link {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .button {
    font-size: 17px;
    min-height: 52px;
    padding: 13px 26px;
    gap: 9px;
  }
  .button .icon {
    width: 21px;
    height: 21px;
  }
  .text-link {
    font-size: 16px;
    gap: 8px;
  }
  .scene-ui {
    bottom: 33px;
    width: calc(100% - 32px);
    gap: 12px;
    flex-wrap: wrap;
  }
  .photo-label {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 13px;
    gap: 7px;
    min-height: 36px;
    position: absolute;
    left: 0;
    bottom: 75px;
  }
  .photo-label img {
    width: 17px;
    height: 17px;
  }
  .scene-prompt {
    width: 100%;
    padding: 7px 8px 7px 14px;
    gap: 10px;
    min-height: 54px;
  }
  .scene-prompt > img {
    width: 20px;
    height: 20px;
  }
  .scene-prompt > span:not(.round-action) {
    font-size: 13px;
    line-height: 1.5;
  }
  .round-action {
    width: 37px;
    height: 37px;
  }
  .round-action img {
    width: 21px;
    height: 21px;
  }
  .scene-note {
    font-size: 10px;
    right: 18px;
    bottom: 10px;
  }
  .creation-section {
    padding: 46px 0 38px;
  }
  .section-intro h2 {
    font-size: 29px;
    line-height: 1.35;
    letter-spacing: -0.9px;
    max-width: 330px;
  }
  .section-intro > p {
    font-size: 15px;
    line-height: 1.9;
    margin-top: 14px;
  }
  .creation-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
  }
  .step-index {
    text-align: center;
    padding-left: 0;
  }
  .step-visual {
    height: auto;
    min-height: 0;
    width: 100%;
  }
  .photo-step .art-button,
  .world-step .art-button {
    position: static;
    width: 100%;
    max-width: 100%;
  }
  .flow-step {
    width: 100%;
    padding: 0 0 35px;
  }
  .photo-step .step-visual {
    height: 224px;
  }
  .prints-art {
    max-width: 340px;
  }
  .flow-step h3 {
    font-size: 21px;
  }
  .flow-step > p {
    font-size: 14px;
    margin-top: 6px;
  }
  .idea-step {
    padding-top: 16px;
    padding-bottom: 39px;
  }
  .idea-step .step-visual {
    height: 136px;
  }
  .idea-bubble {
    padding: 18px 24px;
    gap: 25px;
    border-radius: 30px;
  }
  .idea-bubble p {
    font-size: 18px;
  }
  .idea-bubble > img {
    width: 22px;
    height: 22px;
  }
  .idea-step::before,
  .world-step::before {
    top: -10px;
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
  }
  .world-step {
    padding-top: 19px;
    padding-bottom: 0;
  }
  .world-step .step-visual {
    height: 233px;
  }
  .island-art {
    max-width: 360px;
  }
  .album-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: calc(100% - 32px);
    border-radius: 24px;
  }
  .album-section {
    padding-bottom: 32px;
  }
  .album-art {
    width: 100%;
  }
  .album-art img {
    width: 100%;
    height: auto;
  }
  .album-copy {
    width: 100%;
    padding: 21px 24px 43px;
    text-align: left;
  }
  .album-copy h2 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -0.8px;
  }
  .album-copy > p {
    font-size: 16px;
    line-height: 1.85;
    margin-top: 18px;
  }
  .coral-link {
    margin-top: 20px;
  }
  .download-section {
    min-height: 235px;
    background-position: center bottom;
  }
  .download-inner {
    padding: 35px 0;
  }
  .download-inner h2 {
    font-size: 28px;
    letter-spacing: -0.9px;
    margin-bottom: 14px;
    text-wrap: balance;
  }
  .download-description {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .download-inner .button {
    min-height: 50px;
  }
  .footer-inner {
    padding: 22px 0 16px;
    justify-content: flex-start;
    gap: 14px 20px;
  }
  .footer-brand {
    font-size: 18px;
  }
  .footer-brand img {
    width: 31px;
    height: 31px;
  }
  .footer-meta {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    font-size: clamp(10px, 2.85vw, 11px);
    line-height: 1.8;
    white-space: nowrap;
    order: 2;
  }
  .footer-links {
    width: 100%;
    gap: 24px;
    font-size: 12px;
    order: 1;
    flex-wrap: wrap;
  }
  .footer-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
  .content-dialog {
    padding: 40px 26px 28px;
    max-height: calc(100dvh - 36px);
    overflow: auto;
    border-radius: 24px;
  }
  .content-dialog h2 {
    font-size: 26px;
  }
  .content-dialog > p:not(.dialog-eyebrow) {
    font-size: 15px;
  }
  .content-dialog > .button {
    margin-top: 22px;
  }
  .dialog-help {
    margin-left: 15px;
    font-size: 13px;
  }
  .image-dialog {
    max-width: calc(100% - 24px);
    border-radius: 18px;
  }
  .image-dialog figcaption {
    padding: 16px 24px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .page-width {
    width: calc(100% - 32px);
  }
  .site-nav {
    gap: 5px;
  }
  .brand {
    font-size: 16px;
    gap: 5px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .nav-download {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 38px;
  }
  .nav-download .icon {
    display: none;
  }
  .icon-button {
    width: 40px;
    height: 40px;
  }
  .hero {
    height: 715px;
  }
  .hero-copy {
    padding-top: 110px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 260px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero-actions .button {
    font-size: 16px;
    padding: 13px 18px;
  }
  .hero-actions .text-link {
    font-size: 15px;
  }
  .scene-prompt > span:not(.round-action) {
    font-size: 12px;
  }
  .section-intro h2 {
    font-size: 26px;
  }
  .section-intro > p {
    font-size: 14px;
  }
  .photo-step .step-visual {
    height: 200px;
  }
  .world-step .step-visual {
    height: 212px;
  }
  .download-inner h2 {
    font-size: 26px;
  }
  .dialog-help {
    display: flex;
    margin: 12px 0 0;
  }
  .album-copy {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 700px) {
  .site-nav .brand {
    flex-shrink: 0;
  }
  .site-nav .nav-download {
    font-size: 12px;
    min-height: 38px;
    padding: 9px 12px;
    gap: 6px;
    flex-shrink: 0;
  }
  .site-nav .nav-download .icon {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 360px) {
  .site-nav .nav-download {
    font-size: 12px;
    padding: 9px 12px;
  }
  .site-nav .nav-download .icon {
    display: none;
  }
}

.flow-step > p,
.album-copy > p {
  text-wrap: balance;
}
@media (min-width: 701px) and (max-width: 1100px) {
  .album-inner {
    grid-template-columns: 60% 40%;
  }
  .album-copy {
    padding: 25px 24px;
  }
  .album-copy h2 {
    font-size: 32px;
  }
  .album-copy > p {
    font-size: 16px;
  }
  .photo-step .art-button {
    width: 100%;
  }
  .world-step .art-button {
    width: 110%;
    right: -5px;
  }
}

@media (max-width: 380px) {
  .site-nav .brand-name {
    display: none;
  }
  .site-nav .nav-download .icon {
    display: none;
  }
}

/* Smaller labels keep enough contrast while large actions retain the coral accent. */
.button {
  font-weight: 700;
}
.nav-download,
.content-dialog > .button {
  background: var(--coral-dark);
}
.coral-link {
  color: var(--coral-dark);
}
.scene-note {
  padding: 3px 6px;
  border-radius: 5px;
  background: #173348b3;
  text-shadow: none;
}
@media (max-width: 700px) {
  .button {
    background: var(--coral-dark);
  }
  .site-nav .nav-download {
    min-height: 44px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
}
