:root {
  color-scheme: dark;
  --bg: #120406;
  --bg-card: #1d080c;
  --red: #c8102e;
  --red-bright: #ef233c;
  --gold: #d9a441;
  --gold-soft: #e9c77f;
  --ink: #f5e9e6;
  --muted: #a88b8a;
  --line: rgb(201 115 110 / 18%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 48% at 50% -8%, rgb(200 16 46 / 42%), transparent 70%),
    radial-gradient(ellipse 42% 34% at 85% 110%, rgb(200 16 46 / 22%), transparent 70%),
    radial-gradient(ellipse 30% 26% at 8% 90%, rgb(217 164 65 / 10%), transparent 70%);
}

a {
  color: inherit;
}

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

/* ---- crown icon ---- */

.crown {
  width: 34px;
  fill: var(--gold);
  filter: drop-shadow(0 2px 10px rgb(217 164 65 / 35%));
}

/* ---- header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(5vw, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand .crown {
  width: 30px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-name em {
  padding-left: 2px;
  color: var(--gold-soft);
  font-style: normal;
  letter-spacing: 0.06em;
}

.header-note {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* ---- hero ---- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 92px 24px 96px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.eyebrow .rule {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow .rule:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.crown-hero {
  width: clamp(66px, 9vw, 92px);
  margin-bottom: 30px;
  animation: rise 900ms ease-out both;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.accent {
  background: linear-gradient(100deg, var(--red-bright) 10%, var(--gold) 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 2.2;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 26px;
  padding: 0 34px;
  border: 1px solid rgb(239 35 60 / 55%);
  border-radius: 99px;
  background: linear-gradient(120deg, rgb(200 16 46 / 28%), rgb(200 16 46 / 8%));
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-decoration: none;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--red);
  box-shadow: 0 10px 34px rgb(200 16 46 / 45%);
}

/* ---- features ---- */

.features {
  display: grid;
  max-width: 1100px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.feature-card {
  position: relative;
  padding: 30px 26px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-card), rgb(18 4 6 / 60%));
  transition: border-color 200ms ease, transform 200ms ease;
}

.feature-card:hover {
  border-color: rgb(217 164 65 / 45%);
  transform: translateY(-3px);
}

.feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), transparent);
  content: "";
}

.feature-number {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.feature-card h2 {
  margin: 18px 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 2;
}

/* ---- footer ---- */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 24px 48px;
  border-top: 1px solid var(--line);
}

.crown-footer {
  width: 26px;
  opacity: 0.85;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
}

/* ---- motion ---- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- responsive ---- */

@media (max-width: 760px) {
  .header-note {
    display: none;
  }

  .hero {
    padding: 64px 22px 64px;
  }

  h1 {
    letter-spacing: 0.06em;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
