/* =========================================================
   KHÔNG MỘT MÌNH · UKA ĐÀ NẴNG
   Demo giao diện — 2026
   ========================================================= */

/* Montserrat variable font: geometric Futura-style with full Vietnamese coverage. */
@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* 1797-POSTER is kept as a brand asset for Latin-only artwork; it has no Vietnamese glyphs, so it is not used for web text. */
@font-face { font-family: "Oswald"; src: url("fonts/Oswald-VariableFont_wght.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "SweetSansPro"; src: url("fonts/SweetSansPro-Light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "SweetSansPro"; src: url("fonts/SweetSansPro-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SweetSansPro"; src: url("fonts/SweetSansPro-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  /* UKA brand: navy #283377 · crest red #A6192E · peach #FECDA5 */
  --ink: #14142e;
  --ink-2: #1b2a6b;
  --ink-3: #283377;
  --paper: #fbf7ef;
  --paper-2: #f4ecdd;
  --paper-3: #e8d9c3;
  --white: #fffdf8;
  --coral: #b3141f;
  --coral-deep: #8f0f19;
  --coral-soft: #f8e4e2;
  --teal: #283377;
  --teal-2: #1b2a6b;
  --success: #1f6b5a;
  --gold: #c9a35a;
  --gold-soft: #f0dfb8;
  --peach: #fecda5;
  --peach-soft: #fff0e1;
  --muted: #5d6478;
  --line: rgba(20, 20, 46, 0.13);
  --line-light: rgba(251, 247, 239, 0.18);
  --serif: "Montserrat", "SweetSansPro", sans-serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label: "Montserrat", "Oswald", sans-serif;
  --shadow: 0 28px 70px -36px rgba(20, 20, 46, 0.45);
  --shadow-soft: 0 16px 40px -26px rgba(20, 20, 46, 0.32);
  --radius: 26px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
p { margin: 0; line-height: 1.72; }
ul, ol { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.1rem, 5.8vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3 { font-family: var(--sans); font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.01em; }

em { font-style: normal; color: var(--coral); }

::selection { background: var(--coral); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-size: 12px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ============ DEMO BAR ============ */
.demo-bar {
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px 44px 9px 20px;
  background: var(--ink);
  color: rgba(251, 247, 239, 0.78);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}
.demo-bar p { font-size: inherit; line-height: inherit; }
.demo-bar strong { color: var(--gold); font-weight: 600; }
.demo-bar span {
  display: inline-block;
  width: 3px; height: 3px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: middle;
}
.demo-close {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  width: 28px; height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.demo-close:hover { background: rgba(255, 255, 255, 0.16); }
.demo-bar.is-hidden { display: none; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  height: 2px;
  background: transparent;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width 0.08s linear;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, 0.72);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 20, 46, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-crest {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(20, 20, 46, 0.12));
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.05em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.brand-text strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
}
.brand-text small {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.xp-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral-deep);
  background: rgba(255, 253, 248, 0.7);
}
.profile-chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 140px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  font-size: 10.5px;
  font-weight: 600;
}
.profile-chip i {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  font-style: normal;
  font-size: 9px;
}
.profile-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.menu-btn {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 15px; height: 1.5px;
  margin: -0.75px 0 0 -7.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-btn span:first-child { transform: translateY(-3.5px); }
.menu-btn span:last-child { transform: translateY(3.5px); }
.menu-btn::before,
.menu-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1.5px;
  margin: -0.75px 0 0 -7.5px;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.menu-btn::before { transform: rotate(45deg); }
.menu-btn::after { transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }
.menu-btn[aria-expanded="true"]::before,
.menu-btn[aria-expanded="true"]::after { opacity: 1; }

.mobile-menu {
  display: none;
  padding: 12px clamp(20px, 5vw, 56px) 24px;
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.98);
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ============ BUTTONS ============ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(20, 20, 46, 0.5);
}
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 253, 248, 0.75); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-sm { min-height: 38px; padding: 9px 16px; font-size: 11px; }
.btn-block { width: 100%; }
.btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: clamp(46px, 6vw, 86px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 46% at 82% 24%, rgba(228, 87, 61, 0.14), transparent 70%),
    radial-gradient(ellipse 44% 50% at 8% 78%, rgba(14, 92, 87, 0.1), transparent 70%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 163, 90, 0.14), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: calc(100svh - 190px);
  padding-bottom: clamp(40px, 6vw, 70px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--coral);
  flex-shrink: 0;
}

/* Section labels: no leading dash. */
.eyebrow::before,
.eyebrow > span {
  display: none;
}
.eyebrow-light { color: rgba(251, 247, 239, 0.58); }
.eyebrow-light::before { background: var(--gold); }

.hero h1 {
  margin-left: -0.04em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 530px;
  margin-top: 28px;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.8;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.hero-photo-wrap {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
}
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 34px;
  background: linear-gradient(150deg, var(--peach) 0%, #fff7ee 60%, var(--paper-2) 100%);
  opacity: 0.9;
  transform: rotate(1.5deg);
}
.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 30px;
  background: var(--ink);
  box-shadow: 0 55px 100px -55px rgba(20, 20, 46, 0.7);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.9) contrast(1.03);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 20, 46, 0.02) 0%, rgba(20, 20, 46, 0.04) 45%, rgba(20, 20, 46, 0.78) 100%),
    linear-gradient(135deg, rgba(40, 51, 119, 0.24), transparent 55%, rgba(179, 20, 31, 0.12));
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(254, 205, 165, 0.4);
  border-radius: 22px;
  pointer-events: none;
}
.hero-photo-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.84);
}
.hero-photo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(254, 205, 165, 0.16);
}
.hero-photo-index {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 4;
  padding: 4px 8px;
  border: 1px solid rgba(251, 247, 239, 0.3);
  border-radius: 999px;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(251, 247, 239, 0.78);
}
.chat-card {
  position: absolute;
  left: -5%;
  bottom: -7%;
  z-index: 5;
  width: min(312px, 72%);
  padding: 15px;
  border: 1px solid rgba(20, 20, 46, 0.12);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 35px 70px -35px rgba(20, 20, 46, 0.55);
  transform: rotate(-2.2deg);
}
.chat-mascot {
  position: absolute;
  right: -34px;
  top: -82px;
  width: 118px;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 18px 24px rgba(20, 20, 46, 0.22));
  animation: mascotFloat 4.5s ease-in-out infinite;
  object-fit: contain;
}
.chat-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.chat-card-top strong {
  flex: 1;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.chat-card-top > span:last-child {
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.chat-card .bubble {
  max-width: 100%;
  margin-bottom: 7px;
  padding: 9px 11px;
  font-size: 10.5px;
  line-height: 1.5;
}
.chat-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--coral-deep);
}
.chat-card-foot i {
  font-style: normal;
  color: var(--gold);
  font-size: 9px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(20, 20, 46, 0.1);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-a {
  width: 520px; height: 520px;
  animation: spin 48s linear infinite;
}
.orbit-b {
  width: 400px; height: 400px;
  border-style: dashed;
  border-color: rgba(228, 87, 61, 0.2);
  animation: spin 36s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  z-index: 2;
  width: min(304px, 78%);
  padding: 16px 16px 14px;
  border: 1px solid rgba(20, 20, 46, 0.16);
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 50px 90px -50px rgba(20, 20, 46, 0.65), inset 0 0 0 5px rgba(251, 247, 239, 0.7);
  transform: rotate(-2.5deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  translate: -50% 0;
  width: 62px; height: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 46, 0.14);
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 0;
  font-size: 8.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.phone-status { display: flex; gap: 2px; align-items: flex-end; }
.phone-status i {
  display: block;
  width: 2px;
  background: var(--ink);
  border-radius: 1px;
  opacity: 0.6;
}
.phone-status i:nth-child(1) { height: 4px; }
.phone-status i:nth-child(2) { height: 6px; }
.phone-status i:nth-child(3) { height: 8px; }

.phone-contact {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.avatar-dot {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 13px;
}
.phone-contact strong { display: block; font-size: 10px; line-height: 1.2; }
.phone-contact small { display: block; font-size: 7.5px; color: var(--teal); margin-top: 2px; }

.chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 12px;
}
.bubble {
  position: relative;
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-2);
  background: var(--paper-2);
}
.bubble.them { border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.alert {
  background: var(--coral-soft);
  box-shadow: inset 0 0 0 1px rgba(228, 87, 61, 0.28);
}
.bubble.alert::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(228, 87, 61, 0.35);
  border-radius: 16px;
  pointer-events: none;
}
.flag-tag {
  display: inline-block;
  margin-top: 7px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--coral);
  color: var(--white);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phone-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 8px;
  line-height: 1.4;
}
.phone-alert strong { font-size: 8.5px; }
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-size: 9px;
  line-height: 1.4;
}
.float-card-a { top: 8%; right: 2%; transform: rotate(2.5deg); }
.float-card-b { bottom: 9%; left: 0; transform: rotate(-2deg); flex-direction: row; align-items: center; gap: 9px; }
.float-kicker {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}
.float-card strong { font-size: 10px; letter-spacing: 0.02em; }
.float-card small { font-size: 8px; color: var(--muted); }

