/* ============================================================
   SHINDO site — Build_31 layer
   Navigation menu · designed media fills (no template labels) · home sections ·
   download / pro / shop / what's-new pages. Loaded after style.css on every page.
   ============================================================ */

:root { --gold: #D9B36C; --gold-2: #F3DDA8; --black: #0B0C0E; }

/* ---------- Navigation: Download + menu button ---------- */
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__menu {
  width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--glass-light); border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-pill); color: inherit;
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  transition: background 500ms var(--ease), border-color 500ms var(--ease), transform 300ms var(--ease);
}
.nav__menu:hover { transform: scale(1.04); }
.nav__menu-t { position: absolute; left: -9999px; }
.nav__menu-i { position: relative; width: 22px; height: 12px; display: block; }
.nav__menu-i i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 500ms var(--ease), top 500ms var(--ease); }
.nav__menu-i i:first-child { top: 0; } .nav__menu-i i:last-child { top: 10.5px; }
.menu-open .nav__menu-i i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .nav__menu-i i:last-child { top: 5px; transform: rotate(-45deg); }
.nav--on-dark .nav__menu, .menu-open .nav .nav__menu, .menu-open .nav .nav__logo, .menu-open .nav .nav__cta .btn {
  background: var(--glass-dark); border-color: var(--glass-border-dark); color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.menu-open .nav { color: var(--white); }
.menu-open .nav .nav__pill { opacity: 0; pointer-events: none; }
.nav__pill a[aria-current="page"] { font-weight: 500; }
.nav__pill a { padding: 0 38px; }
.nav__cta .btn { padding: 0 44px; }
@media (max-width: 1100px) { .nav__pill a { padding: 0 26px; } .nav__cta .btn { padding: 0 32px; } }
@media (max-width: 900px) {
  .nav__menu { width: 52px; height: 52px; }
  .nav__cta .btn { padding: 0 20px; }
  .nav__logo { padding: 0 14px 0 12px; height: 52px; font-size: 18px; }
  .nav__logo small { display: none; }
}
@media (max-width: 380px) { .nav__cta .btn { padding: 0 14px; font-size: 14px; } .nav { gap: 6px; padding-left: 10px; padding-right: 10px; } }

.menu {
  position: fixed; inset: 0; z-index: 99; color: #fff; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 80% at 85% 0%, #1d2430 0%, #101216 55%, #0B0C0E 100%);
  clip-path: circle(0 at calc(100% - 64px) 58px); visibility: hidden;
  transition: clip-path 800ms var(--ease), visibility 0s linear 800ms;
}
.menu-open .menu { clip-path: circle(160vmax at calc(100% - 64px) 58px); visibility: visible; transition: clip-path 900ms var(--ease), visibility 0s; }
.menu-open, .menu-open body { overflow: hidden; }
.menu__in { min-height: 100%; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: end;
  padding: clamp(120px, 16vh, 180px) clamp(24px, 6vw, 110px) clamp(36px, 6vh, 72px); max-width: 1700px; margin: 0 auto; }
.menu__main { display: grid; }
.menu__main a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(10px, 1.6vh, 18px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1); opacity: 0; transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), padding-left 400ms var(--ease); }
.menu__main a span { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.6vh, 58px); letter-spacing: -0.03em; line-height: 1.05; }
.menu__main a small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); text-align: right; }
.menu__main a:hover, .menu__main a:focus-visible { padding-left: 14px; }
.menu__main a[aria-current="page"] span { color: var(--gold-2); }
.menu-open .menu__main a { opacity: 1; transform: none; }
.menu-open .menu__main a:nth-child(1) { transition-delay: 140ms; } .menu-open .menu__main a:nth-child(2) { transition-delay: 190ms; }
.menu-open .menu__main a:nth-child(3) { transition-delay: 240ms; } .menu-open .menu__main a:nth-child(4) { transition-delay: 290ms; }
.menu-open .menu__main a:nth-child(5) { transition-delay: 340ms; } .menu-open .menu__main a:nth-child(6) { transition-delay: 390ms; }
.menu__side { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; opacity: 0; transition: opacity 700ms var(--ease) 380ms; }
.menu-open .menu__side { opacity: 1; }
.menu__col { display: grid; gap: 11px; align-content: start; }
.menu__col h4 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.menu__col a { font-size: 17px; color: rgba(255,255,255,0.82); transition: color 200ms; }
.menu__col a:hover { color: #fff; }
.menu__lang { grid-column: 1 / -1; display: flex; gap: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.menu__lang button { font-size: 15px; color: rgba(255,255,255,0.5); cursor: pointer; padding: 6px 0; }
.menu__lang button[aria-pressed="true"] { color: #fff; box-shadow: 0 1px 0 #fff; }
@media (max-width: 900px) {
  .menu { clip-path: circle(0 at calc(100% - 42px) 40px); }
  .menu-open .menu { clip-path: circle(160vmax at calc(100% - 42px) 40px); }
  .menu__in { grid-template-columns: 1fr; align-items: start; padding-top: 104px; gap: 36px; }
  .menu__main a span { font-size: clamp(28px, 8vw, 40px); }
  .menu__main a small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu, .menu-open .menu { transition: none; } }
.footer__cols { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1300px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Media fills: every video slot shows a designed visual until its movie exists ---------- */
.media__placeholder .label, .media__placeholder .ring { display: none !important; }
.media__placeholder { background: linear-gradient(150deg, #262C34, #15181C 70%); }
.media--light .media__placeholder { background: linear-gradient(150deg, #F3F0EA, #DDD7CB); }
.mfill { position: absolute; inset: 0; container-type: size; overflow: hidden; }
.mfill--cover { background: #111 center / cover no-repeat; }
.mfill--cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,0.1) 0%, rgba(10,12,16,0.05) 40%, rgba(10,12,16,0.72) 100%); }
.mfill--phone { background: radial-gradient(90% 70% at 50% 0%, rgba(140,170,220,0.22), transparent 62%), linear-gradient(160deg, #222933, #111317 75%); }
.media--light .mfill--phone { background: radial-gradient(90% 70% at 50% 0%, #fff, transparent 60%), linear-gradient(160deg, #EFECE6, #D9D3C7); }
.mfill--phone .iphone { position: absolute; left: 50%; top: 50%; width: min(56cqw, 39cqh); transform: translate(-50%, -50%); }
.mfill--peek .iphone { top: 9cqh; width: min(58cqw, 44cqh); transform: translateX(-50%); }
.mfill--peek::after, .mfill--crop.mfill--peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(180deg, transparent, rgba(12,14,18,0.94) 78%); pointer-events: none; }
.mfill--crop { display: grid; place-items: center; padding: 8cqw; background: radial-gradient(80% 60% at 30% 10%, rgba(255,120,150,0.14), transparent 60%), linear-gradient(160deg, #23232B, #101114 75%); }
.mfill--crop img { max-width: 100%; max-height: 78cqh; width: auto; border-radius: 22px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 40px 90px rgba(0,0,0,0.5); }
.mfill--crop.mfill--peek { align-items: start; padding-top: 10cqh; }
.mfill--type { display: grid; align-content: center; gap: 1.2cqh; padding: 9cqw; background: linear-gradient(160deg, #1F2A2B, #101315 75%); color: #fff;
  font-family: var(--font-display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(26px, 9cqw, 76px); }
.mfill--type span:nth-child(1) { color: #fff; } .mfill--type span:nth-child(2) { color: rgba(255,255,255,0.55); } .mfill--type span:nth-child(3) { color: rgba(255,255,255,0.3); }
.mfill--type.mfill--peek { align-content: start; padding-top: 12cqh; }
.mfill--live { display: grid; place-items: center; align-content: center; gap: 18px; padding: 8cqw; background: radial-gradient(80% 60% at 50% 0%, rgba(255,179,107,0.16), transparent 60%), linear-gradient(160deg, #24262B, #0F1012 75%); }
.mfill--live.mfill--peek { align-content: start; padding-top: 14cqh; }
.live-pill { width: min(100%, 440px); border-radius: 44px; background: #000; color: #fff; padding: 20px 24px; display: grid; gap: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.08); }
.live-pill__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.live-pill__mid { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.live-pill__mid b { font-family: var(--font-display); font-weight: 300; font-size: 40px; letter-spacing: -0.03em; color: #FFB36B; line-height: 1; }
.live-pill__mid span { font-size: 13px; color: rgba(255,255,255,0.7); text-align: right; }
.live-pill__bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.14); overflow: hidden; }
.live-pill__bar i { display: block; height: 100%; background: #FFB36B; animation: b31-drain 9s linear infinite; }
@keyframes b31-drain { from { width: 100%; } to { width: 0; } }
.live-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.mfill--nazu { display: grid; place-items: center; background: radial-gradient(50% 45% at 50% 46%, rgba(125,249,255,0.2), transparent 70%), linear-gradient(170deg, #0E1A26, #06090E 80%); }
.nzs { display: block; width: 68px; height: 34px; background: url("img/nazu-sprite.png") 0 0 / 544px 34px no-repeat; image-rendering: pixelated; image-rendering: crisp-edges;
  animation: nazu-swim 1.4s steps(8) infinite; filter: drop-shadow(0 0 3px var(--nz, #7DF9FF)); }
.mfill--nazu .nzs { transform: scale(min(5, calc(100cqw / 130))); }
@media (prefers-reduced-motion: reduce) { .nzs, .live-pill__bar i { animation: none; } }

/* ---------- App Store badge (Apple's own artwork, served by Apple) ---------- */
.store-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform 300ms var(--ease), opacity 300ms; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 60px; width: auto; display: block; }
.store-badge--lg img { height: 72px; }
.store-badge__txt { display: inline-flex; align-items: center; height: 60px; padding: 0 28px; border-radius: 12px; background: #000; color: #fff; font-size: 17px; line-height: 1; border: 1px solid rgba(255,255,255,0.35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row--center { justify-content: center; }
.fine { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.on-dark .fine, .fine.on-dark { color: rgba(255,255,255,0.5); }

/* ---------- Home hero ---------- */
.hero.hero--b31 { place-items: stretch; min-height: max(100svh, 760px); }
.hero--b31::after { background: linear-gradient(90deg, rgba(6,8,14,0.82) 0%, rgba(6,8,14,0.5) 46%, rgba(6,8,14,0.12) 100%), linear-gradient(180deg, rgba(6,8,14,0.35), transparent 30%, rgba(6,8,14,0.55)); }
.hero__sky { position: absolute; inset: -4%; background: url("img/sky-night.jpg") 70% 60% / cover no-repeat; animation: b31-drift 40s ease-in-out infinite alternate; }
@keyframes b31-drift { from { transform: scale(1) translate3d(0,0,0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: clamp(24px, 4vw, 80px);
  width: 100%; max-width: 1640px; margin: 0 auto; padding: calc(var(--nav-h) + 36px) clamp(24px, 5vw, 96px) 64px; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__copy .h-hero { font-size: clamp(42px, 5.6vw, 92px); max-width: 13ch; }
html[lang="ja"] .hero__copy .h-hero { font-size: clamp(34px, 4.4vw, 72px); max-width: 14em; line-height: 1.18; }
.hero__copy .lead { color: rgba(255,255,255,0.78); max-width: 46ch; }
.hero__copy .eyebrow { color: rgba(255,255,255,0.6); }
.hero__phone { position: relative; justify-self: center; width: min(100%, 360px); }
.hero__phone .iphone { transform: rotate(4deg); animation: b31-float 9s ease-in-out infinite; }
@keyframes b31-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.hero__chip { position: absolute; left: -34%; bottom: 16%; width: 78%; padding: 16px 18px; border-radius: 22px; display: grid; gap: 6px; color: #fff;
  background: rgba(22,25,30,0.72); border: 1px solid rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45); animation: b31-float 9s ease-in-out -3s infinite; }
.hero__chip small { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.hero__chip b { font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -0.01em; }
.hero__chip span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.75); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 112px; padding-bottom: 0; gap: 40px; }
  .hero__phone { width: min(64vw, 270px); margin-bottom: -34%; }
  .hero__chip { left: -26%; width: 84%; bottom: 44%; }
  .hero--b31::after { background: linear-gradient(180deg, rgba(6,8,14,0.72) 0%, rgba(6,8,14,0.45) 55%, rgba(6,8,14,0.3) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__sky, .hero__phone .iphone, .hero__chip { animation: none; } }

/* ---------- Early-warning stage (#app) ---------- */
.feature-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; background: radial-gradient(70% 90% at 82% 40%, #2A3340 0%, #171A1F 55%, #101215 100%); }
.feature-hero--split .feature-hero__copy { padding-right: 0; }
.eewm { position: relative; justify-self: center; width: min(78%, 340px); margin: 56px 0; }
.eewm__screen { position: absolute; inset: 0; background: url("img/sky-night.jpg") 62% 70% / cover; display: flex; flex-direction: column; padding: 16% 6% 6%; color: #fff; }
.eewm__screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,14,0.5), rgba(5,8,14,0.25) 40%, rgba(5,8,14,0.7)); }
.eewm__screen > * { position: relative; }
.eewm__date { text-align: center; font-size: clamp(11px, 1.05vw, 15px); opacity: 0.85; }
.eewm__clock { text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(54px, 6.4vw, 92px); letter-spacing: -0.03em; line-height: 1; margin-bottom: auto; font-variant-numeric: tabular-nums; }
.eewm__n { border-radius: 22px; padding: 12px 14px; display: grid; gap: 3px; margin-top: 8px; background: rgba(40,44,52,0.62); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.eewm__n.on { opacity: 1; transform: none; }
.eewm__n small { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); }
.eewm__n b { font-size: clamp(12px, 1.05vw, 15px); font-weight: 600; }
.eewm__n span { font-size: clamp(11px, 0.95vw, 14px); line-height: 1.35; color: rgba(255,255,255,0.86); }
.eewm__n--warn { background: rgba(120,58,20,0.72); }
.eewm__n--warn b { color: #FFD3A6; }
.eewm__cap { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; }
@media (max-width: 900px) { .feature-hero--split { grid-template-columns: 1fr; } .feature-hero--split .feature-hero__copy { padding-right: clamp(28px, 5vw, 96px); padding-bottom: 8px; } .eewm { width: min(66%, 280px); margin: 24px 0 72px; } }

/* ---------- Seismic board tweaks ---------- */
.sb__feed { display: none !important; }

/* ---------- AI, in plain words ---------- */
.aix { border-radius: var(--radius-xl); background: linear-gradient(165deg, #20252C, #121418 80%); color: #fff; padding: clamp(24px, 3.4vw, 52px); display: grid; gap: 22px; }
.aix__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; gap: 12px; }
.aix__raw { font-family: var(--font-jp); font-size: clamp(14px, 1.05vw, 16px); line-height: 1.9; color: rgba(255,255,255,0.55); padding: 20px 22px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); margin: 0; }
.aix__arrow { justify-self: center; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.5)); position: relative; }
.aix__arrow::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.6); transform: rotate(45deg); }
.aix__out { font-family: var(--font-display); font-weight: 300; font-size: clamp(19px, 1.65vw, 27px); line-height: 1.38; letter-spacing: -0.015em; margin: 0; min-height: 6.9em; }
.aix__out .w { opacity: 0.16; transition: opacity 500ms var(--ease); }
.aix__out .w.on { opacity: 1; }
.aix__langs { display: flex; gap: 20px; }
.aix__langs button { font-size: 14px; color: rgba(255,255,255,0.45); cursor: pointer; padding: 4px 0; }
.aix__langs button[aria-pressed="true"] { color: #fff; box-shadow: 0 1px 0 #fff; }
.plain-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.plain-list li { padding-left: 22px; position: relative; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.plain-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--ink); }

/* ---------- Nazu stage ---------- */
.nz { position: relative; margin: 0 var(--inset); border-radius: var(--radius-xl); overflow: hidden; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  --nz: #7DF9FF; background: #05080D; min-height: min(92vh, 980px); }
.nz__water { position: absolute; inset: 0; background: radial-gradient(60% 55% at 72% 46%, color-mix(in srgb, var(--nz) 26%, transparent), transparent 70%), linear-gradient(175deg, #0B1622, #04060A 80%); transition: background 900ms var(--ease); }
.nz__water canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nz__copy { position: relative; z-index: 2; padding: clamp(56px, 7vw, 120px) clamp(28px, 5vw, 96px); display: grid; gap: 24px; justify-items: start; }
.nz__copy .lead { color: rgba(255,255,255,0.72); }
.nz__moods { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 6px; }
.nz__moods button { display: grid; gap: 6px; justify-items: start; cursor: pointer; padding: 6px 0; color: rgba(255,255,255,0.5); font-size: 15px; transition: color 300ms; }
.nz__moods button i { display: block; width: 100%; min-width: 46px; height: 2px; border-radius: 2px; background: var(--c); opacity: 0.45; transition: opacity 300ms; }
.nz__moods button[aria-pressed="true"] { color: #fff; } .nz__moods button[aria-pressed="true"] i { opacity: 1; }
.nz__say { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.6); min-height: 3em; max-width: 44ch; }
.nz__stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: 420px; padding: 40px 24px 64px; }
.nz__fish { position: relative; width: 340px; height: 170px; display: grid; place-items: center; animation: b31-swim 11s ease-in-out infinite; }
.nz__fish .nzs { transform: scale(5); filter: drop-shadow(0 0 2px var(--nz)) drop-shadow(0 0 5px color-mix(in srgb, var(--nz) 60%, transparent)); transition: filter 600ms; }
@keyframes b31-swim { 0%,100% { transform: translate(-8%, 4%) rotate(-3deg); } 30% { transform: translate(7%, -6%) rotate(2deg); } 62% { transform: translate(2%, 7%) rotate(-1deg); } }
.nz[data-mood="alert"] .nz__fish { animation-duration: 3.2s; } .nz[data-mood="warn"] .nz__fish { animation-duration: 6s; }
.nz__ob { position: absolute; right: 7%; bottom: -70px; width: min(34%, 210px); }
.nz__ob .iphone { transform: rotate(5deg); }
.ob { position: absolute; inset: 0; background: linear-gradient(180deg, #0C1218, #05070A); color: #fff; }
.ob__s { position: absolute; inset: 0; padding: 30% 9% 10%; display: grid; align-content: start; gap: 8%; opacity: 0; transition: opacity 700ms var(--ease); }
.ob__s.on { opacity: 1; }
.ob__s small { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.ob__s b { font-family: var(--font-display); font-weight: 300; font-size: 17px; line-height: 1.12; letter-spacing: -0.02em; }
.ob__opts { display: grid; gap: 5px; }
.ob__opts i { font-style: normal; font-size: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.8); }
.ob__opts i.sel { background: #fff; color: #111; }
.ob__dots { position: absolute; left: 0; right: 0; bottom: 5%; display: flex; gap: 4px; justify-content: center; }
.ob__dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.25); } .ob__dots i.on { background: #fff; }
.nz__note { position: absolute; z-index: 2; left: clamp(28px, 5vw, 96px); bottom: 26px; }
@media (max-width: 900px) { .nz { grid-template-columns: 1fr; } .nz__stage { min-height: 380px; padding-bottom: 110px; } .nz__fish { width: 260px; height: 130px; } .nz__fish .nzs { transform: scale(3.6); } .nz__ob { right: 6%; width: 36%; bottom: -60px; } .nz__note { position: relative; left: auto; bottom: auto; padding: 0 28px 26px; } }
@media (prefers-reduced-motion: reduce) { .nz__fish { animation: none; } }

/* ---------- "You decide what wakes you" ---------- */
.thr { border-radius: var(--radius-xl); background: linear-gradient(165deg, #1F2329, #121418 80%); color: #fff; padding: clamp(22px, 3vw, 44px); display: grid; gap: 22px; }
.thr__rows { display: grid; gap: 8px; }
.thr__row { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,0.045); transition: background 400ms var(--ease), opacity 400ms var(--ease); }
.thr__sc { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #111; background: var(--sc); }
.thr__row b { display: block; font-weight: 500; font-size: 16px; } .thr__row div span { font-size: 13px; color: rgba(255,255,255,0.55); }
.thr__sc small { font-size: 11px; margin-left: 1px; }
.thr__st { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-align: right; white-space: nowrap; }
.thr__st em { font-style: normal; display: none; }
.thr__row[data-st="0"] { opacity: 0.5; } .thr__row[data-st="0"] .thr__st em:nth-child(1) { display: inline; }
.thr__row[data-st="1"] .thr__st { color: #fff; } .thr__row[data-st="1"] .thr__st em:nth-child(2) { display: inline; }
.thr__row[data-st="2"] { background: rgba(232,106,92,0.2); } .thr__row[data-st="2"] .thr__st { color: #FFB1A6; } .thr__row[data-st="2"] .thr__st em:nth-child(3) { display: inline; }
.thr__ctl { display: grid; gap: 14px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); }
.thr__ctl label { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.6fr 64px; gap: 16px; align-items: center; font-size: 15px; color: rgba(255,255,255,0.75); }
.thr__ctl output { font-family: var(--font-display); font-size: 19px; text-align: right; color: #fff; }
.thr__ctl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.thr__ctl input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.2); }
.thr__ctl input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.2); }
.thr__ctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.thr__ctl input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; }
@media (max-width: 560px) { .thr__ctl label { grid-template-columns: 1fr 56px; } .thr__ctl label input { grid-column: 1 / -1; order: 3; } .thr__row { grid-template-columns: 44px 1fr; } .thr__sc { width: 44px; height: 44px; font-size: 18px; } .thr__st { grid-column: 2; text-align: left; } }

/* ---------- Hazard tabs ---------- */
.segments--4 button { padding: 0 24px; height: 52px; font-size: 16px; }
@media (max-width: 640px) { .segments--4 { max-width: calc(100% - 20px); } .segments--4 button { padding: 0 12px; height: 44px; font-size: 13px; } }
.feature-row .media--tall { aspect-ratio: 10 / 11; }

/* ---------- Sources strip ---------- */
.src-strip { max-width: 1300px; margin: 0 auto; display: grid; gap: 18px; justify-items: center; text-align: center; }
.src-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.src-strip a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- What's new ---------- */
.wn { max-width: 1500px; margin: 0 auto; display: grid; gap: 40px; }
.wn__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.wn__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--inset); }
.wn__card { display: grid; align-content: space-between; gap: 48px; min-height: 300px; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--radius-l); background: var(--white); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
a.wn__card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(26,29,33,0.12); }
.wn__card small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.wn__card h3 { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.16; margin-bottom: 12px; }
.wn__card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.wn__card--dark { background: var(--ink); color: #fff; } .wn__card--dark p { color: rgba(255,255,255,0.65); } .wn__card--dark small { color: rgba(255,255,255,0.45); }
@media (max-width: 900px) { .wn__grid { grid-template-columns: 1fr; } .wn__card { min-height: 0; gap: 28px; } }

/* ---------- Plans: black and gold, as in the app ---------- */
.pw { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--inset); }
.pw__free { border-radius: var(--radius-xl); background: var(--white); padding: clamp(32px, 4vw, 60px); display: grid; gap: 26px; align-content: start; }
.pw__pro { position: relative; border-radius: var(--radius-xl); background: radial-gradient(90% 60% at 100% 0%, rgba(217,179,108,0.16), transparent 60%), var(--black); color: #fff; padding: clamp(32px, 4vw, 60px); display: grid; gap: 26px; align-content: start; }
.pw__pro::before { content: ""; position: absolute; inset: 10px; border-radius: calc(var(--radius-xl) - 10px); border: 1px solid rgba(217,179,108,0.38); pointer-events: none; }
.pw h3 { font-size: clamp(30px, 3vw, 46px); }
.pw__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pw__free .pw__tag { color: var(--ink-faint); }
.pw__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.pw__price b { font-family: var(--font-display); font-weight: 300; font-size: clamp(44px, 4.6vw, 72px); letter-spacing: -0.03em; line-height: 1; color: var(--gold-2); }
.pw__free .pw__price b { color: var(--ink); }
.pw__price span { font-size: 16px; color: rgba(255,255,255,0.6); } .pw__free .pw__price span { color: var(--ink-soft); }
.pw__seg { position: relative; z-index: 1; display: inline-flex; justify-self: start; padding: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); }
.pw__seg button { height: 40px; padding: 0 20px; border-radius: 99px; font-size: 14px; color: rgba(255,255,255,0.6); cursor: pointer; transition: background 300ms, color 300ms; }
.pw__seg button[aria-pressed="true"] { background: var(--gold-2); color: #1a1408; }
.pw ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pw li { padding: 15px 0; border-top: 1px solid rgba(26,29,33,0.09); font-size: 17px; line-height: 1.4; display: grid; gap: 3px; }
.pw li small { font-size: 14px; color: var(--ink-soft); }
.pw__pro li { border-top-color: rgba(255,255,255,0.1); } .pw__pro li small { color: rgba(255,255,255,0.55); }
.pw__pro li b { font-weight: 500; color: var(--gold-2); }
.pw .btn { justify-self: start; position: relative; z-index: 1; }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1408; border-color: transparent; box-shadow: none; font-weight: 500; }
.pw__fine { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.5); margin: 0; position: relative; z-index: 1; } .pw__fine a { text-decoration: underline; }
[data-bill="m"] [data-show="y"], [data-bill="y"] [data-show="m"] { display: none; }
@media (max-width: 900px) { .pw { grid-template-columns: 1fr; } }

/* ---------- Download block ---------- */
.dlx { margin: 0 var(--inset); border-radius: var(--radius-xl); background: var(--ink); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; position: relative; }
.dlx::before { content: ""; position: absolute; inset: 0; background: url("img/sky-night.jpg") 60% 40% / cover; opacity: 0.28; }
.dlx > * { position: relative; }
.dlx__copy { padding: clamp(44px, 6vw, 110px); display: grid; gap: 24px; justify-items: start; }
.dlx__copy .lead { color: rgba(255,255,255,0.7); max-width: 44ch; }
.dlx__qr { justify-self: center; display: grid; gap: 14px; justify-items: center; padding: 40px 24px; }
.dlx__qr img { width: min(240px, 60vw); height: auto; border-radius: 26px; background: #fff; padding: 16px; }
@media (max-width: 900px) { .dlx { grid-template-columns: 1fr; } .dlx__qr { display: none; } }
.faq__a p a { text-decoration: underline; }

/* ---------- Inner pages (download · pro · shop · what's new · features) ---------- */
.pg-hero { padding: calc(var(--nav-h) + clamp(56px, 9vh, 120px)) 24px clamp(48px, 7vh, 90px); display: grid; gap: 26px; justify-items: center; text-align: center; }
.pg-hero .h-xl { max-width: 16ch; } .pg-hero .lead { max-width: 56ch; }
.pg-hero--dark { margin: 0; background: radial-gradient(80% 70% at 80% 0%, rgba(217,179,108,0.14), transparent 60%), var(--black); color: #fff; }
.pg-hero--dark .lead { color: rgba(255,255,255,0.68); } .pg-hero--dark .eyebrow { color: var(--gold); }
.dl-hero { margin: 0; min-height: min(100svh, 980px); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); align-items: center; gap: 40px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 6vw, 110px) 0; background: #0A0D13; }
.dl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,8,14,0.86), rgba(6,8,14,0.4)), url("img/sky-night.jpg") 70% 55% / cover; }
.dl-hero__copy { display: grid; gap: 24px; justify-items: start; padding-bottom: 64px; }
.dl-hero__copy .lead { color: rgba(255,255,255,0.75); max-width: 46ch; }
.dl-hero__phone { justify-self: center; width: min(100%, 340px); align-self: end; margin-bottom: -16%; }
.dl-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 36px; margin: 6px 0 0; }
.dl-meta div { display: grid; gap: 4px; } .dl-meta dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); } .dl-meta dd { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .dl-hero { grid-template-columns: 1fr; } .dl-hero__copy { padding-bottom: 12px; } .dl-hero__phone { width: min(62vw, 260px); margin-bottom: -40%; } .dl-meta { grid-template-columns: 1fr 1fr; } }
.cols3 { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--inset); }
.cols3--2 { grid-template-columns: repeat(2, 1fr); }
.tile { border-radius: var(--radius-l); background: var(--white); padding: clamp(26px, 2.6vw, 40px); display: grid; gap: 12px; align-content: start; }
.tile small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.tile h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; } .tile p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.tile--dark { background: var(--black); color: #fff; } .tile--dark p { color: rgba(255,255,255,0.62); } .tile--dark small { color: var(--gold); }
.tile--img { padding: 0; overflow: hidden; } .tile--img .tile__img { aspect-ratio: 4 / 3; overflow: hidden; background: #15181c; display: grid; place-items: center; }
.tile--img .tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; } .tile--img .tile__b { padding: clamp(22px, 2.2vw, 34px); display: grid; gap: 10px; }
@media (max-width: 900px) { .cols3, .cols3--2 { grid-template-columns: 1fr; } }
.log { max-width: 980px; margin: 0 auto; display: grid; }
.log__item { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid rgba(26,29,33,0.12); }
.log__item small { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 8px; }
.log__item h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 14px; } .log__item p, .log__item li { font-size: 17px; line-height: 1.6; color: var(--ink-soft); } .log__item ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 700px) { .log__item { grid-template-columns: 1fr; gap: 10px; } }
.sticky-cta .btn { box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
body { overflow-x: clip; }
.pw > * { min-width: 0; }
.pw .btn, .cta-row .btn, .pg-hero .btn { white-space: normal; height: auto; min-height: 68px; padding-top: 14px; padding-bottom: 14px; text-align: center; max-width: 100%; }
.cta-row .btn--sm { min-height: 56px; }
.seg-panel.media { aspect-ratio: auto; width: 100%; height: 100%; }
.menu__in { align-items: center; }
.mfill--nazu .nzs { transform: scale(min(9, calc(100cqw / 150))); }
/* Node film: the movie plays in its own frame, the copy sits beside it */
.node-hero.node-hero--film { min-height: 0; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; background: #0D0F12; gap: 0; }
.node-hero--film .media { position: relative; inset: auto; order: 2; aspect-ratio: 16 / 9; margin: clamp(16px, 2vw, 32px); border-radius: var(--radius-l); width: auto; }
.node-hero--film .media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .node-hero.node-hero--film { grid-template-columns: 1fr; } .node-hero--film .media { order: 0; margin: 12px; } }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { word-break: auto-phrase; line-break: strict; }
.store-badge__txt { white-space: nowrap; }
@media (max-width: 760px) { .doc table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } .doc td, .doc th { overflow-wrap: anywhere; } }
@media (min-width: 901px) and (max-height: 860px) { .hero__grid { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 28px; } .hero__copy { gap: 18px; } .hero__copy .h-hero { font-size: clamp(40px, 4.6vw, 72px); } .hero__phone { width: min(100%, 300px); } }
.feature-row > *, .duo > *, .cols3 > * { min-width: 0; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { overflow-wrap: anywhere; }
.tr-note:empty { display: none; } .tr-note { max-width: 860px; margin: 0 auto 8px; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 901px) { .feature-hero .mfill--live, .feature-hero .mfill--type { justify-items: end; align-content: center; padding-top: 8cqw; text-align: right; } .feature-hero .mfill--live .live-pill { width: min(42%, 440px); } .feature-hero .mfill--phone .iphone { left: 76%; } .feature-hero .mfill--crop { justify-items: end; } .feature-hero .mfill--crop img { max-width: 42%; } }

/* Real Nazu (rendered from the app's 3D model). Mood colours are a hue shift of the same render. */
.nz__fish { width: min(92%, 520px); height: auto; aspect-ratio: 52 / 29; }
.nz__fish img { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 26px color-mix(in srgb, var(--nz) 45%, transparent)); transition: filter 900ms var(--ease); }
.nz[data-mood="listen"] .nz__fish img { filter: hue-rotate(62deg) saturate(1.15) drop-shadow(0 0 26px color-mix(in srgb, var(--nz) 45%, transparent)); }
.nz[data-mood="warn"] .nz__fish img { filter: hue-rotate(-158deg) saturate(1.5) brightness(1.08) drop-shadow(0 0 26px color-mix(in srgb, var(--nz) 45%, transparent)); }
.nz[data-mood="alert"] .nz__fish img { filter: hue-rotate(172deg) saturate(1.7) drop-shadow(0 0 30px color-mix(in srgb, var(--nz) 55%, transparent)); }
.mfill--nazu img { width: min(74cqw, 560px); height: auto; filter: drop-shadow(0 0 30px rgba(125,249,255,0.35)); animation: b31-swim 12s ease-in-out infinite; }
@media (max-width: 900px) { .nz__fish { width: 78%; } }
@media (min-width: 901px) { .nz__stage { justify-items: start; padding-right: 36%; } .nz__fish { width: 100%; } .nz__ob { right: 5%; width: min(27%, 190px); } }
@media (max-width: 900px) { .nz__stage { justify-items: start; padding-right: 40%; } .nz__fish { width: 100%; } }
@media (max-width: 900px) { .nz__stage { min-height: 330px; padding-bottom: 24px; align-items: start; } .nz__ob { bottom: 14px; width: 34%; } .nz__ob .iphone { transform: rotate(3deg); } .nz__note { padding-top: 8px; } }
