/* ============================================================
   Aurora — brand site
   Apple / DJI 風スクロール演出のダークサイト
   ============================================================ */

:root {
  --bg: #04050a;
  --bg-2: #090b14;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-stroke: rgba(255, 255, 255, 0.09);
  --text: #f4f6fb;
  --text-2: rgba(233, 238, 250, 0.62);
  --text-3: rgba(233, 238, 250, 0.38);
  --aurora-1: #7ee0c3; /* mint */
  --aurora-2: #7fb2ff; /* ice blue */
  --aurora-3: #b48cff; /* violet */
  --aurora-4: #ff9ad5; /* pink */
  --grad-main: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 38%, var(--aurora-3) 70%, var(--aurora-4));
  --radius-lg: 28px;
  --radius-md: 18px;
  --nav-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro JP", "SF Pro Display",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic",
    "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-feature-settings: "palt" 1;
  line-height: 1.7;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(127, 178, 255, 0.35); }

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, 4vw);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 6, 12, 0.62);
  -webkit-backdrop-filter: saturate(1.6) blur(22px);
  backdrop-filter: saturate(1.6) blur(22px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.nav-brand img { width: 30px; height: 30px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
  color: var(--text-2);
}
.nav-links a { transition: color 0.25s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: #05060c !important;
  background: #f4f6fb;
  padding: 7px 16px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(180, 200, 255, 0.35);
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
}

/* aurora curtain */
.aurora-field {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.75;
}
.aurora-field span {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora-field .a1 {
  width: 60vw; height: 60vw; left: -10vw; top: -5vw;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--aurora-2) 34%, transparent), transparent 68%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.aurora-field .a2 {
  width: 55vw; height: 55vw; right: -12vw; top: 5vw;
  background: radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--aurora-3) 32%, transparent), transparent 68%);
  animation: drift2 31s ease-in-out infinite alternate;
}
.aurora-field .a3 {
  width: 50vw; height: 50vw; left: 20vw; bottom: -18vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--aurora-1) 28%, transparent), transparent 66%);
  animation: drift3 24s ease-in-out infinite alternate;
}
.aurora-field .a4 {
  width: 38vw; height: 38vw; right: 8vw; bottom: -8vw;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--aurora-4) 26%, transparent), transparent 64%);
  animation: drift1 36s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(9vw, 6vh) scale(1.18); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-8vw, 8vh) scale(0.92); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(0.95); }
  to   { transform: translate(6vw, -7vh) scale(1.15); }
}

/* faint stars */
.stars {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 55% 8%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 88% 48%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 65% 72%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 8% 82%, rgba(255,255,255,.35), transparent);
}

