﻿/* MetaHint new homepage — Medicoach-inspired lifestyle wellness */

:root {
  --ink: #1a1c1e;
  --ink-soft: #4a5058;
  --muted: #7a828c;
  /* 쿨 뉴트럴 · 블루(케어샵 톤) · 라일락은 블러 파스텔로만 */
  --paper: #f7f9fc;
  --paper-2: #e8eef6;
  --theme-blue: #f2f7fb;
  --theme-blue-mid: #e3eef8;
  --theme-blue-deep: #d5e6f4;
  --theme-lilac-soft: rgba(94, 98, 172, 0.14);
  --theme-lilac-mist: rgba(140, 130, 200, 0.12);
  --white: #ffffff;
  --accent: #2f6f6a;
  --accent-deep: #1f4f4b;
  --warm: #c47a4a;
  --line: rgba(26, 28, 30, 0.08);
  --shadow: 0 18px 50px rgba(26, 28, 30, 0.08);
  --radius: 1.25rem;
  --nav-h: 4.5rem;
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  /* 슬로건 등 강조 구간만 — 그 외는 전부 Pretendard */
  --font-accent: "GmarketSans", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic",
    sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mh: #5e62ac;
  --mh-deep: #313257;
}

@font-face {
  font-family: "GmarketSans";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

/* 좌우 거터는 모든 티어 동일 — 타이틀/본문 왼쪽 라인 맞춤 */
.container {
  width: min(1120px, calc(100% - 4rem));
  margin-inline: auto;
}

.container--wide {
  width: min(1440px, calc(100% - 4rem));
  margin-inline: auto;
}

.container--fluid {
  width: min(1900px, calc(100% - 4rem));
  margin-inline: auto;
}

/* 브라우저 가로 100% · 기본 좌우 거터만 */
.container--full {
  width: calc(100% - 4rem);
  max-width: none;
  margin-inline: auto;
}

/* 같은 섹션 안 헤더(기본) → 와이드/풀와이드 리듬 */
section > .container + .container {
  margin-top: 0.25rem;
}

@media (max-width: 720px) {
  .container,
  .container--wide,
  .container--fluid,
  .container--full {
    width: calc(100% - 2rem);
  }
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(26, 28, 30, 0.06);
}

.site-header.is-solid .nav-link {
  color: var(--ink);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
  transition: opacity 0.3s var(--ease);
}

.brand-logo--white {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.brand-logo--color {
  opacity: 0;
}

/* 히어로: 화이트 로고 / 스크롤 후: 보라 로고 */
.site-header:not(.is-solid) .brand-logo--white {
  opacity: 1;
}

.site-header:not(.is-solid) .brand-logo--color {
  opacity: 0;
}

.site-header.is-solid .brand-logo--white {
  opacity: 0;
}

.site-header.is-solid .brand-logo--color {
  opacity: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-cta small {
  opacity: 0.7;
  font-weight: 500;
}

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-solid .menu-btn {
  color: var(--ink);
  background: rgba(26, 28, 30, 0.06);
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  background: rgba(26, 28, 30, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 60;
}

.mobile-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100%;
  background: var(--paper);
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-panel.open .mobile-sheet {
  transform: translateX(0);
}

.mobile-sheet a {
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-close {
  align-self: flex-end;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Hero — one composition, brand-first, full-bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(18, 24, 28, 0.35) 0%, rgba(18, 24, 28, 0.55) 55%, rgba(18, 24, 28, 0.72) 100%),
    url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=2400&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(0, -1.5%, 0);
  }
}

.hero-content {
  width: min(760px, calc(100% - 2.5rem));
  text-align: center;
  padding-top: 2rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-brand img {
  height: clamp(28px, 5vw, 36px);
  filter: brightness(0) invert(1);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  margin: 1.1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.cta-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.btn-line {
  border: 1px solid rgba(26, 28, 30, 0.18);
  background: transparent;
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-deep);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

/* Sections */
section {
  padding: clamp(5rem, 11vw, 8rem) 0;
}

.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-copy {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Why MetaHint — visual cards */
.insight {
  background: var(--white);
}

.why-cards {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.why-card {
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
}

.why-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 22, 28, 0.55));
}

.why-card-media span {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 1;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.why-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.why-card-body strong {
  display: block;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.why-card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* App flow — 소프트 민트·세이지 + 은은한 배경 오브젝트 */
.flow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.45s var(--ease);
}

/* 앱 분석 페이지: 건강=연핑크, 피부=연블루 */
.flow.is-health {
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(232, 120, 150, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 50% at 92% 78%, rgba(210, 140, 180, 0.1), transparent 55%),
    linear-gradient(180deg, #fff8fb 0%, #fdf2f7 48%, #f7eef4 100%);
}

.flow.is-skin {
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(110, 140, 230, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 50% at 92% 78%, rgba(130, 160, 230, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2ff 48%, #e8edfb 100%);
}

.flow-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.flow > .container {
  position: relative;
  z-index: 1;
}

.flow-deco-el {
  position: absolute;
  display: block;
}

.flow-deco-el--ring {
  border: 2px dashed rgba(180, 100, 130, 0.2);
  border-radius: 50%;
  transition: border-color 0.45s var(--ease);
}

.flow.is-skin .flow-deco-el--ring {
  border-color: rgba(100, 130, 210, 0.22);
}

.flow-deco-el--ring-a {
  width: 18rem;
  height: 18rem;
  left: -3%;
  top: 20%;
  opacity: 0.45;
}

.flow-deco-el--soft {
  border-radius: 50%;
  filter: blur(2px);
  transition: background 0.45s var(--ease);
}

.flow-deco-el--soft-a {
  width: 9rem;
  height: 9rem;
  right: 10%;
  top: 12%;
  background: rgba(232, 120, 150, 0.14);
  opacity: 0.7;
}

.flow.is-skin .flow-deco-el--soft-a {
  background: rgba(110, 140, 230, 0.16);
}

.flow-deco-el--chip {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(180, 100, 130, 0.12);
  box-shadow: 0 12px 28px rgba(120, 60, 90, 0.06);
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.flow.is-skin .flow-deco-el--chip {
  border-color: rgba(100, 130, 210, 0.14);
  box-shadow: 0 12px 28px rgba(60, 80, 140, 0.07);
}

.flow-deco-el--chip-a {
  width: 8.5rem;
  height: 4.6rem;
  right: 5%;
  bottom: 18%;
  transform: rotate(8deg);
  opacity: 0.5;
}

.flow-deco-el--dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(214, 110, 140, 0.35);
  box-shadow: 0 0 0 6px rgba(214, 110, 140, 0.08);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.flow.is-skin .flow-deco-el--dot {
  background: rgba(100, 130, 210, 0.35);
  box-shadow: 0 0 0 6px rgba(100, 130, 210, 0.08);
}

.flow-deco-el--dot-a {
  left: 20%;
  top: 18%;
}

.flow-deco-el--dot-b {
  right: 22%;
  bottom: 28%;
}

@media (max-width: 900px) {
  .flow-deco-el--chip {
    display: none;
  }

  .flow-deco-el--ring-a {
    width: 13rem;
    height: 13rem;
  }
}

.flow-showcase {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .flow-showcase {
    grid-template-columns: minmax(18rem, 30rem) minmax(18rem, 30rem);
    gap: clamp(4.25rem, 9vw, 8rem);
    justify-content: center;
    align-items: start;
  }
}

.flow .section-head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.flow-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: auto;
}

.flow-orb {
  position: absolute;
  top: -5%;
  right: 5%;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, #ffe8f0 40%, #f2b8cb 72%, #e08aa8 100%);
  box-shadow: 0 18px 40px rgba(200, 90, 130, 0.28);
  animation: orbFloat 4.5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.flow.is-skin .flow-orb {
  background:
    radial-gradient(circle at 35% 30%, #fff 0%, #e8ecff 40%, #b8c6f2 72%, #8496d8 100%);
  box-shadow: 0 18px 40px rgba(90, 110, 190, 0.28);
}

.flow-orb-badge {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(40, 30, 50, 0.1);
  color: #e2557a;
}

.flow.is-skin .flow-orb-badge {
  color: #4f6fd6;
}

.flow-orb-svg {
  width: 1.35rem;
  height: 1.35rem;
  display: none;
}

.flow.is-health .flow-orb-svg--health,
.flow.is-skin .flow-orb-svg--skin {
  display: block;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.flow-phone {
  position: relative;
  z-index: 1;
  width: min(15.25rem, 64vw);
  filter: drop-shadow(0 28px 50px rgba(26, 28, 30, 0.18));
}

@media (min-width: 1400px) {
  .flow-phone {
    width: min(16.5rem, 34vw);
  }
}

.flow-phone-bezel {
  position: relative;
  border-radius: 2rem;
  padding: 0.55rem;
  background: #111317;
  overflow: visible;
}

.flow-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.2rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #0a0b0d;
  z-index: 3;
}

.flow-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  height: auto;
  border-radius: 1.55rem;
  background: #111317;
  overflow: hidden;
}

.flow-screen[hidden] {
  display: none;
}

.flow-shot {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 1.55rem;
  background: #f4f5f8;
  z-index: 2;
}

.flow-screen.has-shot .flow-stack,
.flow-screen:has(.flow-shot[src]) .flow-stack {
  display: none;
}

.flow-phone-bezel:has(.flow-screen.is-active .flow-shot[src]) .flow-notch {
  opacity: 0;
  pointer-events: none;
}

.flow-stack {
  position: absolute;
  inset: 1.6rem 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 1;
}

.flow-stack--scroll {
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 0.4rem;
}

.flow-stack--scroll::-webkit-scrollbar {
  display: none;
}

.flow-card {
  background: #fff;
  border-radius: 1.05rem;
  padding: 0.85rem 0.9rem;
  box-shadow: 0 14px 30px rgba(26, 28, 30, 0.1);
  border: 1px solid rgba(26, 28, 30, 0.04);
  animation: flowCardIn 0.45s var(--ease) both;
}

.flow-card:nth-child(2) {
  animation-delay: 0.06s;
}

.flow-card:nth-child(3) {
  animation-delay: 0.12s;
}

@keyframes flowCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.flow-card--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.flow-card--head small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.flow-card--cam,
.flow-card--center,
.flow-card--cta {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  text-align: center;
}

.flow-card--cam p,
.flow-card--center p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.flow-card--score {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding-block: 1.1rem;
}

.flow-card--chat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.flow-card--chat .bubble {
  max-width: 92%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.flow-card--chat .bubble--user {
  align-self: flex-end;
  background: var(--mh);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.flow-card--chat .bubble--ai {
  align-self: flex-start;
  background: #f4f5f9;
  border-bottom-left-radius: 0.25rem;
}

.flow-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.flow-mini-list li {
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
  background: #f5f6fa;
  font-size: 0.78rem;
  font-weight: 600;
}

.fb-cam {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  border: 2px dashed rgba(94, 98, 172, 0.45);
  background:
    radial-gradient(circle at 50% 42%, rgba(94, 98, 172, 0.2), transparent 55%),
    #eef0f8;
}

.fb-cam--skin {
  border-radius: 1.1rem;
  width: 7.2rem;
  height: 5.5rem;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--mh);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.fb-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 3px solid #e4e6f0;
  border-top-color: var(--mh);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.flow-aside {
  max-width: 30rem;
  padding-top: 0.15rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .flow-aside {
    padding-top: 0.35rem;
    min-height: 32rem;
  }
}

.flow-aside-tabs {
  flex: 0 0 auto;
}

.flow-aside-body {
  margin-top: 2.75rem;
}

@media (min-width: 960px) {
  .flow-aside-body {
    margin-top: 4.25rem;
  }
}

.flow-mode {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(26, 28, 30, 0.06);
  margin-bottom: 1.1rem;
}

.flow-mode-btn {
  min-height: 2.35rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.9rem;
}

.flow-mode-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 28, 30, 0.08);
}

.flow-step-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}

.flow-step-tab {
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 110, 140, 0.14);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.flow.is-skin .flow-step-tab {
  border-color: rgba(100, 130, 210, 0.16);
}

.flow-step-tab.is-active {
  background: linear-gradient(135deg, #e2557a, #c94d8a);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(200, 90, 130, 0.28);
}

.flow.is-skin .flow-step-tab.is-active {
  background: linear-gradient(135deg, #5b74e0, #4f6fd6);
  box-shadow: 0 10px 22px rgba(90, 110, 190, 0.28);
}

.flow-step-label {
  margin: 0 0 0.45rem;
  color: var(--warm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.flow-aside-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.flow-aside-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 28rem;
}

.flow-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.flow-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(26, 28, 30, 0.18);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.flow-dots button.is-active {
  width: 1.35rem;
  background: var(--ink);
}

/* Features — editorial rows, not dashboard cards */
.features {
  background: var(--paper);
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-row {
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
  }

  .feature-row:nth-child(even) .feature-visual {
    order: 2;
  }
}

.feature-visual {
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  position: relative;
  background: #d9e3df;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.feature-row:hover .feature-visual img {
  transform: scale(1.04);
}

.feature-visual::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
}

.feature-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0;
  color: var(--ink-soft);
}

/* Shop — 위 흰색 → 아래 블루 그라데이션 (테두리 없음) */
.shop {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 28%, #f4f6fa 55%, #eaedf4 100%);
}

.care-float.reveal {
  transform: none;
}

.care-float.reveal.in {
  transform: none;
}

.shop-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

/* 01·02·03 — 완만한 스테거 (메디코치처럼 비슷한 높이대) */
.care-floatboard {
  position: relative;
  display: grid;
  gap: 1.1rem;
  margin: 0 0 calc(1.75rem + 100px);
  padding: 0.15rem 0 0.35rem;
}

.care-float-path {
  display: none;
}

@media (max-width: 959px) {
  .care-float--1 {
    margin-right: auto;
  }

  .care-float--2 {
    margin-left: auto;
  }

  .care-float--3 {
    margin-left: 6%;
  }
}

@media (min-width: 960px) {
  .care-floatboard {
    display: block;
  }

  .care-float-path {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
  }

  .care-float-path path {
    fill: none;
    stroke: rgba(130, 170, 210, 0.55);
    stroke-width: 1.75;
    stroke-dasharray: 5 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }
}

.care-float {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 22.5rem;
  min-height: 0;
  padding: 1.15rem 1.2rem 1.45rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 4px 18px rgba(90, 130, 170, 0.06),
    0 18px 44px rgba(70, 110, 150, 0.1);
  backdrop-filter: blur(8px);
}

@media (min-width: 960px) {
  .care-floatboard {
    min-height: 24.5rem;
  }

  .care-float {
    position: absolute;
    width: 30.5%;
    max-width: none;
    height: 19.25rem;
    min-height: 19.25rem;
    display: flex;
  }

  /* 왼쪽 살짝 위 · 가운데 · 오른쪽 살짝 아래 — 깊은 캐스케이드 없음 */
  .care-float--1 {
    left: 0;
    top: 0;
  }

  .care-float--2 {
    left: 34.75%;
    top: 1.65rem;
  }

  .care-float--3 {
    left: 69.5%;
    top: 3.25rem;
  }

  .care-float--chat {
    height: 19.25rem;
    min-height: 19.25rem;
    padding-bottom: 1.55rem;
  }
}

.care-float-step {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--warm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.care-float-head {
  margin-bottom: 0.7rem;
}

.care-float-head h3 {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.care-float-list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.care-float-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.65rem;
  border-radius: 0.85rem;
  background: rgba(244, 247, 250, 0.95);
  font-size: 0.84rem;
}

.care-metric-scroll {
  position: relative;
  flex: 1;
  min-height: 9.5rem;
  margin-top: 0.15rem;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

@media (min-width: 960px) {
  .care-metric-scroll {
    min-height: 0;
  }
}

.care-metric-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  animation: careMetricScroll 28s linear infinite;
  will-change: transform;
}

.care-metric-track:hover {
  animation-play-state: paused;
}

.care-metric-track li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.65rem;
  border-radius: 0.85rem;
  background: rgba(244, 247, 250, 0.95);
  font-size: 0.78rem;
}

.care-metric-track span {
  color: var(--muted);
  flex: 0 1 auto;
}

.care-metric-track b {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: right;
}

.care-metric-track em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
}

.care-metric-track em.ok {
  background: rgba(56, 150, 110, 0.12);
  color: #2f8a5f;
}

.care-metric-track em.warn,
.care-metric-track b.warn {
  color: #b65a2a;
}

.care-metric-track em.warn {
  background: rgba(196, 122, 74, 0.14);
}

@keyframes careMetricScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* 02 — AI 힌티 채팅 결과 분석 */
.care-float--chat {
  background: rgba(255, 255, 255, 0.94);
}

.care-chat-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(120, 150, 180, 0.12);
}

.care-chat-avatar {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.care-chat-bar strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.care-chat-bar small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.care-chat-log {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  min-height: 0;
  justify-content: flex-start;
}

.care-float--chat .care-bubble--reco {
  margin-top: auto;
  margin-bottom: 0.15rem;
}

.care-bubble {
  max-width: 94%;
  padding: 0.55rem 0.72rem;
  border-radius: 1.05rem;
  font-size: 0.78rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.care-bubble--user {
  align-self: flex-end;
  background: var(--mh);
  color: #fff;
  border-bottom-right-radius: 0.35rem;
}

.care-bubble--ai {
  align-self: flex-start;
  background: rgba(236, 240, 248, 0.95);
  color: var(--ink);
  border-bottom-left-radius: 0.35rem;
}

.care-bubble--reco {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(94, 98, 172, 0.1);
  box-shadow: 0 6px 16px rgba(94, 98, 172, 0.05);
}

.care-bubble--reco strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--mh-deep);
  font-size: 0.72rem;
}

.care-bubble--reco ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.care-bubble--reco li {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(94, 98, 172, 0.09);
  color: var(--mh-deep);
  font-size: 0.68rem;
  font-weight: 650;
}

.care-float-list span {
  color: var(--muted);
}

.care-float-list b.warn {
  color: #b65a2a;
}

.care-float-ai {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.care-float-ai .care-bridge {
  width: 4.2rem;
  height: 4.2rem;
  margin: 0;
  font-size: 0.68rem;
}

.care-float-ai strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.care-float-ai p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.care-float-tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.care-float-tags li {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(94, 98, 172, 0.1);
  color: var(--mh-deep);
  font-size: 0.75rem;
  font-weight: 650;
}

.care-float-title {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.care-float-recos {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
}

.care-float-recos a {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.42rem;
  border-radius: 0.95rem;
  background: rgba(244, 247, 250, 0.95);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.care-float-recos a:hover {
  transform: translateY(-2px);
  background: #eaf0f6;
}

.care-float-recos i {
  display: block;
  width: 2.6rem;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  background-color: #f3f5f8;
  background-image:
    var(--product-img),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(145deg, #e8f0ee, #f3ebe4);
  background-size: 78% auto, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.care-reco-media--liver {
  background-image:
    var(--product-img),
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #f0d9c4, #e8f0e4);
}

.care-reco-media--serum {
  background-image:
    var(--product-img),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 40%),
    linear-gradient(145deg, #d9ebe7, #f0e4d8);
}

.care-reco-media--vita {
  background-image:
    var(--product-img),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #f2e5c9, #e7f0e8);
}

.care-reco-media--omega {
  background-image:
    var(--product-img),
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.6), transparent 40%),
    linear-gradient(145deg, #d8e6f0, #efe6db);
}

.care-float-recos span {
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.care-float--1 .care-float-list,
.care-float--1 .care-metric-scroll {
  margin-top: auto;
}

.care-float--1 {
  overflow: hidden;
}

.care-pill {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(94, 98, 172, 0.09);
  color: var(--mh-deep);
  font-size: 0.68rem;
  font-weight: 700;
}

.care-bridge {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0.35rem 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mh), #7a7fc0);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(94, 98, 172, 0.32);
  animation: bridgePulse 2.4s ease-in-out infinite;
}

@keyframes bridgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.shop-bridge {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin: 0.75rem 0 2.5rem;
}

@media (min-width: 960px) {
  .shop-bridge {
    grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
  }
}

.shop-bridge-copy .section-kicker {
  color: #4a7eb5;
}

.shop-bridge-copy h3 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--font-body);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.shop-bridge-copy > p {
  margin: 0 0 1.4rem;
  max-width: 26rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.btn-primary {
  background: #3d78c2;
  color: #fff;
  border: 0;
  box-shadow: 0 12px 28px rgba(61, 120, 194, 0.28);
}

.btn-primary:hover {
  background: #3269ad;
  color: #fff;
}

/* 사진 + Q/A·제품 플로팅 레이어
   PC: 사진은 오른쪽 정렬, Q/pack은 사진 왼쪽에 걸침 */
.shop-bridge-stage {
  --shop-photo-w: 34rem;
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: 24rem;
  padding: 3.25rem 0.35rem 3rem;
}

@media (min-width: 960px) {
  .shop-bridge-stage {
    min-height: 30rem;
    padding: 3.5rem 0 3.25rem;
  }
}

.shop-bridge-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #d7e4f0;
  box-shadow: 0 24px 52px rgba(40, 70, 110, 0.16);
}

@media (min-width: 960px) {
  .shop-bridge-photo {
    width: min(100%, var(--shop-photo-w));
    margin-left: auto;
  }
}

.shop-bridge-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.shop-float {
  position: absolute;
  z-index: 2;
  border-radius: 1.15rem;
  box-shadow: 0 16px 36px rgba(40, 70, 110, 0.12);
}

/* 모바일 기본 위치 */
.shop-float--q {
  left: 0.25rem;
  top: 0.15rem;
  width: min(17.5rem, 68%);
  padding: 0.95rem 1rem 1rem;
  background: #fff;
  border: 1px solid rgba(26, 28, 30, 0.05);
}

.shop-float-qmark {
  display: block;
  margin-bottom: 0.35rem;
  color: #e2556a;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.shop-float--q p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.shop-float--a {
  right: 0.25rem;
  bottom: 0.25rem;
  width: min(18.5rem, 78%);
  padding: 0.95rem 1.05rem 1.05rem;
  background: rgba(244, 247, 250, 0.96);
  border: 1px solid rgba(26, 28, 30, 0.04);
  backdrop-filter: blur(6px);
}

.shop-float--a header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.shop-float--a header strong {
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.shop-float--a header span {
  color: var(--muted);
  font-size: 0.72rem;
}

.shop-float--a p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.shop-float--pack {
  left: 50%;
  bottom: -0.35rem;
  z-index: 3;
  display: block;
  width: min(11.5rem, 52%);
  overflow: hidden;
  padding: 0;
  background: #eceff3;
  border: 1px solid rgba(26, 28, 30, 0.05);
  transform: translateX(-50%);
}

.shop-float-pack-img {
  display: block;
  width: 100%;
  height: 8.2rem;
  object-fit: cover;
  object-position: 28% center;
}

.shop-float--pack p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.4rem 0.55rem 0.5rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(20, 30, 50, 0.35);
  background: linear-gradient(180deg, transparent, rgba(20, 28, 40, 0.55));
}

@media (max-width: 959px) {
  .shop-bridge-stage {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  /* 모바일: A와 pack 하단 충돌 방지 */
  .shop-float--a {
    right: 0.25rem;
    bottom: 5.6rem;
    width: min(16.5rem, 86%);
  }

  .shop-float--pack {
    left: 0.35rem;
    bottom: -0.35rem;
    width: min(9.8rem, 46%);
    transform: none;
  }

  .shop-float-pack-img {
    height: 6.8rem;
  }
}

/* PC 전용 좌표 */
@media (min-width: 960px) {
  .shop-float--q {
    top: 0.15rem;
    left: 15%;
    width: min(17.5rem, 58%);
  }

  .shop-float--a {
    right: 0;
    bottom: 0.25rem;
    width: min(17.5rem, 58%);
  }

  .shop-float--pack {
    left: 18%;
    bottom: -0.4rem;
    width: min(12.5rem, 36%);
    transform: none;
  }

  .shop-float-pack-img {
    height: 9rem;
  }

  .shop-float--pack p {
    padding: 1.55rem 0.65rem 0.5rem;
    font-size: 0.74rem;
  }
}

/* 좁은 데스크톱: 카드 폭만 소폭 축소 (left % 유지) */
@media (min-width: 960px) and (max-width: 1199px) {
  .shop-float--q {
    width: min(15rem, 54%);
  }

  .shop-float--pack {
    width: min(10.5rem, 34%);
  }

  .shop-float-pack-img {
    height: 7.6rem;
  }

  .shop-float--a {
    width: min(15.5rem, 56%);
  }
}

.shop-shelf-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 1.35rem;
}

.shop-shelf-head h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -0.02em;
}

.shop-shelf-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* 화면 끝→끝 자동 가로 스크롤 · 해상도별 노출 개수 가변 */
.product-marquee {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0.35rem 0 1.25rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}

.product-marquee-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  padding-inline: 0.5rem;
  animation: productMarquee 42s linear infinite;
  will-change: transform;
}

.product-marquee:hover .product-marquee-track {
  animation-play-state: paused;
}

.product-marquee .product {
  flex: 0 0 clamp(13.5rem, 18vw, 17.5rem);
}

@keyframes productMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.55rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-marquee-track {
    animation: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-marquee-track::-webkit-scrollbar {
    display: none;
  }

  .product-marquee .product[aria-hidden="true"] {
    display: none;
  }
}

.product {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  aspect-ratio: 1;
  background-color: #f3f5f8;
  background-image:
    var(--product-img),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 48%),
    linear-gradient(160deg, #e8f0ee, #f3ebe4);
  background-size: 78% auto, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.product-media--serum {
  background-image:
    var(--product-img),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 40%),
    linear-gradient(145deg, #d9ebe7, #f0e4d8);
}

.product-media--toner {
  background-image:
    var(--product-img),
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.65), transparent 42%),
    linear-gradient(145deg, #e4eef2, #ebe3d7);
}

.product-media--vita {
  background-image:
    var(--product-img),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #f2e5c9, #e7f0e8);
}

.product-media--omega {
  background-image:
    var(--product-img),
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.6), transparent 40%),
    linear-gradient(145deg, #d8e6f0, #efe6db);
}

.product-media--liver {
  background-image:
    var(--product-img),
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.55), transparent 45%),
    linear-gradient(145deg, #f0d9c4, #e8f0e4);
}

.product-media--cream {
  background-image:
    var(--product-img),
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(145deg, #efe6f2, #e4eef0);
}

.product-body {
  padding: 1rem 1rem 1.15rem;
}

.product-cat {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-body h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.product-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Pharmacy */
.pharmacy {
  background: var(--white);
}

.pharmacy-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 960px) {
  .pharmacy-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.pharmacy-copy .section-copy {
  max-width: 34rem;
}

.pharmacy-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.pharmacy-points li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.pharmacy-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

.pharmacy-aside {
  display: grid;
  gap: 1rem;
}

.pharmacy-visual {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 1.5rem;
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 50px rgba(26, 28, 30, 0.1);
}

.pharmacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat {
  padding: 1rem 0.75rem;
  text-align: center;
  border-radius: 1.1rem;
  background: var(--paper);
  border: 1px solid rgba(26, 28, 30, 0.05);
}

.stat b {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Reviews */
.reviews {
  background: var(--white);
  overflow: hidden;
}

.review-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(16rem, 22rem);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
}

.review {
  scroll-snap-align: start;
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 12rem;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review strong {
  font-size: 0.95rem;
}

.stars {
  color: var(--warm);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.review p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Final CTA */
.finale {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.finale-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 28, 30, 0.55), rgba(20, 28, 30, 0.78)),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
}

.finale .section-title {
  color: var(--white);
}

.finale .section-copy {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  background: #14171a;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2.25rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-brand {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tag {
  margin: 0.55rem 0 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 22rem;
  line-height: 1.5;
}

.footer-heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.footer-social,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer-links--col {
  flex-direction: column;
  gap: 0.55rem;
}

.footer-social a,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-social a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* Result phones */
.result-split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .result-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }
}

.phone-result {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.phone-shell {
  width: min(280px, 78vw);
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #2a2d33, #121417);
  box-shadow: 0 24px 60px rgba(18, 20, 24, 0.28);
}

.phone-shell--hero {
  width: min(300px, 82vw);
  z-index: 2;
}

.phone-shell--hinty {
  width: min(320px, 86vw);
  padding: 0.4rem;
  background: #121417;
  box-shadow: 0 28px 64px rgba(18, 20, 24, 0.3);
  overflow: hidden;
}

.phone-notch {
  width: 38%;
  height: 0.55rem;
  margin: 0.2rem auto 0.45rem;
  border-radius: 999px;
  background: #0a0b0d;
}

.phone-screen {
  height: 34rem;
  max-height: 34rem;
  border-radius: 1.45rem;
  background: #f7f8fb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen--fixed {
  height: min(34rem, 70vh);
  max-height: min(34rem, 70vh);
}

.phone-screen--hinty {
  position: relative;
  height: min(38rem, 74vh);
  max-height: min(38rem, 74vh);
  background: #f3f4f8;
  border-radius: 1.35rem;
  overflow: hidden;
}

.hinty-app-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.85rem 0.7rem;
  background: #fff;
  border-bottom: 1px solid rgba(26, 28, 30, 0.06);
}

.hinty-menu {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  gap: 0.22rem;
  place-content: center;
  flex: 0 0 auto;
}

.hinty-menu span {
  display: block;
  width: 1rem;
  height: 1.5px;
  border-radius: 99px;
  background: #2a2f3a;
}

.hinty-app-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.hinty-app-icon,
.hinty-msg-avatar,
.hinty-tabbar .ht-hinty {
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

.hinty-app-icon {
  width: 2.15rem;
  height: 2.15rem;
}

.hinty-msg-avatar {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0;
  align-self: flex-end;
  margin-bottom: 0.15rem;
}

.hinty-profile i {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0;
  flex: 0 0 auto;
  background: url("./assets/hinty-face.png") center / contain no-repeat;
  box-shadow: none;
}

.hinty-app-brand strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  color: #1d2430;
}

.hinty-app-brand small {
  display: block;
  margin-top: 0.08rem;
  color: #8b93a7;
  font-size: 0.68rem;
  font-weight: 600;
}

.hinty-msg {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  max-width: 100%;
}

.hinty-msg--ai {
  justify-self: start;
  max-width: 94%;
}

.hinty-msg--ai .bubble,
.hinty-msg--ai .checkup-card {
  justify-self: stretch;
}

.hinty-suggest {
  margin: 0 0.75rem 0.35rem;
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(94, 98, 172, 0.14);
  box-shadow: 0 10px 24px rgba(49, 50, 87, 0.05);
  display: grid;
  gap: 0.45rem;
}

.hinty-suggest p {
  margin: 0 0 0.15rem;
  color: #6b7285;
  font-size: 0.7rem;
  font-weight: 700;
}

.hinty-suggest button {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #6f66e8, #5e62ac);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 10px 20px rgba(94, 98, 172, 0.22);
}

.hinty-composer {
  position: relative;
  display: grid;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem 0.55rem;
  background: #fff;
  border-top: 1px solid rgba(26, 28, 30, 0.05);
  z-index: 5;
}

.hinty-profile-wrap {
  position: static;
  width: fit-content;
  max-width: 100%;
}

.hinty-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.15rem 0.55rem 0.15rem 0.15rem;
  border-radius: 999px;
  background: #f3f4f8;
  color: #2a2f3a;
  font-size: 0.72rem;
  font-weight: 700;
}

.hinty-profile-caret {
  width: 0;
  height: 0;
  margin-left: 0.05rem;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid #8b93a7;
}

.hinty-profile-wrap.is-open .hinty-profile-caret {
  transform: rotate(180deg);
}

.hinty-persona-menu {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(100% + 0.35rem);
  width: auto;
  max-height: 11rem;
  overflow-y: auto;
  padding: 0.45rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid rgba(94, 98, 172, 0.14);
  box-shadow: 0 14px 28px rgba(40, 45, 80, 0.16);
  display: grid;
  gap: 0.28rem;
  z-index: 8;
  box-sizing: border-box;
  scrollbar-width: none;
}

.hinty-persona-menu::-webkit-scrollbar {
  display: none;
}

.hinty-persona-menu[hidden] {
  display: none;
}

.hinty-persona-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: #f6f7fb;
  text-align: left;
  color: #2a2f3a;
}

.hinty-persona-option strong {
  font-size: 0.78rem;
}

.hinty-persona-option span {
  color: #8b93a7;
  font-size: 0.66rem;
  font-weight: 650;
}

.hinty-persona-option.is-active {
  background: linear-gradient(135deg, #6f66e8, #5e62ac);
  color: #fff;
}

.hinty-persona-option.is-active span {
  color: rgba(255, 255, 255, 0.78);
}


.hinty-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.95rem;
  background: #eef0f5;
  color: #9aa1b2;
  font-size: 0.74rem;
  font-weight: 600;
}

.hinty-send {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #c8ccd8;
  position: relative;
  flex: 0 0 auto;
}

.hinty-send::before {
  content: "";
  position: absolute;
  inset: 0.32rem 0.28rem 0.32rem 0.38rem;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 18% 50%);
}

.hinty-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.15rem;
  padding: 0.45rem 0.35rem 0.55rem;
  background: #fff;
  border-top: 1px solid rgba(26, 28, 30, 0.06);
}

.hinty-tabbar span {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  color: #8b93a7;
  font-size: 0.58rem;
  font-weight: 700;
}

.hinty-tabbar span.is-active {
  color: #5e62ac;
}

.hinty-tabbar i {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  position: relative;
}

.hinty-tabbar .ht-home::before {
  content: "";
  position: absolute;
  inset: 0.18rem 0.2rem 0.15rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  clip-path: polygon(50% 0, 100% 42%, 100% 100%, 0 100%, 0 42%);
}

.hinty-tabbar .ht-chart::before {
  content: "";
  position: absolute;
  inset: 0.28rem 0.15rem;
  border-bottom: 1.5px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) 10% 70% / 2px 30% no-repeat,
    linear-gradient(currentColor, currentColor) 40% 45% / 2px 55% no-repeat,
    linear-gradient(currentColor, currentColor) 70% 25% / 2px 75% no-repeat;
}

.hinty-tabbar .ht-hinty {
  width: 1.55rem;
  height: 1.55rem;
  margin-top: -0.15rem;
}

.hinty-tabbar .ht-wallet::before {
  content: "";
  position: absolute;
  inset: 0.28rem 0.18rem;
  border: 1.5px solid currentColor;
  border-radius: 0.2rem;
}

.hinty-tabbar .ht-user::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.18rem;
  width: 0.42rem;
  height: 0.42rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.hinty-tabbar .ht-user::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.18rem;
  width: 0.75rem;
  height: 0.4rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  transform: translateX(-50%);
}

