/* =========================================================
   JP マーケット・インサイト  —  Landing Page
   Palette: Coral #FF6B6B / Salmon #FFA07A / Indigo #1A237E
   Type:    Sawarabi Mincho
   ========================================================= */

:root {
  --coral: #FF6B6B;
  --salmon: #FFA07A;
  --indigo: #1A237E;
  --indigo-2: #2A3499;
  --ink: #0C0F33;
  --ink-2: #141955;
  --cream: #FBF4EC;
  --cream-2: #F3E8DB;
  --paper: #FFFFFF;
  --muted: #8A8FB8;
  --line-soft: rgba(255,255,255,0.10);

  --grad-coral: linear-gradient(120deg, #FF6B6B 0%, #FFA07A 100%);
  --grad-deep: linear-gradient(135deg, #1A237E 0%, #0C0F33 100%);

  --shadow-lg: 0 40px 80px -30px rgba(12,15,51,0.55);
  --shadow-coral: 0 24px 60px -20px rgba(255,107,107,0.55);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  font-family: "Sawarabi Mincho", "Noto Serif JP", serif;
  background: var(--ink);
  color: #EDEAF7;
  line-height: 1.85;
  overflow-x: hidden;
  padding-bottom: 92px; /* room for fixed bottom CTA */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- film grain + atmosphere overlay ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Eyebrow / labels
   ========================================================= */
.eyebrow {
  font-family: "Sawarabi Gothic", sans-serif;
  letter-spacing: .42em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--salmon);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: var(--grad-coral);
}

.section-tag {
  font-family: "Sawarabi Gothic", sans-serif;
  letter-spacing: .3em;
  font-size: 11px;
  color: var(--muted);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --b: var(--grad-coral);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  border: none;
  border-radius: 100px;
  background: var(--b);
  color: #fff;
  font-family: "Sawarabi Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-coral);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
  white-space: normal;        /* allow long JP labels to wrap instead of overflowing */
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
}
.btn .line-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
  background: #fff;
  padding: 2px;
}
.btn::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 30px 70px -18px rgba(255,107,107,.7); }
.btn:hover::after { left: 130%; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: none;
  color: #EDEAF7;
}
.btn-ghost:hover { box-shadow: none; border-color: var(--salmon); }

.btn-dark {
  background: var(--grad-deep);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* =========================================================
   Top marquee ticker
   ========================================================= */
.ticker {
  position: relative; z-index: 5;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
}
.ticker__track { display: inline-flex; gap: 48px; animation: marquee 32s linear infinite; }
.ticker span { color: #C9CCEC; opacity: .85; }
.ticker .up { color: #6BFFB0; }
.ticker .dot { color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 4;
  padding: 70px 0 90px;
  background:
    radial-gradient(900px 700px at 88% 8%, rgba(255,107,107,.20), transparent 60%),
    radial-gradient(700px 600px at 5% 95%, rgba(42,52,153,.55), transparent 55%),
    var(--ink);
  overflow: hidden;
}
/* faint vertical grid lines */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 90px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items: center;
}

/* vertical japanese accent text */
.hero__vert {
  position: absolute;
  top: 50%; right: 50%;
  transform: translate(50%,-50%);
  writing-mode: vertical-rl;
  font-size: clamp(70px, 12vw, 150px);
  color: rgba(255,255,255,.035);
  letter-spacing: .1em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  font-weight: 700;
}

.hero__copy { position: relative; min-width: 0; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.22;
  letter-spacing: .01em;
  margin: 26px 0 0;
  font-weight: 400;
}
.hero h1 .hl {
  position: relative;
  background: var(--grad-coral);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px; height: 10px;
  background: var(--grad-coral); opacity: .22; border-radius: 6px;
}
.hero__lead {
  margin: 28px 0 0;
  max-width: 480px;
  color: #C7CAEC;
  font-size: 17px;
}
.hero__cta {
  margin-top: 38px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.hero__tour {
  display: inline-flex; align-items: center; gap: 9px;
  color: #C7CAEC; font-size: 14px; cursor: pointer;
}
.hero__tour i { color: var(--salmon); }

/* floating data chips */
.hero__chips { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(6px);
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 12.5px; color: #D7DAF6;
}
.chip i { color: var(--coral); }

/* hero visual stage */
.hero__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 540px;
}
/* the glowing halo — also the surface the white-bg image multiplies onto */
.hero__halo {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #FFE9DA 0%, #FFC9B0 32%, rgba(255,160,122,.45) 52%, rgba(26,35,126,0) 72%);
  filter: blur(2px);
  animation: pulse 7s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:.95;} 50%{ transform: scale(1.06); opacity:1;} }

/* rotating dashed ring */
.hero__ring {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.16);
  animation: spin 60s linear infinite;
}
.hero__ring::after {
  content: "";
  position: absolute; top: -6px; left: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--coral); box-shadow: 0 0 18px var(--coral);
  transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__img {
  position: relative; z-index: 3;
  width: 440px; max-width: 90%;
  mix-blend-mode: multiply;       /* white bg melts into the light halo */
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(12,15,51,.35));
}
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0); } 50%{ transform: translateY(-18px) rotate(-1deg); } }

