@charset "UTF-8";

:root {
  --ink: #20162b;
  --ink-soft: #5f536b;
  --paper: #fffaf4;
  --white: #ffffff;
  --purple: #a673ef;
  --purple-deep: #6e3cb4;
  --coral: #ff6e61;
  --yellow: #ffd85b;
  --mint: #dff8e9;
  --line: #d9cfdf;
  --dark: #1e1528;
  --header-height: 76px;
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

ul,
p,
h1,
h2,
h3,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 250, 244, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout;
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 40px), var(--shell));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
  min-width: 190px;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 26px 0 23px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  content: "";
  background: transparent;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  background: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 34px;
}

.header-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  color: var(--white);
  background: var(--purple-deep);
  border: 1px solid var(--purple-deep);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-download:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.header-download:hover .i-download {
  background-image: url("../icons/download-dark.svg");
}

.mobile-download,
.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(166, 115, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 115, 239, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: -130px;
  left: -80px;
  width: 340px;
  height: 340px;
  content: "";
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(610px, 1.18fr);
  gap: 46px;
  align-items: center;
  width: min(calc(100% - 40px), var(--shell));
  min-height: 710px;
  margin: 0 auto;
  padding: 50px 0;
}

.hero-copy {
  padding: 28px 0;
}

.eyebrow,
.section-index,
.gallery-kicker,
.result-label,
.download-copy > p {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(68px, 7.5vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-slogan {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-intro {
  max-width: 520px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}

.hero-download-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 230px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 800;
}

.primary-link:hover {
  color: var(--ink);
  background: var(--yellow);
}

.primary-link:hover .i-download {
  background-image: url("../icons/download-dark.svg");
}

.age-label {
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-gallery {
  width: 100%;
  min-width: 0;
  padding: 28px;
  color: var(--white);
  background: var(--dark);
  border: 1px solid var(--ink);
  border-radius: 5px;
  box-shadow: 14px 14px 0 var(--coral);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-kicker {
  color: var(--yellow);
}

.gallery-head h2 {
  margin-top: 5px;
  font-size: 26px;
  line-height: 1.2;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 5px;
  cursor: pointer;
}

.gallery-arrow:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.gallery-arrow:hover .i-arrow-left,
.gallery-arrow:hover .i-arrow-right {
  filter: invert(1);
}

.gallery-viewport {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--yellow) rgba(255, 255, 255, 0.16);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.gallery-viewport::-webkit-scrollbar {
  height: 7px;
}

.gallery-viewport::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.16);
}

.gallery-viewport::-webkit-scrollbar-thumb {
  background: var(--yellow);
}

.gallery-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-bottom: 10px;
}

.shot-card {
  flex: 0 0 250px;
  width: 250px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  scroll-snap-align: start;
  overflow: hidden;
}

.shot-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 450px;
  background: #f7f4f8;
  border-radius: 5px 5px 0 0;
  overflow: visible;
}

.shot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.shot-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 10px;
  min-height: 82px;
  padding: 14px;
}

.shot-card figcaption span {
  grid-row: 1 / 3;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.shot-card figcaption strong {
  font-size: 16px;
  line-height: 1.35;
}

.shot-card figcaption small {
  color: var(--ink-soft);
  font-size: 12px;
}

.gallery-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-align: right;
}

.section {
  padding: 100px 0;
}

.section-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading > p {
  padding-bottom: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}

.recipe-section {
  background: var(--white);
}

.recipe-workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border: 1px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}

.recipe-controls {
  padding: 36px;
  background: var(--paper);
  border-right: 1px solid var(--ink);
}

.choice-group + .choice-group {
  margin-top: 28px;
}

.choice-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
}

.choice-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-group[data-choice-group="status"] .choice-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  min-height: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.choice:hover,
.choice.is-active {
  color: var(--white);
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

.recipe-result {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 36px;
  background: var(--mint);
}

.recipe-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 260px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.recipe-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-label {
  color: var(--purple-deep);
}

.recipe-copy h3 {
  margin-top: 7px;
  font-size: 30px;
  line-height: 1.25;
}

.result-meta {
  margin-top: 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.recipe-copy > p:last-of-type {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 14px;
}

.save-recipe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.save-recipe.is-saved {
  color: var(--ink);
  background: var(--yellow);
}

.shelf-section {
  color: var(--white);
  background: var(--dark);
}

.section-heading-light > p,
.shelf-section .section-heading > p,
.voices-section .section-heading > p {
  color: rgba(255, 255, 255, 0.7);
}

.tempo-board {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  overflow: hidden;
}

.tempo-days {
  display: flex;
  flex-direction: column;
  background: #2b1c38;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.tempo-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 24px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  text-align: left;
}

.tempo-day span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
}

.tempo-day strong {
  font-size: 16px;
}

.tempo-day.is-active {
  color: var(--ink);
  background: var(--yellow);
}

.tempo-day.is-active span {
  color: var(--ink-soft);
}

.tempo-panel {
  padding: 10px 28px;
}

.tempo-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 136px;
  padding: 18px 0;
}

