:root {
  color-scheme: dark;
  --bg: #090b0f;
  --panel: #121821;
  --panel-2: #18202b;
  --text: #f7f8f4;
  --muted: #aeb6bf;
  --line: rgba(255, 255, 255, 0.14);
  --red: #ff3d45;
  --cyan: #46d9ff;
  --lime: #c9ff4d;
  --ink: #080a0d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 61, 69, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(70, 217, 255, 0.025) 44%, transparent 45%),
    radial-gradient(circle at var(--cursor-x, 74%) var(--cursor-y, 22%), rgba(255, 61, 69, 0.1), transparent 26rem);
  opacity: 0.5;
  transition: opacity 280ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.88), rgba(8, 10, 13, 0));
  transition:
    background 220ms ease,
    padding 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--lime);
  font-size: 18px;
  box-shadow: 0 0 0 rgba(201, 255, 77, 0);
  animation: markPulse 4s ease-in-out infinite;
}

.nav {
  display: flex;
  gap: clamp(12px, 2.4vw, 30px);
  color: rgba(247, 248, 244, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--text);
}

.auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-nav a,
.auth-link-button,
.member-entry-link,
.member-entry-mobile {
  padding: 7px 12px;
  border: 1px solid rgba(247, 248, 244, 0.22);
  background: transparent;
  color: rgba(247, 248, 244, 0.76);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.auth-nav a:hover,
.auth-link-button:hover,
.member-entry-link:hover,
.member-entry-mobile:hover {
  border-color: rgba(70, 217, 255, 0.42);
  color: var(--cyan);
}

.auth-nav-mobile,
.member-entry-mobile {
  display: none;
}

.auth-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-top: 120px;
}

.auth-card {
  width: min(100%, 720px);
}

.auth-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: rgba(247, 248, 244, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.auth-help-links a {
  border-bottom: 1px solid rgba(70, 217, 255, 0.38);
}

.auth-help-links a:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94svh;
  padding: 130px clamp(18px, 5vw, 72px) 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  transform: scale(1.02);
  transition: transform 120ms linear;
}

.hero-canvas,
.hero-scan,
.hero-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: 1;
  opacity: 0.56;
  mix-blend-mode: screen;
}

.hero-scan {
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px),
    linear-gradient(110deg, transparent 0 42%, rgba(201, 255, 77, 0.13) 48%, transparent 54%);
  opacity: 0.34;
  transform: translateX(-24%);
  animation: scanMove 9s ease-in-out infinite;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 8, 11, 0.95) 0%, rgba(6, 8, 11, 0.74) 42%, rgba(6, 8, 11, 0.16) 82%),
    linear-gradient(0deg, rgba(6, 8, 11, 0.9) 0%, rgba(6, 8, 11, 0) 44%);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 870px;
  padding-bottom: clamp(56px, 7vw, 98px);
}

.hero-orbit {
  z-index: 2;
  pointer-events: none;
}