.seal {
  position: absolute;
  right: 4%;
  bottom: 12%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 72px; height: 72px;
  padding: 10px;
  border: 1px dashed rgba(20, 20, 46, 0.28);
  border-radius: 50%;
  background: rgba(251, 247, 239, 0.7);
  transform: rotate(8deg);
}
.seal span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.seal small {
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

/* Hero stats */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-source {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: rgba(93, 107, 112, 0.8);
}

/* ============ MANIFESTO ============ */
.manifesto {
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.manifesto-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.manifesto-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.manifesto-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 46, 0.78));
}
.manifesto-photo-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.78);
}
.manifesto-copy { align-self: center; }
.manifesto blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.manifesto-note {
  max-width: 520px;
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--coral);
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ SECTIONS ============ */
.section { padding: clamp(78px, 10vw, 138px) 0; }
.section-head { margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px 60px;
  align-items: end;
}
.section-head h2 { text-wrap: balance; }
.section-lead {
  max-width: 480px;
  padding-bottom: 4px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}
.note {
  margin-top: 22px;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(93, 107, 112, 0.85);
}

/* ============ WHY ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.66);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(20, 20, 46, 0.24);
}
.why-num {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 7vw, 6.4rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--coral);
}
.why-card:nth-child(2) .why-num { color: var(--teal); }
.why-card h3 { margin-top: auto; padding-top: 44px; font-size: 1.55rem; }
.why-card p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.why-card p strong { color: var(--ink); }
.why-card-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.why-card-dark .why-num { color: var(--gold); }
.why-card-dark p { color: rgba(251, 247, 239, 0.66); }
.why-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(251, 247, 239, 0.22);
  border-radius: 999px;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ============ JOURNEY ============ */