/* big floating stat badge over the visual */
.hero__badge {
  position: absolute; z-index: 5;
  right: 2%; top: 12%;
  background: rgba(12,15,51,.72);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 16px 20px;
  text-align: left;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite .8s;
}
.hero__badge .n {
  font-size: 26px; color: #6BFFB0;
  font-family: "Sawarabi Gothic", sans-serif;
}
.hero__badge .l { font-size: 11.5px; color: var(--muted); letter-spacing:.08em; }

.hero__badge.b2 { right: auto; left: -2%; top: auto; bottom: 14%; animation-delay: .3s; }
.hero__badge.b2 .n { color: var(--salmon); }

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  position: relative; z-index: 4;
  background: var(--cream);
  color: var(--ink);
  border-radius: 36px 36px 0 0;
  margin-top: -22px;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 54px 0;
}
.stat { text-align: center; padding: 8px 14px; }
.stat + .stat { border-left: 1px solid rgba(26,35,126,.12); }
.stat .num {
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-coral);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .cap { margin-top: 10px; font-size: 13.5px; color: #5A5F8A; letter-spacing: .04em; }

/* =========================================================
   SECTION SCAFFOLD (light)
   ========================================================= */
.section { position: relative; z-index: 3; padding: 100px 0; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--ink   { background: var(--ink); color: #EDEAF7; }

.head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 56px;
}
.head h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400; line-height: 1.3; max-width: 18ch;
}
.section--cream .head h2 { color: var(--indigo); }
.head .idx {
  font-family: "Sawarabi Gothic", sans-serif;
  font-size: 13px; letter-spacing: .3em; color: var(--coral);
  white-space: nowrap;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  padding: 34px 28px 30px;
  border: 1px solid rgba(26,35,126,.08);
  box-shadow: 0 24px 50px -36px rgba(26,35,126,.4);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad-coral); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -34px rgba(26,35,126,.5); }
