:root {
  color-scheme: dark;
  --black: #0D0D0F;
  --black-soft: #151519;
  --surface: #1B1B20;
  --surface-light: #24242B;
  --pink: #FF2D7A;
  --pink-soft: #FF5A9D;
  --cream: #F3EDE2;
  --muted: #C8C2B8;
  --gray: #7A7A85;
  --danger: #FF3B5C;
  --success: #70F0B8;
  --line: rgba(243, 237, 226, 0.15);
  --line-strong: rgba(255, 45, 122, 0.48);
  --shadow: rgba(0, 0, 0, 0.34);
  --max: 1160px;
  --header-height: 72px;
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(243, 237, 226, 0.035) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(90deg, rgba(243, 237, 226, 0.028) 0 1px, transparent 1px 52px),
    var(--black);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  isolation: isolate;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 45%, rgba(255, 45, 122, 0.18) 45% 46%, transparent 46% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(243, 237, 226, 0.22) 2px 3px, transparent 3px 9px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 1px, transparent 1px 5px);
}

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

figure {
  margin: 0;
}

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

a:hover {
  color: var(--pink-soft);
}

button,
input,
textarea {
  font: inherit;
}

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

::selection {
  background: var(--pink);
  color: var(--cream);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border: 1px solid var(--pink);
  background: var(--black);
  color: var(--cream);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 122, 0.8), transparent);
  opacity: 0.38;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.nav-wrap {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: "Bebas Neue", Anton, Impact, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 157, 0.52);
  border-radius: 6px;
  background: #050507 url("../images/logo.png") center / cover no-repeat;
  box-shadow: 0 0 28px rgba(255, 45, 122, 0.34);
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.menu-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: var(--surface);
  color: var(--cream);
  cursor: pointer;
  touch-action: manipulation;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-bars::before {
  transform: translateY(-6px);
}

.menu-bars::after {
  transform: translateY(4px);
}

.site-nav {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  display: none;
  max-height: calc(100dvh - var(--header-height) - 24px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 21, 25, 0.98);
  box-shadow: 0 22px 56px var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 8px;
}

.site-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: 4px;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 45, 122, 0.12);
  color: var(--cream);
}

.site-nav .nav-cta {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  background: var(--surface-light);
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--pink-soft);
  color: var(--cream);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.btn-primary {
  border-color: var(--pink);
  background:
    linear-gradient(135deg, var(--pink), var(--pink-soft));
  color: var(--black);
  box-shadow: 0 0 24px rgba(255, 45, 122, 0.42), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.btn-primary:hover {
  background: var(--pink-soft);
  color: var(--black);
}

.btn-ghost {
  background: rgba(13, 13, 15, 0.54);
}

.btn-small {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(92vh - var(--header-height));
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--black-soft);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.94) 0%, rgba(13, 13, 15, 0.76) 48%, rgba(13, 13, 15, 0.48) 100%),
    linear-gradient(0deg, rgba(13, 13, 15, 0.96) 0%, transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% 8% -20%;
  height: 80px;
  border-top: 1px solid rgba(255, 45, 122, 0.5);
  border-bottom: 1px solid rgba(255, 45, 122, 0.28);
  background: repeating-linear-gradient(90deg, rgba(255, 45, 122, 0.18) 0 24px, transparent 24px 48px);
  transform: rotate(-2deg);
}

.hero-home {
  background-image: url("../images/hero-vibecodeclub.jpg");
}

.hero-learn {
  background-image: url("../images/apprendre-vibe-coding.jpg");
}

.hero-discord {
  background-image: url("../images/discord-community.jpg");
}

.hero-tools {
  background-image: url("../images/outils-ia-code.jpg");
}

.hero-prompts {
  background-image: url("../images/prompts-code-ia.jpg");
}

.hero-workshops {
  background-image: url("../images/ateliers-vibe-coding.jpg");
}

.hero-projects {
  background-image: url("../images/projets-community.jpg");
}

.hero-resources,
.hero-blog,
.hero-legal {
  background-image: url("../images/manifesto-club.jpg");
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  padding-block: 74px 48px;
}

.hero-inner::before {
  content: "";
  position: absolute;
  right: clamp(-42px, 2vw, 28px);
  bottom: clamp(22px, 8vw, 76px);
  z-index: 0;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background: url("../images/logo.png") center / contain no-repeat;
  opacity: 0.2;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 6px 9px;
  background: rgba(255, 45, 122, 0.13);
  color: var(--pink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--success);
  box-shadow: 0 0 12px rgba(112, 240, 184, 0.7);
}