.journey-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.journey-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.age-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
}
.age-switch-label {
  padding: 0 10px 0 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.age-btn {
  min-height: 36px;
  padding: 7px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.age-btn:hover { color: var(--ink); }
.age-btn.is-active { background: var(--ink); color: var(--paper); }
.mascot-note {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 2px 16px 2px 2px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.55);
}
.mascot-note img {
  width: auto;
  height: 84px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 6px 12px rgba(20, 20, 46, 0.18));
  animation: mascotFloat 4.5s ease-in-out infinite;
}
.mascot-note p { padding-bottom: 16px; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.mascot-note strong { color: var(--ink); }
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}
.journey-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 46, 0.12);
  overflow: hidden;
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width 0.6s var(--ease);
}
.journey-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.dot-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--coral);
}
.journey-status #journeyXp { color: var(--coral-deep); }

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.station {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 22px 19px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.8);
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.station:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 20, 46, 0.3);
  box-shadow: var(--shadow-soft);
}
.station-no {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--coral);
}
.station-title {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.station-desc {
  display: block;
  flex: 1;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.station-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.station-meta .xp { color: var(--coral-deep); }
.station-check {
  display: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  place-items: center;
}
.station.is-done {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.station.is-done .station-no { color: var(--gold); }
.station.is-done .station-desc { color: rgba(251, 247, 239, 0.62); }
.station.is-done .station-meta { border-top-color: rgba(251, 247, 239, 0.16); color: rgba(251, 247, 239, 0.7); }
.station.is-done .station-meta .xp { color: var(--gold); }
.station.is-done .station-check { display: grid; }
.station-check .icon { width: 13px; height: 13px; }
.station.is-done .station-status { display: none; }

.journey-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.journey-foot p { max-width: 560px; font-size: 11.5px; color: var(--muted); }
.journey-foot strong { color: var(--ink); }

/* ============ TOOLS ============ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 326px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.tool-copy { position: relative; z-index: 2; max-width: 62%; }
.tool-tag {
  display: block;
  margin-bottom: 14px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.tool h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  letter-spacing: -0.035em;
}
.tool p {
  margin-top: 11px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.tool .btn { margin-top: 22px; }
.tool-scanner { grid-column: span 7; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tool-scanner p { color: rgba(251, 247, 239, 0.62); }
.tool-scanner .tool-tag { color: var(--gold); }
.tool-reflex { grid-column: span 5; background: var(--coral); color: var(--white); border-color: var(--coral); }
.tool-reflex p { color: rgba(255, 255, 255, 0.76); }
.tool-reflex .tool-tag { color: var(--ink); opacity: 0.7; }
.tool-avatar { grid-column: span 5; background: var(--teal); color: var(--paper); border-color: var(--teal); }
.tool-avatar p { color: rgba(251, 247, 239, 0.68); }
.tool-avatar .tool-tag { color: var(--gold-soft); }
.tool-pass { grid-column: span 7; background: rgba(255, 253, 248, 0.8); }

.tool-art {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -18px;
  width: 46%;
  min-width: 180px;
  pointer-events: none;
  opacity: 0.95;
}
.scan-art { width: 42%; }
.mock-chat {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(251, 247, 239, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-5deg) translate(4px, 4px);
  backdrop-filter: blur(2px);
}
.mock-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(251, 247, 239, 0.22);
}
.mock-line.mark { background: var(--coral); box-shadow: 0 0 0 3px rgba(228, 87, 61, 0.16); }
.w-45 { width: 45%; } .w-60 { width: 60%; } .w-65 { width: 65%; }
.w-70 { width: 70%; } .w-80 { width: 80%; }
.mock-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 9px;
  border-radius: 7px;
  background: var(--coral);
  color: var(--white);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.reflex-art { display: grid; place-items: center; width: 40%; }
.timer-ring {
  display: grid;
  place-items: center;
  width: 118px; height: 118px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.06);
}
.timer-ring span {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.mock-choice {
  margin-top: -12px;
  padding: 7px 12px;
  border: 1px solid rgba(20, 20, 46, 0.2);
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.avatar-art { display: grid; place-items: center; width: 38%; }
.avatar-frame-img {
  width: 168px;
  height: 168px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(20, 20, 46, 0.28), 0 0 0 6px rgba(251, 247, 239, 0.08);
  transform: rotate(4deg);
}

.pass-art { display: grid; place-items: center; width: 38%; }
.mini-pass {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 230px;
  padding: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-5deg);
  box-shadow: var(--shadow-soft);
}
.mini-pass-top { font-size: 6.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--gold); }
.mini-pass strong { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.05em; }
.mini-pass-line { display: block; height: 4px; width: 74%; border-radius: 99px; background: rgba(251, 247, 239, 0.2); }
.mini-pass-line.short { width: 44%; }

/* ============ STEPS ============ */
.steps-section {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 50% at 12% 18%, rgba(228, 87, 61, 0.16), transparent 70%),
    radial-gradient(ellipse 38% 44% at 86% 82%, rgba(201, 163, 90, 0.1), transparent 70%);
  pointer-events: none;
}
.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}
.steps-intro { position: sticky; top: 118px; }
.steps-intro h2 { margin-bottom: 24px; }
.steps-intro h2 em { color: var(--gold); }
.steps-intro p { max-width: 400px; font-size: 13px; color: rgba(251, 247, 239, 0.65); }
.steps-intro .btn { margin-top: 26px; }
.tiny {
  margin-top: 10px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.45) !important;
}
.steps-list { border-top: 1px solid var(--line-light); }
.step { border-bottom: 1px solid var(--line-light); }
.step summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
}
.step summary::-webkit-details-marker { display: none; }
.step-no {
  min-width: 42px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold);
}
.step-title {
  flex: 1;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  letter-spacing: 0.01em;
}
.step-plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  align-self: center;
}
.step-plus::before,
.step-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1px;
  background: rgba(251, 247, 239, 0.55);
  translate: -50% -50%;
  transition: transform 0.3s var(--ease);
}
.step-plus::after { transform: rotate(90deg); }
.step[open] .step-plus::after { transform: rotate(0deg); }
.step p {
  margin: 0 0 22px 60px;
  max-width: 620px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(251, 247, 239, 0.64);
}
.step-warning {
  padding: 14px 16px;
  border-left: 2px solid var(--coral);
  background: rgba(228, 87, 61, 0.08);
  border-radius: 0 10px 10px 0;
  color: rgba(251, 247, 239, 0.8) !important;
}
.step-warning strong { color: var(--coral); }