.hero-orbit span {
  position: absolute;
  right: clamp(26px, 7vw, 112px);
  top: clamp(130px, 22vw, 260px);
  display: block;
  width: clamp(180px, 28vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(70, 217, 255, 0.22);
  border-radius: 50%;
  transform: rotate(0deg) translateZ(0);
  animation: orbitDrift 18s linear infinite;
}

.hero-orbit span:nth-child(2) {
  width: clamp(130px, 20vw, 300px);
  border-color: rgba(255, 61, 69, 0.2);
  animation-duration: 23s;
  animation-direction: reverse;
}

.hero-orbit span:nth-child(3) {
  width: clamp(90px, 15vw, 210px);
  border-color: rgba(201, 255, 77, 0.2);
  animation-duration: 15s;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(68px, 13vw, 158px);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3.8vw, 48px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.lead {
  max-width: 720px;
  color: rgba(247, 248, 244, 0.88);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.9;
  font-weight: 600;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 0 34px rgba(255, 61, 69, 0.22);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.dark {
  background: var(--ink);
  color: white;
}

.ghost {
  border-color: rgba(70, 217, 255, 0.34);
  background: rgba(70, 217, 255, 0.08);
  color: white;
}

.signal-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(148px, 1fr));
  max-width: 620px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 16, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateZ(0);
}

.signal-panel div {
  min-height: 104px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.signal-panel div:last-child {
  border-right: 0;
}

.signal-panel span,
.metric span,
.card-number,
.steps span {
  display: block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-panel span {
  margin-bottom: 14px;
}

.signal-panel strong {
  font-size: 14px;
  line-height: 1.5;
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
}

.intro-copy p,
.section-head p,
.work-card p,
.course-card li,
.course-lead,
.split p,
.flow-grid p,
.company p,
.notice p,
.contact p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.intro-copy p {
  max-width: 820px;
  font-size: clamp(15px, 1.45vw, 18px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 36px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  min-height: 210px;
  padding: clamp(24px, 3.4vw, 40px);
  background: #0d1118;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.metric:hover,
.work-card:hover,
.course-card:hover,
.flow-grid article:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(145deg, rgba(70, 217, 255, 0.1), transparent 42%),
    var(--panel-2);
}

.metric span {
  margin-bottom: 34px;
  color: var(--lime);
}

.metric strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.current-status {
  background:
    linear-gradient(115deg, rgba(201, 255, 77, 0.06), transparent 34%),
    #0a0d12;
}

.status-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.status-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.82fr) repeat(3, minmax(112px, 1fr));
  gap: 1px;
  background: var(--line);
}

.status-row > div {
  min-height: 78px;
  padding: 18px 20px;
  background: var(--panel);
  color: rgba(247, 248, 244, 0.86);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.status-row > div:first-child {
  color: var(--lime);
}

.status-head > div {
  min-height: 58px;
  background: #0d1118;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-grid,
.course-grid,
.flow-grid,
.unit-grid,
.feature-grid,
.goal-grid,
.warning-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card,
.course-card,
.flow-grid article,
.unit-card,
.feature-card,
.goal-card,
.path-card {
  background:
    linear-gradient(145deg, rgba(255, 61, 69, 0.1), transparent 36%),
    var(--panel);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.work-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.unit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unit-card {
  min-height: 116px;
  padding: 24px;
  color: rgba(247, 248, 244, 0.9);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.ip-range,
.product-ip {
  background:
    linear-gradient(120deg, rgba(70, 217, 255, 0.05), transparent 34%),
    #0e1117;
}

.product-ip .statement {
  max-width: 860px;
  margin-bottom: 30px;
  color: rgba(247, 248, 244, 0.9);
  font-size: clamp(17px, 1.9vw, 24px);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  min-height: 280px;
  padding: clamp(24px, 3.4vw, 40px);
}

.feature-card span,
.goal-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p,
.goal-card p,
.path-card li,
.promise-list li,
.note {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.statement {
  max-width: 980px;
  margin: 28px 0 0;
  color: white;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.45;
  font-weight: 900;
}

.note {
  margin: 24px 0 0;
  color: rgba(174, 182, 191, 0.82);
}

.leadership,
.timing {
  background: #0a0d12;
}

.card-number {
  margin-bottom: 54px;
}

.courses {
  background:
    linear-gradient(120deg, rgba(70, 217, 255, 0.08), transparent 34%),
    #0e1117;
}

.course-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
  padding: clamp(24px, 3.4vw, 38px);
}

.course-card.highlight {
  background:
    linear-gradient(145deg, rgba(255, 61, 69, 0.22), transparent 42%),
    var(--panel-2);
}

.course-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.course-top p {
  margin: 0;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.course-top strong {
  display: block;
  color: white;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.course-top span {
  font-size: 14px;
}

.course-lead {
  min-height: 78px;
  margin-bottom: 22px;
  color: rgba(247, 248, 244, 0.9);
  font-weight: 600;
}

.pass-card .course-lead {
  min-height: 116px;
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.1em;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 16px 20px;
  background: var(--panel);
  font-size: 14px;
  font-weight: 900;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.steps li:hover {
  background: #1a2430;
  transform: translateX(4px);
}

.steps span {
  color: var(--lime);
}

.roadmap {
  background: #0d1118;
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-grid article {
  padding: clamp(24px, 3.4vw, 38px);
}

.goal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goal-card,
.path-card,
.member-page-list {
  padding: clamp(24px, 3.4vw, 38px);
}

.goal-card strong {
  display: block;
  margin-bottom: 16px;
  color: white;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
}

.promise {
  background:
    linear-gradient(120deg, rgba(201, 255, 77, 0.06), transparent 30%),
    #0d1118;
}

.member-page-section {
  background:
    linear-gradient(120deg, rgba(70, 217, 255, 0.06), transparent 34%),
    #0a0d12;
}

.member-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.digital-card,
.member-page-list {
  background: var(--panel);
}

.digital-card {
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: clamp(24px, 3.4vw, 38px);
  background:
    linear-gradient(145deg, rgba(70, 217, 255, 0.16), transparent 44%),
    #0d1118;
}

.digital-card > span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.digital-card dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.digital-card dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 12px;
  background: rgba(8, 10, 13, 0.72);
}

.digital-card dt,
.digital-card dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.digital-card dt {
  color: var(--cyan);
  font-weight: 900;
}

.digital-card dd,
.digital-card p,
.member-page-list p,
.member-page-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.member-page-list ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-page-list strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(70, 217, 255, 0.24);
  color: var(--cyan);
  font-size: 12px;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.promise-list li {
  min-height: 108px;
  padding: 22px;
  background: var(--panel);
  color: rgba(247, 248, 244, 0.86);
  font-weight: 800;
}

.member-ideas {
  max-width: 980px;
  margin: 0 0 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(70, 217, 255, 0.08), transparent 42%),
    var(--panel);
}

.member-ideas + .promise-list,
.secondary-list {
  margin-top: 24px;
}

.member-ideas h3 {
  margin-bottom: 12px;
  color: white;
}

.member-ideas p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.path-card ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.referral-box {
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid rgba(70, 217, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(70, 217, 255, 0.1), transparent 46%),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.referral-box h3 {
  margin-bottom: 12px;
  color: white;
}

.referral-box p:not(.statement) {
  max-width: 980px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.featured-path {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 255, 77, 0.08), transparent 38%),
    var(--panel);
}

.featured-path ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-left: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.featured-path li {
  min-height: 128px;
  padding: 18px;
  background: #0d1118;
  color: rgba(247, 248, 244, 0.86);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.company {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  padding-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.company h2 {
  margin-bottom: 12px;
  color: rgba(247, 248, 244, 0.74);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.42;
  font-weight: 700;
}

.company .section-label {
  color: rgba(201, 255, 77, 0.78);
}

.notice {
  padding: clamp(38px, 6vw, 62px) clamp(18px, 5vw, 72px);
  background: #f4f5ef;
  color: var(--ink);
}

.notice h2 {
  max-width: 860px;
  font-size: clamp(24px, 3.2vw, 38px);
}

.notice p {
  max-width: 980px;
  color: #424a53;
}

.warning-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  background: rgba(8, 10, 13, 0.14);
  border-color: rgba(8, 10, 13, 0.16);
}

.warning-grid span {
  min-height: 62px;
  padding: 18px 20px;
  background: #fff;
  color: #303741;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 28px;
  padding: clamp(48px, 7vw, 76px) clamp(18px, 5vw, 72px);
  background: var(--text);
  color: var(--ink);
}

.contact-subtle {
  background: #f4f5ef;
}

.contact-subtle h2 {
  font-size: clamp(24px, 3.2vw, 38px);
}

.contact-subtle .form-panel {
  box-shadow: none;
}

.contact .eyebrow {
  color: var(--red);
}

.contact p {
  max-width: 760px;
  color: #444b55;
}

.form-panel {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(8, 10, 13, 0.12);
  background: white;
  color: var(--ink);
}

.form-panel label {
  display: grid;
  gap: 8px;
  color: #303741;
  font-size: 13px;
  font-weight: 900;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(8, 10, 13, 0.18);
  border-radius: 0;
  background: #f7f8f4;
  color: #11161d;
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
}

.form-panel textarea {
  resize: vertical;
}

.form-panel .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-panel .button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-message {
  display: none;
  margin: 4px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(70, 217, 255, 0.28);
  background: rgba(70, 217, 255, 0.08);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.form-message.is-visible {
  display: block;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-message .button {
  margin-top: 0;
  color: #071017;
}

.form-message .button.secondary-action {
  color: rgba(247, 248, 244, 0.88);
}

.button.is-disabled {
  pointer-events: none;
  opacity: 0.62;
}

.payment-note {
  display: block;
  margin-top: 8px;
  color: rgba(247, 248, 244, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.payment-url-display {
  display: grid;
  gap: 4px;
  min-width: min(100%, 320px);
  padding: 10px 12px;
  border: 1px solid rgba(247, 248, 244, 0.12);
  background: rgba(8, 12, 16, 0.7);
  color: rgba(247, 248, 244, 0.88);
  overflow-wrap: anywhere;
}

.payment-url-display code {
  color: var(--cyan);
  font-size: 12px;
  white-space: normal;
}

.invite-page {
  background:
    radial-gradient(circle at 70% 10%, rgba(70, 217, 255, 0.1), transparent 30rem),
    var(--bg);
}

.invite-hero {
  min-height: 58svh;
  padding: 132px clamp(18px, 5vw, 72px) 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255, 61, 69, 0.1), transparent 30%),
    #0a0d12;
}

.invite-hero h1 {
  max-width: 980px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.04;
}

.invite-form-section {
  background: #0d1118;
}

.invite-form {
  max-width: 920px;
  background: var(--panel);
  color: white;
  border-color: var(--line);
}

.invite-form label {
  color: rgba(247, 248, 244, 0.9);
}

.invite-form input,
.invite-form select,
.invite-form textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: #0a0d12;
  color: white;
}

.consent-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
}

.consent-list legend {
  padding: 0 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-list label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.consent-list input {
  width: auto;
  min-height: auto;
  margin-top: 4px;
  padding: 0;
  accent-color: var(--cyan);
}

.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 0%, rgba(70, 217, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 10% 18%, rgba(201, 255, 77, 0.08), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-size: 14px;
}

.admin-shell {
  display: grid;
  gap: 22px;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 112px clamp(16px, 4vw, 48px) 56px;
}

.admin-hero {
  max-width: 820px;
}

.admin-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.admin-hero p,
.admin-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.admin-card {
  border: 1px solid var(--line);
  background: rgba(15, 21, 29, 0.88);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-card h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
}

.admin-card h2 {
  margin-bottom: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: 0;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.admin-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  background: #0a0d12;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: rgba(247, 248, 244, 0.86);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.empty-cell {
  color: var(--muted) !important;
  text-align: center !important;
}

.button.small {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(70, 217, 255, 0.3);
  background: rgba(70, 217, 255, 0.1);
  color: var(--cyan);
  font-size: 12px;
}

.button.small.secondary-action {
  border-color: rgba(247, 248, 244, 0.16);
  background: rgba(247, 248, 244, 0.08);
  color: rgba(247, 248, 244, 0.82);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(247, 248, 244, 0.16);
  color: rgba(247, 248, 244, 0.84);
  font-size: 12px;
  font-weight: 900;
}

.status-approved {
  border-color: rgba(201, 255, 77, 0.36);
  color: var(--lime);
}

.status-ready_for_payment,
.status-submitted {
  border-color: rgba(70, 217, 255, 0.34);
  color: var(--cyan);
}

.status-rejected {
  border-color: rgba(255, 61, 69, 0.34);
  color: #ff7b82;
}

.status-contacted {
  border-color: rgba(70, 217, 255, 0.34);
  color: var(--cyan);
}

.status-paid,
.payment-paid {
  border-color: rgba(201, 255, 77, 0.36);
  color: var(--lime);
}

.status-member_created {
  border-color: rgba(201, 255, 77, 0.48);
  color: var(--lime);
}

.status-active,
.status-payment_confirmed,
.status-applied {
  border-color: rgba(201, 255, 77, 0.36);
  color: var(--lime);
}

.status-pending_payment,
.status-pending {
  border-color: rgba(70, 217, 255, 0.34);
  color: var(--cyan);
}

.status-suspended,
.status-withdrawn {
  border-color: rgba(255, 61, 69, 0.34);
  color: #ff7b82;
}

.payment-unpaid {
  border-color: rgba(247, 248, 244, 0.16);
  color: rgba(247, 248, 244, 0.84);
}

.payment-cancelled {
  border-color: rgba(255, 61, 69, 0.34);
  color: #ff7b82;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.detail-stack {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.detail-row {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  background: #0a0d12;
}

.detail-row dt,
.detail-row dd {
  margin: 0;
}

.detail-row dt {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.detail-row dd {
  color: rgba(247, 248, 244, 0.86);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.admin-memo-label {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(247, 248, 244, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.admin-memo-label textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0d12;
  color: white;
  font: inherit;
  font-size: 14px;
  padding: 12px;
  resize: vertical;
}

.email-copy-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.48);
}

.email-copy-panel h3 {
  margin: 0;
  font-size: 15px;
}

.email-copy-panel textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0d12;
  color: white;
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
  padding: 12px;
  resize: vertical;
}

.compact-note {
  margin-top: 18px;
}

.compact-form {
  max-width: 520px;
  margin-top: 18px;
}

.auth-shell {
  width: min(100%, 760px);
  min-height: 100svh;
  align-content: center;
  padding-top: 96px;
  padding-bottom: 44px;
}

.auth-card {
  padding: clamp(20px, 3vw, 30px);
}

.auth-card .admin-card-head {
  margin-bottom: 14px;
}

.auth-card h1 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.auth-card .admin-note {
  max-width: 560px;
}

.member-overview {
  overflow: hidden;
}

.member-certificate {
  max-width: 720px;
}

.course-change-form {
  display: grid;
  gap: 18px;
}

.inline-admin-memo {
  min-width: 220px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0d12;
  color: white;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px;
  resize: vertical;
}

.referral-preview {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(88, 216, 255, 0.42);
  background: #0f1a22;
  color: #e5edf0;
  font-size: 13px;
  line-height: 1.7;
}

.referral-preview strong,
.referral-preview span {
  display: block;
}

.referral-preview strong {
  color: #58d8ff;
}

.referral-preview span {
  color: #ffffff;
}

.network-map-card {
  overflow-x: auto;
}

.network-office-card,
.network-card {
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.72);
  padding: 16px;
}

.network-card.status-suspended,
.network-card.status-payment_failed {
  opacity: 0.62;
  border-color: rgba(247, 248, 244, 0.14);
}

.network-office-card {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  border-color: rgba(201, 255, 77, 0.32);
}

.network-office-card strong,
.network-card strong {
  color: var(--text);
  font-size: 15px;
}

.network-office-card span,
.network-card span {
  color: var(--muted);
  font-size: 12px;
}

.network-tree,
.network-tree ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  list-style: none;
}

.network-tree {
  min-width: 720px;
  padding-left: 0;
}

.network-node {
  display: grid;
  gap: 12px;
  position: relative;
}

.network-node::before {
  position: absolute;
  left: -14px;
  top: 24px;
  width: 10px;
  height: 1px;
  background: rgba(70, 217, 255, 0.28);
  content: "";
}

.network-tree > .network-node::before {
  display: none;
}

.network-card {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.network-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.network-card dl div {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #0a0d12;
}

.network-card dt,
.network-card dd {
  margin: 0;
  font-size: 12px;
}

.network-card dt {
  color: var(--cyan);
  font-weight: 900;
}

.network-card dd {
  color: rgba(247, 248, 244, 0.86);
}

.compact-actions {
  align-items: flex-start;
  margin-bottom: 0;
}

.payment-success-shell {
  min-height: 100svh;
  place-items: center;
}

.payment-success-card {
  max-width: 880px;
}

.payment-success-card h1 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.payment-success-card p {
  max-width: 720px;
  color: rgba(247, 248, 244, 0.84);
  font-size: 16px;
  line-height: 1.9;
}

.payment-success-notice {
  margin: 26px 0;
  padding: 18px;
}

.payment-success-notice p {
  margin: 0;
  font-size: 14px;
}

.legal-shell {
  gap: 22px;
}

.legal-card {
  color: rgba(247, 248, 244, 0.82);
}

.legal-card h1,
.legal-card h2,
.legal-card h3,
.faq-card h3 {
  color: var(--text);
}

.legal-card h1 {
  font-size: clamp(28px, 4vw, 44px);
}

.legal-card h2 {
  margin-top: 20px;
  font-size: clamp(18px, 2.2vw, 25px);
}

.legal-card p,
.legal-card li,
.legal-table dd {
  color: rgba(247, 248, 244, 0.74);
  font-size: 14px;
  line-height: 1.95;
}

.legal-terms-text {
  overflow-x: auto;
  white-space: pre-wrap;
  color: rgba(247, 248, 244, 0.78);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.legal-important {
  border-color: rgba(70, 217, 255, 0.34);
  background: rgba(70, 217, 255, 0.08);
}

.legal-important h1,
.legal-important h2,
.legal-important h3 {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(70, 217, 255, 0.18);
}

.legal-important p,
.legal-important li,
.legal-important dd {
  color: rgba(247, 248, 244, 0.9);
}

.legal-list {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
}

.legal-actions {
  margin-top: 22px;
}

.join-legal-section {
  padding-top: 0;
  padding-bottom: 0;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-card p {
  color: rgba(247, 248, 244, 0.72);
  font-size: 14px;
  line-height: 1.9;
}

.checkout-confirm-card .button[disabled] {
  opacity: 0.46;
  cursor: not-allowed;
}

.legal-consent-list {
  margin: 22px 0;
}

.join-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.reveal:nth-child(3) {
  transition-delay: 150ms;
}

@keyframes scanMove {
  0%,
  100% {
    transform: translateX(-28%);
    opacity: 0.18;
  }

  48% {
    transform: translateX(34%);
    opacity: 0.38;
  }
}

@keyframes orbitDrift {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.05);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(201, 255, 77, 0);
  }

  50% {
    box-shadow: 0 0 24px rgba(201, 255, 77, 0.22);
  }
}

@media (max-width: 1050px) {
  .signal-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 760px);
    margin-top: 12px;
  }

  .hero {
    align-content: end;
  }

  .hero-content {
    padding-bottom: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .auth-nav-mobile,
  .member-entry-mobile {
    display: inline-flex;
    margin-left: auto;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-orbit {
    opacity: 0.48;
  }

  .signal-panel,
  .metrics,
  .intro,
  .work-grid,
  .course-grid,
  .split,
  .flow-grid,
  .unit-grid,
  .feature-grid,
  .goal-grid,
  .member-page-grid,
  .promise-list,
  .warning-grid,
  .faq-grid,
  .company,
  .contact,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .status-table {
    overflow-x: visible;
  }

  .status-row {
    min-width: 0;
  }

  .signal-panel {
    max-width: 460px;
  }

  .signal-panel div {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-panel div:last-child {
    border-bottom: 0;
  }

  .work-card,
  .flow-grid article {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 46px;
  }

  .course-lead {
    min-height: auto;
  }

  .join-actions {
    justify-content: flex-start;
  }

  .contact {
    gap: 36px;
  }

  .admin-card-head {
    display: grid;
  }

  .featured-path ol {
    grid-template-columns: 1fr;
  }

  .featured-path li {
    min-height: auto;
  }

  .pass-card .course-lead {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 104px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 8, 11, 0.95) 0%, rgba(6, 8, 11, 0.66) 72%, rgba(6, 8, 11, 0.32)),
      linear-gradient(0deg, rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0.08) 60%);
  }

  .button {
    width: 100%;
  }

  .form-panel .button {
    width: 100%;
  }

  .course-top {
    display: block;
  }

  .course-top p {
    margin-bottom: 18px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }
}
