:root {
  --ink: #0c0a08;
  --smoke: #1a1510;
  --paper: #e8dcc8;
  --muted: #b7a68d;
  --vermilion: #c43c22;
  --vermilion-deep: #8f2414;
  --gold: #c9a227;
  --line: rgba(232, 220, 200, 0.14);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Noto Sans", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
}

body {
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(196, 60, 34, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(201, 162, 39, 0.08), transparent 50%),
    linear-gradient(180deg, #120e0b 0%, var(--ink) 45%, #080705 100%);
  pointer-events: none;
  z-index: -1;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

main {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3.5rem 0 4rem;
  animation: rise 0.9s ease-out both;
}

.emblem {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: float 5s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(180deg, var(--vermilion), var(--vermilion-deep));
  color: #fff7ef;
  box-shadow: 0 10px 30px rgba(196, 60, 34, 0.35);
}

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

.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.features {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid var(--line);
  animation: rise 1s ease-out 0.12s both;
}

.features h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
}

.features-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.feature-list li {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-list strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--paper);
}

.feature-list span {
  color: var(--muted);
  line-height: 1.55;
  max-width: 40rem;
}

.panel {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  animation: rise 1s ease-out 0.15s both;
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
}

.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 40rem;
}

.panel a {
  color: var(--gold);
}

.panel.quiet {
  opacity: 0.92;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--muted);
}

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

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  h1 {
    max-width: none;
  }
}