/* ============ WALL ============ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: rgba(20, 20, 46, 0.35); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.wall-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wall-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.wall-art { padding: 10px; }
.art {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 15px;
  overflow: hidden;
  isolation: isolate;
}
.art > * { position: relative; z-index: 2; }
.art-kicker {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
}
.art-big {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.art-big em { color: inherit; opacity: 0.72; }
.art-foot {
  max-width: 92%;
  font-size: 8.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  opacity: 0.72;
}
.art-num {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 8vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
}
.shape-circle,
.shape-ring,
.shape-arc,
.shape-dots {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.shape-circle {
  width: 58%;
  aspect-ratio: 1;
  right: -18%;
  top: 18%;
  border-radius: 50%;
  background: rgba(228, 87, 61, 0.24);
}
.shape-ring {
  width: 74%;
  aspect-ratio: 1;
  right: -24%;
  bottom: -18%;
  border: 1px solid rgba(201, 163, 90, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(201, 163, 90, 0.07), 0 0 0 68px rgba(201, 163, 90, 0.04);
}
.shape-arc {
  width: 66%;
  aspect-ratio: 1;
  left: -24%;
  bottom: -12%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.shape-dots {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.5;
  mask-image: linear-gradient(140deg, transparent 35%, #000 100%);
  -webkit-mask-image: linear-gradient(140deg, transparent 35%, #000 100%);
}

.art-p1 { background: var(--paper); color: var(--ink); }
.art-p1 .art-big em { color: var(--coral); opacity: 1; }
.art-p2 { background: var(--ink); color: var(--paper); }
.art-p2 .art-big em { color: var(--gold); opacity: 1; }
.art-p3 { background: var(--teal); color: var(--paper); }
.art-p3 .art-big em { color: var(--gold-soft); opacity: 1; }
.art-p4 { background: var(--coral); color: var(--white); }
.art-p4 .art-big em { color: var(--ink); opacity: 0.8; }
.art-p5 { background: var(--paper-2); color: var(--ink); }
.art-p5 .art-big em { color: var(--teal); opacity: 1; }
.art-p6 { background: linear-gradient(150deg, #283377, #14142e 70%); color: var(--paper); }
.art-p6 .art-big em { color: var(--coral); opacity: 1; }

.art-quote {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 0.8;
  color: var(--coral);
}
.art-steps {
  display: grid;
  gap: 5px;
  margin: 8px 0;
  font-size: 8px;
  letter-spacing: 0.04em;
}
.art-steps span {
  display: flex;
  gap: 7px;
  align-items: baseline;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(251, 247, 239, 0.18);
}
.art-steps b { font-family: var(--serif); font-size: 12px; color: var(--gold); font-weight: 500; }

.wall-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 15px;
}
.wall-title strong { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.wall-title small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); }
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.like-btn:hover { border-color: var(--coral); color: var(--coral); }
.like-btn.is-liked { background: var(--coral-soft); border-color: rgba(228, 87, 61, 0.3); color: var(--coral-deep); }

/* ============ PARENTS ============ */
.parents-section { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parent-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.flip {
  height: 286px;
  perspective: 1200px;
  cursor: pointer;
  outline-offset: 4px;
}
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease);
}
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-front { background: var(--white); }
.flip-front strong {
  margin-top: auto;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.flip-hint {
  margin-top: 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.flip-back {
  background: var(--ink);
  color: var(--paper);
  transform: rotateY(180deg);
  justify-content: center;
  gap: 8px;
  overflow: auto;
}
.flip-back p {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.78);
}
.tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20, 20, 46, 0.07);
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag-gold { background: rgba(201, 163, 90, 0.16); color: var(--gold); }
.tag-red { background: rgba(228, 87, 61, 0.14); color: #ff9d8b; }

.parent-check {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px 50px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.6);
}
.parent-check h3 { font-size: 1.6rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: 9px; }
.check-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.check-list input { accent-color: var(--coral); margin-top: 3px; flex-shrink: 0; }
.check-list input:checked + span { color: var(--ink); text-decoration: line-through; text-decoration-color: rgba(228, 87, 61, 0.6); }

