:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-alt: #0f0f0f;
  --bg-muted: #141414;
  --fg: #f6f6f6;
  --muted: #a0a0a0;
  --primary: #c8ff3a;
  --primary-ink: #0b0b0b;
  --border: #222222;
  --card: #0b0b0b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --font-sans: "Bricolage Grotesque", "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--primary-ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  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.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(60% 60% at 70% 0%, rgba(200, 255, 58, 0.18), transparent 60%),
    radial-gradient(40% 40% at 10% 20%, rgba(79, 163, 255, 0.18), transparent 65%);
  pointer-events: none;
  z-index: -3;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 22px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.logo-mark {
  color: var(--primary);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.button--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: transparent;
}

.button--primary:hover {
  background: #b9ff12;
}

.button--outline {
  border-color: var(--primary);
  color: var(--primary);
}

.button--ghost {
  border-color: var(--border);
  background: transparent;
}

.button--block {
  width: 100%;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.2) 70%);
}

.hero-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(200, 255, 58, 0.9);
}

.hero-title {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin: 0;
  display: grid;
  gap: 8px;
}

.pricing-card {
  border-left: 4px solid var(--primary);
  background: var(--card);
  padding: 26px;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.pricing-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 700;
}

.pricing-value {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.pricing-value span {
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-note {
  margin: 10px 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  animation: float 2.2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

.section-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  margin: 0 0 16px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-primary {
  color: var(--primary);
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card h3 {
  margin: 18px 0 12px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 255, 58, 0.1);
  color: var(--primary);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.card-index {
  font-family: var(--font-mono);
  color: var(--primary);
  margin-right: 6px;
}

.card-media {
  overflow: hidden;
}

.card-media .card-bg {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 160px;
  height: 160px;
  opacity: 0.12;
  object-fit: cover;
}

.card-media .card-content {
  position: relative;
  z-index: 1;
}

.manifesto {
  text-align: center;
  overflow: hidden;
}

.ghost-word {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

.manifesto-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.manifesto-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 22px 0 28px;
}

.manifesto-copy {
  text-align: left;
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.manifesto-copy .emphasis {
  color: var(--fg);
  font-weight: 700;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(200, 255, 58, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.process-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-index {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  margin: 0 0 6px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  margin: 0 0 16px;
}

.contact-intro p {
  color: var(--muted);
  margin: 0 0 26px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.direct-contact {
  border: 1px solid var(--border);
  padding: 16px 20px;
  background: var(--bg-muted);
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

.direct-contact p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.direct-contact a {
  font-size: 1.05rem;
  color: var(--primary);
}

.form-panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-panel h3 {
  margin: 0 0 22px;
}

.form-corner {
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: rgba(200, 255, 58, 0.35);
}

.form-corner--top {
  top: 0;
  right: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.form-corner--bottom {
  bottom: 0;
  left: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

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

.field {
  display: grid;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border);
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(200, 255, 58, 0.2);
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: rgba(0, 0, 0, 0.8);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.button--primary.is-loading .button-spinner {
  opacity: 1;
  transform: scale(1);
}

.button--primary.is-loading {
  cursor: wait;
}

.form-success {
  display: grid;
  gap: 16px;
  text-align: center;
  padding: 20px 0 10px;
}

.form-success h4 {
  margin: 0;
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(200, 255, 58, 0.2);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.is-hidden {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: #060606;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-meta {
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 20px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 140px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 90px 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .manifesto-copy {
    text-align: left;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
