:root {
  --ink: #07090d;
  --panel: #10151c;
  --raised: #161d26;
  --line: #2a3644;
  --orange: #ff8a1a;
  --cyan: #3de8ff;
  --paper: #f4f7f8;
  --mute: #8d97a3;
  --max: 56rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(ellipse 42% 36% at 32% 16%, rgba(255, 122, 26, 0.18), transparent 62%),
    radial-gradient(ellipse 38% 32% at 70% 18%, rgba(61, 232, 255, 0.12), transparent 60%),
    var(--ink);
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--cyan); text-decoration: underline; }

.page,
.wrap {
  display: block;
  width: min(var(--max), calc(100% - 2.5rem));
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

main {
  display: block;
  width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0 0.75rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  text-decoration: none;
}

.brand:hover { text-decoration: none; color: var(--paper); }

.brand img,
.logo {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 22%;
  display: block;
}

.wordmark {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a { color: var(--mute); }
.nav a:hover { color: var(--paper); text-decoration: none; }

.hero {
  padding: 2.4rem 0 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-stage {
  margin: 0 0 1.6rem;
  filter:
    drop-shadow(0 0 28px rgba(255, 122, 26, 0.38))
    drop-shadow(0 0 46px rgba(61, 232, 255, 0.16));
}

.logo-stage img {
  width: min(17.5rem, 62vw);
  height: auto;
  border-radius: 22%;
  display: block;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--orange), #ffd27a 46%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  max-width: 18ch;
}

.lede {
  color: var(--mute);
  font-size: 1.12rem;
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: linear-gradient(90deg, #ff7a14, #ffb347 70%, #ffe08a);
  color: #1a1006;
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.32);
}

.btn-primary:hover { color: #1a1006; }

.btn-ghost {
  border-color: color-mix(in srgb, var(--cyan) 35%, var(--line));
  color: var(--paper);
}

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

.rule,
.features,
.refuse {
  width: 100%;
  box-sizing: border-box;
}

.rule {
  margin: 0 0 2.4rem;
  padding: 1.2rem 1.35rem;
  border-radius: 1rem;
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255, 138, 26, 0.06);
  text-align: center;
}

.rule p { margin: 0 auto; max-width: 42rem; }
.rule strong { color: var(--orange); }

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 2.6rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
}

.card h2,
.doc h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

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

.refuse {
  padding-bottom: 3.2rem;
  text-align: center;
}

.refuse h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  margin: 0;
}

.refuse ul {
  display: inline-block;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--mute);
  text-align: left;
}

.refuse li + li { margin-top: 0.35rem; }

.refuse li::before {
  content: "— ";
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.2rem;
  color: var(--mute);
  font-size: 0.92rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.2rem;
  margin-bottom: 0.7rem;
}

.doc {
  padding: 1.6rem 0 3.2rem;
}

.doc .meta {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

.doc h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.4rem;
}

.doc h2 { margin-top: 1.8rem; }

.doc p, .doc li { color: var(--mute); }
.doc strong { color: var(--paper); font-weight: 600; }
.doc ul { padding-left: 1.2rem; }

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .nav { display: none; }
}