/* ============ BOARD ============ */
.board-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

/* Bảng xếp hạng nằm trong mục Tường lan tỏa. */
.wall-leaderboard {
  margin-top: clamp(54px, 7vw, 96px);
  padding-top: clamp(42px, 5vw, 64px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.board-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.board-tab {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.board-tab.is-active { background: var(--ink); color: var(--paper); }
.board-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
}
.board-table th {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
}
.board-table th:last-child,
.board-table td:last-child { text-align: right; }
.board-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
}
.board-table tr:last-child td { border-bottom: 0; }
.board-rank {
  width: 46px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--coral);
}
.board-name { font-weight: 600; }
.board-name small { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 400; color: var(--muted); }
.board-xp { font-weight: 700; color: var(--coral-deep); white-space: nowrap; }
.board-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.board-me { background: rgba(228, 87, 61, 0.06); }
.board-me td:first-child { border-radius: 10px 0 0 10px; }
.board-me td:last-child { border-radius: 0 10px 10px 0; }
.board-me .board-name::after {
  content: "Bạn";
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--coral);
  color: var(--white);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}
.board-empty { padding: 30px 10px; text-align: center; font-size: 12px; color: var(--muted); }

/* ============ PLEDGE ============ */
.pledge-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.pledge-copy h2 { margin-bottom: 22px; }
.pledge-copy > p { max-width: 480px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.pledge-form {
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field { display: block; margin-bottom: 14px; }
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.56);
}
.field input,
.field textarea,
.pledge-form textarea,
.dialog textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(251, 247, 239, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper);
  font-size: 12.5px;
  line-height: 1.5;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder,
.pledge-form textarea::placeholder { color: rgba(251, 247, 239, 0.34); }
.field input:focus,
.field textarea:focus,
.pledge-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}
.field textarea { resize: vertical; min-height: 72px; }
.pledge-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.counter { font-size: 9px; color: rgba(251, 247, 239, 0.45); }
.form-note { margin-top: 12px; font-size: 8.5px; line-height: 1.55; color: rgba(251, 247, 239, 0.42); }

.pledge-wall {
  columns: 2;
  column-gap: 14px;
}
.pledge-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  break-inside: avoid;
}
.pledge-card .quote {
  display: block;
  height: 18px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.8;
  color: var(--coral);
}
.pledge-card p {
  margin: 8px 0 14px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.pledge-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.pledge-meta strong { display: block; font-size: 9.5px; font-weight: 600; }
.pledge-meta small { display: block; margin-top: 1px; font-size: 8px; color: var(--muted); }
.pledge-meta .like-btn { padding: 5px 8px; font-size: 8.5px; }
.pledge-card.is-mine { border-color: rgba(228, 87, 61, 0.35); box-shadow: inset 0 0 0 1px rgba(228, 87, 61, 0.12); }
.pledge-card.is-mine .pledge-meta strong::after {
  content: "Của bạn";
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 6px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

/* ============ REGISTER ============ */
.register-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 34px;
  background:
    radial-gradient(ellipse 60% 80% at 95% 5%, rgba(228, 87, 61, 0.28), transparent 60%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.register-copy { position: relative; z-index: 1; }
.register-copy h2 { margin-bottom: 20px; }
.register-copy h2 em { color: var(--gold); }
.register-copy > p { max-width: 440px; font-size: 13px; color: rgba(251, 247, 239, 0.65); }
.register-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.register-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11.5px;
  color: rgba(251, 247, 239, 0.78);
}
.register-list span {
  display: grid;
  place-items: center;
  width: 25px; height: 25px;
  border: 1px solid rgba(251, 247, 239, 0.2);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
  color: var(--gold);
  flex-shrink: 0;
}
.register-quote {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 239, 0.16);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 0.8;
  color: var(--coral);
}
.register-quote p {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.4;
  color: rgba(251, 247, 239, 0.8);
}

.register-form {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.55);
}
.form-head { margin-bottom: 18px; }
.form-head .tool-tag { margin-bottom: 5px; }
.form-head strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.field-light > span { color: var(--muted); }
.field-light input {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.field-light input::placeholder { color: rgba(93, 107, 112, 0.55); }
.field-light input:focus { border-color: var(--coral); background: var(--white); }
.field > span small { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  font-size: 9.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.consent input { accent-color: var(--coral); margin-top: 2px; flex-shrink: 0; }
.form-error {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 10px;
}
.register-form .form-note { color: var(--muted); }
.register-form .btn-block { margin-top: 2px; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 22px; }
.faq-intro p { max-width: 380px; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--coral-deep); }
.faq-plus {
  position: relative;
  width: 17px; height: 17px;
  margin-left: auto;
  flex-shrink: 0;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 1px;
  background: var(--coral);
  translate: -50% -50%;
  transition: transform 0.3s var(--ease);
}
.faq-plus::after { transform: rotate(90deg); }
.faq-list details[open] .faq-plus::after { transform: rotate(0deg); }
.faq-list p {
  max-width: 680px;
  padding: 0 28px 20px 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.faq-list p a { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(56px, 8vw, 84px) 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr 1fr;
  gap: 32px 50px;
}
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-content: start; }
.footer-mark {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(251, 247, 239, 0.2);
  border-radius: 15px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.05em;
  color: var(--gold);
}
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.footer-brand span { display: block; margin-top: 3px; font-size: 9px; letter-spacing: 0.06em; color: rgba(251, 247, 239, 0.48); }
.footer-brand p { grid-column: 1 / -1; max-width: 300px; margin-top: 10px; font-size: 10.5px; line-height: 1.7; color: rgba(251, 247, 239, 0.48); }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-title {
  margin-bottom: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col a,
.footer-emergency a {
  font-size: 10.5px;
  color: rgba(251, 247, 239, 0.62);
  transition: color 0.2s;
}
.footer-col a:hover,
.footer-emergency a:hover { color: var(--paper); }
.footer-emergency p {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(251, 247, 239, 0.55);
}
.footer-emergency strong { color: var(--paper); font-weight: 600; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 247, 239, 0.14);
}
.footer-bottom p { font-size: 8.5px; line-height: 1.5; color: rgba(251, 247, 239, 0.38); }
.footer-hashtags { letter-spacing: 0.06em; color: rgba(201, 163, 90, 0.7) !important; }

/* ============ SOS FAB ============ */
.sos-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(228, 87, 61, 0.7);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.sos-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -14px rgba(228, 87, 61, 0.8); }
.sos-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  animation: sosPulse 2s infinite;
}
@keyframes sosPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 140;
  max-width: calc(100vw - 40px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  translate: -50% 12px;
  pointer-events: none;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* ============ DIALOGS ============ */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
}
dialog::backdrop {
  background: rgba(6, 16, 22, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100svh - 34px);
  margin: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(251, 247, 239, 0.4);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.6);
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog[open] { animation: dialogIn 0.28s var(--ease); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.dialog-wide { width: min(880px, calc(100vw - 28px)); }
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.dialog-kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral-deep);
}
.dialog-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.04em; }
.dialog-close {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.dialog-close:hover { background: var(--ink); color: var(--paper); }
.dialog-lead { max-width: 680px; margin-bottom: 18px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.dialog textarea {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  min-height: 140px;
}
.dialog textarea::placeholder { color: rgba(93, 107, 112, 0.55); }
.dialog textarea:focus { outline: none; border-color: var(--coral); }

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.dialog-actions .privacy { margin-left: auto; }
.privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
}
.lock-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.disclaimer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.6;
  color: rgba(93, 107, 112, 0.85);
}