.hero-title,
h1,
h2,
h3 {
  margin: 0;
  color: var(--cream);
  font-family: "Bebas Neue", Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title {
  max-width: 950px;
  font-size: 4.6rem;
}

.page-title {
  max-width: 980px;
  font-size: 4rem;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.lead strong {
  color: var(--cream);
}

.highlight {
  display: inline;
  box-decoration-break: clone;
  padding-inline: 0.08em;
  background: linear-gradient(0deg, rgba(255, 45, 122, 0.82) 0 42%, transparent 42% 100%);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.metric {
  border: 1px solid var(--line);
  background: rgba(27, 27, 32, 0.82);
  padding: 14px;
}

.metric strong {
  display: block;
  color: var(--success);
  font-family: "Bebas Neue", Anton, Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding-block: 70px;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: rgba(21, 21, 25, 0.74);
}

.section-tight {
  padding-block: 44px;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  font-size: 2.65rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.fine {
  color: var(--gray);
  font-size: 0.92rem;
}

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

.grid-two,
.grid-three,
.grid-four {
  display: grid;
  gap: 18px;
}

.card,
.project-card,
.prompt-card,
.article-card,
.tool-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(36, 36, 43, 0.94), rgba(27, 27, 32, 0.94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card::before,
.project-card::before,
.prompt-card::before,
.article-card::before,
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), transparent 72%);
  opacity: 0.62;
  pointer-events: none;
}

.card,
.project-card,
.article-card,
.tool-card {
  padding: 20px;
}

.card:hover,
.project-card:hover,
.article-card:hover,
.tool-card:hover {
  border-color: rgba(255, 45, 122, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 22px rgba(255, 45, 122, 0.1);
  transform: translateY(-2px);
}

.card[href],
.article-card {
  text-decoration: none;
}

.card-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(255, 45, 122, 0.16);
  color: var(--pink-soft);
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag,
.channel,
.label-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 9px;
  background: rgba(13, 13, 15, 0.48);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
}

.channel {
  border-color: rgba(112, 240, 184, 0.34);
  color: var(--success);
  background: rgba(112, 240, 184, 0.08);
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.media-tile {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 45, 122, 0.24), transparent 48%),
    repeating-linear-gradient(90deg, rgba(243, 237, 226, 0.07) 0 1px, transparent 1px 18px),
    var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.media-tile::before {
  content: attr(data-label);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  max-width: calc(100% - 32px);
  border: 1px solid var(--line-strong);
  background: rgba(13, 13, 15, 0.82);
  color: var(--cream);
  padding: 8px 10px;
  font-family: "Bebas Neue", Anton, Impact, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}

.media-tile::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 45, 122, 0.5);
  background: repeating-linear-gradient(135deg, rgba(255, 45, 122, 0.18) 0 8px, transparent 8px 16px);
  transform: rotate(-4deg);
}

.media-tile img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.82;
  mix-blend-mode: screen;
}

.manifesto {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(115deg, rgba(255, 45, 122, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(36, 36, 43, 0.98), rgba(13, 13, 15, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 45, 122, 0.1), 0 22px 52px rgba(0, 0, 0, 0.24);
}

.manifesto::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(243, 237, 226, 0.28);
  pointer-events: none;
}

.rule-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.rule-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(243, 237, 226, 0.16);
  background: rgba(13, 13, 15, 0.56);
  padding: 12px;
  transform: rotate(-0.4deg);
}

.rule-grid li:nth-child(2n) {
  transform: rotate(0.4deg);
}

.rule-grid span {
  color: var(--pink-soft);
  font-weight: 900;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 56px;
  background:
    linear-gradient(90deg, rgba(255, 45, 122, 0.22), transparent 60%),
    var(--black-soft);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 45, 122, 0.9) 46% 47%, transparent 47% 100%),
    repeating-linear-gradient(90deg, rgba(243, 237, 226, 0.12) 0 1px, transparent 1px 22px);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 27, 32, 0.86);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  padding: 14px 16px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--pink-soft);
  font-size: 1.5rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 16px 16px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.comparison th,
.comparison td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--pink-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.comparison tr:last-child th,
.comparison tr:last-child td {
  border-bottom: 0;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: steps;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 27, 32, 0.86);
  padding: 18px;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--pink-soft);
  font-weight: 900;
}

.prompt-card {
  display: grid;
  gap: 14px;
  padding: 0;
  overflow: hidden;
}

.prompt-card header {
  display: grid;
  gap: 8px;
  padding: 18px 18px 0;
}

.prompt-card pre {
  min-height: 210px;
  max-height: 360px;
  margin: 0;
  overflow: auto;
  border-block: 1px solid var(--line);
  background: #09090b;
  padding: 18px;
  color: var(--cream);
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.prompt-card footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

.copy-button {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 45, 122, 0.14);
  color: var(--cream);
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

.copy-button.is-copied {
  border-color: var(--success);
  color: var(--success);
}

.project-card {
  display: grid;
  gap: 12px;
}

.project-card-wide {
  grid-column: 1 / -1;
}

.project-thumb {
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 45, 122, 0.28), transparent),
    repeating-linear-gradient(0deg, rgba(243, 237, 226, 0.08) 0 1px, transparent 1px 14px),
    var(--black-soft);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
}

.astro-stage {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(112, 240, 184, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(255, 45, 122, 0.2), transparent 48%),
    repeating-linear-gradient(90deg, rgba(243, 237, 226, 0.06) 0 1px, transparent 1px 22px),
    #09090b;
}

