/* ============================================================
   MUTE / ふわメモ — Landing Page
   A scroll that sinks from pastel cute into 和ホラー darkness.
   ============================================================ */

:root {
  /* ---- cute (表の顔) ---- */
  --cream:       #FFF7F3;
  --cream2:      #FDEBF1;
  --pink:        #F7B8CE;
  --pink-deep:   #EE8FB1;
  --pink-text:   #C2607F;
  --brown:       #8C6A5F;
  --mint:        #BFE3CC;
  --butter:      #FBE6A8;
  --cute-card:   #FFFFFF;

  /* ---- dark (本丸) ---- */
  --ink:         #0A0306;
  --ink2:        #140510;
  --wine:        #350C26;
  --wine2:       #581338;
  --crimson:     #CE3553;
  --crimson-br:  #F1546F;
  --gold:        #E3BB6B;
  --gold2:       #F4D993;
  --vermilion:   #E05A2F;
  --purple:      #7E2F77;
  --purple-glow: #B863B6;
  --pink-glow:   #F2A6C2;
  --smoke:       #6F3E70;

  /* ---- type ---- */
  --f-cute:  'Mochiy Pop One', 'Zen Maru Gothic', sans-serif;
  --f-round: 'Zen Maru Gothic', sans-serif;
  --f-min:   'Shippori Mincho B1', serif;
  --f-brush: 'Yuji Syuku', serif;
  --f-en:    'Cormorant Garamond', serif;

  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-round);
  background: var(--ink);
  color: var(--brown);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Fixed atmosphere — smoke + sparks that bloom as we descend
   ============================================================ */
.atmosphere {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity .9s ease;
  mix-blend-mode: screen;
}
.atmosphere .smoke {
  position: absolute; border-radius: 50%;
  filter: blur(34px); will-change: transform;
  background: radial-gradient(circle, var(--smoke), transparent 70%);
  animation: drift 22s ease-in-out infinite;
}
.atmosphere .smoke.s1 { width: 34vw; height: 34vw; left: -4vw; top: 20%;  background: radial-gradient(circle, rgba(126,47,119,.55), transparent 70%); animation-duration: 26s; }
.atmosphere .smoke.s2 { width: 30vw; height: 30vw; right: -2vw; top: 50%;  background: radial-gradient(circle, rgba(206,53,83,.40), transparent 70%);  animation-duration: 30s; animation-delay: -8s; }
.atmosphere .smoke.s3 { width: 26vw; height: 26vw; left: 32%;  bottom: 5%;  background: radial-gradient(circle, rgba(184,99,182,.40), transparent 70%); animation-duration: 24s; animation-delay: -14s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(6vw,-4vh) scale(1.15); }
  66%     { transform: translate(-5vw,3vh) scale(.9); }
}
body.dark .atmosphere { opacity: 1; visibility: visible; }

