:root {
  --red: #7c0013;
  --red-wash: #fdf0ef;
  --paper: #ffffff;
  --warm-white: #fffaf6;
  --card: #f6f7f1;
  --ink: #1f2937;
  --sub: #68707b;
  --muted: #9299a2;
  --line: #e8e9e5;
  --focus: #2675d9;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-shot: 0 25px 62px rgba(42, 25, 28, .15), 0 3px 12px rgba(42, 25, 28, .06);
  --ease: cubic-bezier(.2, .72, .24, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
section[id] { scroll-margin-top: 90px; }

.skip-link { position: fixed; z-index: 100; top: -60px; left: 16px; padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--red); transition: top .18s var(--ease); }
.skip-link:focus { top: 14px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.site-header { position: sticky; z-index: 30; top: 0; width: 100%; max-width: 100vw; border-bottom: 1px solid transparent; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-color: rgba(31, 41, 55, .08); box-shadow: 0 5px 20px rgba(31, 41, 55, .04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 10px; font-size: 16px; font-weight: 760; letter-spacing: -.5px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 3px 9px rgba(124, 0, 19, .14); }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; color: var(--sub); font-size: 13px; }
.site-nav a, .header-cta, .text-link, .social-link { transition: color .18s ease, transform .18s var(--ease), background-color .18s ease, border-color .18s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .text-link:hover, .text-link:focus-visible, .social-link:hover, .social-link:focus-visible { color: var(--red); }
.header-cta { padding: 10px 13px; border: 1px solid var(--line); border-radius: 16px; font-size: 12px; font-weight: 680; }
.header-cta:hover, .header-cta:focus-visible { border-color: var(--red); color: #fff; background: var(--red); }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 660px; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(132deg, #fff 0%, #fff8f3 100%); }
.hero::after { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 35%, rgba(255, 255, 255, .28) 100%); pointer-events: none; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .98fr) minmax(300px, .68fr); align-items: center; gap: clamp(28px, 7vw, 105px); min-height: 660px; padding: 76px clamp(24px, 6.5vw, 76px); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: #876871; font-size: 11px; letter-spacing: .75px; }
.eyebrow span { width: 18px; height: 1px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 19px 0 18px; font-size: clamp(43px, 5.2vw, 66px); font-weight: 760; line-height: 1.16; letter-spacing: -3.5px; }
h1 span { color: var(--red); }
h2 { margin: 14px 0 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 750; line-height: 1.28; letter-spacing: -2.3px; }
.hero-copy > p:not(.eyebrow) { margin-bottom: 0; color: var(--sub); font-size: 15px; line-height: 2; }
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 48px; padding: 13px 16px 13px 20px; border: 0; border-radius: var(--radius); font-size: 14px; font-weight: 680; transition: transform .18s var(--ease), box-shadow .18s ease, background-color .18s ease; }
.button:hover, .button:focus-visible { box-shadow: 0 12px 26px rgba(124, 0, 19, .20); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: #fff; background: var(--red); }
.button span { font-size: 17px; font-weight: 450; line-height: .8; }
.text-link { padding-bottom: 3px; border-bottom: 1px solid #cdd1d3; color: #596270; font-size: 13px; }

.recipe-wall { position: absolute; z-index: 0; top: -90px; right: -10vw; bottom: -90px; display: flex; width: max-content; flex-direction: column; align-items: flex-start; gap: 14px; transform: rotate(-7deg); transform-origin: top right; opacity: .62; }
.recipe-track { display: flex; width: max-content; flex: none; }
.recipe-track-set { display: flex; flex: none; gap: 20px; padding-right: 20px; }
.recipe-track-forward { animation: drift-left 42s linear infinite; }
.recipe-track-backward { margin-left: -280px; animation: drift-right 48s linear infinite; }
.recipe-wall-card { position: relative; display: grid; width: 125px; min-width: 125px; justify-items: center; gap: 9px; padding: 9px 9px 12px; overflow: visible; border-radius: 12px; color: #1f2937; background: #f6f7f1; font-size: 10px; font-weight: 500; line-height: 1; }
.recipe-wall-cover { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.recipe-wall-title { width: 100%; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.recipe-wall-time { display: inline-flex; align-items: center; justify-content: center; gap: 3px; color: #6b7280; font-size: 9px; font-weight: 400; white-space: nowrap; }
.recipe-wall-clock { color: #6b7280; font-size: 11px; line-height: 8px; transform: translateY(-.5px); }
.recipe-wall-lowcal { position: absolute; z-index: 2; top: 7px; left: 7px; padding: 2px 7px; border-radius: 7px; color: #fff; background: #3b82f6; font-size: 8px; font-weight: 700; line-height: 1.4; }
.recipe-wall-lowcal::before { content: none; }
@keyframes drift-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.screenshot-frame { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(31, 41, 55, .08); border-radius: 29px; background: #fff; box-shadow: var(--shadow-shot); }
.screenshot-frame > img { width: 100%; height: auto; }
.hero-shot { justify-self: center; width: min(100%, 294px); border-radius: 32px; transform: rotate(3deg); }

.path { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 35px 0; color: #5f676f; font-size: 13px; font-weight: 650; }
.path i { width: 38px; height: 1px; background: #d8dbd8; }

.feature { padding: 112px 0; }
.feature-cooking { background: var(--card); }
.feature-list { background: #fff; }
.feature-layout { display: grid; grid-template-columns: minmax(240px, .88fr) minmax(300px, .82fr); align-items: center; gap: clamp(40px, 9vw, 124px); padding-inline: clamp(0px, 6.5vw, 76px); }
.feature-layout-reverse { grid-template-columns: minmax(300px, .82fr) minmax(240px, .88fr); }
.feature-copy > p:not(.eyebrow), .official-categories-copy > p:not(.eyebrow) { max-width: 365px; margin: 19px 0 0; color: var(--sub); font-size: 14px; line-height: 1.92; }
.official-categories-section { padding-top: 112px; background: var(--warm-white); }
.official-categories-layout { display: grid; gap: 42px; padding-inline: clamp(0px, 6.5vw, 76px); }
.official-categories-copy { max-width: 460px; }
.official-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.official-category-card { display: grid; min-height: 184px; align-content: space-between; padding: 14px 14px 12px; border-radius: 18px; color: #4c4134; }
.official-category-card img { width: 100%; max-width: 88px; max-height: 88px; margin: 0 auto; object-fit: contain; object-position: center; }
.official-category-card h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.25; }
.official-category-card-daily, .official-category-card-simmer { background: #e3ceb8; }
.official-category-card-beginner { background: #ecc79a; }
.official-category-card-quick { background: #f1b47b; }
.official-category-card-light { background: #c5cfae; }
.official-category-card-flavor { background: #ebbab5; }
.official-category-card-baking { background: #e3c19d; }

.official-category-card-more { display: grid; align-content: center; justify-items: center; text-align: center; color: var(--red); background: transparent; border: 1.5px dashed #e6b3a6; }
.official-category-card-more:hover { background: var(--red-wash); }
.official-category-card-more h3 { font-size: 14px; font-weight: 700; line-height: 1.6; }
.official-category-card-more h3 span { font-size: 15px; }

.screenshot-gallery { width: min(100%, 304px); justify-self: center; }
.gallery-stage { position: relative; padding: 10px; border-radius: 34px; background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .20)); }
.gallery-main { border-radius: 28px; }
.gallery-main img { transition: opacity .22s ease; }
.gallery-main.is-changing img { opacity: .18; }
.gallery-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.gallery-control { min-height: 39px; padding: 8px; border: 1px solid #dfe2dc; border-radius: 11px; color: #68707b; background: rgba(255, 255, 255, .76); font-size: 11px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.gallery-control:hover, .gallery-control:focus-visible, .gallery-control.is-active { border-color: var(--red); color: var(--red); background: #fff; }
.gallery-caption { min-height: 18px; margin: 11px 0 0; color: #8a626b; font-size: 11px; text-align: center; }
.screenshot-frame-list { width: min(100%, 304px); justify-self: center; border-radius: 28px; }

.diary { display: grid; grid-template-columns: minmax(240px, .88fr) minmax(300px, .74fr); align-items: center; gap: clamp(40px, 10vw, 132px); padding: 126px clamp(0px, 6.5vw, 76px); }
.diary-copy > p:not(.eyebrow) { max-width: 320px; margin: 18px 0 0; color: var(--sub); font-size: 14px; line-height: 1.92; }
.diary-visual { width: min(100%, 300px); justify-self: end; }
.screenshot-frame-diary { width: 100%; border-radius: 28px; }
.photo-record-preview { position: absolute; right: -46px; bottom: 46px; width: 150px; border-radius: 20px; box-shadow: var(--shadow-shot); }

.closing { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 320px; padding: 76px clamp(24px, 6.5vw, 76px); overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(113deg, var(--red-wash), #fff9f1); }
.closing-copy h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 45px); }
.closing-actions { margin-top: 25px; }
.social-link { min-height: 44px; padding: 12px 2px; border-bottom: 1px solid #cdd1d3; color: #596270; font-size: 13px; font-weight: 650; }
.closing-icon { width: 164px; height: 164px; margin-right: 100px; border-radius: 40px; box-shadow: 0 23px 50px rgba(124, 0, 19, .17); transform: rotate(5deg); }

.site-footer { border-top: 1px solid #f1f1ef; color: var(--sub); font-size: 11px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 128px; }
.footer-inner > p { margin: 0; }
.footer-links { display: flex; justify-content: flex-end; gap: 16px; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.filing-placeholder { grid-column: 1 / -1; padding-bottom: 22px; color: #a6abb0; font-size: 10px; text-align: center; }


.highlights { padding: 6px 0 28px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.highlight-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .18s var(--ease), box-shadow .18s ease; }
.highlight-card:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42,25,28,.07); }
.highlight-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--red); background: var(--red-wash); }
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-card h3 { margin: 14px 0 5px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.highlight-card p { margin: 0; color: var(--sub); font-size: 12.5px; line-height: 1.65; }


.showcase { padding: 64px 0 30px; }
.showcase-head { margin-bottom: 26px; }
.showcase-head p:last-child { color: var(--sub); margin-top: 12px; font-size: 14px; }
.showcase-rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 24px 26px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.showcase-rail::-webkit-scrollbar { display: none; }
.showcase-card {
  flex: 0 0 auto; width: 230px; margin: 0; text-align: center;
  scroll-snap-align: center;
}
.showcase-card img {
  display: block; width: 100%; height: auto; aspect-ratio: 760 / 1652;
  border-radius: 24px; border: 1px solid rgba(31,41,55,.07);
  box-shadow: var(--shadow-shot);
}
.showcase-card figcaption { margin-top: 14px; }
.showcase-card strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; }
.showcase-card span { display: block; margin-top: 4px; color: var(--sub); font-size: 12.5px; line-height: 1.5; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .72s ease, transform .72s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.screenshot-frame.reveal, .screenshot-gallery.reveal, .diary-visual.reveal { transform: translateY(28px) scale(.95); }
.screenshot-frame.reveal.visible, .screenshot-gallery.reveal.visible, .diary-visual.reveal.visible { transform: none; }

@media (max-width: 920px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 35px; padding-inline: 44px; }
  .recipe-wall { right: -230px; width: 760px; }
  .feature-layout, .diary { padding-inline: 44px; }
  .closing { padding-inline: 44px; }
  .closing-icon { margin-right: 20px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 34px); }
  section[id] { scroll-margin-top: 116px; }
  .header-inner { height: 66px; }
  .mobile-nav {
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 2px 17px 11px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav a {
    flex: none;
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--sub);
    font-size: 12px;
    white-space: nowrap;
  }
  .mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--red); border-color: var(--red); }
  .brand { gap: 8px; font-size: 15px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .site-nav { display: none; }
  .header-cta { padding: 8px 10px; font-size: 11px; }

  .hero { min-height: 610px; border-radius: 0 0 24px 24px; }
  .hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .87) 47%, rgba(255, 255, 255, .45) 100%); }
  .hero-layout { grid-template-columns: 1fr; gap: 22px; min-height: 600px; padding: 44px 22px 30px; }
  .recipe-wall { top: -60px; right: -260px; bottom: -60px; width: max-content; gap: 12px; transform: rotate(-7deg) scale(.82); transform-origin: top right; opacity: .5; }
  .recipe-track-set { gap: 13px; padding-right: 13px; }
  .recipe-track-backward { margin-left: -220px; }
  .recipe-wall-card { width: 125px; min-width: 125px; gap: 9px; padding: 9px 9px 12px; border-radius: 12px; font-size: 10px; }
  .recipe-wall-cover { width: 74px; height: 74px; }
  .recipe-wall-time { gap: 3px; font-size: 9px; }
  .recipe-wall-clock { font-size: 11px; }
  .recipe-wall-lowcal { top: -5px; right: -5px; width: 25px; height: 25px; border-radius: 5px; }
  .recipe-wall-lowcal::before { font-size: 7px; }
  .eyebrow { font-size: 10px; letter-spacing: .45px; }
  h1 { margin: 16px 0 13px; font-size: clamp(36px, 11vw, 44px); letter-spacing: -2.6px; line-height: 1.14; }
  h2 { font-size: clamp(30px, 9vw, 38px); letter-spacing: -1.9px; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; }
  .hero-actions { gap: 16px; margin-top: 25px; }
  .button { min-height: 46px; padding: 12px 15px 12px 18px; }
  .hero-shot { align-self: end; width: min(240px, 62%); margin: 0 auto; transform: rotate(3deg); }

  .showcase { padding: 48px 0 20px; }
  .showcase-card { width: 200px; }
  .showcase-rail { padding-left: 22px; padding-right: 22px; }
  .path { justify-content: space-between; gap: 7px; padding: 27px 0; font-size: 11px; }
  .path i { width: 22px; }

  .feature { padding: 76px 0; }
  .feature-layout, .feature-layout-reverse { grid-template-columns: 1fr; gap: 37px; padding: 0 22px; }
  .feature-layout-reverse .screenshot-frame-list { order: 2; }
  .feature-copy > p:not(.eyebrow), .official-categories-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.88; }
  .official-categories-section { padding: 76px 22px; }
  .official-categories-layout { gap: 30px; padding: 0; }
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .highlight-card { padding: 16px 14px; }
  .highlight-icon { width: 38px; height: 38px; border-radius: 11px; }
  .highlight-card h3 { font-size: 13px; }
  .highlight-card p { font-size: 11.5px; }
  .official-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .official-category-card { min-height: 118px; padding: 9px 10px; border-radius: 14px; }
  .official-category-card img { height: 70px; }
  .official-category-card h3 { font-size: 11px; }

  .screenshot-gallery, .screenshot-frame-list { width: min(100%, 286px); }
  .gallery-controls { gap: 7px; }
  .gallery-control { min-height: 44px; padding-inline: 6px; font-size: 11px; }

  .diary { grid-template-columns: 1fr; gap: 42px; padding: 78px 22px; }
  .diary-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.88; }
  .diary-visual { width: min(100%, 250px); justify-self: center; }
  .screenshot-frame-diary { border-radius: 22px; }
  .photo-record-preview { right: -14px; bottom: 30px; width: 120px; border-radius: 16px; }

  .closing { min-height: auto; padding: 54px 22px 42px; }
  .closing-copy h2 { font-size: clamp(32px, 10vw, 40px); }
  .closing-actions { align-items: center; flex-direction: column; gap: 11px; }
  .closing-icon { align-self: center; width: 112px; height: 112px; margin: 26px auto 0; border-radius: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; min-height: auto; padding: 28px 0; }
  .footer-inner .brand { justify-self: start; }
  .footer-inner > p { max-width: 260px; line-height: 1.65; }
  .footer-links { flex-wrap: wrap; justify-content: flex-start; gap: 12px 16px; line-height: 1.5; }
  .filing-placeholder { padding: 4px 0 0; text-align: left; }
}

@media (max-width: 350px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 38px; }
  .hero-shot { margin-right: 0; }
  .path { gap: 4px; }
  .path i { width: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .recipe-track { animation: none; }
  .recipe-track-backward { margin-left: 0; }
  .recipe-track > .recipe-track-set:last-child { display: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal, .button, .header-cta, .site-nav a, .text-link, .social-link, .gallery-control, .gallery-main img { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-shot, .closing-icon { transform: none; }
}


/* 手写体标题（油画棒/童手感） */
.warm-font { font-family: "Long Cang", "STKaiti", "Kaiti SC", cursive; letter-spacing: .04em; }
#hero-title.warm-font { font-weight: 400; line-height: 1.15; white-space: nowrap; }
#closing-title.warm-font { font-weight: 400; }
.warm-font .char { display: inline-block; opacity: 0; transform: translateY(12px) rotate(-3deg); color: inherit; animation: char-in .55s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
.warm-font .char:nth-child(odd) { transform: translateY(10px) rotate(2.5deg); }
.warm-font .char { color: inherit; }
#hero-title.warm-font .char:nth-child(n+5), #closing-title.warm-font .char { }
/* "吧。/了吗？" 酒红 */
#hero-title.warm-font .char:nth-child(5), #hero-title.warm-font .char:nth-child(6),
#closing-title.warm-font .char:nth-child(8), #closing-title.warm-font .char:nth-child(9), #closing-title.warm-font .char:nth-child(10) { color: var(--red); }
@keyframes char-in { to { opacity: 1; transform: translateY(0) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .warm-font .char { opacity: 1; transform: none; animation: none; } }

@media (min-width: 921px) {
  .showcase-rail { max-width: 1160px; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .official-category-card img { max-width: 92px; max-height: 92px; }
}