.tempo-item + .tempo-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tempo-item img {
  width: 82px;
  height: 100px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
}

.tempo-item span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}

.tempo-item h3 {
  margin-top: 5px;
  font-size: 20px;
}

.tempo-item p {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.remind-button {
  min-width: 82px;
  min-height: 42px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.remind-button.is-set {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.guide-section {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 80px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-number {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
}

.faq-question strong {
  font-size: 16px;
}

.faq-answer {
  padding: 0 56px 24px 77px;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-item.is-open {
  background: var(--white);
}

.faq-item.is-open .faq-question > .i-plus {
  background-image: url("../icons/minus.svg");
}

.official-site {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.official-site summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 800;
}

.official-site summary::-webkit-details-marker {
  display: none;
}

.official-site summary span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.official-site[open] summary > .i-plus {
  background-image: url("../icons/minus.svg");
}

.official-site-answer {
  padding: 0 56px 22px;
}

.official-site-answer a {
  color: var(--purple-deep);
  font-size: 14px;
  text-decoration: underline;
}

.voices-section {
  color: var(--white);
  background: #39234d;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.voice-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 4px solid var(--yellow);
  border-radius: 5px;
}

.voice-user {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.voice-user strong {
  font-size: 14px;
}

.voice-rating {
  min-width: 42px;
  padding: 3px 8px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.voice-card > p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.voice-card time {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-align: right;
}

.download-section {
  padding: 68px 20px;
  background: var(--yellow);
}

.download-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 260px;
  align-items: stretch;
  width: min(100%, var(--shell));
  min-height: 170px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 5px;
  overflow: hidden;
}

.download-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--coral);
  border-right: 1px solid var(--ink);
}

.download-number span {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
}

.download-number small {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.download-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 38px;
}

.download-copy h2 {
  margin-top: 5px;
  font-size: 30px;
  line-height: 1.25;
}

.download-copy > span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  color: var(--white);
  background: var(--purple-deep);
  border-left: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.download-link:hover {
  color: var(--ink);
  background: var(--mint);
}

.download-link:hover .i-download {
  background-image: url("../icons/download-dark.svg");
}

.site-footer {
  color: var(--white);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 40px;
  align-items: center;
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  padding: 44px 0 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  white-space: nowrap;
}

.footer-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.footer-nav a {
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--coral);
  border: 1px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--yellow);
}

i[class^="i-"],
i[class*=" i-"] {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.i-download { background-image: url("../icons/download.svg"); }
.i-menu { background-image: url("../icons/menu.svg"); }
.i-search { background-image: url("../icons/search.svg"); }
.i-bookmark { background-image: url("../icons/bookmark.svg"); }
.i-bell { background-image: url("../icons/bell.svg"); }
.i-arrow-left { background-image: url("../icons/arrow-left.svg"); }
.i-arrow-right { background-image: url("../icons/arrow-right.svg"); }
.i-plus { background-image: url("../icons/plus.svg"); }
.i-globe { background-image: url("../icons/globe.svg"); }

.i-avatar {
  width: 40px !important;
  height: 40px !important;
  background-color: var(--mint);
  background-image: url("../icons/avatar.svg");
  background-size: 22px !important;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.i-top {
  width: 22px !important;
  height: 22px !important;
  background-image: url("../icons/top.svg");
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-nav ul { gap: 18px; }
  .header-actions { margin-left: 22px; }

  .hero-inner {
    grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
    gap: 28px;
  }

  .hero h1 { font-size: 72px; }
  .hero-slogan { font-size: 26px; }
  .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; }

  .header-inner { width: calc(100% - 24px); }
  .brand { min-width: 0; }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong { font-size: 16px; }

  .site-nav {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 12px;
    left: 12px;
    display: none;
    margin: 0;
    padding: 10px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 5px;
  }

  .site-nav.is-open,
  html.nav-open .site-nav,
  body.nav-open .site-nav { display: block; }

  .site-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-nav li + li { border-top: 1px solid var(--line); }

  .site-nav a {
    padding: 13px 12px;
    font-size: 14px;
  }

  .site-nav a::after { display: none; }

  .header-actions {
    margin-left: auto;
  }

  .header-download {
    min-height: 42px;
    padding: 0 14px;
  }

  .desktop-download,
  .header-download .i-download { display: none; }

  .mobile-download,
  .menu-toggle { display: inline-flex; }

  .menu-toggle {
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 50px 0 60px;
  }

  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(58px, 15vw, 82px); }

  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-points { justify-content: center; }
  .hero-download-row { align-items: center; }

  .hero-gallery {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
  }

  .section { padding: 78px 0; }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 34px;
    text-align: center;
  }

  .section-heading > p {
    max-width: 620px;
    margin: 0 auto;
  }

  .recipe-workbench,
  .download-shell { grid-template-columns: 1fr; }

  .recipe-controls {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .download-number {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .download-link {
    min-height: 80px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .header-inner { width: calc(100% - 20px); }
  .brand { gap: 7px; }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong { font-size: 14px; }

  .brand-copy span {
    max-width: none;
    overflow: visible;
    font-size: 12px;
    text-overflow: clip;
  }

  .header-download {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-inner,
  .section-shell,
  .footer-inner { width: calc(100% - 24px); }

  .hero-inner {
    gap: 34px;
    padding-top: 38px;
  }

  .hero::before {
    width: 220px;
    height: 220px;
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(52px, 18vw, 72px);
    letter-spacing: -0.06em;
  }

  .hero-slogan {
    margin-top: 20px;
    font-size: 24px;
  }

  .hero-intro {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-points {
    gap: 6px;
    margin-top: 20px;
  }

  .hero-points li {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .primary-link { width: 100%; }

  .hero-gallery {
    padding: 18px 12px;
    box-shadow: 7px 7px 0 var(--coral);
  }

  .gallery-head {
    align-items: center;
    margin-bottom: 14px;
  }

  .gallery-head h2 { font-size: 22px; }
  .gallery-controls { display: none; }
  .gallery-track { gap: 8px; }
  .gallery-note { text-align: center; }
  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 42px; }

  .recipe-controls,
  .recipe-result { padding: 22px 16px; }

  .choice-buttons { gap: 6px; }

  .choice {
    min-height: 44px;
    padding: 0 6px;
    font-size: 12px;
  }

  .recipe-result {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
  }

  .recipe-cover {
    width: 110px;
    height: 160px;
  }

  .recipe-copy h3 { font-size: 22px; }
  .recipe-copy > p:last-of-type { display: none; }

  .save-recipe {
    width: 100%;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
  }

  .tempo-board { grid-template-columns: 1fr; }

  .tempo-days {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .tempo-day {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 72px;
    padding: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 0;
    text-align: center;
  }

  .tempo-day strong { font-size: 13px; }
  .tempo-panel { padding: 0 14px; }

  .tempo-item {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    min-height: 126px;
  }

  .tempo-item img {
    width: 60px;
    height: 82px;
  }

  .tempo-item h3 { font-size: 16px; }

  .remind-button {
    grid-column: 2;
    justify-self: start;
    min-width: 74px;
    min-height: 36px;
  }

  .faq-question {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    min-height: 72px;
    padding: 0 10px;
  }

  .faq-question strong { font-size: 14px; }
  .faq-answer { padding: 0 30px 20px 50px; }

  .official-site summary {
    min-height: 68px;
    padding: 0 14px;
    font-size: 14px;
  }

  .official-site-answer { padding: 0 44px 18px; }
  .voice-grid { grid-template-columns: 1fr; }

  .voice-card {
    min-height: 0;
    padding: 20px;
  }

  .download-section { padding: 50px 12px; }

  .download-copy {
    padding: 26px 20px;
    text-align: center;
  }

  .download-copy h2 { font-size: 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }

  a,
  button,
  summary {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: 13px; }
  .brand-copy span { font-size: 12px; }
  .header-actions { gap: 6px; }
  .header-download { padding: 0 10px; }

  .shot-card {
    flex-basis: 238px;
    width: 238px;
  }

  .shot-image {
    width: 238px;
    height: 428px;
  }

  .recipe-result { grid-template-columns: 90px minmax(0, 1fr); }

  .recipe-cover {
    width: 90px;
    height: 142px;
  }
}