.phone-result .phone-screen {
  height: min(32rem, 68vh);
  max-height: min(32rem, 68vh);
  overflow-y: auto;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.app-bar-date {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.app-bar--chat {
  gap: 0.5rem;
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
}

.app-bar--chat > span {
  font-weight: 700;
}

.chat-back {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(26, 28, 30, 0.06);
  font-size: 0.85rem;
}

.health-hero {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 1rem;
}

.ring {
  --p: 70;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--mh) calc(var(--p) * 1%), #e5e7ef 0);
  animation: ringIn 1.1s var(--ease) both;
}

.ring strong {
  font-family: var(--font-body);
  font-size: 1.85rem;
  line-height: 1;
}

.ring small {
  color: var(--muted);
  font-size: 0.7rem;
}

@keyframes ringIn {
  from {
    filter: saturate(0.4);
    transform: scale(0.92);
  }
  to {
    filter: none;
    transform: none;
  }
}

.grade-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(94, 98, 172, 0.12);
  color: var(--mh-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-list {
  list-style: none;
  margin: 0;
  padding: 0 0.9rem;
  display: grid;
  gap: 0.4rem;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.metric-list span {
  color: var(--muted);
}

.metric-list b {
  font-weight: 700;
}

.skin-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 1rem 0.85rem;
}

.skin-score-row small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.skin-score-row strong {
  font-family: var(--font-body);
  font-size: 2rem;
  line-height: 1;
  color: var(--mh-deep);
}

.scan-orb {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 2px solid rgba(94, 98, 172, 0.25);
  display: grid;
  place-items: center;
  position: relative;
}

.scan-orb i {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--mh);
  animation: orbPulse 1.6s ease-in-out infinite;
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.skin-bars {
  padding: 0 0.9rem;
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.bar {
  display: grid;
  grid-template-columns: 3.4rem 1fr 1.6rem;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.72rem;
}

.bar span {
  color: var(--muted);
}

.bar i {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: #e6e8f0;
  position: relative;
  overflow: hidden;
}

.bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #7b80c4, var(--mh-deep));
  animation: fillBar 1.1s var(--ease) both;
}

@keyframes fillBar {
  from {
    width: 0;
  }
}

.bar b {
  text-align: right;
  font-weight: 700;
}

.app-cta {
  margin: 0.85rem 0.9rem 1rem;
  min-height: 2.6rem;
  border-radius: 999px;
  background: var(--mh);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 1rem;
}

.app-cta--ghost {
  background: #fff;
  color: var(--mh-deep);
  border: 1px solid rgba(94, 98, 172, 0.3);
}

.phone-caption {
  text-align: center;
  max-width: 22rem;
}

.phone-caption h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
}

.phone-caption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* AI stage — Care to Shop과 같은 흰→블루 + 은은한 배경 오브젝트 */
.ai-stage {
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--theme-blue) 32%,
    var(--theme-blue-mid) 68%,
    var(--theme-blue-deep) 100%
  );
  overflow: hidden;
}