.astro-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(243, 237, 226, 0.22);
  background:
    radial-gradient(circle at 18% 28%, rgba(243, 237, 226, 0.92) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 24%, rgba(112, 240, 184, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 76%, rgba(255, 90, 157, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 72%, rgba(243, 237, 226, 0.72) 0 1px, transparent 2px);
  opacity: 0.72;
  pointer-events: none;
}

.astro-wheel {
  --zodiac-radius: 142px;
  position: relative;
  display: grid;
  width: min(340px, calc(100% - 36px));
  aspect-ratio: 1;
  place-items: center;
  transform-origin: center;
}

.astro-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.astro-ring-outer {
  inset: 0;
  border: 1px solid rgba(255, 90, 157, 0.74);
  box-shadow: 0 0 42px rgba(255, 45, 122, 0.24);
}

.astro-ring-inner {
  inset: 18%;
  border: 1px solid rgba(112, 240, 184, 0.48);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(243, 237, 226, 0.24) 50%, transparent calc(50% + 1px)),
    linear-gradient(0deg, transparent calc(50% - 1px), rgba(243, 237, 226, 0.18) 50%, transparent calc(50% + 1px));
}

.zodiac-sign {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(243, 237, 226, 0.26);
  border-radius: 50%;
  background: rgba(13, 13, 15, 0.84);
  color: var(--success);
  font-size: 1.34rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(112, 240, 184, 0.62);
  transform: rotate(var(--angle)) translate(var(--zodiac-radius)) rotate(calc(var(--angle) * -1));
  transform-origin: 0 0;
}

.astro-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(36, 36, 43, 0.95), rgba(13, 13, 15, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 45, 122, 0.12), 0 0 34px rgba(255, 45, 122, 0.22);
  text-align: center;
}

.astro-core span,
.astro-core strong {
  display: block;
  line-height: 1;
}

.astro-core span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.astro-core strong {
  color: var(--cream);
  font-family: "Bebas Neue", Anton, Impact, sans-serif;
  font-size: 3rem;
  font-weight: 400;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-card {
  display: grid;
  gap: 12px;
  text-decoration: none;
}

.article-card:hover h2,
.article-card:hover h3 {
  color: var(--pink-soft);
}

.blog-posts {
  display: grid;
  gap: 28px;
}

.blog-post {
  scroll-margin-top: calc(var(--header-height) + 20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(36, 36, 43, 0.94), rgba(27, 27, 32, 0.94));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  padding: 22px;
}

.blog-post-head {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-bottom: 22px;
}

.blog-post-body {
  display: grid;
  gap: 16px;
  max-width: 880px;
}

.blog-post-body h3 {
  margin-top: 8px;
  color: var(--pink-soft);
  font-size: 1.55rem;
}

.blog-post-body p,
.blog-post-body li {
  color: var(--muted);
}

.blog-post-body strong {
  color: var(--cream);
}

.article-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25rem;
}

.article-list li::marker {
  color: var(--pink-soft);
  font-weight: 900;
}

.resource-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 27, 32, 0.86);
  padding: 16px;
  text-decoration: none;
}

.resource-list strong {
  color: var(--cream);
}

.resource-list span {
  color: var(--muted);
}

.notice {
  border-left: 4px solid var(--pink);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 45, 122, 0.1);
  padding: 14px 16px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding-block: 38px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--pink-soft);
}

.footer-bottom {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 680px) {
  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    min-height: 38px;
    padding-inline: 9px;
    font-size: 0.88rem;
  }

  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 8px;
  }

  .hero-title {
    font-size: 7.4rem;
  }

  .page-title {
    font-size: 6rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .hero-inner {
    padding-block: 96px 54px;
  }

  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  }

  .split.reverse {
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  }

  .split.reverse > :first-child {
    order: 2;
  }

  .grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    font-size: 1.38rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: calc(82vh - var(--header-height));
  }

  .hero-title {
    font-size: 3rem;
  }

  .page-title {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero-inner {
    padding-block: 56px 34px;
  }

  .hero-inner::before {
    right: -64px;
    bottom: 24px;
    width: min(82vw, 360px);
    opacity: 0.14;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 14px;
  }

  .section {
    padding-block: 54px;
  }

  .site-nav {
    right: 12px;
    left: 12px;
    padding: 12px;
  }

  .media-tile,
  .media-tile img {
    min-height: 220px;
  }

  .astro-stage {
    min-height: 282px;
  }

  .astro-wheel {
    --zodiac-radius: 108px;
    width: min(256px, calc(100% - 22px));
  }

  .zodiac-sign {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .astro-core {
    width: 112px;
    height: 112px;
  }

  .astro-core strong {
    font-size: 2.35rem;
  }

  .prompt-card pre {
    min-height: 180px;
    font-size: 0.88rem;
  }

  .faq-question {
    min-height: 64px;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .project-card:hover,
  .article-card:hover,
  .tool-card:hover,
  .btn:hover {
    transform: none;
  }
}
