:root {
  --paper: #f4f4f5;
  --ink: #171719;
  --gutter: clamp(20px, 4vw, 72px);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 350px;
  background: var(--paper); touch-action: pan-y; user-select: none;
}
.bar {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  padding: max(env(safe-area-inset-top), clamp(16px, 3.3vh, 36px)) var(--gutter);
}
.brand {
  font: italic 900 clamp(33px, 3.2vw, 52px)/1 "Arial Black", Arial, sans-serif;
  letter-spacing: -.095em; padding: 0 .12em .1em 0;
}
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 48px); }
nav a { font-size: 14px; font-weight: 600; }
nav a:not(.nav-download), .back, .legal a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .3s;
}
nav a:not(.nav-download) { padding: 3px 0; }
nav a:not(.nav-download):is(:hover,:focus-visible,[aria-current]), .back:is(:hover,:focus-visible),
.legal a:is(:hover,:focus-visible), .night nav a:is(.is-hovered,.is-focused) {
  background-size: 100% 1px;
}
.nav-download {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px;
  line-height: 1; border-radius: 999px; white-space: nowrap;
}
.nav-download svg { width: 18px; height: 18px; }
.nav-download:hover, .hero:has(.day .nav-download:hover) .night .nav-download {
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.face { position: absolute; inset: 0; overflow: hidden; }
.day { z-index: 0; background: var(--paper); color: var(--ink); }
.night {
  z-index: 2; pointer-events: none; background: var(--ink); color: var(--paper);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
.face::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -12%, #ffffff1a, transparent 62%),
              radial-gradient(90% 60% at 50% 115%, #00000024, transparent 70%);
}
.headline {
  position: absolute; top: 42%; left: 50%; width: max-content; transform: translate(-50%, -50%);
  text-align: center; white-space: nowrap; font-weight: 900; pointer-events: none;
}
.cook-title {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: min(32vw, 40vh); letter-spacing: -.065em; line-height: .95;
}
.kitchen-title { font-size: min(14vw, 17vh); letter-spacing: -.07em; line-height: 1.04; }
.kitchen-title span { font-family: "Arial Black", Arial, sans-serif; letter-spacing: -.09em; }
.shade {
  position: absolute; left: 0; top: 0; z-index: 1; width: 72px; transform-origin: 0 0;
  pointer-events: none; background: linear-gradient(to left, rgba(0,0,0,.22), rgba(0,0,0,.06) 40%, transparent);
}
.rope { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.charm-box {
  position: absolute; left: 0; top: 0; z-index: 5;
  filter: drop-shadow(9px 14px 9px rgba(0,0,0,.34)) drop-shadow(2px 3px 2px rgba(0,0,0,.24));
}
.charm {
  position: relative; display: block; width: var(--charm); height: calc(var(--charm) + 9px);
  padding: 0; border: 0; background: transparent; cursor: grab; touch-action: none;
  transform-origin: 50% 1%; -webkit-tap-highlight-color: transparent;
}
.charm:active { cursor: grabbing; }
.charm img { position: absolute; top: 9px; left: 0; width: 100%; height: auto; pointer-events: none; }
.eyelet {
  position: absolute; z-index: 1; top: 0; left: calc(50% - 4px); width: 8px; height: 13px;
  border: 2px solid #98989d; border-radius: 6px; box-shadow: inset 1px 0 1px white, 1px 1px 1px #29292b;
}
.download-block {
  position: absolute; bottom: max(clamp(16px, 3.4vw, 48px), env(safe-area-inset-bottom));
  left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.download-block p { font-size: 15px; line-height: 1.4; opacity: .78; white-space: nowrap; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.9,.25,1);
}
.night .cta { background: var(--paper); color: var(--ink); }
.cta svg { width: 16px; height: 16px; transition: transform .25s; }
.cta:hover, .hero:has(.day .cta:hover) .night .cta { transform: translateY(-2px); }
.cta:hover svg, .hero:has(.day .cta:hover) .night .cta svg { transform: translateX(3px); }
.hero:has(.day .cta:focus-visible) .night .cta,
.hero:has(.day .brand:focus-visible) .night .brand,
.hero:has(.day .nav-download:focus-visible) .night .nav-download,
.night nav a.is-focused,
a:focus-visible, .charm:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.charm:focus-visible { outline-color: #9a9a9a; }
.face .bar, .download-block { animation: fade-in .8s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.edition {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom));
  left: var(--gutter); font: 12px/1.4 Consolas, monospace;
}
.edition span { margin-inline: 4px; opacity: .55; }
.log-page { min-height: 100vh; background: var(--paper); color: var(--ink); }
.log { max-width: 1160px; margin: auto; padding: clamp(40px, 8vh, 110px) var(--gutter) 60px; }
.log h1 { font-size: clamp(58px, 10vw, 145px); letter-spacing: -.075em; line-height: 1.1; margin-bottom: .55em; }
.log article {
  border-top: 1px solid currentColor; padding: clamp(24px, 3.6vw, 46px) 0;
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter);
}
.log h2 { font: 800 clamp(30px, 4.3vw, 58px)/1 Arial, sans-serif; letter-spacing: -.07em; }
.log h3 { font-size: clamp(19px, 2.2vw, 28px); letter-spacing: -.04em; }
.log ul { margin: 14px 0 0; padding-left: 1.1em; }
.log li { font-size: 15px; line-height: 1.8; margin: 6px 0; }
.policy h1 { margin-bottom: .22em; }
.policy-meta { margin-bottom: clamp(30px, 5vw, 60px); font-size: 14px; line-height: 1.6; }
.policy article h2 { font-family: inherit; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.035em; }
.policy article p { font-size: 16px; line-height: 1.9; }
.policy-contact { padding-block: 18px; border-top: 1px solid currentColor; font-size: 14px; }
.policy-contact a { text-decoration: underline; text-underline-offset: 3px; }
.back { display: inline-block; padding: 12px 0; font-size: 14px; }
.legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  border-top: 1px solid #ccc; padding: 28px var(--gutter);
  color: #56565c; font-size: 12px; line-height: 1.9;
}

@media (prefers-color-scheme: dark) { .log-page { background: var(--ink); color: var(--paper); } }
@media (max-width: 600px) {
  nav { gap: 10px; }
  .cook-title { font-size: 37vw; }
  .kitchen-title { font-size: 18vw; line-height: 1.12; }
  .download-block p { font-size: 14px; }
  .edition { bottom: 15px; font-size: 10px; }
  .log article { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-height: 500px) { .bar { padding-block: 10px; } }
@media (max-width: 490px) {
  .bar { flex-direction: column; align-items: flex-start; gap: 5px; }
  .bar nav { gap: clamp(18px, 6vw, 30px); }
  .bar nav a:not(.nav-download) { display: inline-flex; align-items: center; min-height: 36px; }
  .bar .nav-download { position: absolute; right: var(--gutter); top: max(env(safe-area-inset-top), clamp(16px, 3.3vh, 36px)); }
}
@media (prefers-reduced-motion: reduce) {
  .face .bar, .download-block { animation: none; }
  .cta, .cta svg, nav a:not(.nav-download), .back, .legal a { transition: none; }
}