/* Station dialog */
.station-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}
.station-progress span {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: var(--line);
}
.station-progress span.on { background: var(--coral); }
.station-question {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.question-count { font-family: var(--label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin: 10px 0 8px; }
.question-next-hint { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.station-context {
  margin-bottom: 18px;
  padding: 15px 17px;
  border-left: 2px solid var(--coral);
  border-radius: 0 12px 12px 0;
  background: var(--paper-2);
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.option-list { display: grid; gap: 8px; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.option:hover { border-color: rgba(20, 20, 46, 0.4); transform: translateX(2px); }
.option-letter {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}
.option.is-correct { border-color: var(--success); background: #e8f3ef; }
.option.is-correct .option-letter { background: var(--success); color: var(--white); }
.option.is-wrong { border-color: rgba(228, 87, 61, 0.6); background: var(--coral-soft); }
.option.is-wrong .option-letter { background: var(--coral); color: var(--white); }
.option:disabled { cursor: default; transform: none; }
.station-feedback {
  margin-top: 16px;
  padding: 15px 17px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 11.5px;
  line-height: 1.65;
}
.station-feedback strong { display: block; margin-bottom: 4px; font-size: 12px; }
.station-feedback.is-good { background: #e8f3ef; border-left: 2px solid var(--success); }
.station-feedback.is-bad { background: var(--coral-soft); border-left: 2px solid var(--coral); }
.station-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.station-xp { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); }

/* Scanner */
.sample-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.sample-row .chip { font-size: 9px; }
.scan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}
.scan-result { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.risk {
  padding: 18px;
  border-radius: 16px;
  background: var(--paper-2);
}
.risk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.risk-head span { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.risk-head strong { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--coral-deep); }
.risk-meter { height: 7px; border-radius: 99px; background: rgba(20, 20, 46, 0.1); overflow: hidden; }
.risk-meter span { display: block; height: 100%; border-radius: inherit; background: var(--coral); transition: width 0.8s var(--ease); }
.risk p { margin-top: 10px; font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.risk.risk-mid .risk-head strong { color: #9a6a13; }
.risk.risk-mid .risk-meter span { background: var(--gold); }
.risk.risk-low .risk-head strong { color: var(--success); }
.risk.risk-low .risk-meter span { background: var(--success); }
.flag-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.flag-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  font-size: 11px;
  line-height: 1.55;
}
.flag-item .flag-weight {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.flag-item strong { display: block; font-size: 11px; }
.flag-item small { display: block; margin-top: 2px; color: var(--muted); }
.advice-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-left: 2px solid var(--coral);
  border-radius: 0 12px 12px 0;
  background: var(--paper-2);
}
.advice-box h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.advice-box ol { margin: 0; padding-left: 17px; display: grid; gap: 5px; }
.advice-box li { font-size: 10.5px; line-height: 1.55; color: var(--muted); }

/* Reflex */
.reflex-progress { display: flex; gap: 5px; margin-bottom: 18px; }
.reflex-progress span { flex: 1; height: 3px; border-radius: 99px; background: var(--line); }
.reflex-progress span.is-on { background: var(--coral); }
.reflex-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper-2);
}
.reflex-chat .bubble { max-width: 82%; font-size: 11.5px; }
.reflex-question {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.choice-list { display: grid; gap: 8px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: left;
  font-size: 11.5px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.choice:hover { border-color: rgba(20, 20, 46, 0.4); }
.choice-letter {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
}
.choice.is-correct { border-color: var(--success); background: #e8f3ef; }
.choice.is-correct .choice-letter { background: var(--success); color: var(--white); }
.choice.is-wrong { border-color: rgba(228, 87, 61, 0.6); background: var(--coral-soft); }
.choice.is-wrong .choice-letter { background: var(--coral); color: var(--white); }
.choice:disabled { cursor: default; }
.reflex-feedback {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper-2);
  font-size: 11px;
  line-height: 1.6;
}
.reflex-feedback strong { display: block; margin-bottom: 3px; font-size: 11.5px; }
.reflex-result { padding: 20px 0 4px; text-align: center; }
.score-ring {
  display: grid;
  place-items: center;
  width: 120px; height: 120px;
  margin: 0 auto 18px;
  border: 2px solid var(--coral);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px var(--coral-soft);
}
.score-ring strong { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.05em; }
.score-ring small { display: block; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.reflex-result h3 { font-size: 1.6rem; margin-bottom: 8px; }
.reflex-result p { max-width: 480px; margin: 0 auto 18px; font-size: 11.5px; color: var(--muted); }

/* Avatar */
.avatar-stage {
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 20px;
  background: var(--paper-2);
}
#avatarCanvas { width: min(100%, 410px); height: auto; border-radius: 14px; box-shadow: var(--shadow-soft); }
.avatar-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  --avatar-control-h: 48px;
}
.avatar-controls .field { margin-bottom: 0; display: flex; flex-direction: column; }
/* One shared label style for both columns, so they sit on the same line. */
.avatar-controls .avatar-label {
  display: block;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Khung chính thức: hiển thị như một lựa chọn đã khóa. */
.avatar-frame-picked {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--avatar-control-h);
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}
.avatar-frame-picked img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.avatar-frame-picked span {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
}
/* Custom file field: the native control renders differently in every browser. */
.avatar-controls .avatar-file {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: var(--avatar-control-h);
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.avatar-controls .avatar-file:hover { border-color: rgba(20, 20, 46, 0.3); }
.avatar-controls .field:focus-within .avatar-file {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(179, 20, 31, 0.12);
}
/* The picker trigger is a real <button>: label + hidden input silently fails on Android. */
.avatar-controls button.avatar-file {
  justify-content: flex-start;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.avatar-controls .avatar-file:focus-visible {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(179, 20, 31, 0.12);
}
.avatar-file-btn {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.avatar-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Cert / pass */
.cert-form { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 10px; margin-bottom: 14px; }
.cert-form .field { margin-bottom: 0; }
.cert-stage,
.pass-stage {
  padding: 10px;
  border-radius: 18px;
  background: var(--paper-2);
}
#certCanvas,
#passCanvas { width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-soft); }

/* SOS dialog */
.dialog-sos {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(251, 247, 239, 0.14);
}
.dialog-sos .dialog-kicker { color: var(--gold); }
.dialog-sos .dialog-close { border-color: rgba(251, 247, 239, 0.22); color: var(--paper); }
.dialog-sos .dialog-close:hover { background: var(--paper); color: var(--ink); }
.sos-lead { max-width: 560px; margin-bottom: 8px; font-size: 12.5px; line-height: 1.7; color: rgba(251, 247, 239, 0.68); }
.breath {
  display: grid;
  place-items: center;
  width: 150px; height: 150px;
  margin: 22px auto;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(251, 247, 239, 0.9), rgba(228, 87, 61, 0.55));
  box-shadow: 0 0 70px rgba(228, 87, 61, 0.28);
  animation: breathe 14s ease-in-out infinite;
}
.breath span { font-family: var(--serif); font-size: 24px; color: var(--ink); letter-spacing: -0.05em; }
@keyframes breathe {
  0%, 24% { transform: scale(0.72); }
  40%, 55% { transform: scale(1); }
  76%, 100% { transform: scale(0.72); }
}
.sos-steps { display: grid; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; counter-reset: sos; }
.sos-steps li {
  position: relative;
  padding: 13px 15px 13px 44px;
  border: 1px solid rgba(251, 247, 239, 0.14);
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(251, 247, 239, 0.7);
  counter-increment: sos;
}
.sos-steps li::before {
  content: counter(sos, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 13px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
}
.sos-steps strong { color: var(--paper); }
.sos-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dialog-sos .btn-ghost { border-color: rgba(251, 247, 239, 0.3); color: var(--paper); }
.dialog-sos .btn-ghost:hover { background: rgba(251, 247, 239, 0.1); }
.dialog-sos .disclaimer { border-top-color: rgba(251, 247, 239, 0.14); color: rgba(251, 247, 239, 0.42); }

/* Lightbox */
.dialog-lightbox {
  width: auto;
  max-width: min(900px, 94vw);
  padding: 0;
  background: transparent;
  border: 0;
}
/* Dialog đứng yên, chỉ phần nội dung cuộn — nút đóng không trôi mất. */
.dialog-lightbox[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lightbox-close {
  position: fixed;
  top: 18px; right: 18px;
  z-index: 2;
  background: var(--paper);
  border-color: transparent;
}
#lightboxBody {
  display: grid;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#lightboxBody .art {
  width: min(78vh, 86vw);
  max-height: 78vh;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}
#lightboxBody .art-big { font-size: clamp(2.6rem, 6vw, 5rem); }
.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--paper);
}
.lightbox-meta strong { display: block; font-size: 12px; }
.lightbox-meta small { display: block; margin-top: 2px; font-size: 9px; color: var(--muted); }
.lightbox-meta .like-btn { background: var(--white); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1120px) {
  .journey-grid { grid-template-columns: repeat(3, 1fr); }
  .station { min-height: 210px; }
  .tool-copy { max-width: 66%; }
  .footer-top { grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; gap: 28px 30px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu.is-open { display: block; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
  }
  .hero-copy { max-width: 660px; }
  .hero-visual { min-height: 530px; width: min(100%, 540px); margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-card h3 { padding-top: 30px; }
  .section-head.split { grid-template-columns: 1fr; gap: 18px; }
  .section-lead { max-width: 620px; }
  .journey-foot { flex-direction: column; align-items: flex-start; }
  .tool-scanner, .tool-reflex, .tool-avatar, .tool-pass { grid-column: span 12; }
  .tool-copy { max-width: 62%; }
  .steps-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps-intro { position: static; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
  .parent-check { grid-template-columns: 1fr; gap: 18px; }
  .pledge-grid { grid-template-columns: 1fr; }
  .pledge-wall { columns: 2; }
  .register-panel { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 440px; }
  .footer-bottom { flex-wrap: wrap; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto blockquote,
  .manifesto-note { grid-column: 1; }
  .manifesto-note { margin-top: 4px; }
}

@media (max-width: 760px) {
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .avatar-controls { grid-template-columns: 1fr 1fr; }
  .parent-grid { grid-template-columns: 1fr; }
  .cert-form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}

@media (max-width: 620px) {
  .demo-bar { font-size: 8.5px; padding-inline: 34px 30px; }
  .demo-bar span { display: none; }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .hero-lead { margin-top: 22px; font-size: 13.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-meta { gap: 8px 16px; font-size: 9px; }
  .hero-visual { min-height: 470px; }
  .phone { width: 270px; transform: rotate(-1.5deg); }
  .float-card-a { top: 2%; right: 0; }
  .float-card-b { bottom: 2%; left: 0; }
  .seal { display: none; }
  .orbit-a { width: 400px; height: 400px; }
  .orbit-b { width: 310px; height: 310px; }
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 1.55rem; }
  .journey-grid { grid-template-columns: 1fr; }
  .station { min-height: 0; }
  .journey-status { font-size: 8.5px; }
  .tool { min-height: 300px; }
  .tool-copy { max-width: 100%; }
  .tool-art { opacity: 0.35; width: 55%; }
  .tool-copy .btn { position: relative; z-index: 3; }
  .wall-grid { grid-template-columns: 1fr; }
  .pledge-wall { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .avatar-stage { padding: 8px; }
  .avatar-controls { grid-template-columns: 1fr; }
  .theme-picker { grid-column: auto; }
  .scan-actions { flex-direction: column; align-items: stretch; }
  .scan-actions .privacy { order: 2; }
  .dialog-actions .privacy { margin-left: 0; }
  .board-table th:nth-child(4),
  .board-table td:nth-child(4) { display: none; }
  .board-live { display: none; }
  .board-tabs { margin-bottom: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sos-fab { right: 12px; bottom: 12px; padding: 11px 14px; font-size: 9.5px; }
  .toast { bottom: 76px; }
  .step summary { gap: 12px; }
  .step p { margin-left: 0; }
  .step-no { min-width: 34px; font-size: 26px; }
  .parent-check { padding: 20px; }
  .register-panel { border-radius: 26px; }
  .lightbox-meta { padding: 12px 14px; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
  .header-actions .xp-pill { display: none; }
  .hero-visual { min-height: 440px; }
  .phone { width: 250px; }
  .float-card-a { display: none; }
  .journey-status { gap: 6px; }
  .journey-status .dot-sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ FRIENDLY / FIXES ============ */
body.dialog-open { overflow: hidden; }
.profile-chip { font-family: var(--sans); }

@media (max-width: 760px) {
  .journey-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mascot-note { width: 100%; justify-content: flex-start; }
  .hero-visual { min-height: 0; padding-bottom: 46px; }
  .hero-photo-wrap { width: 100%; }
  .chat-card { left: 8px; bottom: -34px; width: min(300px, 86%); }
  .seal { display: none; }
}

@media (max-width: 480px) {
  .chat-card { width: calc(100% - 16px); left: 8px; }
  .chat-mascot { width: 88px; height: auto; right: -10px; top: -62px; }
  .mascot-note img { height: 56px; }
}

[hidden] { display: none !important; }
