/* hotahota shared design system. Each product page overrides only the --accent / --bg / --ink tokens. */
:root {
  --bg: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .1);
  --accent: #1d1d1f;
  --soft: #f5f5f7;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --on-accent: #fff;
  --gutter: clamp(16px, 5vw, 56px);
  --measure: 1120px;
  --nav-h: 44px;
  --sub-h: 52px;
  --section: clamp(88px, 15vw, 180px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sub-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; line-height: 1.2; word-break: auto-phrase; text-wrap: balance; }
.nb { display: inline-block; }
.wrap { width: min(100% - var(--gutter) * 2, var(--measure)); margin-inline: auto; }
.section { padding-block: var(--section); }
.display { font-size: clamp(2.25rem, 8.4vw, 5rem); }
.lead { font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); line-height: 1.75; color: var(--muted); font-weight: 400; text-wrap: pretty; }
.eyebrow { font-size: 1.0625rem; font-weight: 600; }

/* Global nav */
.gnav { height: var(--nav-h); display: flex; align-items: center; background: var(--soft); color: var(--ink); font-size: .75rem; }
.gnav .wrap { display: flex; align-items: center; justify-content: space-between; }
.gnav a { text-decoration: none; display: inline-flex; align-items: center; min-height: var(--nav-h); }
.gnav .brand { font-weight: 600; font-size: .875rem; }
.gnav ul { display: flex; gap: 22px; }

/* Product subnav: the same on every product page */
.subnav { position: sticky; top: 0; z-index: 50; height: var(--sub-h); display: flex; align-items: center; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; gap: 24px; }
.subnav .name { font-weight: 600; font-size: 1.125rem; text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.subnav ul { display: flex; gap: 22px; font-size: .75rem; color: var(--muted); }
.subnav ul a { text-decoration: none; }
@media (max-width: 640px) { .subnav ul { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--accent); font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; transition: transform .25s var(--ease), opacity .25s ease; }
.btn:hover { opacity: .82; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn.sm { min-height: 30px; padding: 0 13px; font-size: .75rem; }
.subnav .btn.sm { position: relative; }
.subnav .btn.sm::after { content: ""; position: absolute; inset: -8px -2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* Spec table and FAQ */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 20px 0; border-top: 1px solid var(--line); font-weight: 400; }
.spec th { width: 34%; padding-right: 20px; font-weight: 600; white-space: nowrap; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }
.fold summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 14px 0; font-weight: 500; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.fold[open] summary::after { transform: rotate(45deg); }
.fold > div { padding: 0 0 24px; color: var(--muted); max-width: 44em; }

/* Footer */
.footer { background: var(--soft); color: var(--muted); font-size: .75rem; padding-block: 36px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.footer ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer a { text-decoration: none; display: inline-block; padding-block: 6px; }

/* Scroll reveal: content stays visible without JS */
.js .reveal { opacity: 0; transform: translateY(44px) scale(.975); transition: opacity 1.1s ease, transform 1.3s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Shared entrance */
.rise { animation: rise 1.4s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* Top page */
.home-hero { text-align: center; padding-block: clamp(72px, 14vh, 150px) clamp(56px, 10vh, 110px); }
.home-hero h1 { font-size: clamp(3.25rem, 13vw, 7.5rem); letter-spacing: -.03em; }
.home-hero .lead { margin-top: 14px; }
.tiles { display: grid; gap: 12px; padding: 0 12px 12px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; text-align: center; text-decoration: none; border-radius: 24px; padding-top: clamp(44px, 8vw, 72px); min-height: clamp(460px, 62vw, 680px); }
.tile-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-inline: 20px; }
.tile-title { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.tile-more, .tile-note { margin-top: 8px; color: var(--muted); }
.tile-shizuka { background: #fbe3ea; }
.tile-shizuka .eyebrow, .tile-shizuka .tile-more { color: #a83d65; }
.tile-span { color: #fff; justify-content: center; padding-block: 72px; min-height: clamp(380px, 48vw, 540px); background: linear-gradient(160deg, #2d76fd, #5648dd); }
.tile-span .eyebrow, .tile-span .tile-more { color: #fff; }
.tile-sky { color: #fff; justify-content: center; padding-block: 72px; min-height: clamp(380px, 48vw, 540px); background: linear-gradient(#2052ab, #6acbd4); }
.tile-sky .eyebrow, .tile-sky .tile-more { color: #fff; }
.tile-more::after { content: " ›"; }
.tile-art { width: min(74%, 460px); margin-top: auto; margin-bottom: -2%; transition: transform 1.2s var(--ease); }
.tile-art i { display: block; aspect-ratio: 1; background: #fff; -webkit-mask: url(/shizukacha/img/shush.webp) center / contain no-repeat; mask: url(/shizukacha/img/shush.webp) center / contain no-repeat; }
a.tile:hover .tile-art { transform: translateY(-8px); }
.tile-plain { background: var(--soft); justify-content: center; padding-block: 72px; min-height: clamp(320px, 40vw, 440px); }
@media (prefers-reduced-motion: reduce) { .tile-art { transition: none; } }

/* Inner pages */
.page { padding-block: clamp(56px, 10vw, 112px) var(--section); }
.app-list { margin-top: clamp(36px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.app-list li > * { display: grid; grid-template-columns: 88px 1fr auto; gap: 8px 22px; align-items: center; padding-block: 26px; border-top: 1px solid var(--line); text-decoration: none; }
.app-list img { border-radius: 20px; }
.app-list b { display: block; font-size: 1.3125rem; font-weight: 600; }
.app-list span span { color: var(--muted); display: block; }
.app-list em { font-style: normal; font-size: .9375rem; color: #a83d65; white-space: nowrap; }
.app-list em.muted { color: var(--muted); }
@media (max-width: 640px) { .app-list li > * { grid-template-columns: 72px 1fr; } .app-list img { width: 72px; height: 72px; border-radius: 16px; } .app-list em { grid-column: 2; } }
.block { margin-top: clamp(48px, 8vw, 88px); }
.block h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 16px; }
.block-link { margin-top: 20px; }
.cta-row { margin-top: 20px; }
.fold > div a, .block-link a, .doc a { color: #a83d65; }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 6vw, 3rem); }
.doc .updated { margin: 10px 0 32px; color: var(--muted); font-size: .9375rem; }
.doc h2 { font-size: 1.5rem; margin: 48px 0 12px; scroll-margin-top: 16px; }
.doc h3 { font-size: 1.0625rem; margin: 28px 0 6px; }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 1.3em; margin-top: 8px; }
.doc li { margin-top: 4px; }
.notfound { text-align: center; min-height: 60vh; }
.notfound .lead { margin-top: 14px; }
