:root {
  color-scheme: dark;
  --ink: #071019;
  --panel: #0d1b28;
  --panel-soft: #122536;
  --line: rgba(218, 240, 237, 0.16);
  --text: #eff8f6;
  --muted: #a9bfbd;
  --mint: #9cf6cf;
  --aqua: #7be1e6;
  --signal: #fa7458;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 5%, rgba(123, 225, 230, 0.12), transparent 24rem),
    radial-gradient(circle at 12% 82%, rgba(156, 246, 207, 0.08), transparent 26rem),
    var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.brand-title { white-space: nowrap; }

.brand-tagline {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--mint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(156, 246, 207, 0.1);
  content: "";
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(32px, 6vw, 78px);
  padding: clamp(62px, 9vw, 116px) 0 60px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.accent { color: var(--mint); }

.intro {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.principles {
  display: grid;
  gap: 1px;
  align-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.principle {
  position: relative;
  min-height: 115px;
  padding: 25px 28px;
  overflow: hidden;
  background: var(--panel);
}

.principle::after {
  position: absolute;
  right: -12px;
  bottom: -23px;
  color: rgba(156, 246, 207, 0.09);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  content: attr(data-number);
}

.principle strong, .principle span { display: block; }
.principle strong { margin-bottom: 4px; font-size: 1.04rem; }
.principle span { color: var(--muted); font-size: 0.9rem; }

.community-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid rgba(156, 246, 207, 0.46);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(156, 246, 207, 0.18), transparent 12rem),
    linear-gradient(145deg, rgba(18, 50, 58, 0.96), rgba(8, 25, 34, 0.99));
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.community-card:hover {
  border-color: var(--mint);
  background:
    radial-gradient(circle at 88% 12%, rgba(156, 246, 207, 0.25), transparent 12rem),
    linear-gradient(145deg, rgba(22, 59, 65, 0.98), rgba(8, 29, 39, 0.99));
  transform: translateY(-5px);
}

.community-kicker {
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.community-card h2 {
  max-width: 310px;
  margin: 21px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.community-card p { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.6; }

.community-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid rgba(218, 240, 237, 0.18);
  color: var(--mint);
  font-size: 0.88rem;
  font-weight: 800;
}

.community-link b { font-size: 1.35rem; font-weight: 400; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 42px 0 24px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 90px;
}

.product-card {
  display: flex;
  min-height: 374px;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(18, 37, 54, 0.95), rgba(9, 21, 32, 0.98));
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.product-card:hover {
  border-color: rgba(156, 246, 207, 0.65);
  background: linear-gradient(145deg, rgba(23, 48, 65, 0.98), rgba(10, 28, 39, 0.99));
  transform: translateY(-5px);
}

.card-index {
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-card h3 {
  margin: 35px 0 13px;
  font-size: 1.68rem;
  letter-spacing: -0.045em;
}

.product-card p {
  color: var(--muted);
  line-height: 1.6;
}

.product-price {
  display: grid;
  gap: 3px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.product-price span {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-price strong {
  color: var(--mint);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.product-price small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--mint);
  font-size: 0.88rem;
  font-weight: 750;
}

.card-link b { font-size: 1.35rem; font-weight: 400; }

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer p { max-width: 600px; margin: 0; }

.detail {
  padding: clamp(54px, 8vw, 100px) 0 78px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.back:hover { color: var(--mint); }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.detail h1 {
  margin-bottom: 25px;
  font-size: clamp(2.9rem, 6vw, 5.8rem);
}

.detail-copy {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.detail-list {
  display: grid;
  gap: 16px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 14px;
  color: var(--text);
  font-size: 0.96rem;
}

.detail-list li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.47rem;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.investment-card {
  max-width: 530px;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid rgba(156, 246, 207, 0.35);
  border-radius: 14px;
  background: rgba(156, 246, 207, 0.06);
}

.investment-card .eyebrow {
  margin-bottom: 8px;
}

.investment-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  color: var(--mint);
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.investment-value span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.investment-card > p:last-child:not(.investment-value) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #071019;
  box-shadow: var(--shadow);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-video { margin-top: 32px; }

.video-caption {
  margin: 17px 3px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.video-caption strong { color: var(--aqua); }

.live-access {
  min-height: 100%;
  padding: clamp(25px, 4vw, 39px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(123, 225, 230, 0.13), transparent 16rem),
    linear-gradient(145deg, rgba(18, 37, 54, 0.95), rgba(9, 21, 32, 0.98));
  box-shadow: var(--shadow);
}

.access-heading h2, .live-room h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.05em;
}

.access-heading > p:not(.eyebrow), .live-room > p {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  margin-top: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: rgba(7, 16, 25, 0.74);
  color: var(--text);
  font: inherit;
}

.auth-form input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(156, 246, 207, 0.12);
}

.auth-button, .signout-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid var(--mint);
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.auth-button:hover:not(:disabled) { transform: translateY(-2px); background: #c3f9dc; }
.auth-button:disabled, .signout-button:disabled { cursor: wait; opacity: 0.72; }

.auth-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-status.is-error { color: #ff9b89; }
.auth-status.is-success { color: var(--mint); }

.live-room-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(156, 246, 207, 0.1);
}

.live-stage {
  display: grid;
  gap: 12px;
  min-height: 220px;
  margin-top: 28px;
  padding: 30px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #071019;
}

.live-stage span { color: var(--aqua); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.live-stage strong { max-width: 360px; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1.16; }
.live-stage p { max-width: 370px; margin: 0; color: var(--muted); font-size: 0.9rem; }

.live-manual-note {
  margin: 0 0 16px !important;
  color: var(--aqua) !important;
  font-size: 0.82rem;
  font-weight: 750;
}

.live-stage.live-manual {
  display: block;
  height: min(69vh, 720px);
  min-height: 580px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.live-stage.live-manual iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #070a0f;
}

.live-room-page { max-width: 1180px; margin: 0 auto; }
.live-room-shell { min-height: 0; }
.live-room-shell h1 { margin-bottom: 10px; }
.live-room-shell > p:not(.live-manual-note) { margin-bottom: 26px; color: var(--muted); }
.live-room-shell .live-stage.live-manual { height: min(76vh, 780px); }

.signout-button {
  margin-top: 18px;
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.signout-button:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }

.note {
  margin-top: 76px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .home-hero, .detail-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 52px; }
  .community-card { max-width: 560px; min-height: 280px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { min-height: 270px; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .detail-grid { gap: 40px; }
  .live-stage.live-manual { height: 700px; }
  .live-room-shell .live-stage.live-manual { height: 700px; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 30px, 1180px); }
  .live-room-layout { width: min(100% - 16px, 1180px); }
  .live-room-shell { padding: 22px 10px; }
  .topbar { min-height: 76px; }
  .brand { gap: 8px; font-size: 1.04rem; letter-spacing: 0.06em; }
  .brand-mark { width: 31px; height: 31px; font-size: 0.75rem; }
  .brand-tagline { display: none; }
  .nav { gap: 15px; }
  .nav a { font-size: 0.78rem; }
  .footer { display: block; }
  .footer p + p { margin-top: 12px; }
  .back { margin-bottom: 42px; }
  .detail { padding-top: 45px; }
  .products { grid-template-columns: 1fr; }
  .live-stage.live-manual { height: 1720px; }
  .live-room-shell .live-stage.live-manual { height: 1720px; }
}
