:root {
  --bg: #f7fbff;
  --bg-2: #edf7ff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #22405f;
  --muted: #5f7a96;
  --line: rgba(80, 125, 174, 0.18);
  --brand-blue: #8fd1ff;
  --brand-sky: #c8ebff;
  --brand-peach: #ffd4c6;
  --brand-sand: #ffe7db;
  --brand-mint: #bdebe0;
  --accent: #ffb88f;
  --accent-strong: #ff9d72;
  --shadow: 0 18px 45px rgba(99, 141, 178, 0.18);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(143,209,255,0.45), transparent 25%),
    radial-gradient(circle at 84% 18%, rgba(255,212,198,0.5), transparent 22%),
    radial-gradient(circle at 80% 82%, rgba(189,235,224,0.42), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #fef8f5 60%, #f7fbff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: 84px 0; position: relative; }
.section-title { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.08; margin: 0 0 14px; }
.section-copy { color: var(--muted); max-width: 700px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.68); border: 1px solid rgba(113, 160, 206, 0.18); box-shadow: var(--shadow);
  font-size: 0.9rem; color: #547392; backdrop-filter: blur(16px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: linear-gradient(135deg, #8fd1ff, #ffb88f); }
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px);
  background: rgba(247, 251, 255, 0.7); border-bottom: 1px solid rgba(100, 145, 190, 0.11);
}
.nav-wrap {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; box-shadow: 0 10px 24px rgba(33, 53, 83, 0.24); }
.brand-text strong { display: block; font-size: 1rem; }
.brand-text span { display: block; color: var(--muted); font-size: 0.85rem; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(91, 134, 177, 0.18);
  background: rgba(255,255,255,0.9); box-shadow: var(--shadow); color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nav-links a {
  padding: 11px 16px; border-radius: 999px; color: #496884; transition: 0.25s ease; font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a:focus-visible { background: rgba(255,255,255,0.88); color: var(--text); box-shadow: var(--shadow); }
.nav-links .btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white; box-shadow: 0 14px 30px rgba(255, 157, 114, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.btn.secondary {
  background: rgba(255,255,255,0.9); color: var(--text); border: 1px solid rgba(93, 137, 180, 0.15);
  box-shadow: var(--shadow);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.hero { padding: 74px 0 46px; position: relative; overflow: clip; }
.hero::before,
.hero::after {
  content: ""; position: absolute; inset: auto; pointer-events: none; opacity: 0.55;
}
.hero::before {
  width: 420px; height: 420px; border-radius: 999px; background: radial-gradient(circle, rgba(143,209,255,0.5), transparent 66%);
  top: -70px; right: -70px;
}
.hero::after {
  width: 460px; height: 460px; border-radius: 999px; background: radial-gradient(circle, rgba(255,212,198,0.62), transparent 65%);
  bottom: -110px; left: -80px;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 48px; align-items: center;
}
.hero-copy h1 {
  margin: 18px 0 18px; font-size: clamp(2.6rem, 6vw, 5.1rem); line-height: 0.96; letter-spacing: -0.04em;
}
.hero-copy p { margin: 0 0 26px; font-size: 1.04rem; color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-highlights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px;
}
.highlight-card {
  padding: 18px; border-radius: 20px; background: rgba(255,255,255,0.8); box-shadow: var(--shadow);
  border: 1px solid rgba(113,160,206,0.15);
}
.highlight-card strong { display: block; font-size: 1.2rem; margin-bottom: 2px; }
.highlight-card span { color: var(--muted); font-size: 0.9rem; }
.hero-visual { position: relative; min-height: 610px; }
.orbit-line {
  position: absolute; inset: 4% 2%; border: 2px dashed rgba(102, 142, 178, 0.32); border-radius: 38px;
  transform: rotate(-7deg); opacity: 0.45;
}
.float-bubble {
  position: absolute; border-radius: 999px; background: rgba(255,255,255,0.68); border: 1px solid rgba(113,160,206,0.15);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.float-bubble.one { width: 20px; height: 20px; top: 12%; left: 16%; }
.float-bubble.two { width: 12px; height: 12px; top: 36%; right: 7%; }
.float-bubble.three { width: 16px; height: 16px; bottom: 9%; left: 10%; }
.ui-card {
  position: absolute; border-radius: 28px; background: rgba(255,255,255,0.84); border: 1px solid rgba(113,160,206,0.18);
  box-shadow: 0 24px 48px rgba(86, 127, 165, 0.22); backdrop-filter: blur(16px);
}
.ui-card.small {
  width: 230px; padding: 16px; top: 42px; right: 24px; background: rgba(255, 247, 243, 0.92);
}
.ui-card.small .mini-label { font-size: 0.8rem; color: #967863; margin-bottom: 12px; }
.progress-donut {
  width: 100%; aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center;
  background: radial-gradient(circle at center, white 0 34%, transparent 35%), conic-gradient(#ffd4c6 0 140deg, #d4f0ff 140deg 360deg);
}
.progress-donut span { color: #6c7d95; font-weight: 600; }
.phone {
  position: absolute; left: 34px; top: 104px; width: min(100%, 350px); padding: 14px; border-radius: 34px;
  background: rgba(255,255,255,0.92); border: 1px solid rgba(113,160,206,0.18); box-shadow: 0 32px 56px rgba(61, 101, 141, 0.24);
}
.phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 18px; border-radius: 999px; background: rgba(188, 215, 236, 0.68);
}
.phone-screen { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #fbfeff, #fef7f4); min-height: 540px; padding: 24px 18px 18px; }
.screen-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.screen-title strong { display: block; font-size: 1.15rem; }
.screen-title span { color: var(--muted); font-size: 0.84rem; }
.pill { padding: 8px 12px; border-radius: 999px; background: rgba(255,184,143,0.22); color: #9e6e4f; font-size: 0.82rem; }
.silo-list { display: grid; gap: 14px; }
.silo-card {
  display: grid; grid-template-columns: 82px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 22px;
  background: rgba(255,255,255,0.88); border: 1px solid rgba(113,160,206,0.13);
}
.silo-preview {
  height: 72px; border-radius: 18px; background: linear-gradient(180deg, #dff3ff, #fff3ec); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px;
}
.silo-stack { display: grid; gap: 6px; }
.color-chip { width: 34px; height: 14px; border-radius: 999px; }
.silo-copy strong { display: block; font-size: 0.95rem; }
.silo-copy span { color: var(--muted); font-size: 0.82rem; }
.badge { padding: 8px 12px; border-radius: 999px; background: #eff8ff; color: #5f7c9a; font-size: 0.78rem; }
.widget {
  position: absolute; bottom: 48px; right: 46px; width: 270px; padding: 18px; border-radius: 26px;
  background: rgba(235, 248, 255, 0.92); border: 1px solid rgba(104, 144, 180, 0.18); box-shadow: var(--shadow);
}
.widget-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.widget-head strong { font-size: 0.95rem; }
.widget-head span { color: var(--muted); font-size: 0.8rem; }
.segment {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.segment div { height: 72px; border-radius: 18px; background: linear-gradient(180deg, #fff, rgba(255,255,255,0.68)); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; }
.segment .tube { width: 28px; display: grid; gap: 5px; }
.segment .tube span { height: 10px; border-radius: 999px; }
.wave {
  position: absolute; pointer-events: none; opacity: 0.55;
}
.wave.top { top: 6px; left: -20px; right: -20px; height: 120px; background: radial-gradient(circle at 20% 10%, transparent 58%, rgba(157, 203, 234, 0.22) 59%, transparent 61%); }
.wave.bottom { bottom: -30px; right: -20px; width: 360px; height: 160px; border: 2px dashed rgba(109,149,183,0.25); border-radius: 999px; transform: rotate(12deg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  background: rgba(255,255,255,0.85); border: 1px solid rgba(113,160,206,0.15); border-radius: 28px; padding: 26px; box-shadow: var(--shadow);
}
.card .icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(143,209,255,0.24), rgba(255,184,143,0.24));
  font-size: 1.35rem; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }
.split-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: 26px; align-items: stretch;
}
.steps { display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: 24px;
  background: rgba(255,255,255,0.8); border: 1px solid rgba(113,160,206,0.16); box-shadow: var(--shadow);
}
.step-number {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(143,209,255,0.34), rgba(255,184,143,0.38)); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); }
.side-note {
  padding: 28px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,244,238,0.9), rgba(241,249,255,0.88));
  border: 1px solid rgba(113,160,206,0.16); box-shadow: var(--shadow);
}
.side-note img { width: 78px; height: 78px; object-fit: contain; border-radius: 20px; margin-bottom: 20px; }
.side-note ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px;
}
.stat {
  text-align: center; padding: 24px 18px; border-radius: 24px; background: rgba(255,255,255,0.84); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.14);
}
.stat strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 0.92rem; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 24px; background: rgba(255,255,255,0.85); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.14);
  overflow: hidden;
}
.faq-question {
  width: 100%; border: none; background: transparent; text-align: left; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--text);
}
.faq-answer { padding: 0 24px 22px; color: var(--muted); display: none; }
.faq-item.active .faq-answer { display: block; }
.faq-question span:last-child { transition: transform 0.25s ease; }
.faq-item.active .faq-question span:last-child { transform: rotate(45deg); }
.contact-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.contact-card {
  padding: 28px; border-radius: 28px; background: rgba(255,255,255,0.84); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.15);
}
.contact-card h3 { margin-top: 0; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(143,209,255,0.18); color: #486886;
}
.page-hero {
  padding: 66px 0 36px; text-align: center;
}
.page-hero h1 { margin: 18px 0 14px; font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1; }
.page-hero p { margin: 0 auto; max-width: 700px; color: var(--muted); }
.privacy-shell {
  display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start;
}
.toc {
  position: sticky; top: 98px; padding: 22px; border-radius: 26px; background: rgba(255,255,255,0.84); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.16);
}
.toc h3 { margin-top: 0; font-size: 1rem; }
.toc a { display: block; padding: 10px 12px; border-radius: 14px; color: var(--muted); font-size: 0.93rem; }
.toc a:hover, .toc a:focus-visible { background: rgba(143,209,255,0.14); color: var(--text); }
.policy-card {
  padding: 34px; border-radius: 30px; background: rgba(255,255,255,0.9); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.16);
}
.policy-meta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px;
}
.meta-pill {
  padding: 10px 14px; border-radius: 999px; background: rgba(255,244,238,0.92); color: #8f6b56; border: 1px solid rgba(255,184,143,0.2);
}
.policy-card h2 { margin: 34px 0 10px; font-size: 1.3rem; }
.policy-card p { margin: 0 0 16px; color: #486581; }
.policy-card ul { margin: 0 0 16px 0; padding-left: 18px; color: #486581; }
.policy-card li { margin-bottom: 8px; }
.site-footer {
  padding: 30px 0 44px; border-top: 1px solid rgba(100,145,190,0.12); margin-top: 22px;
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center;
}
.footer-wrap p { margin: 0; color: var(--muted); }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 18px;
  border: 1px solid rgba(113,160,206,0.18); background: rgba(255,255,255,0.92); color: var(--text); box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: 0.25s ease; z-index: 40;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.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;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav-links a, .back-to-top, .faq-question span:last-child { transition: none; }
}
@media (max-width: 1050px) {
  .hero-grid, .split-panel, .contact-panel, .privacy-shell { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 560px; }
  .toc { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px; flex-direction: column; align-items: stretch;
    padding: 14px; border-radius: 24px; background: rgba(255,255,255,0.95); box-shadow: var(--shadow); border: 1px solid rgba(113,160,206,0.16);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: 0.25s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a, .nav-links .btn { width: 100%; justify-content: center; }
  .hero-highlights, .grid-3, .stats-row, .contact-panel { grid-template-columns: 1fr; }
  .phone { left: 14px; }
  .ui-card.small { right: 0; width: 200px; }
  .widget { width: 230px; right: 0; }
}
@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 520px; }
  .phone { width: calc(100% - 28px); }
  .phone-screen { min-height: 500px; }
  .widget { position: relative; right: auto; bottom: auto; margin: 18px 0 0 auto; }
  .ui-card.small { top: 8px; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.6rem); }
  .section-title { font-size: clamp(1.7rem, 9vw, 2.3rem); }
  .policy-card { padding: 24px; }
}


