:root {
  --ink: #111111;
  --ink-soft: #4a3724;
  --paper: #fff8eb;
  --yellow: #f2b800;
  --yellow-soft: #f7d45c;
  --orange: #f2b800;
  --orange-deep: #d9a400;
  --line: rgba(26, 18, 8, 0.12);
  --shadow: 0 18px 40px rgba(242, 184, 0, 0.28);
  --radius: 999px;
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html,
body {
  margin: 0;
  height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  background: var(--paper);
}

/* Single-screen landing — no page scroll */
.page-lock {
  overflow: hidden;
  height: 100dvh;
}

.shell {
  height: 100dvh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(242, 184, 0, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 0%, rgba(247, 212, 92, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(242, 184, 0, 0.14), transparent 55%),
    linear-gradient(180deg, #fff8e0 0%, var(--paper) 42%, #ffefc2 100%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

.brand-mark img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.045em;
  color: #000;
  line-height: 1;
}

.brand .wordmark {
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.wordmark-sm {
  font-size: 1em;
  letter-spacing: -0.04em;
}

.slogan {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.top-nav a:not(.btn) {
  text-decoration: none;
  opacity: 0.8;
}

.top-nav a:not(.btn):hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

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

.btn-small {
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
  background: var(--ink);
  color: #fff;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--orange-deep);
  color: #fff;
}

.hero-lock {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 0;
  padding: 0.5rem 0;
}

.hero h1.wordmark {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: -0.05em;
}

.lede {
  margin: 0.85rem 0 0;
  max-width: 32rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
}

.duck-standalone {
  display: block;
  width: min(42vh, 300px);
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(242, 184, 0, 0.28));
}

.foot-lock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.foot-lock p {
  margin: 0;
}

.foot-links a {
  font-weight: 600;
  text-decoration: none;
}

.fineprint {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .hero-lock {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .duck-standalone {
    width: min(28vh, 180px);
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }
}

@media (max-height: 700px) {
  .duck-standalone {
    width: min(30vh, 200px);
  }

  .hero h1.wordmark {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
  }

  .lede {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
