:root {
  color-scheme: dark;
  --bg: #090508;
  --surface: #12080e;
  --text: #fff7f1;
  --muted: #c7aa9f;
  --dim: #90726b;
  --line: rgba(246, 226, 211, 0.14);
  --line-strong: rgba(231, 185, 152, 0.28);
  --rose: #c74162;
  --rose-bright: #e65c78;
  --gold: #e7b998;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(199, 65, 98, 0.15), transparent 36rem),
    linear-gradient(180deg, #160910 0%, #090508 52%, #11070d 100%);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 12px 12px,
    transparent;
}

body.is-gated {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  margin: 0;
}

.site-shell {
  width: min(100%, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 30px) 32px;
}

.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  margin: 0 -2px 18px;
  padding: 10px 2px;
  background: rgba(9, 5, 8, 0.88);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  min-width: 0;
}

.brand-link img {
  display: block;
  width: clamp(168px, 22vw, 260px);
  height: auto;
}

main {
  display: grid;
  gap: 18px;
}

/* Hero / welcome */

.dashboard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46vh;
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(199, 65, 98, 0.22), transparent 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.dashboard::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(231, 185, 152, 0.16), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard h1 {
  position: relative;
  max-width: 16ch;
  background: linear-gradient(135deg, var(--text) 30%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

/* Buttons */

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--rose-bright), #9d2d4f);
  color: #fff;
  box-shadow: 0 18px 40px rgba(134, 24, 58, 0.35);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

/* Tools */

.tools-section {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--surface);
  box-shadow: var(--shadow);
}

.tools-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.tool-list {
  display: grid;
  gap: 10px;
}

.tool-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
}

.tool-row:not(.muted):hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.tool-row.muted {
  color: var(--dim);
}

.tool-copy {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.tool-copy strong {
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.1;
}

.tool-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(199, 65, 98, 0.26);
  color: #ffe8ed;
  font-weight: 900;
}

/* Age gate */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 4, 7, 0.88);
  backdrop-filter: blur(18px);
}

.age-gate[hidden] {
  display: none;
}

.age-panel {
  width: min(100%, 470px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    #15080f;
  box-shadow: var(--shadow);
}

.age-panel img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin-bottom: 22px;
}

.age-panel h2 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 0.98;
}

.age-panel p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .site-shell {
    padding: 10px 10px 22px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    margin-bottom: 10px;
  }

  .brand-link {
    justify-content: center;
  }

  .brand-link img {
    width: min(76vw, 240px);
  }

  main {
    gap: 10px;
  }

  .dashboard {
    min-height: 36vh;
    padding: 40px 18px;
  }

  .dashboard h1 {
    max-width: 10ch;
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .tools-section {
    padding: 18px;
  }

  .age-actions {
    margin-top: 20px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .age-panel {
    padding: 20px;
  }
}