/* =========================================================
   MuLy — Colorful edition
   paper × ink の編集的なグリッドに、星のカラーを大胆に。
   ========================================================= */
:root {
  --paper: #F2EFE7;
  --paper-2: #E9E5DA;
  --ink: #0E0E10;
  --ink-2: #2E2E33;
  --muted: #5B5B63;
  --dark: #121310;
  --lime: #C9F25B;
  --pink: #F03864;
  --pink-deep: #C2164A;
  --orange: #FF6A2B;
  --lav: #B7A6FF;
  --sky: #86CCFF;
  --butter: #FFD64A;
  --mint: #8FE3C4;
  --line: rgba(14, 14, 16, .14);

  --f-display: "Unbounded", "Dela Gothic One", sans-serif;
  --f-jp-display: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gut: clamp(16px, 3vw, 40px);
  --hd: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
/* 背景の縦グリッド線 */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc((100vw - var(--gut) * 2) / 4) 100%;
  background-position: var(--gut) 0;
  opacity: .7;
}
main, footer, header { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
/* Keep the original square image slots when Figma exports include overflow. */
img[src^="assets/stars/"] { aspect-ratio: 1; object-fit: contain; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
mark { background: none; color: inherit; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.nb { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } .pc { display: none; } .hide-sp { display: none; } }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

/* 十字マーク */
.cross { position: absolute; width: 18px; height: 18px; z-index: 2; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.cross::after { top: 8px; left: 0; height: 2px; width: 18px; }
.c-tl { left: calc(var(--gut) - 9px); top: 14px; }
.c-tr { right: calc(var(--gut) - 9px); top: 14px; }
.c-bl { left: calc(var(--gut) - 9px); bottom: 14px; }
.c-br { right: calc(var(--gut) - 9px); bottom: 14px; }

.sec-label { display: flex; gap: 14px; padding: 0 var(--gut); margin-bottom: 28px; }
.sec-label span:first-child { opacity: .6; }
.giant { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 12vw, 180px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase; }
.sec-jp { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.45; word-break: auto-phrase; }
.mono.keep, .keep { text-transform: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 12px 28px;
  font-family: var(--f-body); font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid var(--ink); border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn span { font-family: var(--f-mono); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.btn-pink { background: var(--pink); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { box-shadow: 5px 5px 0 var(--pink); }
.btn-bracket { text-decoration: none; font-size: 14px; padding: 8px 4px; border-bottom: 1px solid transparent; }
.btn-bracket:hover { border-bottom-color: currentColor; }

/* ---------------- Header ---------------- */
.hd {
  position: sticky; top: 0; z-index: 50; height: var(--hd);
  display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
  background: rgba(242, 239, 231, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink);
}
.hd > * { border-right: 1px solid var(--ink); }
.hd-logo { display: flex; align-items: center; gap: 10px; padding: 0 22px 0 var(--gut); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.hd-logo img { border-radius: 7px; border: 1.5px solid var(--ink); }
.hd-nav { display: grid; grid-template-columns: repeat(6, 1fr); }
.hd-nav a { display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s; }
.hd-nav a:last-child { border-right: 0; }
.hd-nav a i { font-style: normal; opacity: .5; align-self: flex-start; }
.hd-nav a:hover { background: var(--lime); }
.hd-cta { display: flex; align-items: center; gap: 8px; padding: 0 var(--gut) 0 22px; background: var(--pink); font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-decoration: none; border-right: 0; }
.hd-cta:hover { background: var(--orange); }
.hd-menu { display: none; }
@media (max-width: 960px) {
  .hd { grid-template-columns: 1fr auto auto; }
  .hd-nav {
    position: fixed; top: var(--hd); left: 0; right: 0; grid-template-columns: 1fr;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .hd-nav.open { transform: none; opacity: 1; visibility: visible; }
  .hd-nav a { padding: 18px var(--gut); font-size: 14px; border-right: 0; border-bottom: 1px solid var(--line); align-items: center; }
  .hd-cta { padding: 0 16px; }
  .hd-menu { display: grid; place-content: center; gap: 6px; width: 56px; background: none; border: 0; cursor: pointer; }
  .hd-menu b { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .hd-menu[aria-expanded="true"] b:first-of-type { transform: translateY(4px) rotate(45deg); }
  .hd-menu[aria-expanded="true"] b:last-of-type { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 28px 0 0; overflow: hidden; border-bottom: 1.5px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding: 0 var(--gut); }
.hero-title { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(38px, 6.2vw, 92px); line-height: 1.18; letter-spacing: .01em; }
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title mark { position: relative; isolation: isolate; padding: 0 .08em; display: inline-block; line-height: 1.15; }
.hero-title mark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1.5deg) scaleX(var(--mk, 1)); transform-origin: left center; }
.hero-lead { margin-top: 16px; max-width: 34em; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }

.hero-visual { position: relative; height: min(620px, 72vw); min-height: 460px; }
.disc { position: absolute; border-radius: 50%; will-change: transform; }
/* CD（再生面） */
.disc-cd { width: 72%; aspect-ratio: 1; left: -2%; top: 16%; filter: drop-shadow(8px 8px 0 var(--ink)); }
.disc-cd .cd-spin {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-radial-gradient(circle closest-side, transparent 0 .25px, rgba(14,14,16,.05) .65px, transparent 1.25px 5px),
    conic-gradient(from 10deg, #E9EAF0, #FFC2D4 8%, #FFF1B8 16%, #CDEFFF 24%, #DFFFC6 32%, #E4D8FF 40%, #E9EAF0 50%, #FFC2D4 58%, #FFF1B8 66%, #CDEFFF 74%, #DFFFC6 82%, #E4D8FF 90%, #E9EAF0);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(10.5% - .4px), #000 calc(10.5% + .4px) calc(100% - .6px), transparent 100%);
          mask: radial-gradient(circle closest-side, transparent calc(10.5% - .4px), #000 calc(10.5% + .4px) calc(100% - .6px), transparent 100%);
}
.cd-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd-shine { position: absolute; inset: 3%; border-radius: 50%; background: conic-gradient(from 300deg, transparent 0 8%, rgba(255,255,255,.75) 12%, transparent 17% 58%, rgba(255,255,255,.55) 62%, transparent 67%); mix-blend-mode: screen; }
/* CD（レーベル面） */
.disc-label { width: 34%; aspect-ratio: 1; right: 0; bottom: 6%; filter: drop-shadow(5px 5px 0 var(--ink)); }
.disc-label .cd-spin { display: block; width: 100%; height: 100%; }
.phone { background: #fff; border: 2.5px solid var(--ink); border-radius: 36px; padding: 6px; box-shadow: 8px 8px 0 var(--ink); }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; }
.hero-phone { position: absolute; width: 44%; max-width: 270px; left: 44%; top: 2%; transform: rotate(4deg); }
.hstar { position: absolute; will-change: transform; animation: bob 6s ease-in-out infinite; }
.hs1 { width: 30%; max-width: 170px; left: 0; top: 4%; }
.hs2 { width: 24%; max-width: 140px; right: -3%; top: 40%; animation-delay: -2s; }
.hs3 { width: 22%; max-width: 130px; left: 12%; bottom: 4%; animation-delay: -4s; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

.wordmark { display: flex; justify-content: space-between; padding: 0 var(--gut); margin-top: 24px; user-select: none; }
.w { display: inline-block; font-family: var(--f-display); font-weight: 900; font-size: clamp(110px, 27vw, 420px); line-height: .78; letter-spacing: -.06em; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; transform: translateY(12%); }
.w1 { color: var(--pink); } .w2 { color: var(--butter); } .w3 { color: var(--sky); } .w4 { color: var(--lime); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; max-width: 480px; margin: 8px auto 0; width: 100%; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .hero-visual { height: 400px; min-height: 0; }
  .btn { width: 100%; justify-content: center; }
  .w { -webkit-text-stroke: 2px var(--ink); font-size: 25vw; }
}

/* ---------------- Marquee ---------------- */
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.mq-track span { display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; font-family: var(--f-jp-display); font-size: 20px; white-space: nowrap; }
.mq-track i { font-style: normal; color: var(--c); font-size: 22px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------------- Story (dark) ---------------- */
.story { background: var(--dark); color: #EDEDE6; padding: 110px 0 120px; overflow: hidden; }
.story .sec-label { color: var(--lime); }
.story-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; padding: 0 var(--gut); align-items: center; }
.story-title { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.2; color: var(--lime); margin-bottom: 40px; }
.story-text p { font-size: clamp(16px, 1.5vw, 19px); line-height: 2.05; color: #CFCFC6; word-break: auto-phrase; }
.story-text p + p { margin-top: 1.5em; }
.story-text .key { color: #fff; font-weight: 700; }
.story-text .key span { background: linear-gradient(transparent 60%, rgba(240, 56, 100, .55) 60%, rgba(240, 56, 100, .55) 92%, transparent 92%); }
.story-sign { margin-top: 36px; color: var(--lime); }

.equation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.eq-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 12px 16px; border-radius: 22px; color: var(--ink); text-align: center; }
.eq-tile .mono { align-self: flex-start; font-size: 10px; }
.eq-tile img { width: 88%; }
.eq-tile b { font-size: 13px; line-height: 1.5; word-break: auto-phrase; }
.eq-cd { background: var(--mint); transform: rotate(3deg); }
.eq-sub { background: var(--lime); transform: rotate(-3deg); }
.eq-op { font-family: var(--f-display); font-weight: 800; font-size: 34px; color: var(--lime); }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .equation { max-width: 440px; margin: 0 auto; width: 100%; } }

/* ---------------- Features (orange) ---------------- */
.features { position: relative; background: var(--orange); padding: 100px 0 90px; border-bottom: 1px solid var(--ink); overflow: hidden; }
.features .giant, .features .sec-jp { padding: 0 var(--gut); }
.features .giant { font-size: clamp(28px, 10vw, 156px); }
.features .sec-jp { margin-top: 18px; }
.flist { margin: 56px var(--gut) 0; border-top: 1.5px solid var(--ink); }
.flist > li { position: relative; display: grid; grid-template-columns: 80px 1fr auto; gap: 16px 28px; align-items: start; padding: 26px 0; transition: background .25s, padding .25s; }
.flist > li::after, .rows li::after, .faq details::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(var(--ls, 1)); transform-origin: left; }
.flist > li:hover { background: rgba(255,255,255,.14); padding-inline: 12px; }
.fnum { padding-top: 10px; }
.fbody h3 { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.2; }
.fbody p { margin-top: 8px; max-width: 36em; font-size: 15px; line-height: 1.85; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding-top: 10px; max-width: 280px; }
.chips li { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 11px; }
.chips sup { font-size: 8px; color: var(--pink-deep); }
@media (max-width: 760px) {
  .flist > li { grid-template-columns: 1fr; gap: 8px; }
  .fnum { padding-top: 0; }
  .chips { justify-content: flex-start; max-width: none; }
}
/* 横スクロール（PCではピン留めしてスクロールに合わせて横に流れる） */
.hscroll { position: relative; margin-top: 72px; }
.hs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--gut); }
.hs-mask { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; }
.hs-roll { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.7,0,.2,1); }
.hs-roll b { display: block; height: 1.2em; line-height: 1.2em; font-weight: inherit; }
.hs-count { font-size: 14px; white-space: nowrap; }
.hs-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 72px); letter-spacing: -.03em; line-height: 1; }
.hs-mask.big { height: 1.05em; } .hs-mask.big b { height: 1.05em; line-height: 1.05em; }
.hs-hint { opacity: .7; }
.shots { display: flex; gap: 6vw; padding: 40px var(--gut) 64px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; width: min(72vw, 900px); scroll-snap-align: start; }
.slide .phone { width: clamp(200px, 22vw, 300px); transform: rotate(-3deg); }
.slide:nth-child(even) .phone { transform: rotate(3deg); }
.slide figcaption h4 { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1.2; margin: 10px 0 14px; }
.slide figcaption p { max-width: 22em; }
.is-pinned .shots { overflow: visible; scroll-snap-type: none; width: max-content; }
@media (max-width: 767px) {
  .hs-head { gap: 12px; align-items: center; }
  .hs-title { font-size: clamp(18px, 5.5vw, 34px); min-width: 0; }
  .slide { grid-template-columns: 1fr; width: 78vw; gap: 20px; }
  .slide .phone { width: 62%; }
  .hs-hint { display: none; }
}

/* ---------------- Quote ---------------- */
.quote { position: relative; padding: clamp(100px, 16vw, 200px) var(--gut); text-align: center; border-bottom: 1px solid var(--ink); }
.q-label { opacity: .6; margin-bottom: 28px; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(26px, 5vw, 68px); line-height: 1.4; }
.quote mark { background: var(--butter); padding: 0 .1em; border: 2px solid var(--ink); border-radius: .2em; }
.q-sub { margin-top: 28px; color: var(--ink-2); word-break: auto-phrase; }

/* ---------------- Stars ---------------- */
.stars { padding: 100px 0 110px; border-bottom: 1px solid var(--ink); }
.stars-head { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: end; padding: 0 var(--gut); }
.stars-lead { margin-top: 12px; color: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(5, 1fr); margin: 56px var(--gut) 0; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.bento li { position: relative; background: var(--c); padding: 16px 16px 22px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); overflow: hidden; transition: filter .2s; }
.bento li .mono { font-size: 11px; }
.bento li img { width: 76%; margin: 6px auto 10px; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.bento li h3 { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; }
.bento li p { margin-top: 6px; font-size: 13px; line-height: 1.6; word-break: auto-phrase; color: var(--ink-2); }
.bento li:hover img { transform: rotate(-10deg) scale(1.08); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento li { padding: 12px 12px 16px; } .stars-head { grid-template-columns: 1fr; } }

.pd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: center; max-width: 1120px; margin: 96px auto 0; padding: 0 var(--gut); }
.pd-visual { position: relative; }
.pd-phone { width: clamp(240px, 22vw, 320px); transform: rotate(-3deg); }
.pd-star { position: absolute; right: -22%; top: -8%; width: 46%; padding: 3%; background: #D2BCA4; border: 1.5px solid var(--ink); border-radius: 50%; box-shadow: 6px 6px 0 var(--ink); }
.pd-copy h3 { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(24px, 3vw, 44px); line-height: 1.4; margin-bottom: 24px; }
.pd-copy p { font-size: clamp(16px, 1.25vw, 18px); }
.pd-copy h3 .pinkjp { color: var(--pink-deep); }
.pd-copy p { color: var(--ink-2); word-break: auto-phrase; }
.pd-copy p + p { margin-top: 1em; }
.pd-copy .note { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; } .pd-visual { width: 210px; margin: 0 auto; } .pd-phone { width: 210px; } .pd-copy h3 { font-size: 24px; } }

/* ---------------- Friends (lime panel) ---------------- */
.friends { padding: 90px var(--gut); }
.panel { background: var(--lime); border: 1.5px solid var(--ink); border-radius: 32px; padding: 48px 0 56px; overflow: hidden; }
.friends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 0 var(--gut); align-items: center; }
.panel-title { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(38px, 6vw, 84px); line-height: 1.25; }
.panel-title em { font-family: var(--f-jp-display); font-style: normal; background: var(--ink); color: var(--lime); padding: .02em .14em .06em; display: inline-block; margin-top: .12em; line-height: 1.1; transform: rotate(-1.5deg); }
.panel-lead { margin-top: 24px; max-width: 30em; }
.rows { margin-top: 28px; border-top: 1.5px solid var(--ink); }
.rows li { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-weight: 700; }
.rows li i { font-style: normal; font-weight: 400; }
.panel-note { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.friends-shots { position: relative; display: flex; justify-content: center; gap: 20px; }
.friends-shots .phone { width: min(46%, 250px); }
.friends-shots .phone:first-child { transform: rotate(-4deg); }
.friends-shots .phone:nth-child(2) { transform: rotate(4deg) translateY(40px); }
.fr-stars { position: absolute; width: 180px; left: -10px; bottom: -40px; animation: bob 6s ease-in-out infinite; }
@media (max-width: 900px) { .friends-grid { grid-template-columns: 1fr; } .panel { border-radius: 24px; padding: 36px 0 72px; } }
@media (max-width: 480px) { .friends { padding: 64px 12px; } .fr-stars { width: 130px; } }

/* ---------------- Plus ---------------- */
.plus { position: relative; padding: 100px 0 100px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-2); }
.plus-head { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: end; padding: 0 var(--gut); }
.plus-head .sec-jp { font-size: clamp(17px, 1.9vw, 22px); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 56px var(--gut) 0; }
.plan { position: relative; border: 1.5px solid var(--ink); border-radius: 28px; padding: 32px; overflow: hidden; }
.plan header { display: flex; align-items: baseline; gap: 14px; }
.plan h3 { font-family: var(--f-jp-display); font-weight: 400; font-size: 24px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: clamp(52px, 6vw, 80px); line-height: 1; letter-spacing: -.04em; margin-top: 18px; }
.price small { font-family: var(--f-body); font-size: 18px; letter-spacing: 0; margin-left: 6px; }
.price-alt { margin-top: 8px; }
.plan ul { margin-top: 24px; border-top: 1.5px solid var(--ink); }
.plan li { padding: 12px 0; border-bottom: 1px solid rgba(14,14,16,.25); font-size: 15px; }
.plan-free { background: #fff; }
.plan-plus { background: var(--pink); }
.plan-plus li { border-bottom-color: rgba(14,14,16,.35); }
.plan-star { position: absolute; right: 16px; top: 16px; width: 130px; transform: rotate(14deg); }
.fine { margin: 20px var(--gut) 0; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .plans, .plus-head { grid-template-columns: 1fr; } .plan { padding: 24px; } .plan-star { width: 100px; top: 116px; } .plan-plus ul { margin-top: 52px; } }
@media (max-width: 380px) { .plan-star { width: 80px; right: 12px; } }

/* ---------------- FAQ ---------------- */
.faq { padding: 100px 0 110px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; padding: 0 var(--gut); align-items: start; }
.faq-grid .giant { position: sticky; top: calc(var(--hd) + 24px); color: var(--sky); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { position: relative; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 32px; gap: 12px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 17px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; color: var(--pink-deep); }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details > div { padding: 0 0 22px 76px; }
.faq details p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .giant { position: static; }
  .faq summary { grid-template-columns: 1fr 32px; }
  .faq summary i { grid-column: 1 / -1; margin-bottom: -8px; }
  .faq details > div { padding-left: 0; }
}

/* ---------------- Download ---------------- */
.dl { background: var(--butter); border-top: 1px solid var(--ink); overflow: hidden; padding-bottom: 100px; }
.dl-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 72px var(--gut) 0; }
.dl-art { width: min(100%, 480px); margin: 0 auto; }
.dl-copy h2 { font-family: var(--f-jp-display); font-weight: 400; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.3; }
.dl-copy > p { margin: 18px 0 28px; }
.dl-status { margin-top: 16px; }
@media (max-width: 760px) { .dl-inner { grid-template-columns: 1fr; text-align: center; } .dl-art { width: 300px; } }

/* ---------------- Footer ---------------- */
.ft { background: var(--ink); color: #D8D8D0; padding: 0 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; border-bottom: 1px solid #333; }
.ft-cell { padding: 40px var(--gut); border-right: 1px solid #333; }
.ft-cell:last-child { border-right: 0; }
.ft-word { font-family: var(--f-display); font-weight: 900; font-size: 64px; letter-spacing: -.05em; line-height: 1; }
.ft-word span:nth-child(1) { color: var(--pink); }
.ft-word span:nth-child(2) { color: var(--butter); }
.ft-word span:nth-child(3) { color: var(--sky); }
.ft-word span:nth-child(4) { color: var(--lime); }
.ft-brand p { margin-top: 12px; font-size: 14px; }
.ft-links { display: grid; gap: 12px; align-content: start; }
.ft-links a { text-decoration: none; font-size: 12px; text-transform: none; }
.ft-links a:hover, .ft-links a:focus-visible, .ft-links a:active { color: var(--pink); }
.ft-notes p { font-size: 12px; line-height: 1.8; color: #A9A9A0; }
.ft-copy { padding: 20px var(--gut) 0; color: #8A8A82; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: 1fr; } .ft-cell { border-right: 0; border-bottom: 1px solid #333; } }

/* ---------------- Reveal ---------------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.bento li.rv { transform: translateY(28px) scale(.96); }
.bento li.rv.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------------- Motion layer ---------------- */
/* loader */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.js-motion .loader { display: block; }
.ld-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--paper); z-index: 2; }
.ld-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.ld-bars i { width: 26px; height: 100%; background: var(--pink); border: 2px solid var(--ink); border-radius: 6px; transform: scaleY(0); transform-origin: bottom; }
.ld-bars i:nth-child(1) { height: 50%; } .ld-bars i:nth-child(2) { height: 100%; } .ld-bars i:nth-child(3) { height: 76%; } .ld-bars i:nth-child(4) { height: 62%; }
.ld-count { font-size: 14px; }
.ld-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); z-index: 1; }
.ld-panels i:nth-child(1) { background: var(--pink); } .ld-panels i:nth-child(2) { background: var(--butter); } .ld-panels i:nth-child(3) { background: var(--sky); } .ld-panels i:nth-child(4) { background: var(--lime); }
.ld-panels i { border-right: 1.5px solid var(--ink); }

/* pixel transition */
.pixels { position: relative; height: 38vh; min-height: 220px; background: var(--dark); display: grid; overflow: hidden; }
.pixels .px { background: var(--orange); transform: scale(0); }
.pixels .px.l { background: var(--lime); }

/* split characters */
.ch { display: inline-block; will-change: transform; }
.gl { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.gl > span { display: inline-block; will-change: transform; }
.st-ch { transition: none; }


.js-motion .hstar { animation: none; }