.card:hover::before { transform: scaleX(1); }
.card__ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255,107,107,.14), rgba(255,160,122,.18));
  color: var(--coral); font-size: 23px;
  margin-bottom: 22px;
}
.card h3 { color: var(--indigo); font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.card p { color: #5A5F8A; font-size: 14.5px; }
.card__no {
  position: absolute; right: 20px; top: 18px;
  font-family: "Sawarabi Gothic", sans-serif; font-size: 13px;
  color: rgba(26,35,126,.18); letter-spacing: .15em;
}

/* =========================================================
   SPLIT MODULES (image + text)
   ========================================================= */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
/* min-width:0 lets grid columns shrink below content's intrinsic width
   so long button labels can wrap instead of overflowing the page */
.split__media, .split__body { min-width: 0; }
.split + .split { margin-top: 120px; }
.split--rev .split__media { order: 2; }

.split__media { position: relative; }
.split__media .frame {
  position: relative;
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform .6s var(--ease);
}
.split--rev .split__media .frame { transform: perspective(1200px) rotateY(6deg); }
.split__media .frame:hover { transform: perspective(1200px) rotateY(0deg) translateY(-6px); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(26,35,126,.35));
}
/* decorative offset block */
.split__media::before {
  content: ""; position: absolute; z-index: -1;
  width: 70%; height: 70%; border-radius: 26px;
  border: 1px solid rgba(255,107,107,.4);
}
.split:not(.split--rev) .split__media::before { right: -22px; bottom: -22px; }
.split--rev .split__media::before { left: -22px; bottom: -22px; }

/* floating tag on media */
.media-tag {
  position: absolute; z-index: 3;
  bottom: 22px; left: 22px;
  background: rgba(12,15,51,.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
}
.media-tag .big {
  font-family: "Sawarabi Gothic", sans-serif; font-size: 22px; color: var(--salmon); line-height: 1;
}
.media-tag .sm { font-size: 11.5px; color: #C9CCEC; }

.split__body .eyebrow { margin-bottom: 22px; }
.split__body h2 {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; line-height: 1.32; margin-bottom: 20px;
}
.section--cream .split__body h2 { color: var(--indigo); }
.split__body > p { font-size: 16px; margin-bottom: 26px; max-width: 46ch; }
.section--cream .split__body > p { color: #5A5F8A; }
.section--ink   .split__body > p { color: #C2C6EC; }

.ticks { list-style: none; margin: 0 0 32px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; }
.ticks li i {
  margin-top: 4px; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px;
  background: var(--grad-coral); color: #fff;
}
.section--cream .ticks li { color: #3C4068; }

/* =========================================================
   COMMUNITY BANNER
   ========================================================= */
.community {
  position: relative; z-index: 3;
  padding: 0;
}
.community__inner {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 460px;
  display: grid; align-items: center;
}
.community__bg { position: absolute; inset: 0; }
.community__bg img { width: 100%; height: 100%; object-fit: cover; }
.community__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,15,51,.92) 30%, rgba(12,15,51,.4));
}
.community__txt { position: relative; z-index: 2; padding: 70px 0; max-width: 620px; }
.community__txt h2 { font-size: clamp(28px,4vw,44px); font-weight: 400; line-height: 1.3; margin: 20px 0; }
.community__txt h2 .hl { color: var(--salmon); }
.community__txt p { color: #C7CAEC; font-size: 16px; margin-bottom: 30px; max-width: 48ch; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final {
  position: relative; z-index: 3;
  text-align: center;
  padding: 120px 0;
  background:
    radial-gradient(700px 500px at 50% 0%, rgba(255,107,107,.22), transparent 60%),
    var(--grad-deep);
  overflow: hidden;
}
.final::before {
  content: "結"; position: absolute; z-index: 0;
  font-size: 460px; color: rgba(255,255,255,.025);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.final__in { position: relative; z-index: 2; }
.final h2 {
  font-size: clamp(30px, 5vw, 56px); font-weight: 400; line-height: 1.3;
  margin: 22px auto 22px; max-width: 16ch;
}
.final h2 .hl { background: var(--grad-coral); -webkit-background-clip: text; background-clip:text; color: transparent; }
.final p { color: #C7CAEC; max-width: 52ch; margin: 0 auto 40px; font-size: 17px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative; z-index: 3;
  background: var(--ink); border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
}
.footer__top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 20px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--grad-coral);
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a {
  font-family: "Sawarabi Gothic", sans-serif; font-size: 13.5px; color: #B7BBE2; cursor: pointer;
  transition: color .3s;
}
.footer__links a:hover { color: var(--salmon); }
.footer__bar { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); font-family: "Sawarabi Gothic", sans-serif; }

/* =========================================================
   FIXED BOTTOM CTA
   ========================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(12,15,51,0), rgba(8,10,36,.92) 40%);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-soft);
}
.dock .btn { width: min(560px, 100%); justify-content: center; font-size: 17px; }
.dock__pulse { position: relative; width: min(560px,100%); }
.dock__pulse::before {
  content: ""; position: absolute; inset: -3px; border-radius: 100px;
  background: var(--grad-coral); filter: blur(14px); opacity: .55; z-index: -1;
  animation: glow 2.4s ease-in-out infinite;
}
@keyframes glow { 0%,100%{ opacity:.35; } 50%{ opacity:.7; } }

/* =========================================================
   MODALS (legal)
   ========================================================= */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6,8,28,.7); backdrop-filter: blur(6px);
}
.modal.open { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box {
  background: var(--cream); color: var(--ink);
  width: min(640px, 100%); max-height: 82vh; overflow-y: auto;
  border-radius: 22px; padding: 40px;
  box-shadow: var(--shadow-lg);
  animation: rise .4s var(--ease);
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal__head h3 { color: var(--indigo); font-size: 24px; font-weight: 400; }
.modal__close {
  border: none; background: rgba(26,35,126,.08); color: var(--indigo);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px;
  transition: background .3s;
}
.modal__close:hover { background: var(--coral); color: #fff; }
.modal__box h4 { color: var(--indigo); margin: 20px 0 8px; font-size: 16px; font-weight: 400; }
.modal__box p { color: #4C507C; font-size: 14.5px; margin-bottom: 10px; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* hero entrance */
.hero .anim { opacity: 0; transform: translateY(28px); animation: heroIn .9s var(--ease) forwards; }
.hero .anim.a1 { animation-delay: .1s; }
.hero .anim.a2 { animation-delay: .25s; }
.hero .anim.a3 { animation-delay: .4s; }
.hero .anim.a4 { animation-delay: .55s; }
.hero .anim.a5 { animation-delay: .7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---- Tablet ---- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__stage { min-height: 420px; order: -1; }
  .hero__lead { max-width: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat:nth-child(3) { border-left: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__media { order: -1; }
  .split + .split { margin-top: 72px; }
  .split__body > p { max-width: none; }
  .head { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ---- Phone (compact) ---- */
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .section { padding: 52px 0; }
  .head { margin-bottom: 32px; }

  /* ticker */
  .ticker { font-size: 11.5px; padding: 8px 0; }
  .ticker__track { gap: 30px; }

  /* hero */
  .hero { padding: 34px 0 52px; }
  .hero__inner { gap: 30px; }
  .hero h1 { font-size: clamp(31px, 9vw, 42px); margin-top: 18px; }
  .hero__lead { font-size: 15px; margin-top: 18px; }
  .hero__cta { margin-top: 26px; gap: 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__tour { width: 100%; justify-content: center; }
  .hero__chips { margin-top: 24px; gap: 9px; }
  .chip { padding: 7px 13px; font-size: 11.5px; }
  .hero__stage { min-height: 340px; }
  .hero__img { width: 280px; }
  .hero__halo { width: 330px; height: 330px; }
  .hero__ring { width: 360px; height: 360px; }
  .hero__badge { padding: 11px 14px; transform: scale(.85); }
  .hero__badge .n { font-size: 21px; }
  .hero__vert { font-size: 92px; }

  /* stats — keep 2x2 compact */
  .stats { border-radius: 26px 26px 0 0; }
  .stats__grid { padding: 34px 0; gap: 22px 8px; }
  .stat { padding: 4px 6px; }
  .stat .cap { font-size: 12px; margin-top: 6px; }

  /* features — compact 2-col grid on phone */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 22px 16px 20px; border-radius: 16px; }
  .card__ico { width: 46px; height: 46px; font-size: 18px; border-radius: 13px; margin-bottom: 14px; }
  .card h3 { font-size: 16px; margin-bottom: 8px; }
  .card p { font-size: 13px; line-height: 1.7; }
  .card__no { font-size: 11px; right: 14px; top: 12px; }

  /* split modules */
  .split { gap: 26px; }
  .split + .split { margin-top: 54px; }
  .split__media .frame { transform: none; border-radius: 18px; }
  .split__media .frame:hover { transform: translateY(-4px); }
  .split__media::before { display: none; }
  .media-tag { bottom: 14px; left: 14px; padding: 9px 13px; }
  .media-tag .big { font-size: 18px; }
  .split__body .eyebrow { margin-bottom: 16px; }
  .split__body h2 { margin-bottom: 14px; }
  .split__body > p { font-size: 15px; margin-bottom: 20px; }
  .ticks { gap: 11px; margin-bottom: 24px; }
  .ticks li { font-size: 14px; }
  .split__body .btn { width: 100%; justify-content: center; }

  /* community */
  .community__inner { min-height: 0; }
  .community__bg::after { background: linear-gradient(180deg, rgba(12,15,51,.78), rgba(12,15,51,.92)); }
  .community__txt { padding: 48px 0; }
  .community__txt p { font-size: 15px; }
  .community__txt .btn { width: 100%; justify-content: center; }

  /* final */
  .final { padding: 64px 0; }
  .final p { font-size: 15px; margin-bottom: 30px; }
  .final::before { font-size: 240px; }
  .final .btn { width: 100%; justify-content: center; }

  /* footer */
  .footer { padding: 40px 0 32px; }
  .footer__top { gap: 22px; }
  .footer__links { gap: 18px; }
  .footer__bar { font-size: 11.5px; gap: 8px; }

  /* legal modal */
  .modal { padding: 16px; }
  .modal__box { padding: 26px 20px; border-radius: 18px; }
  .modal__head h3 { font-size: 21px; }

  /* dock */
  .dock { padding: 10px 14px; }
  .dock .btn { font-size: 15px; padding: 15px 20px; }
  body { padding-bottom: 80px; }
}

/* ---- Very small phones ---- */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 20px 18px; }
  .stat .num { font-size: 27px; }
  .dock .btn { font-size: 14px; }
  .btn { font-size: 15px; }
}