/* twinkle field (dark) */
.sparkfield { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 1.2s ease; }
body.dark .sparkfield { opacity: 1; visibility: visible; }
.sparkfield .spark {
  position: absolute; width: 6px; height: 6px;
  background: radial-gradient(circle, #fff, var(--pink-glow) 40%, transparent 70%);
  border-radius: 50%; animation: twinkle 3.4s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

/* ============================================================
   Top bar
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: all .5s ease;
}
.topbar .brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-cute); font-size: 20px; color: var(--pink-text); transition: color .5s ease; }
.topbar .brand .ico { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.topbar .nav-cta {
  font-family: var(--f-round); font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--pink-deep); color: #fff;
  box-shadow: 0 8px 20px rgba(238,143,177,.45);
  transition: all .5s ease;
}
body.dark .topbar { backdrop-filter: blur(8px); background: rgba(10,3,6,.45); }
body.dark .topbar .brand { color: var(--pink-glow); font-family: var(--f-min); letter-spacing: .08em; }
body.dark .topbar .nav-cta {
  background: linear-gradient(120deg, var(--gold), var(--vermilion), var(--purple));
  box-shadow: 0 8px 24px rgba(206,53,83,.5);
  color: #fff;
}

/* ============================================================
   Generic section scaffolding
   ============================================================ */
section { position: relative; z-index: 2; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .34s; }
.reveal.d4 { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

.eyebrow { font-family: var(--f-round); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; }

/* phone mockups */
.phone { filter: drop-shadow(0 24px 50px rgba(120,40,80,.28)); }
.phone img { width: 100%; }

/* ============================================================
   1. HERO — cute (ふわメモ)
   ============================================================ */
#hero {
  background:
    radial-gradient(120% 80% at 50% -10%, #FFFFFF 0%, var(--cream) 40%, var(--cream2) 100%);
  padding: 150px 0 120px;
  overflow: hidden;
}
#hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--pink-text);
  font-weight: 700; font-size: 13px; letter-spacing: .04em;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(238,143,177,.28);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
#hero h1 {
  font-family: var(--f-cute);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.02; color: var(--pink-deep);
  letter-spacing: .01em;
  text-shadow: 0 3px 0 #fff, 0 10px 24px rgba(238,143,177,.3);
}
#hero h1 .sm { display: block; font-size: .42em; color: var(--pink-text); margin-bottom: 6px; -webkit-text-stroke: 0; }
#hero .lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--brown); margin: 24px 0 8px; max-width: 30ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.btn-cute {
  font-family: var(--f-round); font-weight: 700; font-size: 16px;
  padding: 16px 32px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(180deg, #FBC9DA, var(--pink-deep));
  color: #fff; box-shadow: 0 12px 26px rgba(238,143,177,.5), inset 0 2px 0 rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-cute:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(238,143,177,.6); }
.hero-note { font-size: 13px; color: var(--pink-text); opacity: .85; }

.hero-phone { position: relative; justify-self: center; width: min(220px, 72%); }
.hero-phone .phone { position: relative; z-index: 3; }
.hero-phone .blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; }
.hero-phone .blob.b1 { width: 120%; height: 120%; left: -10%; top: -8%; background: radial-gradient(circle, rgba(247,184,206,.5), transparent 65%); }

/* hidden lock peeking on the icon already; small lock chip */
.hero-lock-hint {
  position: absolute;
  z-index: 4;
  right: -18px;
  bottom: -18px;
  font-family: var(--f-min);
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(82,44,70,.78);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(238,143,177,.34);
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(120,40,80,.18);
  backdrop-filter: blur(12px);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* floating cute decorations */
.cute-deco { position: absolute; z-index: 2; pointer-events: none; opacity: .9; animation: floaty 6s ease-in-out infinite; }
.cute-deco.heart { color: var(--pink); }
.cute-deco svg { display: block; }

/* ============================================================
   2. CUTE FEATURES
   ============================================================ */
#cute-features {
  background: linear-gradient(180deg, var(--cream2) 0%, #F9E0EA 100%);
  padding: 96px 0 110px;
}
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { color: var(--pink-deep); }
.sec-head h2 { font-family: var(--f-cute); font-size: clamp(30px, 4vw, 46px); color: var(--pink-text); margin-top: 12px; }
.sec-head p { color: var(--brown); margin-top: 14px; }

.cute-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cute-card {
  background: var(--cute-card); border-radius: 26px; padding: 28px 26px 30px;
  box-shadow: 0 18px 40px rgba(238,143,177,.22);
  border: 2px solid #fff;
  text-align: center;
}
.cute-card .emojibox {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px;
  display: grid; place-items: center; font-size: 30px;
  background: var(--cream2);
}
.cute-card.c1 .emojibox { background: #FCE2EA; }
.cute-card.c2 .emojibox { background: #E6F2EA; }
.cute-card.c3 .emojibox { background: #FBF1DA; }
.cute-card h3 { font-family: var(--f-cute); font-size: 21px; color: var(--pink-text); margin-bottom: 8px; }
.cute-card p { font-size: 14.5px; color: var(--brown); }

.cute-showcase { display: grid; grid-template-columns: repeat(2, minmax(0,210px)); gap: 30px; justify-content: center; margin-top: 64px; }
.cute-showcase .phone { width: 100%; }

/* ============================================================
   3. TEASE — the world starts to dim
   ============================================================ */
#tease {
  background: linear-gradient(180deg, #F9E0EA 0%, #E7C4D2 30%, #B98FA8 70%, #5A3C56 100%);
  padding: clamp(118px, 12vw, 170px) 0 clamp(128px, 13vw, 190px);
  text-align: center;
  position: relative;
}
#tease .wrap { position: relative; z-index: 3; }
#tease .eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: rgba(255,255,255,.92);
  opacity: 1;
  font-family: var(--f-en);
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: .95;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 8px 38px rgba(90,60,86,.34), 0 0 24px rgba(255,255,255,.18);
}
#tease h2 {
  font-family: var(--f-min);
  font-size: clamp(30px, 4.15vw, 52px);
  line-height: 1.62;
  margin: 34px auto 0;
  max-width: 18ch;
  color: rgba(255,255,255,.96);
  text-shadow: 0 3px 28px rgba(90,60,86,.56);
}
#tease h2 .glow { color: var(--pink-glow); }
#tease .sub {
  color: rgba(255,255,255,.95);
  font-size: clamp(15.5px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: .06em;
  max-width: 38ch;
  margin: clamp(48px, 5.2vw, 72px) auto 0;
  text-shadow: 0 2px 16px rgba(58,30,54,.62), 0 0 2px rgba(58,30,54,.46);
}
#tease .sub span {
  color: #ff8db7 !important;
  text-shadow: 0 2px 14px rgba(92,20,58,.62), 0 0 12px rgba(255,141,183,.24);
}
.secret-door {
  margin-top: 48px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-min); font-size: 16px; letter-spacing: .12em;
  color: var(--pink-glow);
  padding: 16px 30px; border-radius: 999px;
  border: 1px solid rgba(242,166,194,.5);
  background: rgba(20,5,16,.45);
  cursor: pointer; backdrop-filter: blur(4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: all .35s ease;
}
.secret-door:hover { background: rgba(20,5,16,.7); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0,0,0,.5); }
.secret-door .key { font-size: 18px; }

/* ============================================================
   4. LOCK FOLD — the pivot
   ============================================================ */
#lock {
  position: relative; overflow: hidden; min-height: 100vh;
  display: grid; place-items: center;
  padding: 96px 20px;
  background: linear-gradient(180deg, #5E3F5A 0%, #34122B 24%, var(--ink2) 58%, var(--ink) 100%);
}
/* contained smoke (crisp, GPU-light) */
.lock-smoke { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; }
.lock-smoke span { position: absolute; border-radius: 50%; filter: blur(40px); will-change: transform; animation: drift 26s ease-in-out infinite; }
.lock-smoke span:nth-child(1) { width: 40vw; height: 40vw; left: -8vw; bottom: -6vw; background: radial-gradient(circle, rgba(126,47,119,.5), transparent 70%); }
.lock-smoke span:nth-child(2) { width: 30vw; height: 30vw; right: -6vw; top: 6vh; background: radial-gradient(circle, rgba(206,53,83,.3), transparent 70%); animation-delay: -9s; }
.lock-smoke span:nth-child(3) { width: 24vw; height: 24vw; right: 16vw; bottom: 4vh; background: radial-gradient(circle, rgba(184,99,182,.34), transparent 70%); animation-delay: -15s; }
/* faint filigree frame */
.lock-scene {
  position: relative; z-index: 2; width: min(440px, 92vw); text-align: center;
  padding: 40px 34px 38px;
  border-radius: 30px;
  background: radial-gradient(130% 90% at 50% 0%, rgba(53,12,38,.55), rgba(10,3,6,.3) 70%);
  border: 1px solid rgba(241,84,111,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 0 70px rgba(126,47,119,.16);
}
.lock-scene::before, .lock-scene::after {
  content: ""; position: absolute; width: 46px; height: 46px; opacity: .5;
  border-color: rgba(227,187,107,.7); border-style: solid; pointer-events: none;
}
.lock-scene::before { top: 14px; left: 14px; border-width: 1px 0 0 1px; border-top-left-radius: 14px; }
.lock-scene::after { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; border-bottom-right-radius: 14px; }
.lock-ornament { display: flex; justify-content: center; margin-bottom: 4px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.lock-ornament svg { display: block; }
.lock-title {
  font-family: var(--f-min); font-weight: 600;
  font-size: clamp(34px, 6vw, 50px); letter-spacing: .16em; line-height: 1;
  color: var(--pink-glow);
  text-shadow: 0 0 18px rgba(242,166,194,.55), 0 0 44px rgba(206,53,83,.32);
}
.lock-divider { color: var(--crimson); letter-spacing: .55em; font-size: 13px; margin: 12px 0 10px; opacity: .85; }
.lock-ko { font-family: var(--f-min); color: rgba(242,166,194,.78); font-size: 14.5px; line-height: 1.95; margin-bottom: 26px; }
.pin-dots { display: flex; gap: 20px; justify-content: center; margin-bottom: 28px; }
.pin-dots .pd { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--crimson-br); transition: all .2s ease; }
.pin-dots .pd.on { background: radial-gradient(circle, #fff, var(--pink-glow)); box-shadow: 0 0 14px var(--pink-glow); border-color: var(--pink-glow); }
.keypad { display: grid; grid-template-columns: repeat(3, 74px); justify-content: center; gap: 16px; }
.key {
  width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(241,84,111,.45);
  background: radial-gradient(circle at 35% 28%, rgba(88,19,56,.75), rgba(10,3,6,.92));
  color: var(--pink-glow); font-family: var(--f-min); font-size: 28px;
  cursor: pointer; display: grid; place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px rgba(0,0,0,.5);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select: none;
}
.key:hover { background: radial-gradient(circle at 35% 28%, rgba(126,47,119,.85), rgba(20,5,16,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 18px rgba(241,84,111,.35); }
.key:active { transform: scale(.92); box-shadow: inset 0 0 18px rgba(241,84,111,.6); }
.key.k0 { grid-column: 2; }
.lock-back { margin: 28px auto 0; font-family: var(--f-min); font-size: 14px; letter-spacing: .1em; color: rgba(242,166,194,.62); border: 1px solid rgba(242,166,194,.22); background: transparent; padding: 11px 28px; border-radius: 999px; cursor: pointer; transition: all .3s; }
.lock-back:hover { color: var(--pink-glow); border-color: rgba(242,166,194,.5); }

/* unlock flash overlay */
.unlock-flash {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
  display: grid; place-items: center; opacity: 0;
  background: radial-gradient(circle, rgba(40,8,28,.96), rgba(10,3,6,.99));
  transition: opacity .5s ease;
}
.unlock-flash.show { opacity: 1; }
.unlock-flash .uf-txt {
  font-family: var(--f-min); font-size: clamp(26px,4vw,44px);
  letter-spacing: .2em; text-align: center;
  background: linear-gradient(110deg, var(--gold2), var(--crimson-br), var(--purple-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: scale(.85); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.unlock-flash.show .uf-txt { transform: scale(1); }

/* ============================================================
   5. HONMARU HERO — the reveal
   ============================================================ */
#reveal {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--wine) 0%, var(--ink2) 45%, var(--ink) 100%);
  min-height: 128vh;
  padding: clamp(210px, 22vh, 280px) 0 clamp(210px, 22vh, 290px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#reveal .vignette { position: absolute; inset: 0; box-shadow: inset 0 0 200px 60px rgba(0,0,0,.8); pointer-events: none; }
.kanji-accent { font-family: var(--f-brush); letter-spacing: .15em;
  background: linear-gradient(120deg, var(--gold2) 0%, var(--vermilion) 45%, var(--purple-glow) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
#reveal .secret-en { font-family: var(--f-en); font-style: italic; font-size: 17px; letter-spacing: .12em; color: var(--gold); opacity: .8; }
#reveal h2 {
  font-family: var(--f-min); font-weight: 800;
  font-size: clamp(34px, 5.5vw, 76px); line-height: 1.32;
  margin: 22px auto 0; max-width: 18ch; color: #F4E4EC;
  text-shadow: 0 4px 40px rgba(206,53,83,.4);
}
#reveal h2 .em { color: var(--crimson-br); }
#reveal .reveal-sub { color: rgba(244,228,236,.7); font-family: var(--f-min); font-size: 17px; margin: 28px auto 0; max-width: 38ch; line-height: 2; }
#reveal .true-name {
  margin-top: clamp(96px, 15vh, 170px);
  margin-bottom: clamp(96px, 13vh, 150px);
  min-height: clamp(138px, 18vw, 190px);
  display: inline-grid;
  grid-template-areas: "stack";
  place-items: center;
  isolation: isolate;
}
#reveal .true-name > * { grid-area: stack; }
#reveal .true-name .fake-name {
  font-family: var(--f-cute);
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: .08em;
  color: var(--pink-glow);
  text-shadow: 0 0 18px rgba(242,166,194,.45);
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
#reveal .true-name .lbl {
  align-self: start;
  font-size: 12px;
  letter-spacing: .45em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(12px);
}
#reveal .true-name .nm {
  align-self: end;
  display: inline-flex;
  gap: .18em;
  font-family: var(--f-en);
  font-size: clamp(54px, 7vw, 86px);
  letter-spacing: .08em;
  font-weight: 600;
  line-height: 1;
}
#reveal .true-name .nm span {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold2), var(--crimson-br), var(--purple-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(42px) scale(.92);
  filter: blur(10px);
}
#reveal .true-name.name-revealed .fake-name { animation: fakeNameDissolve 1.65s cubic-bezier(.2,.8,.2,1) both; }
#reveal .true-name.name-revealed .lbl { animation: trueNameLabel .9s ease .95s both; }
#reveal .true-name.name-revealed .nm span { animation: muteLetterRise .82s cubic-bezier(.18,.85,.2,1) calc(1.12s + var(--i) * .12s) both; }
@keyframes fakeNameDissolve {
  0% { opacity: 0; transform: translateY(20px) scale(.96); filter: blur(8px); }
  22% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  58% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translateY(-28px) scale(1.04); filter: blur(14px); }
}
@keyframes trueNameLabel {
  from { opacity: 0; transform: translateY(12px); filter: blur(8px); }
  to { opacity: .78; transform: translateY(0); filter: blur(0); }
}
@keyframes muteLetterRise {
  0% { opacity: 0; transform: translateY(46px) scale(.92); filter: blur(12px); }
  72% { opacity: 1; transform: translateY(-5px) scale(1.02); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* decorative bow + chain (svg) sit at top of reveal */
.reveal-bow { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); z-index: 3; opacity: .9; }

/* ============================================================
   6. HONMARU FEATURES
   ============================================================ */
#honmaru-features { background: var(--ink); padding: 40px 0 120px; }
.hm-sec-head { text-align: center; margin-bottom: 70px; }
.hm-sec-head .eyebrow { color: var(--crimson); }
.hm-sec-head h2 { font-family: var(--f-min); font-size: clamp(28px,4vw,46px); color: #F4E4EC; margin-top: 12px; }

.hm-feature { display: grid; grid-template-columns: 1fr 256px; gap: 60px; align-items: center; margin-bottom: 110px; }
.hm-feature:nth-child(even) { grid-template-columns: 256px 1fr; }
.hm-feature:nth-child(even) .hm-phone { order: -1; }
.hm-num { font-family: var(--f-en); font-size: 16px; letter-spacing: .3em; color: var(--gold); opacity: .65; }
.hm-feature h3 { font-family: var(--f-brush); font-size: clamp(34px, 4.4vw, 56px); margin: 8px 0 6px;
  background: linear-gradient(120deg, var(--gold2), var(--vermilion) 55%, var(--purple-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .12em; }
.hm-feature .romaji { font-family: var(--f-en); letter-spacing: .26em; font-size: 13px; color: var(--crimson); text-transform: uppercase; margin-bottom: 18px; }
.hm-feature p { color: rgba(244,228,236,.72); font-family: var(--f-min); font-size: 16px; line-height: 2; max-width: 40ch; }
.hm-feature .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hm-feature .chip { font-size: 13px; font-family: var(--f-round); color: var(--pink-glow); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(241,84,111,.35); background: rgba(53,12,38,.5); }
.hm-phone { position: relative; }
.hm-phone .glow { position: absolute; inset: -20% -10%; background: radial-gradient(circle, rgba(206,53,83,.32), transparent 65%); filter: blur(20px); z-index: 0; }
.hm-phone .phone { position: relative; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0,0,0,.7)); }

/* ============================================================
   7. VALUE
   ============================================================ */
#value { background: radial-gradient(120% 80% at 50% 100%, var(--wine) 0%, var(--ink) 60%); padding: 110px 0 120px; }
#value .vhead { text-align: center; margin-bottom: 60px; }
#value .vhead h2 { font-family: var(--f-min); font-size: clamp(28px,4vw,48px); color: #F4E4EC; line-height: 1.5; }
#value .vhead h2 .em { color: var(--crimson-br); }
.value-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.value-row {
  display: flex; align-items: center; gap: 22px;
  padding: 26px 30px; border-radius: 16px;
  border: 1px solid rgba(241,84,111,.14);
  background: linear-gradient(100deg, rgba(53,12,38,.5), rgba(20,5,16,.3));
  transition: all .4s ease;
}
.value-row:hover { border-color: rgba(241,84,111,.4); background: linear-gradient(100deg, rgba(88,19,56,.6), rgba(20,5,16,.4)); }
.value-row .vn { font-family: var(--f-en); font-size: 22px; color: var(--gold); opacity: .6; min-width: 40px; }
.value-row .vt { font-family: var(--f-min); font-size: clamp(17px,2vw,22px); color: #F0DCE6; }

/* ============================================================
   8. FAQ
   ============================================================ */
#faq { background: var(--ink); padding: 100px 0 110px; }
#faq .wrap { max-width: 800px; }
#faq h2 { text-align: center; font-family: var(--f-min); font-size: clamp(26px,3.6vw,40px); color: #F4E4EC; margin-bottom: 44px; }
.faq-item { border-bottom: 1px solid rgba(241,84,111,.16); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 4px; cursor: pointer; font-family: var(--f-min); font-size: 18px; color: #F0DCE6; }
.faq-q .qmk { color: var(--gold); margin-right: 12px; font-family: var(--f-en); }
.faq-q .ar { color: var(--crimson); transition: transform .35s ease; font-size: 22px; }
.faq-item.open .faq-q .ar { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: rgba(244,228,236,.66); font-family: var(--f-min); font-size: 15.5px; line-height: 2; padding: 0 4px; }
.faq-item.open .faq-a { max-height: 260px; padding: 0 4px 26px; }

/* ============================================================
   9. CTA / FOOTER
   ============================================================ */
#cta { background: radial-gradient(110% 100% at 50% 120%, var(--wine2) 0%, var(--wine) 30%, var(--ink) 75%); padding: 130px 0 60px; text-align: center; position: relative; overflow: hidden; }
#cta .icon-big { width: 110px; height: 110px; border-radius: 28px; margin: 0 auto 30px; box-shadow: 0 24px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(241,84,111,.2); }
#cta h2 { font-family: var(--f-min); font-size: clamp(32px,5vw,64px); color: #F4E4EC; line-height: 1.3; }
#cta h2 .em { background: linear-gradient(120deg, var(--gold2), var(--crimson-br), var(--purple-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#cta p { color: rgba(244,228,236,.7); font-family: var(--f-min); margin: 22px auto 40px; max-width: 32ch; font-size: 17px; }
.btn-dark {
  font-family: var(--f-min); font-size: 18px; letter-spacing: .12em;
  padding: 18px 46px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(120deg, var(--gold), var(--vermilion) 50%, var(--purple));
  color: #fff; box-shadow: 0 16px 40px rgba(206,53,83,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(206,53,83,.65); }
#cta .micro { margin-top: 18px; font-size: 13px; color: rgba(242,166,194,.55); font-family: var(--f-round); letter-spacing: .04em; }
.footer { margin-top: 90px; border-top: 1px solid rgba(241,84,111,.14); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: rgba(242,166,194,.5); font-size: 13px; font-family: var(--f-round); }
.footer .fnav { display: flex; gap: 22px; }
.footer .fnav a:hover { color: var(--pink-glow); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  #hero { padding: 130px 0 80px; }
  #hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  #hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .cute-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cute-showcase { grid-template-columns: minmax(0,280px); }
  #lock { padding: 80px 16px; }
  .hm-feature, .hm-feature:nth-child(even) { grid-template-columns: 1fr; gap: 34px; justify-items: center; text-align: center; }
  .hm-feature:nth-child(even) .hm-phone { order: 0; }
  .hm-phone { width: min(280px, 80%); }
  .hm-feature p { margin: 0 auto; }
  .hm-feature .chips { justify-content: center; }
  .value-row { padding: 20px 22px; }
}
@media (max-width: 520px) {
  #hero h1 { font-size: 48px; }
  .keypad { gap: 12px; }
  .key { font-size: 24px; }
}

/* Asset-based passcode scene */
.lock-scene.lock-scene-asset {
  width: min(560px, 94vw);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.lock-scene.lock-scene-asset::before,
.lock-scene.lock-scene-asset::after { display: none; }
.passcode-unlock {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 34px 90px rgba(0,0,0,.66)) drop-shadow(0 0 38px rgba(206,53,83,.22));
  transition: transform .35s ease, filter .35s ease;
}
.passcode-unlock:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 40px 100px rgba(0,0,0,.72)) drop-shadow(0 0 48px rgba(241,84,111,.32));
}
.passcode-img {
  display: block;
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 28px;
}
.lock-back.lock-back-asset {
  display: block;
  margin-top: 18px;
  background: rgba(10,3,6,.34);
  backdrop-filter: blur(10px);
}
@media (max-width: 640px) {
  .lock-scene.lock-scene-asset { width: min(390px, 96vw); }
  .passcode-img { max-height: 78vh; border-radius: 22px; }
}

/* Passcode asset final fit adjustments */
.lock-scene.lock-scene-asset { width: min(500px, 92vw); }
.passcode-img { max-height: 80vh; }
@media (min-width: 900px) {
  #lock { padding-top: 84px; padding-bottom: 84px; }
}

@media (max-width: 640px) { .hero-lock-hint { right: 50%; transform: translateX(50%); bottom: -20px; font-size: 12px; } }

/* Hero cute image clarity / mobile fit */
@media (max-width: 520px) {
  #hero { padding-bottom: 64px; }
  #hero .wrap { gap: 34px; }
  .hero-phone { width: min(190px, 62%); }
}

@media (max-width: 520px) {
  #tease { padding-top: 112px; padding-bottom: 150px; }
  #tease .eyebrow { font-size: 42px; letter-spacing: .1em; }
  #tease h2 { font-size: 31px; line-height: 1.58; margin-top: 30px; }
  #tease .sub { margin-top: 52px; font-size: 15.5px; line-height: 2; max-width: 21em; }
}

@media (max-width: 520px) {
  #reveal { min-height: 132vh; padding-top: 180px; padding-bottom: 210px; }
  #reveal .true-name { margin-top: 92px; margin-bottom: 112px; min-height: 150px; }
  #reveal .true-name .fake-name { font-size: 40px; }
  #reveal .true-name .nm { font-size: 58px; }
}

/* Mobile responsive hardening v2 */
html, body { overflow-x: hidden; }
@media (max-width: 520px) {
  .topbar { top: 10px; left: 12px; right: 12px; height: 54px; padding: 8px 12px; border-radius: 999px; }
  .brand-name { font-size: 14px; }
  .topbar .ico { width: 30px; height: 30px; }
  .topbar .nav-cta { font-size: 12px; padding: 9px 12px; }
  section { scroll-margin-top: 74px; }
  .wrap { padding-left: 18px; padding-right: 18px; }

  #hero { padding: 104px 0 68px; min-height: auto; }
  #hero .wrap { gap: 24px; }
  .hero-badge { font-size: 12px; padding: 7px 13px; margin-bottom: 16px; }
  #hero h1 { font-size: 42px; line-height: 1.08; }
  #hero h1 .sm { font-size: .45em; margin-bottom: 5px; }
  #hero .lede { font-size: 14.5px; line-height: 1.85; margin-top: 18px; max-width: 24em; }
  .hero-cta { margin-top: 20px; gap: 10px; }
  .btn-cute { padding: 13px 20px; font-size: 14px; }
  .hero-note { font-size: 12px; color: rgba(156,87,112,.92); }
  .hero-phone { width: min(150px, 48vw); margin-top: 2px; }
  .hero-lock-hint { display: none; }
  .cute-deco { opacity: .38; transform: scale(.72); }

  #cute-features { padding: 70px 0 82px; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: 32px; line-height: 1.35; }
  .sec-head p { font-size: 14.5px; line-height: 1.8; max-width: 23em; margin-left: auto; margin-right: auto; }
  .cute-grid { gap: 18px; }
  .cute-card { padding: 22px 20px 24px; border-radius: 22px; }
  .cute-card p { font-size: 14px; line-height: 1.75; }
  .cute-showcase { margin-top: 42px; grid-template-columns: minmax(0, 170px); gap: 22px; }

  #tease { padding: 108px 0 132px; }
  #tease .eyebrow { font-size: 38px; letter-spacing: .1em; }
  #tease h2 { font-size: 28px; line-height: 1.62; margin-top: 28px; color: #fff; text-shadow: 0 3px 24px rgba(50,22,48,.72); }
  #tease .sub { margin-top: 48px; font-size: 15px; line-height: 2; color: rgba(255,255,255,.98); max-width: 20.5em; text-shadow: 0 2px 16px rgba(45,18,42,.78), 0 0 2px rgba(45,18,42,.62); }

  #lock { min-height: 100svh; padding: 88px 18px 72px; }
  .lock-scene.lock-scene-asset { width: min(320px, 88vw); }
  .passcode-img { max-height: 72svh; border-radius: 22px; filter: brightness(1.08) contrast(1.04); }

  #reveal { min-height: auto; padding: 118px 0 138px; }
  .reveal-bow { top: 18px; transform: translateX(-50%) scale(.78); opacity: .76; }
  #reveal .secret-en { font-size: 13px; letter-spacing: .1em; }
  #reveal h2 { font-size: 36px; line-height: 1.42; margin-top: 18px; }
  #reveal .reveal-sub { font-size: 14.8px; line-height: 2; margin-top: 24px; max-width: 23em; }
  #reveal .true-name { margin-top: 72px; margin-bottom: 80px; min-height: 142px; }
  #reveal .true-name .fake-name { font-size: 38px; }
  #reveal .true-name .lbl { font-size: 10px; letter-spacing: .38em; }
  #reveal .true-name .nm { font-size: 54px; gap: .13em; }

  #honmaru-features { padding: 32px 0 74px; }
  .hm-sec-head { margin-bottom: 48px; }
  .hm-sec-head h2 { font-size: 29px; line-height: 1.45; }
  .hm-feature, .hm-feature:nth-child(even) { gap: 24px; margin-bottom: 76px; }
  .hm-phone { width: min(210px, 62vw); }
  .hm-phone .glow { inset: -14% -18%; opacity: .8; }
  .hm-feature h3 { font-size: 38px; margin-top: 6px; }
  .hm-feature .romaji { font-size: 11px; letter-spacing: .2em; margin-bottom: 14px; }
  .hm-feature p { font-size: 14.8px; line-height: 1.9; color: rgba(244,228,236,.86); max-width: 23em; }
  .hm-feature .chips { gap: 8px; margin-top: 16px; }
  .hm-feature .chip { font-size: 12px; padding: 6px 11px; }

  #value { padding: 82px 0 88px; }
  #value .vhead { margin-bottom: 38px; }
  .value-row { gap: 14px; padding: 18px 16px; }
  .value-row .vn { font-size: 17px; min-width: 34px; }
  .value-row .vt { font-size: 16px; line-height: 1.65; }

  #faq { padding: 82px 0 86px; }
  .faq-q { font-size: 16px; line-height: 1.55; padding: 20px 0; }
  .faq-a { font-size: 14px; line-height: 1.85; }

  #cta { padding: 94px 0 44px; }
  #cta .icon-big { width: 82px; height: 82px; border-radius: 22px; }
  #cta h2 { font-size: 34px; }
  #cta p { font-size: 15px; line-height: 1.9; }
  .footer { margin-top: 58px; justify-content: center; text-align: center; }
}

/* Mobile readability pass v3 */
@media (max-width: 520px) {
  #tease {
    background:
      linear-gradient(180deg, rgba(249,224,234,.96) 0%, rgba(203,148,174,.94) 28%, rgba(103,62,93,.98) 68%, rgba(45,22,42,1) 100%);
    padding-top: 96px;
    padding-bottom: 112px;
  }
  #tease .eyebrow { color: #fff; text-shadow: 0 4px 22px rgba(42,18,40,.72); }
  #tease h2 {
    color: #fff;
    text-shadow: 0 3px 24px rgba(30,12,28,.92), 0 0 2px rgba(30,12,28,.72);
  }
  #tease .sub {
    color: #fff;
    font-weight: 700;
    text-shadow: 0 3px 18px rgba(18,8,18,.95), 0 0 3px rgba(18,8,18,.9);
  }

  #reveal {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 108px;
  }
  .reveal-bow { top: 12px; transform: translateX(-50%) scale(.68); opacity: .62; }
  #reveal .secret-en { margin-top: 12px; }
  #reveal .true-name { margin-top: 50px; margin-bottom: 54px; min-height: 132px; }
  #reveal .reveal-sub { margin-top: 20px; }

  .hm-feature p { color: rgba(244,228,236,.94); }
  .hm-feature .chip { color: #ffd3e3; background: rgba(88,19,56,.62); }
}

/* Mobile final tightening v4 */
@media (max-width: 520px) {
  #tease .wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%; top: 50%;
    width: min(340px, 92vw); height: 520px;
    transform: translate(-50%, -45%);
    background: radial-gradient(circle, rgba(45,18,42,.42) 0%, rgba(45,18,42,.22) 42%, transparent 72%);
    filter: blur(2px);
    pointer-events: none;
  }
  #tease h2 { font-weight: 800; color: rgba(255,255,255,1); }
  #tease .sub { font-size: 15.5px; color: rgba(255,255,255,1); }

  #reveal { padding-top: 74px; padding-bottom: 82px; }
  #reveal h2 { font-size: 34px; line-height: 1.36; }
  #reveal .reveal-sub { font-size: 14.5px; line-height: 1.88; max-width: 22em; }
  #reveal .true-name { margin-top: 30px; margin-bottom: 34px; min-height: 118px; }
  #reveal .true-name .fake-name { font-size: 34px; }
  #reveal .true-name .nm { font-size: 50px; }

  .hm-phone { width: min(180px, 54vw); }
  .hm-feature p { font-size: 15.2px; line-height: 1.92; color: rgba(248,235,242,.96); }
  .hm-feature { margin-bottom: 66px; }
}

/* Mobile contrast correction v5 */
@media (max-width: 520px) {
  #tease {
    background:
      linear-gradient(180deg, #f7dce7 0%, #c58ba8 22%, #74415f 46%, #2c172b 78%, #130812 100%);
  }
  #tease .wrap::before {
    width: min(360px, 96vw); height: 620px;
    background: radial-gradient(circle, rgba(24,8,22,.72) 0%, rgba(24,8,22,.48) 48%, rgba(24,8,22,.12) 76%, transparent 100%);
  }
  #tease .eyebrow,
  #tease h2,
  #tease .sub {
    color: #fff !important;
    text-shadow: 0 3px 18px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.9), 0 0 26px rgba(255,255,255,.12);
  }
  #tease .sub span { color: #ff9ac2 !important; text-shadow: 0 3px 18px rgba(0,0,0,.95), 0 0 16px rgba(255,120,165,.34); }
  .hm-feature .romaji { color: #ff6f8f; }
  .hm-num { opacity: .9; }
}

/* Hero CTA button removed: note-only layout */
.hero-cta-noteonly { margin-top: 22px; }
.hero-cta-noteonly .hero-note { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.62); border: 1px solid rgba(238,143,177,.28); color: rgba(156,87,112,.92); box-shadow: 0 10px 24px rgba(238,143,177,.16); }
@media (max-width: 520px) { .hero-cta-noteonly { margin-top: 18px; } .hero-cta-noteonly .hero-note { font-size: 12px; padding: 7px 12px; } }

/* Mobile: cute feature cards as horizontal slider */
@media (max-width: 520px) {
  .cute-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    max-width: none;
    margin: 0 -18px;
    padding: 4px 18px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
  }
  .cute-grid::-webkit-scrollbar { display: none; }
  .cute-grid { scrollbar-width: none; }
  .cute-card {
    flex: 0 0 min(82vw, 320px);
    min-height: 220px;
    scroll-snap-align: center;
    padding: 28px 24px 30px;
    border-radius: 26px;
  }
  .cute-card h3 { font-size: 23px; margin-bottom: 12px; }
  .cute-card p { font-size: 14.5px; line-height: 1.9; }
  .cute-card .emojibox { width: 72px; height: 72px; border-radius: 22px; font-size: 32px; margin-bottom: 18px; }
}

/* Make mobile card slider affordance clearer */
@media (max-width: 520px) {
  .cute-grid { gap: 14px; }
  .cute-card { flex-basis: min(76vw, 296px); }
}

/* Mobile: cute phone screenshots as horizontal slider */
@media (max-width: 520px) {
  .cute-showcase {
    display: flex;
    grid-template-columns: none;
    justify-content: flex-start;
    gap: 16px;
    margin: 42px -18px 0;
    padding: 4px 18px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cute-showcase::-webkit-scrollbar { display: none; }
  .cute-showcase .phone {
    flex: 0 0 min(72vw, 280px);
    width: auto;
    scroll-snap-align: center;
  }
}

/* Mobile lock image should be an entrance part, not full-screen artwork */
@media (max-width: 520px) {
  #lock {
    min-height: auto;
    padding: 86px 18px 92px;
  }
  .lock-scene.lock-scene-asset {
    width: min(245px, 64vw);
  }
  .passcode-img {
    max-height: 56svh;
    border-radius: 20px;
    filter: brightness(1.1) contrast(1.04) drop-shadow(0 22px 48px rgba(0,0,0,.48));
  }
  .passcode-unlock {
    filter: drop-shadow(0 24px 54px rgba(0,0,0,.56)) drop-shadow(0 0 28px rgba(206,53,83,.22));
  }
}
