/* ============================================
   Custom properties
   ============================================ */
:root {
  --bg: #0A0A0B;
  --bg-panel: #111114;
  --text: #F4F4F5;
  --text-muted: #71717A;
  --hairline: rgba(255, 255, 255, 0.08);
  --crimson: #B91C1C;
  --crimson-hover: #DC2626;

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================
   Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
p {
  margin: 0;
}

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

/* ============================================
   Base
   ============================================ */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ============================================
   Header
   ============================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
}

.logo-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--crimson);
  border-radius: 50%;
}

.brand-name {
  font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.nav-contact {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* ============================================
   Hero (main)
   ============================================ */
main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.35) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.meta-top,
.meta-bottom span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-top {
  margin-bottom: 48px;
}

h1 {
  font-family: Impact, 'Haettenschweiler', 'Franklin Gothic Bold', 'Arial Narrow Bold', sans-serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(56px, 9vw, 112px);
  letter-spacing: 0;
  margin-bottom: 16px;
  line-height: 1.0;
}

.tagline {
  font-weight: 200;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.body {
  max-width: 480px;
  margin-bottom: 48px;
  color: var(--text-muted);
}

.ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 100px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--crimson-hover);
}

.btn-ghost {
  border-color: var(--hairline);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.meta-bottom {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 24px 24px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer p {
  margin-bottom: 4px;
}

footer .legal-name {
  color: var(--text);
  margin-bottom: 8px;
}

footer .copyright {
  margin-top: 24px;
  font-size: 12px;
}

footer a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* ============================================
   Focus
   ============================================ */
a:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
  header {
    padding: 20px;
  }

  main {
    padding: 48px 24px;
  }

  .meta-top {
    margin-bottom: 32px;
  }

  .meta-bottom {
    flex-direction: column;
    gap: 12px;
  }

  .ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  footer {
    padding: 32px 20px 20px;
  }
}

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

  .nav-contact,
  .btn,
  footer a {
    transition: none;
  }
}
