/* Swan Castle Future — one-page site.
   Palette and radius follow the existing swancastlecrypto.com brand:
   charcoal canvas, cream type, gold accent. Inter for all type. */

:root {
  --bg: #15171d;
  --bg-2: #1b1e26;
  --bg-card: #1e222b;
  --bg-card-hover: #242833;
  --ink: #f4f1ea;
  --ink-2: #c4bdb2;
  --ink-3: #8e877c;
  --gold: #e8b84a;
  --gold-2: #f0c96a;
  --gold-soft: rgba(232, 184, 74, 0.22);
  --yt: #e11d2e;
  --yt-hover: #c31322;
  --line: rgba(244, 241, 234, 0.1);
  --line-strong: rgba(244, 241, 234, 0.18);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(900px 420px at 88% -8%, rgba(232, 184, 74, 0.1), transparent 55%),
    radial-gradient(700px 380px at 0% 12%, rgba(244, 241, 234, 0.04), transparent 50%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: #15171d;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(21, 23, 29, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  border-radius: 8px;
  background: #0c0d11;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  color: var(--ink) !important;
}

.nav-cta:hover {
  border-color: var(--ink);
}

/* Hero */

.hero {
  padding: 3.4rem 0 2.4rem;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 450;
}

.intro {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--ink-3);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gold);
  color: #15171d;
}

.btn-primary:hover {
  background: var(--gold-2);
  color: #15171d;
}

.btn-yt {
  background: var(--yt);
  color: #fff;
}

.btn-yt:hover {
  background: var(--yt-hover);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg-2);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 2.2rem 0 0;
  padding: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stats p {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.05rem;
  box-shadow: var(--shadow-sm);
}

.stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.stats span {
  display: block;
  margin-top: 0.2rem;
}

.stats small {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink-3);
  font-size: 0.75rem;
}

/* Newsletter (primary) */

.newsletter {
  padding: 0.4rem 0 2.6rem;
}

.list-panel {
  background:
    linear-gradient(135deg, rgba(232, 184, 74, 0.12) 0%, var(--bg-card) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.list-panel-copy {
  flex: 1 1 16rem;
  max-width: 28rem;
}

.list-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.list-panel p {
  margin: 0.4rem 0 0;
  color: var(--ink-2);
}

.list-form {
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
}

.list-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.list-form input[type="email"] {
  flex: 1 1 9rem;
  min-width: 0;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.list-form input::placeholder {
  color: var(--ink-3);
}

.list-form input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}

.list-form .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.list-privacy {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.list-status {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(232, 184, 74, 0.12);
  border: 1px solid var(--gold-soft);
  color: var(--ink);
}

.list-status[hidden] {
  display: none;
}

/* Watch + contact */

.follow,
.contact {
  padding: 0 0 2.2rem;
}

.follow-panel,
.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.follow-panel h2,
.contact-panel h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.follow-panel p,
.contact-panel p {
  margin: 0.25rem 0 0;
  color: var(--ink-2);
}

.follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.email-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.email-cta a {
  color: var(--ink);
  font-weight: 650;
  word-break: break-all;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
}

.email-cta a:hover {
  color: var(--gold-2);
}

/* Footer */

.site-footer {
  margin-top: 0.4rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.site-footer small {
  display: block;
  color: var(--ink-3);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 404 */

.not-found {
  padding: 5rem 0 6rem;
  text-align: left;
}

.not-found h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.not-found p {
  margin: 0 0 1.4rem;
  color: var(--ink-2);
}

@media (max-width: 520px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 2.4rem;
  }
}
