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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-400: #9e9e9e;
  --gray-600: #525252;
  --gray-800: #1a1a1a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.nav-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 28px;
}

.nav-logo-grid img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.nav-logo-o {
  position: relative;
}

.nav-logo-o img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  filter: brightness(0) invert(1);
}

.nav-logo-o img:first-child {
  position: relative;
}

.nav-logo-o img:last-child {
  filter: brightness(0);
}

.nav-wordmark {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-400);
}

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

.nav-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color 0.2s;
}

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

.nav-cta {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ── Hero ── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 48px 120px;
  position: relative;
}

.hero-tagline {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 40px;
  max-width: 900px;
}

.hero h1 span {
  color: var(--gray-600);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 40px;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-600);
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--white);
}

.hero-logo {
  position: absolute;
  right: 48px;
  bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 200px;
  opacity: 0.06;
}

.hero-logo img {
  width: 100%;
  filter: invert(1);
}

.hero-logo .logo-o {
  position: relative;
}

.hero-logo .logo-o img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.hero-logo .logo-o img:first-child {
  position: relative;
}

/* ── Section base ── */

section {
  padding: 120px 48px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 700px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Platform (white section) ── */

.platform {
  background: var(--white);
  color: var(--black);
}

.platform .section-eyebrow {
  color: var(--gray-600);
}

.platform .section-desc {
  color: var(--gray-600);
  margin-bottom: 64px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  margin-top: 64px;
}

.platform-card {
  background: var(--white);
  padding: 48px 32px;
}

.platform-card-number {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.platform-card h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.platform-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.platform-card-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-top: 20px;
  font-style: italic;
}

/* ── Philosophy ── */

.philosophy {
  background: var(--black);
  color: var(--white);
}

.philosophy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.philosophy-left .kanji {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.15;
}

.philosophy-left h3 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 16px;
}

.philosophy-left p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.7;
}

.philosophy-right {
  padding-top: 40px;
}

.philosophy-pillar {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.philosophy-pillar:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.philosophy-pillar h4 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.philosophy-pillar p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ── Awareness / Undo It ── */

.awareness {
  background: var(--gray-800);
  text-align: center;
  padding: 100px 48px;
}

.awareness-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.awareness-line {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 400;
  color: var(--gray-400);
}

.awareness-line strong {
  color: var(--white);
  font-weight: 900;
}

.awareness-feature-msg {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 40px;
  margin-top: 32px;
}

/* ── Final CTA ── */

.final-cta {
  background: var(--white);
  color: var(--black);
  text-align: center;
  padding: 120px 48px;
}

.final-cta .section-title {
  margin: 0 auto 16px;
  text-align: center;
}

.final-cta .section-desc {
  margin: 0 auto 48px;
  text-align: center;
  color: var(--gray-600);
}

.final-cta .btn-primary {
  background: var(--black);
  color: var(--white);
}

.final-cta .btn-primary:hover {
  opacity: 0.85;
}

/* ── Footer ── */

.footer {
  background: var(--black);
  padding: 64px 48px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.footer-columns {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 1px;
}

/* ── Mobile hamburger ── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 14px;
    color: var(--white);
  }

  .nav-hamburger {
    display: flex;
    z-index: 101;
  }

  .hero {
    padding: 140px 24px 80px;
  }

  .hero-logo {
    display: none;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  section {
    padding: 80px 24px;
  }

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

  .philosophy-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 48px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .awareness {
    padding: 80px 24px;
  }

  .final-cta {
    padding: 80px 24px;
  }

  .footer {
    padding: 48px 24px 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    letter-spacing: -1px;
  }

  .section-title {
    letter-spacing: -0.5px;
  }
}