.hero-logo {
  width: min(200px, 42vw);
  height: auto;
  margin-bottom: 34px;
  filter: drop-shadow(0 18px 60px rgba(127, 178, 255, 0.35));
  animation: float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50%      { transform: translateY(-16px) rotate(1.2deg); }
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.5rem, 7.2vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.22;
}
.hero h1 .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  color: var(--text-2);
}
.hero-ctas {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  color: #05060c;
  background: #f4f6fb;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1.4), box-shadow 0.3s;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 44px rgba(150, 190, 255, 0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--surface-stroke);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}
.hero-note {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 14px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.6);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ------------------------------------------------------------
   共通セクション
   ------------------------------------------------------------ */
section { position: relative; }
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 max(20px, 5vw);
}
.section-pad { padding: clamp(90px, 14vh, 160px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: clamp(0.98rem, 1.9vw, 1.12rem);
  max-width: 38em;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(.2,.65,.3,1), transform 0.9s cubic-bezier(.2,.65,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ------------------------------------------------------------
   ステートメント（語ごとに光る）
   ------------------------------------------------------------ */
.statement {
  padding: clamp(110px, 18vh, 200px) 0;
}
.statement p {
  font-size: clamp(1.7rem, 4.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.01em;
  max-width: 22em;
  margin: 0 auto;
  text-align: center;
}
.statement .w {
  color: rgba(240, 244, 252, 0.14);
  transition: color 0.35s ease;
}
.statement .w.lit { color: var(--text); }
.statement .w.lit.grad-w {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------
   Phone mock + chat
   ------------------------------------------------------------ */
.chat-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 860px) {
  .chat-section .wrap { grid-template-columns: 1fr; }
}

.phone {
  width: min(340px, 82vw);
  margin: 0 auto;
  aspect-ratio: 340 / 700;
  border-radius: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015) 40%),
    #0a0d17;
  box-shadow:
    0 0 0 10px rgba(10, 12, 20, 0.9),
    0 0 0 11px rgba(255, 255, 255, 0.08),
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(127, 178, 255, 0.12);
  padding: 18px 14px;
  position: relative;
  overflow: hidden;
}
.phone::before { /* dynamic island（画面幅に対する実機比率 ≈27% x 3.6%） */
  content: "";
  position: absolute;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 3.6%;
  border-radius: 999px;
  background: #05060a;
  z-index: 3;
}
.phone.mini { width: min(300px, 78vw); aspect-ratio: 340 / 752; }
/* --- 実アプリ風スクリーン共通 --- */
.pscreen {
  position: absolute;
  inset: 6px;
  border-radius: 46px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 42px 11px 11px;
  background: #0a0a10;
}
.pscreen svg { display: block; }
.icn { width: 15px; height: 15px; fill: currentColor; }
/* アプリ内風のシンボルアイコン（絵文字の代わり） */
.sicon { width: 1em; height: 1em; fill: currentColor; display: block; }
.bento .card .big { color: rgba(233, 238, 250, 0.92); }
.bento .card .big .sicon { width: 27px; height: 27px; }
.feature-row .ico { color: rgba(233, 238, 250, 0.85); }
.feature-row .ico .sicon { width: 19px; height: 19px; }
.tile .tico { color: #fff; }
.tile .tico .sicon { width: 18px; height: 18px; }
.circle-btn {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(233,238,250,0.6);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
/* 画面左上の LeadingNavPill（アクションボタン + 戻る） */
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: none;
  border-radius: 999px;
  padding: 5px 4px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid rgba(167, 139, 250, 0.30);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.nav-pill .slot {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  color: rgba(233,238,250,0.55);
}
.nav-pill .slot.action {
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
}
.nav-pill .divider {
  width: 1px;
  height: 14px;
  margin: 0 5px;
  background: rgba(255,255,255,0.14);
}
.nav-pill svg { width: 11px; height: 11px; }
.app-logo {
  font-family: "Snell Roundhand", "Savoye LET", "Bradley Hand", cursive;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: #eef1f8;
  text-align: center;
}
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 10px;
}
.mock-card {
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 10px 12px;
}
.tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 7px 8px;
  border-radius: 26px;
  background: rgba(18,19,28,0.85);
  border: 1px solid rgba(255,255,255,0.08);
}
.tabbar div {
  display: grid;
  place-items: center;
  gap: 3px;
  font-size: 7.5px;
  color: rgba(233,238,250,0.45);
}
.tabbar svg { width: 16px; height: 16px; fill: currentColor; }
.tabbar .on { color: #9b8cff; }

/* --- チャット画面（実アプリ準拠: Discord風の行レイアウト） --- */
.chat-real {
  background:
    radial-gradient(120% 55% at 80% 108%, rgba(124, 100, 220, 0.28), transparent 60%),
    radial-gradient(130% 70% at 85% -5%, rgba(109, 91, 208, 0.22), transparent 58%),
    linear-gradient(175deg, #221d3d 0%, #1b1733 45%, #171230 100%);
}
.rhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px 10px;
  color: rgba(233,238,250,0.8);
}
.rhead .back { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; flex: none; }
.rhead .avatar { position: relative; }
.rhead .avatar .dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #8b8f9d;
  border: 2px solid #16132a;
}
.rhead b { font-size: 13.5px; font-weight: 800; color: #f4f5fb; display: block; line-height: 1.25; white-space: nowrap; }
.rhead small { font-size: 9px; color: rgba(233,238,250,0.42); white-space: nowrap; }
.rhead .spacer { flex: 1; }
.rhead .icn { width: 16px; height: 16px; }

.avatar {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: linear-gradient(135deg, #2c3554, #232941);
  position: relative;
}
/* マスコット ルミ（雪だるま）の顔アバター */
.avatar.lumi { background: #eef4fb; }
.avatar .lumi-face { width: 100%; height: 100%; display: block; }

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 2px 8px;
  position: relative;
  overflow: hidden;
}
.datesep {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(233,238,250,0.35);
}
.datesep::before, .datesep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.rmsg {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(16px);
}
.chat-play .rmsg, .chat-play .datesep { animation: msg-in 0.5s cubic-bezier(.2,.8,.3,1.15) forwards; }
.chat-play > :nth-child(1) { animation-delay: 0.1s; }
.chat-play > :nth-child(2) { animation-delay: 0.35s; }
.chat-play > :nth-child(3) { animation-delay: 1.0s; }
.chat-play > :nth-child(4) { animation-delay: 1.75s; }
.chat-play > :nth-child(5) { animation-delay: 2.5s; }
.chat-play > :nth-child(6) { animation-delay: 3.2s; }
.datesep { opacity: 0; }
@keyframes msg-in {
  to { opacity: 1; transform: none; }
}
.rmsg .rbody { min-width: 0; }
.rmsg .rmeta {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.rmsg .rname { font-size: 12px; font-weight: 800; color: #f6f7fc; }
.rmsg .rtime { font-size: 8.5px; color: rgba(233,238,250,0.38); }
.rmsg .rtext {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(243,245,252,0.96);
  margin-top: 1px;
}
.rmsg .rtext.own { color: #b9a8ff; }
.rmsg .rtext.deleted { color: rgba(233,238,250,0.35); }
.rmsg .jumbo { font-size: 26px; line-height: 1.2; }
.rquote {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0 2px;
  padding: 3px 8px 3px 7px;
  border-left: 2.5px solid #a78bfa;
  border-radius: 4px;
  background: rgba(167, 139, 250, 0.10);
  font-size: 9px;
  color: rgba(233,238,250,0.6);
  width: fit-content;
}
.rquote b { color: #c4b5fd; font-size: 9px; }
.react-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 4px;
  font-size: 9px;
  color: rgba(233,238,250,0.75);
  background: rgba(139, 122, 255, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 1.5px 7px;
  border-radius: 999px;
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 8px 2px 2px;
}
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: 0.25; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
/* サイドホイール（展開状態: カメラのズームダイヤル風） */
.wheel-open {
  position: absolute;
  right: 3px;
  top: 26%;
  height: 42%;
  width: 64px;
  pointer-events: none;
  z-index: 3;
}
.wheel-open::before { /* 目盛り */
  content: "";
  position: absolute;
  right: 0;
  top: -14px; bottom: -14px;
  width: 5px;
  background: repeating-linear-gradient(180deg,
    rgba(255,255,255,0.28) 0 1px, transparent 1px 10px);
  border-radius: 2px;
}
.wheel-open .wbar {
  position: absolute;
  right: 9px;
  top: 0; bottom: 0;
  width: 3.5px;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(150,132,255,0.95), rgba(150,132,255,0.45));
  box-shadow: 0 0 8px rgba(150,132,255,0.5);
}
.wheel-open .wbar::after { /* 下端のノブ */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: rgba(210,214,228,0.75);
}
.wslot {
  position: absolute;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: rgba(233,238,250,0.55);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.wslot svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wslot.sel {
  color: #ffd34d;
  font-size: 7.5px;
  filter: drop-shadow(0 0 6px rgba(255, 211, 77, 0.55));
}
.wslot.sel svg { width: 14px; height: 14px; }
.wslot.sel::after { /* バーを指す三角 */
  content: "";
  position: absolute;
  right: -12px;
  top: 5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffd34d;
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 9px;
}
.chat-input .circle-btn { width: 28px; height: 28px; border-radius: 11px; }
.chat-input .copy { color: #8fb7ff; }
.chat-input .plus {
  border-radius: 50%;
  background: linear-gradient(135deg, #7b6cf6, #9d6ff0);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(123, 108, 246, 0.4);
}
.chat-input .field {
  flex: 1;
  font-size: 10px;
  color: rgba(233,238,250,0.4);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
  overflow: hidden;
}
.chat-input .send { border-radius: 50%; }
.chat-input .send svg { transform: rotate(-20deg); }

/* --- ホーム画面モック --- */
.home-real {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(127, 178, 255, 0.08), transparent 55%),
    #08080e;
  gap: 6px;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 2px 0;
}
.ring-avatar {
  position: relative;
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
}
.ring-avatar .ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed #34d399;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ring-avatar .dot {
  position: absolute;
  right: 0; bottom: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #34d399;
  border: 2.5px solid #08080e;
  z-index: 2;
}
.profile-row b { display: block; font-size: 13.5px; }
.profile-row small { font-size: 9px; color: rgba(233,238,250,0.4); }
.profile-row .spacer { flex: 1; }
.mock-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: rgba(233,238,250,0.7);
}
.mock-date-row .seg {
  display: inline-flex;
  gap: 4px;
  font-size: 8.5px;
}
.mock-date-row .seg span {
  padding: 2px 7px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(233,238,250,0.45);
}
.mock-date-row .seg .sel {
  background: rgba(123, 108, 246, 0.3);
  border-color: rgba(155, 140, 255, 0.5);
  color: #cfc7ff;
}
.mock-clock {
  font-size: 25px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding: 7px 0 2px;
}
.weather-head, .quake-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(233,238,250,0.65);
  padding: 2px 3px;
}
.weather-head small, .quake-head small { font-weight: 400; color: rgba(233,238,250,0.4); }
.weather-body {
  display: flex;
  align-items: center;
  gap: 12px;
}
.weather-body .cloud { font-size: 22px; }
.weather-body .temp { font-size: 20px; font-weight: 800; white-space: nowrap; }
.weather-body .temp small { font-size: 10px; font-weight: 600; color: rgba(233,238,250,0.6); }
.weather-body .wsub { font-size: 8px; color: rgba(233,238,250,0.5); line-height: 1.65; white-space: nowrap; }
.wdots { display: flex; gap: 4px; justify-content: center; padding-top: 4px; }
.wdots i { width: 4px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.wdots i:first-child { width: 12px; background: #8b7af7; }
.quake-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quake-row .shindo {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  background: #4a7fc9;
  color: #fff;
  text-align: center;
}
.quake-row .shindo small { font-size: 6px; display: block; font-weight: 600; margin-bottom: 1px; }
.quake-row .shindo.green { background: #3f9b6e; }
.quake-row b { font-size: 11px; display: block; }
.quake-row .qtags { display: flex; gap: 5px; margin-top: 3px; }
.quake-row .qtags span {
  font-size: 7.5px;
  padding: 1.5px 6px;
  border-radius: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(233,238,250,0.6);
}
.quake-row .qtime { font-size: 7.5px; color: rgba(233,238,250,0.35); margin-top: 3px; }
.quake-row .chev { margin-left: auto; color: rgba(233,238,250,0.3); font-size: 12px; }

/* --- プロフィール画面モック --- */
.prof-real {
  background: #08080e;
  gap: 7px;
}
.prof-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}
.prof-topbar .pill {
  display: inline-flex;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.header-art {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  flex: none;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255, 220, 160, 0.25), transparent 55%),
    radial-gradient(60% 45% at 50% 12%, rgba(127, 178, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 75% 22%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 60% 45%, rgba(255,255,255,0.45), transparent),
    linear-gradient(180deg, #1a1830, #0e0c1c 70%);
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.header-art::before { /* タワーのシルエット */
  content: "";
  position: absolute;
  left: 50%; top: 6%;
  width: 34px; height: 78%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(210, 160, 120, 0.5), rgba(60, 45, 70, 0.55) 65%);
  clip-path: polygon(42% 0, 58% 0, 78% 100%, 22% 100%);
  filter: blur(0.5px);
}
.header-art .pavatar {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: #f2f3f8;
  border: 2.5px solid #8b7af7;
  z-index: 2;
  margin-bottom: 16px;
}
.header-art .pavatar .dot {
  position: absolute;
  right: -1px; bottom: -1px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #34d399;
  border: 2.5px solid #0e0c1c;
}
.pinfo {
  position: relative;
  z-index: 2;
  margin-top: auto;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(30, 28, 52, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* プロフィール自由配置デモ: パネルが実際にドラッグ→吸着→ドロップされる */
.header-art.demo .pinfo {
  animation: pinfo-drag 7.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes pinfo-drag {
  0%, 10%   { transform: translate(0, 0) scale(1); box-shadow: none; }
  16%       { transform: translate(0, -4px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
  34%       { transform: translate(46px, -78px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
  52%       { transform: translate(-2px, -96px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
  72%       { transform: translate(0, -34px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,0.55); }
  84%, 100% { transform: translate(0, 0) scale(1); box-shadow: none; }
}
/* 吸着ガイド線（吸着した瞬間だけ光る） */
.header-art .snap-guide {
  position: absolute;
  background: #7ee0c3;
  opacity: 0;
  z-index: 1;
  box-shadow: 0 0 6px rgba(126, 224, 195, 0.7);
  pointer-events: none;
}
.header-art .snap-guide.gx { top: 10px; bottom: 10px; width: 1.5px; left: 50%; }
.header-art .snap-guide.gy { left: 10px; right: 10px; height: 1.5px; top: 42%; }
.header-art.demo .snap-guide { animation: snap-flash 7.5s ease-in-out infinite; }
@keyframes snap-flash {
  0%, 44%   { opacity: 0; }
  50%, 60%  { opacity: 0.85; }
  66%, 100% { opacity: 0; }
}
/* ドラッグ中を示す指先リング */
.header-art .drag-finger {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.header-art.demo .drag-finger { animation: finger-move 7.5s ease-in-out infinite; }
@keyframes finger-move {
  0%, 12%   { opacity: 0; left: 46%; top: 70%; }
  16%       { opacity: 0.9; left: 46%; top: 70%; }
  34%       { opacity: 0.9; left: 62%; top: 40%; }
  52%       { opacity: 0.9; left: 44%; top: 32%; }
  72%       { opacity: 0.9; left: 46%; top: 56%; }
  82%       { opacity: 0; left: 46%; top: 70%; }
  100%      { opacity: 0; }
}
.pinfo b { font-size: 14px; display: block; }
.pinfo .at { font-size: 9px; color: rgba(233,238,250,0.45); display: block; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.pinfo .meta {
  display: flex;
  gap: 8px;
  font-size: 8px;
  white-space: nowrap;
  color: rgba(233,238,250,0.6);
  padding-top: 7px;
}
.pinfo .ach {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
  font-size: 8.5px;
  color: rgba(233,238,250,0.6);
}
.pinfo .ach .more { color: #b4a5ff; }
.pinfo .badges { display: flex; gap: 6px; padding-top: 6px; font-size: 13px; align-items: center; }
.pinfo .badges img { width: 16px; height: 16px; }
.pstats {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 8px;
}
.pstats .mock-card {
  text-align: center;
  padding: 8px 5px;
}
.pstats b { font-size: 11px; display: block; white-space: nowrap; }
.pstats span { font-size: 7.5px; color: rgba(233,238,250,0.45); }
.status-label { font-size: 9px; font-weight: 700; color: rgba(233,238,250,0.5); padding: 2px 3px 0; }
.status-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}
.status-pills div {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 8px 2px;
  border-radius: 13px;
  font-size: 7.5px;
  color: rgba(233,238,250,0.55);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
}
.status-pills .dot9 { width: 9px; height: 9px; border-radius: 50%; }
.status-pills .on {
  background: rgba(52, 211, 153, 0.13);
  border-color: rgba(52, 211, 153, 0.55);
  color: #d7f5e8;
}

/* ------------------------------------------------------------
   Personal section (ホイール / アクションボタン / My絵文字)
   ------------------------------------------------------------ */
.bento .card.has-dial { padding-right: 195px; min-height: 280px; }
.bento .card .tag { z-index: 3; }
@media (max-width: 860px) {
  .bento .card.has-dial { padding-right: 150px; min-height: 265px; }
  .wheel-demo { width: 175px !important; }
}
/* サイドホイールカード内: 実機のサイドホイールを切り抜いた風に再現
   （2枚目の実機写真準拠: 縦バー / 右に短いルーラー目盛り / 左にラベル / 黄色は左向き三角） */
.wheel-demo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 210px;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 100% 50%, rgba(14, 11, 32, 0.85), transparent 60%),
    radial-gradient(120% 60% at 80% 100%, rgba(124, 100, 220, 0.28), transparent 62%),
    linear-gradient(175deg, #262041 0%, #1b1636 55%, #171230 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%);
  mask-image: linear-gradient(90deg, transparent, #000 36%);
}
/* 画面右端の丸み（暗いカーブ） */
.wheel-demo .disc {
  position: absolute;
  top: 50%; right: -150px;
  width: 320px; height: 320px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 68%, rgba(6, 4, 16, 0.5) 80%, transparent 93%);
}
/* 縦の紫キャプセルバー（スライダー軸） */
.wheel-demo .wbar2 {
  position: absolute;
  right: 84px;
  top: 30%;
  height: 54%;
  width: 5px;
  border-radius: 6px;
  background: linear-gradient(180deg, #9a86ff, #8b7af7);
  box-shadow: 0 0 12px rgba(150, 132, 255, 0.5);
}
/* バー右の短い横ルーラー目盛り */
.wheel-demo .ruler {
  position: absolute;
  right: 56px;
  top: 23%;
  height: 68%;
  width: 22px;
  background: repeating-linear-gradient(to bottom,
    rgba(233, 238, 250, 0.42) 0 1.5px,
    transparent 1.5px 11px);
  -webkit-mask: radial-gradient(150% 62% at 0% 50%, #000 42%, transparent 78%);
  mask: radial-gradient(150% 62% at 0% 50%, #000 42%, transparent 78%);
}
/* バー左に並ぶスロット（アイコン+白ラベル） */
.wd-slot {
  position: absolute;
  right: 104px;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(244, 246, 252, 0.96);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
  z-index: 2;
}
.wd-slot .sicon { width: 13px; height: 13px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.wd-slot.dim { color: rgba(244, 246, 252, 0.82); }
/* 現在位置の指針（黄色ドット + 左向き三角、バー上でラベル側を指す） */
.wd-indicator {
  position: absolute;
  top: 54%;
  right: 80px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 3;
}
.wd-indicator i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ffd34d;
  box-shadow: 0 0 8px rgba(255, 211, 77, 0.85);
}
.wd-indicator::after {
  content: "";
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 11px solid #ffd34d;
  filter: drop-shadow(0 0 6px rgba(255, 211, 77, 0.55));
}
.myemoji-demo {
  display: flex;
  gap: 10px;
  margin: 30px 0 14px;
}
.myemoji-demo span {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(127,178,255,0.18), rgba(255,154,213,0.18));
  border: 1px solid var(--surface-stroke);
}
.myemoji-demo .lock {
  opacity: 0.45;
  border-style: dashed;
  font-size: 12px;
  background: none;
}

/* ------------------------------------------------------------
   全機能タイル（アプリの設定リスト風）
   ------------------------------------------------------------ */
.tiles {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  align-items: start;
}
@media (max-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex;
  flex-direction: column;
  border-radius: 17px;
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid var(--surface-stroke);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), border-color 0.35s;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 160, 255, 0.4);
}
.tile:focus-visible {
  outline: none;
  border-color: rgba(180, 160, 255, 0.65);
}
.tile .tile-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
}
.tile .chev {
  flex: none;
  margin-left: auto;
  width: 13px; height: 13px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.tile.open .chev { transform: rotate(180deg); }
/* タップで展開する説明文 */
.tile .tdesc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 16px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.85;
  transition: max-height 0.38s cubic-bezier(.2,.7,.3,1), opacity 0.3s ease, padding 0.38s ease;
}
.tile.open {
  border-color: rgba(180, 160, 255, 0.5);
  transform: none;
}
.tile.open .tdesc {
  max-height: 220px;
  opacity: 1;
  padding: 0 16px 15px;
}
.tile .tico {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: linear-gradient(135deg, var(--c1, rgba(127,178,255,0.3)), var(--c2, rgba(180,140,255,0.3)));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.tile b {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

.duo {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; gap: 70px; }
}
.duo .feature-list { margin-top: 30px; }

.feature-list { margin-top: 34px; display: grid; gap: 20px; }
.feature-row { display: flex; gap: 15px; align-items: flex-start; }
.feature-row .ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: var(--surface);
  border: 1px solid var(--surface-stroke);
}
.feature-row b { font-size: 15.5px; display: block; margin-bottom: 2px; }
.feature-row p { font-size: 13.5px; color: var(--text-2); }

/* ------------------------------------------------------------
   Bento grid
   ------------------------------------------------------------ */
.bento {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento .card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-stroke);
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015) 55%);
  padding: 28px 26px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1), border-color 0.45s;
}
.bento .card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}
.bento .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at var(--gx, 80%) -20%, var(--glow, rgba(127,178,255,0.22)), transparent 60%);
  pointer-events: none;
}
.card-3 { grid-column: span 3; }
.card-2 { grid-column: span 2; }
.card-4 { grid-column: span 4; }
.card-6 { grid-column: span 6; }
@media (max-width: 860px) {
  .card-2, .card-3, .card-4 { grid-column: span 6; }
  .bento .card { min-height: 170px; }
}
.bento .card .big {
  font-size: 30px;
  margin-bottom: 12px;
}
.bento .card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.bento .card p {
  font-size: 13.5px;
  color: var(--text-2);
}
.bento .card .tag {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-2);
  border: 1px solid var(--surface-stroke);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
}

/* ------------------------------------------------------------
   Numbers (DJI spec strip)
   ------------------------------------------------------------ */
.numbers {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.numbers .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: clamp(60px, 9vh, 100px);
  padding-bottom: clamp(60px, 9vh, 100px);
  text-align: center;
}
@media (max-width: 760px) {
  .numbers .wrap { grid-template-columns: repeat(2, 1fr); }
}
.num b {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.num span {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------
   Split feature sections (通話 / セキュリティ / Nova)
   ------------------------------------------------------------ */
.panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-stroke);
  overflow: hidden;
  position: relative;
  padding: clamp(44px, 7vw, 80px);
  background: var(--bg-2);
}
.panel + .panel { margin-top: 26px; }
.panel .eyebrow { margin-bottom: 12px; }
.panel h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
}
.panel p.desc {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 34em;
  font-size: 15px;
}
.panel ul {
  margin-top: 22px;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.panel ul li { display: flex; gap: 10px; align-items: baseline; }
.panel ul li::before {
  content: "◆";
  font-size: 8px;
  flex: none;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.panel .panel-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.panel-call .panel-glow { background: radial-gradient(75% 90% at 100% 0%, rgba(126, 224, 195, 0.13), transparent 60%); }
.panel-sec .panel-glow { background: radial-gradient(75% 90% at 0% 100%, rgba(127, 178, 255, 0.12), transparent 60%); }
.panel-nova .panel-glow { background: radial-gradient(90% 110% at 85% 10%, rgba(255, 154, 213, 0.14), transparent 55%), radial-gradient(70% 90% at 10% 100%, rgba(180, 140, 255, 0.16), transparent 60%); }

/* 「※今後実装予定」バッジ */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffd88a;
  background: rgba(255, 200, 100, 0.12);
  border: 1px solid rgba(255, 200, 100, 0.35);
  padding: 3px 11px;
  border-radius: 999px;
  vertical-align: middle;
}
.panel .soon { margin-left: 12px; }
h3 .soon { transform: translateY(-2px); }
/* タイル内の小さな版（ラベルの下に落とす） */
.tile .soon-mini {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  font-weight: 700;
  color: #ffd88a;
}

/* 無料機能 ↔ Aurora Nova の大きな区切り */
.free-boundary {
  margin: clamp(50px, 8vh, 90px) 0 clamp(30px, 4vh, 48px);
  display: flex;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.free-boundary .fb-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.free-boundary .fb-text { flex: none; }
.fb-big {
  font-size: clamp(1.6rem, 4.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.fb-big .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fb-sub {
  margin-top: 12px;
  font-size: clamp(0.9rem, 1.9vw, 1.05rem);
  color: var(--text-2);
  line-height: 1.7;
}
.nova-lead {
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  /* スマホでは横線を上下に分けて、テキストを圧迫しない */
  .free-boundary { flex-direction: column; gap: 20px; }
  .free-boundary .fb-line {
    flex: none;
    width: min(220px, 62%);
    height: 1px;
  }
  .fb-sub br { display: none; }
}

.nova-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 213, 0.4);
  background: linear-gradient(100deg, rgba(180,140,255,0.16), rgba(255,154,213,0.16));
  margin-bottom: 18px;
}

/* ------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------ */
.finale {
  text-align: center;
  padding: clamp(120px, 20vh, 220px) 24px;
  position: relative;
  overflow: hidden;
}
.finale .aurora-field { opacity: 0.4; }
.finale img.logo {
  width: min(150px, 34vw);
  height: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 14px 50px rgba(127, 178, 255, 0.4));
}
.finale h2 {
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  font-weight: 800;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}
.finale .lead { margin: 18px auto 0; position: relative; z-index: 2; }
.finale .hero-ctas { margin-top: 38px; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 46px 0 60px;
  font-size: 12.5px;
  color: var(--text-3);
}
/* マスコット「ルミ」がフッターの境界線からひょこっと顔と手を出す */
.lumi-peek {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: clamp(96px, 15vw, 132px);
  height: auto;
  transform: translateX(-50%);
  transform-origin: bottom center;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.4));
  animation: lumi-breathe 4.2s ease-in-out infinite;
}
@keyframes lumi-breathe {
  0%, 100% { transform: translateX(-50%) scaleY(1); }
  50%      { transform: translateX(-50%) scaleY(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .lumi-peek { animation: none; }
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
footer a { color: var(--text-2); transition: color 0.25s; }
footer a:hover { color: var(--text); }
footer .brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer .brand-line img { width: 20px; height: 20px; opacity: 0.85; }

/* ------------------------------------------------------------
   Legal / doc pages
   ------------------------------------------------------------ */
.doc-hero {
  padding: calc(var(--nav-h) + clamp(60px, 10vh, 110px)) 0 30px;
}
.doc-hero h1 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.35;
}
.doc-hero .rev {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.doc {
  max-width: 760px;
  padding-bottom: clamp(90px, 14vh, 150px);
}
.doc h2 {
  font-size: 19px;
  font-weight: 800;
  margin: 44px 0 12px;
  padding-top: 10px;
}
.doc p, .doc li {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.95;
}
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 8px 0; }
.doc a { color: var(--aurora-2); }
.doc .doc-note {
  margin-top: 54px;
  font-size: 13px;
  color: var(--text-3);
}

/* お問い合わせフォーム */
.contact {
  max-width: 620px;
  padding-bottom: clamp(90px, 14vh, 150px);
}
.contact .field-row { margin-bottom: 18px; }
.contact label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
}
.contact label .opt { font-weight: 400; color: var(--text-3); font-size: 11px; }
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--surface-stroke);
  border-radius: 13px;
  padding: 12px 14px;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.contact select { background-image: none; }
.contact textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: rgba(150, 160, 255, 0.6);
  background: rgba(255,255,255,0.07);
}
.contact input::placeholder,
.contact textarea::placeholder { color: var(--text-3); }
.contact .send-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  color: #05060c;
  background: #f4f6fb;
  border: none;
  cursor: pointer;
  padding: 14px 30px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact .send-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 32px rgba(150, 190, 255, 0.4);
}
.contact .direct {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.9;
}
.contact .direct a { color: var(--aurora-2); }
.contact .note {
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--text-3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--surface-stroke);
  border-radius: 13px;
  padding: 14px 16px;
  line-height: 1.8;
}

/* FAQ (support) */
.faq { max-width: 760px; }
.faq details {
  border: 1px solid var(--surface-stroke);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 19px;
  font-weight: 400;
  color: var(--text-3);
  transition: transform 0.3s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a {
  padding: 0 22px 18px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.9;
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora-field span, .hero-logo, .scroll-cue::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat-play .rmsg, .chat-play .datesep { animation-duration: 0.01s; }
  .ring-avatar .ring { animation: none; }
  .header-art.demo .pinfo,
  .header-art.demo .snap-guide,
  .header-art.demo .drag-finger { animation: none; }
  .header-art.demo .pinfo { transform: none; }
}