/* Hue Harbor content expansion */
.privacy-shell-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 940px;
  margin: 0 auto;
}
.privacy-shell-single .policy-card { width: 100%; }
.game-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.system-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(113,160,206,0.15);
  box-shadow: var(--shadow);
}
.system-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -48px;
  bottom: -52px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143,209,255,0.28), transparent 70%);
}
.system-card.peach::after { background: radial-gradient(circle, rgba(255,184,143,0.30), transparent 70%); }
.system-card.mint::after { background: radial-gradient(circle, rgba(189,235,224,0.38), transparent 70%); }
.system-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.system-card p { color: var(--muted); margin: 0; max-width: 520px; }
.system-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(143,209,255,0.16);
  color: #577592;
  font-size: 0.82rem;
}
.booster-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.booster-item {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,252,255,0.84));
  border: 1px solid rgba(113,160,206,0.14);
  box-shadow: var(--shadow);
}
.booster-item strong { display: block; margin-bottom: 6px; }
.booster-item span { color: var(--muted); font-size: 0.9rem; }
.journey-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 30px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(229,246,255,0.88), rgba(255,239,232,0.86));
  border: 1px solid rgba(113,160,206,0.15);
  box-shadow: var(--shadow);
}
.journey-list { display: grid; gap: 12px; }
.journey-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
}
.journey-row .num {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(143,209,255,0.22);
  font-weight: 800;
}
.journey-row strong { display: block; margin-bottom: 3px; }
.journey-row span { color: var(--muted); font-size: 0.9rem; }
.detail-hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(37,69,108,0.22);
}
.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.info-panel {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(113,160,206,0.15);
  box-shadow: var(--shadow);
}
.info-panel h2, .info-panel h3 { margin-top: 0; }
.info-panel p, .info-panel li { color: var(--muted); }
.info-panel ul { margin-bottom: 0; }
@media (max-width: 860px) {
  .game-system-grid, .content-grid-2, .journey-panel { grid-template-columns: 1fr; }
  .booster-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .booster-strip { grid-template-columns: 1fr; }
  .system-card, .journey-panel { padding: 22px; }
}