.ai-stage-glow {
  position: absolute;
  inset: 18% 20% auto;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 170, 220, 0.18), transparent 68%);
  pointer-events: none;
  filter: blur(28px);
  z-index: 0;
}

.ai-stage-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ai-stage > .container {
  position: relative;
  z-index: 1;
}

.ai-deco {
  position: absolute;
  display: block;
}

.ai-deco--ring {
  border: 2px dashed rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(100, 150, 200, 0.08);
}

.ai-deco--ring-a {
  width: 18rem;
  height: 18rem;
  left: -1%;
  top: 16%;
  opacity: 0.42;
}

.ai-deco--ring-b {
  width: 12rem;
  height: 12rem;
  right: 3%;
  bottom: 14%;
  opacity: 0.38;
  border-style: solid;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.38);
}

.ai-deco--soft {
  border-radius: 50%;
  filter: blur(3px);
  background: rgba(255, 255, 255, 0.35);
}

.ai-deco--soft-a {
  width: 9rem;
  height: 9rem;
  right: 12%;
  top: 14%;
  opacity: 0.45;
  background: rgba(94, 98, 172, 0.12);
}

.ai-deco--chip {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 12px 28px rgba(60, 100, 140, 0.08);
  backdrop-filter: blur(6px);
}

.ai-deco--chip-a {
  width: 8.5rem;
  height: 4.6rem;
  left: 5%;
  top: 56%;
  transform: rotate(-8deg);
  opacity: 0.5;
}

