/* ぱえりあラボ — saffron rice, a carbon-steel pan, pimiento, parsley. System fonts only. */
:root {
  --rice: #F0BE45;
  --rice-light: #F7D46B;
  --socarrat: #C9861F;
  --pan: #33414A;
  --pan-deep: #26323A;
  --pimiento: #D62839;
  --parsley: #4F7F32;
  --ink: #26313A;
  --ink-soft: #55616B;
  --plate: #FFFFFF;
  --line: #E9E3D3;
  --round: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --body: "Hiragino Sans", "ヒラギノ角ゴシック", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plate);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; }
a { color: var(--pan); text-decoration-color: var(--rice); text-decoration-thickness: 3px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--pimiento); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pimiento); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ---- the top: the name and the pan */
.hero { background: var(--rice); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.logo {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(44px, 8.2vw, 84px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  color: var(--pan-deep);
}
.lead { font-size: 18px; line-height: 1.9; margin: 0; color: var(--ink); max-width: 30em; }
.hero .lead { color: var(--pan-deep); }
.hero-pan { margin-right: -40px; }
.pan { display: block; width: 100%; height: auto; }
.pan-link { cursor: pointer; }
.pan-link:focus-visible { outline: none; }
.pan-link:focus-visible rect { stroke: var(--pimiento); stroke-width: 8; }

/* steam: the one thing that moves, and only gently */
.steam path { transform-box: fill-box; transform-origin: center bottom; animation: steam 4.8s ease-in-out infinite; opacity: 0; }
.steam .w2 { animation-delay: 1.6s; }
.steam .w3 { animation-delay: 3.2s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(14px) scaleY(.7); }
  35% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-16px) scaleY(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .steam path { animation: none; opacity: .6; }
}

/* ---- the apps */
.apps { padding: 56px 0 24px; }
h2 {
  font-family: var(--round);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--pan-deep);
}
.app-list { list-style: none; margin: 0; padding: 0; }
.app {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 2px dashed var(--line);
  scroll-margin-top: 24px;
}
.app:last-child { border-bottom: 0; }
.icon { display: block; width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 0 1px rgba(38, 49, 58, .08); }
.icon.big { width: 200px; height: 200px; border-radius: 46px; }
.app h3 { font-family: var(--round); font-weight: 700; font-size: 24px; line-height: 1.35; margin: 0; }
.status {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 1px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
}
.status-live { background: #EEF5E8; color: var(--parsley); }
.status-soon { background: #FDF0D2; color: var(--socarrat); }
.line { margin: 0 0 14px; max-width: 36em; color: var(--ink); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; font-size: 15px; }
.btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--pan);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--pimiento); color: #FFFFFF; }

/* ---- one app's page, support, policy */
.bar { background: var(--rice); }
.bar .mark {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 980px; padding: 14px 24px;
  font-family: var(--round); font-weight: 700; font-size: 19px;
  color: var(--pan-deep); text-decoration: none;
}
.bar { display: flex; justify-content: center; }
.bar .mark { width: 100%; }
.app-hero { padding: 48px 0 12px; }
.app-hero .wrap { max-width: 760px; }
.nb { display: inline-block; }
.app-hero-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; }
.app-hero h1, .prose h1 {
  font-family: var(--round); font-weight: 700;
  font-size: clamp(30px, 5vw, 42px); line-height: 1.3; margin: 0;
  color: var(--pan-deep);
}
.prose { padding: 36px 0 56px; }
.prose .wrap { max-width: 760px; }
.prose h1 { margin-bottom: 10px; }
.prose h2 { margin-top: 40px; }
.prose p, .prose li { max-width: 38em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--pimiento); }
.policy h2 { font-size: 21px; }
.quiet { color: var(--ink-soft); font-size: 14px; }

.faq details { border-bottom: 2px dashed var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; padding: 14px 32px 14px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--pimiento); border-bottom: 3px solid var(--pimiento);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 16px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---- the foot */
.foot { background: var(--pan); color: #E8ECEE; padding: 40px 0 48px; font-size: 15px; line-height: 1.9; }
.foot a { color: #FFFFFF; text-decoration-color: var(--rice); }
.foot p { margin: 0 0 6px; }
.foot-name { font-family: var(--round); font-weight: 700; font-size: 20px; color: var(--rice-light); }
.foot .quiet { color: #B8C2C8; margin-top: 14px; }

/* ---- phones */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 8px; gap: 8px; }
  .hero-pan { margin: 0 -36px; }
  .lead { font-size: 16px; }
  .app { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 28px 0; }
  .icon { width: 72px; height: 72px; border-radius: 17px; }
  .app h3 { font-size: 21px; }
  .app-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .icon.big { width: 128px; height: 128px; border-radius: 30px; }
}