.ai-deco--chip-b {
  width: 7.5rem;
  height: 4.2rem;
  right: 6%;
  top: 40%;
  transform: rotate(9deg);
  opacity: 0.45;
}

.ai-deco--dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12);
}

.ai-deco--dot-a {
  left: 20%;
  top: 18%;
}

.ai-deco--dot-b {
  right: 24%;
  bottom: 22%;
}

@media (max-width: 900px) {
  .ai-deco--chip,
  .ai-deco--ring-b {
    display: none;
  }

  .ai-deco--ring-a {
    width: 14rem;
    height: 14rem;
  }
}

.ai-stage-head {
  text-align: left;
  margin-inline: 0;
  max-width: 36rem;
}

.ai-stage-head .section-copy {
  margin-inline: 0;
}

.persona-board {
  display: grid;
  gap: 1.35rem;
  margin: 0 0 2.75rem;
  width: 100%;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 28, 30, 0.06);
  box-shadow: 0 18px 40px rgba(26, 28, 30, 0.05);
}

@media (min-width: 900px) {
  .persona-board {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
    padding: 1.45rem 1.75rem 1.6rem;
  }
}

.persona-group-label {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.persona-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.persona-chip {
  display: grid;
  gap: 0.18rem;
  min-width: 7.8rem;
  padding: 0.8rem 1rem;
  border-radius: 1.1rem;
  background: var(--paper-2);
  text-align: left;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.persona-chip:hover {
  transform: translateY(-2px);
}

.persona-chip strong {
  font-size: 0.98rem;
}

.persona-chip span {
  color: var(--muted);
  font-size: 0.75rem;
}

.persona-chip.is-active {
  background: var(--mh);
  color: #fff;
  box-shadow: 0 12px 28px rgba(94, 98, 172, 0.3);
}

.persona-chip.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

.ai-stage-board {
  position: relative;
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 1.5rem 0 2rem;
}

@media (min-width: 1100px) {
  .ai-stage-board {
    min-height: 42rem;
    padding: 2rem 0 2.5rem;
  }
}

.chat-persona-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.invest {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(94, 98, 172, 0.12), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(94, 98, 172, 0.08), transparent 34%),
    linear-gradient(180deg, #eef1f6 0%, #f7f8fb 42%, #fff 100%);
  border-top: 1px solid var(--line);
}

.invest::before {
  content: "";
  position: absolute;
  width: min(46rem, 70vw);
  height: min(46rem, 70vw);
  right: -6rem;
  top: 4rem;
  background: url("./assets/mtht-coin.png") center / contain no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

.invest-glow {
  position: absolute;
  inset: auto 18% -18%;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 98, 172, 0.12), transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}

.invest-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: end;
}

@media (min-width: 900px) {
  .invest-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.invest-hero-copy .section-title {
  margin-bottom: 0;
}

.invest-hero-aside {
  display: grid;
  gap: 1rem;
  padding: 0.15rem 0;
}

.invest-hero-aside > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* 설명 아래 흰 박스 — 유지 */
.invest-hero-meta {
  list-style: none;
  margin: 0;
  padding: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(26, 28, 30, 0.06);
  box-shadow: 0 14px 34px rgba(49, 50, 87, 0.06);
}

.invest-hero-meta li {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.85rem;
  background: #f4f6fa;
}

.invest-hero-meta span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invest-hero-meta b {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.invest-token-label {
  margin: 0 0 0.45rem;
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 스냅샷 — 박스 대신 쿨 밴드 + 개별 타일 (위 흰 박스와 구분) */
.invest-token-panel {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 2.75rem;
  padding: 1.5rem 1.35rem 1.4rem;
  border: 0;
  border-radius: 1.5rem;
  background: linear-gradient(165deg, #eaedf4 0%, #f3f5f9 55%, #e8ecf3 100%);
  box-shadow: none;
}

.invest-token-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0 0.15rem;
  border: 0;
}

.invest-token-bar h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.invest-token-bar > p {
  margin: 0;
  max-width: 26rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .invest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.invest-card {
  padding: 1.15rem 1.1rem 1.2rem;
  min-height: 0;
  border: 0;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 22px rgba(49, 50, 87, 0.04);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.invest-card:hover {
  transform: translateY(-2px);
  background: #fff;
}

.invest-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.invest-card strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.invest-card em {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-style: normal;
  font-size: 0.86rem;
}

.market-desk {
  position: relative;
  overflow: hidden;
  margin: 0 0 2.75rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 1.6rem;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 100% 20%, rgba(94, 98, 172, 0.35), transparent 36%),
    linear-gradient(165deg, #1c2036 0%, #12141f 55%, #0e1018 100%);
  box-shadow: 0 28px 70px rgba(18, 20, 34, 0.28);
}

.market-watermark {
  position: absolute;
  z-index: 0;
  width: min(34rem, 62%);
  right: -4%;
  top: 50%;
  transform: translateY(-46%);
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.market-tape,
.market-split {
  position: relative;
  z-index: 1;
}

.market-tape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.4rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-pair {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.market-pair img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.market-pair strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.market-pair span {
  color: rgba(245, 247, 251, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: 0.7rem 1.25rem;
  margin: 0;
}

@media (min-width: 800px) {
  .market-stats {
    grid-template-columns: repeat(4, minmax(6.5rem, auto));
  }
}

.market-stats div {
  min-width: 0;
}

.market-stats dt {
  margin: 0 0 0.15rem;
  color: rgba(245, 247, 251, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-stats dd {
  margin: 0;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.market-split {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 980px) {
  .market-split {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.9fr);
    align-items: stretch;
  }
}

.market-pane {
  min-width: 0;
  padding: 1.1rem 1rem 0.85rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 18, 0.46);
  backdrop-filter: blur(8px);
}

.market-pane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.market-pane-head p {
  margin: 0;
  color: #c9b7ff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-pane-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dist-layout {
  display: grid;
  gap: 0.85rem;
  align-items: center;
}

@media (min-width: 720px) {
  .dist-layout {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1rem;
  }
}

.dist-chart {
  position: relative;
  width: min(100%, 11.5rem);
  margin-inline: auto;
  aspect-ratio: 1;
}

.dist-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dist-chart circle {
  transition: opacity 0.2s var(--ease), stroke-width 0.2s var(--ease);
}

.dist-chart.is-hot circle {
  opacity: 0.35;
}

.dist-chart.is-hot circle.is-on {
  opacity: 1;
  stroke-width: 16;
}

.dist-center {
  position: absolute;
  inset: 22%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  pointer-events: none;
}

.dist-center b {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dist-center span {
  color: rgba(245, 247, 251, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.dist-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dist-row {
  display: grid;
  grid-template-columns: 0.7rem minmax(0, 1fr) auto;
  grid-template-areas:
    "swatch name pct"
    "swatch vest pct"
    ". track track";
  gap: 0.15rem 0.65rem;
  align-items: center;
  width: 100%;
  padding: 0.48rem 0.35rem;
  border: 0;
  border-radius: 0.7rem;
  color: inherit;
  text-align: left;
  background: transparent;
}

.dist-swatch { grid-area: swatch; }
.dist-name { grid-area: name; }
.dist-vest { grid-area: vest; }
.dist-pct { grid-area: pct; }
.dist-track { grid-area: track; }

.dist-row:hover,
.dist-row.is-on {
  background: rgba(255, 255, 255, 0.06);
}

.dist-swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.dist-name {
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dist-vest {
  color: rgba(245, 247, 251, 0.5);
  font-size: 0.72rem;
  line-height: 1.35;
}

.dist-pct {
  align-self: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.95rem;
}

.dist-track {
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dist-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.news-status {
  margin: 0 0 0.5rem;
  color: rgba(245, 247, 251, 0.55);
  font-size: 0.82rem;
}

.news-status[hidden] {
  display: none;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 16rem;
}

.news-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.7rem;
  width: 100%;
  padding: 0.72rem 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: inherit;
  text-align: left;
  background: transparent;
}

.news-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.news-row time {
  grid-row: 1 / span 2;
  align-self: center;
  color: rgba(245, 247, 251, 0.48);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.news-row-title {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.news-tag {
  justify-self: start;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(201, 183, 255, 0.14);
  color: #ddd4ff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-tag--unlock {
  background: rgba(120, 196, 168, 0.16);
  color: #b7ead4;
}

.news-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.news-pager:empty {
  display: none;
}

.news-page-btn {
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0 0.45rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 247, 251, 0.8);
  background: transparent;
  font-size: 0.78rem;
}

.news-page-btn.is-active {
  background: #fff;
  color: #17192b;
  border-color: #fff;
}

.news-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-dialog {
  width: min(40rem, calc(100% - 2rem));
  max-height: min(80vh, 40rem);
  padding: 1.4rem 1.35rem 1.5rem;
  border: 0;
  border-radius: 1.2rem;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 80px rgba(18, 20, 34, 0.28);
}

.news-dialog::backdrop {
  background: rgba(14, 16, 24, 0.62);
}

.news-dialog form {
  display: flex;
  justify-content: flex-end;
  margin: -0.3rem 0 0.2rem;
}

.news-dialog-close {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-dialog-date {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.news-dialog h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.news-dialog-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow: auto;
  max-height: 48vh;
}

.news-dialog-link {
  margin: 0.9rem 0 0;
}

.news-dialog-link a {
  color: var(--mh-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.roadmap {
  margin: 0 0 2.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.roadmap-kicker {
  margin: 0 0 0.35rem;
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-bottom: 1.35rem;
}

.roadmap-head h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
}

.roadmap-head > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 28rem;
  line-height: 1.5;
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  position: relative;
}

@media (min-width: 900px) {
  .roadmap-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .roadmap-list::before {
    content: "";
    position: absolute;
    top: 2.35rem;
    left: 7%;
    right: 7%;
    border-top: 2px dotted rgba(255, 255, 255, 0.35);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: soft-light;
  }
}

.roadmap-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.25rem 1.45rem;
  border-radius: 1.25rem;
  color: #fff;
  min-height: 12.5rem;
  box-shadow: 0 18px 40px rgba(49, 50, 87, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.roadmap-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 0.6s var(--ease);
}

.roadmap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(49, 50, 87, 0.72) 8%, rgba(49, 50, 87, 0.88) 100%),
    linear-gradient(90deg, rgba(94, 98, 172, 0.35), transparent 60%);
}

.roadmap-item--1 .roadmap-media {
  background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=900&q=70");
}

.roadmap-item--2 .roadmap-media {
  background-image: url("https://images.unsplash.com/photo-1639762681485-074b7f938ba0?auto=format&fit=crop&w=900&q=70");
}

.roadmap-item--3 .roadmap-media {
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=70");
}

.roadmap-item--4 .roadmap-media {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=900&q=70");
}

.roadmap-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(49, 50, 87, 0.24);
}

.roadmap-item:hover .roadmap-media {
  transform: scale(1.08);
}

.roadmap-phase {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.roadmap-item b {
  display: block;
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  letter-spacing: -0.03em;
}

.roadmap-item p {
  margin: 0;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

.invest-docs-panel {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 0.25rem 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (min-width: 800px) {
  .invest-docs-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
  }
}

.invest-docs-panel h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.invest-docs-panel p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.invest-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.float-card {
  position: absolute;
  z-index: 1;
  width: min(15.75rem, 24vw);
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(94, 98, 172, 0.16);
  box-shadow: 0 18px 42px rgba(49, 50, 87, 0.12);
  animation: floatY 5.5s ease-in-out infinite;
  backdrop-filter: blur(8px);
}

/* 자유 배치 + 폰과의 적당한 여백 */
.float-card--l1 {
  left: clamp(0.5rem, 6vw, 7.5rem);
  top: 6%;
  animation-delay: 0s;
}

.float-card--l2 {
  left: clamp(0.75rem, 3.5vw, 4.5rem);
  bottom: 8%;
  animation-delay: 0.85s;
}

.float-card--r1 {
  right: clamp(0.5rem, 5.5vw, 7rem);
  top: 12%;
  animation-delay: 0.4s;
}

.float-card--r2 {
  right: clamp(1rem, 4vw, 5.5rem);
  bottom: 14%;
  animation-delay: 1.2s;
}

@media (min-width: 1200px) {
  .float-card {
    width: min(16.5rem, 17vw);
  }

  .float-card--l1 {
    left: clamp(2rem, 10vw, 11rem);
    top: 8%;
  }

  .float-card--l2 {
    left: clamp(1rem, 6vw, 7rem);
    bottom: 10%;
  }

  .float-card--r1 {
    right: clamp(2rem, 9vw, 10rem);
    top: 5%;
  }

  .float-card--r2 {
    right: clamp(1.5rem, 7vw, 8rem);
    bottom: 12%;
  }
}

@media (min-width: 1600px) {
  .float-card--l1 {
    left: 11%;
  }

  .float-card--l2 {
    left: 6%;
  }

  .float-card--r1 {
    right: 10%;
  }

  .float-card--r2 {
    right: 7%;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.float-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(94, 98, 172, 0.12);
  color: var(--mh-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.float-card[data-float="scope"] .float-tag {
  background: rgba(94, 98, 172, 0.12);
  color: var(--mh-deep);
}

.float-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.float-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hinty-avatar {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  margin: 2.2rem auto 1rem;
}

.hinty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.pulse-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 2px solid rgba(94, 98, 172, 0.35);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.ai-idle {
  text-align: center;
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ai-idle h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
}

.ai-idle > p {
  margin: 0.55rem 0 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.ai-actions {
  margin-top: auto;
  display: grid;
  gap: 0.45rem;
}

.ai-actions .app-cta {
  margin: 0;
}

.ai-scan {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scan-face {
  position: relative;
  margin: 1.5rem auto;
  width: 10.5rem;
  height: 12.5rem;
  border-radius: 5.5rem / 6.5rem;
  background:
    linear-gradient(180deg, rgba(94, 98, 172, 0.08), rgba(94, 98, 172, 0.02)),
    #fff;
  border: 1px solid rgba(94, 98, 172, 0.25);
  overflow: hidden;
  display: grid;
  place-items: end center;
  padding-bottom: 1rem;
}

.scan-line {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mh), transparent);
  box-shadow: 0 0 12px rgba(94, 98, 172, 0.55);
  animation: scanMove 1.6s ease-in-out infinite;
}

@keyframes scanMove {
  0% {
    top: 12%;
  }
  50% {
    top: 78%;
  }
  100% {
    top: 12%;
  }
}

.scan-face p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mh-deep);
  font-weight: 650;
  z-index: 1;
}

.scan-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-bottom: 1.5rem;
}

.scan-dots i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--mh);
  animation: dots 1s ease-in-out infinite;
}

.scan-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.scan-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dots {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.ai-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Phone mock scroll — swipe feel, no OS chrome bars */
.phone-scroll,
.chat-log,
.chat-quick,
.step-fallback--scroll,
.phone-result .phone-screen {
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.phone-scroll::-webkit-scrollbar,
.chat-log::-webkit-scrollbar,
.chat-quick::-webkit-scrollbar,
.step-fallback--scroll::-webkit-scrollbar,
.phone-result .phone-screen::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.chat-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 0.85rem 0.85rem 0.5rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 0.55rem,
    #000 calc(100% - 0.55rem),
    transparent 100%
  );
}

.phone-screen--hinty .chat-log {
  padding: 0.75rem 0.75rem 0.4rem;
  gap: 0.7rem;
  background: #f3f4f8;
  mask-image: none;
}

.phone-screen--hinty .checkup-card {
  border-color: rgba(123, 108, 240, 0.22);
  box-shadow: 0 6px 16px rgba(49, 50, 87, 0.04);
}

.bubble--typing {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  min-width: 3.2rem;
}

.bubble--typing i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #9aa0b8;
  animation: dots 1s ease-in-out infinite;
}

.bubble--typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.bubble--typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.checkup-card {
  justify-self: stretch;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem;
  animation: bubbleIn 0.35s var(--ease) both;
}

.checkup-card h4 {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mh-deep);
}

.checkup-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.checkup-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.74rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.55rem;
  background: #f3f4f8;
}

.checkup-card li span {
  color: var(--muted);
}

.checkup-card li b {
  font-weight: 700;
}

.chat-quick [data-show-checkup] {
  background: var(--mh);
  color: #fff;
  border-color: var(--mh);
}

.bubble {
  max-width: 88%;
  padding: 0.7rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  animation: bubbleIn 0.35s var(--ease) both;
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.bubble--ai {
  justify-self: start;
  background: #fff;
  border: 1px solid rgba(123, 108, 240, 0.28);
  border-bottom-left-radius: 0.35rem;
  box-shadow: 0 6px 16px rgba(49, 50, 87, 0.04);
}

.bubble--user {
  justify-self: end;
  background: linear-gradient(135deg, #8b7cf5, #5e62ac 70%);
  color: #fff;
  border-bottom-right-radius: 0.35rem;
  box-shadow: 0 10px 22px rgba(94, 98, 172, 0.22);
}

.chat-quick {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.35rem 0.75rem 0.45rem;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 0.75rem,
    #000 calc(100% - 0.75rem),
    transparent 100%
  );
}

.chat-quick--hinty {
  background: #fff;
  padding-top: 0.2rem;
  mask-image: none;
}

.chat-quick button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(94, 98, 172, 0.28);
  color: var(--mh-deep);
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}

.chat-quick--hinty button {
  background: #f3f4f8;
  border-color: transparent;
  color: #4b5163;
}

@media (max-width: 899px) {
  .float-card {
    display: none;
  }

  .ai-stage-board {
    min-height: auto;
  }
}

@media (min-width: 900px) {
  .nav-links,
  .nav-cta {
    display: inline-flex;
  }

  .menu-btn {
    display: none;
  }
}
