:root {
  color-scheme: dark;
  --black: #020203;
  --ink: #08090d;
  --panel: rgba(11, 12, 18, 0.82);
  --gold: #ffd66b;
  --gold-hot: #ffab19;
  --cyan: #04d9ff;
  --violet: #a92cff;
  --pink: #ff3ea5;
  --green: #32db8b;
  --text: #fff9e8;
  --muted: #c9ccd8;
  --line: rgba(255, 214, 107, 0.24);
  --shadow-gold: 0 0 32px rgba(255, 190, 43, 0.28);
  --shadow-rainbow: 0 0 50px rgba(4, 217, 255, 0.18), 0 0 72px rgba(255, 62, 165, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 214, 107, 0.18), transparent 31rem),
    radial-gradient(circle at 80% 18%, rgba(169, 44, 255, 0.19), transparent 34rem),
    radial-gradient(circle at 54% 46%, rgba(4, 217, 255, 0.11), transparent 28rem),
    linear-gradient(180deg, #000 0%, #07080c 42%, #030304 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 214, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 217, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 68%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 214, 107, 0.12) 42.2% 42.45%, transparent 42.6%),
    linear-gradient(68deg, transparent 0 62%, rgba(4, 217, 255, 0.1) 62.2% 62.45%, transparent 62.6%),
    radial-gradient(circle at 50% 100%, rgba(255, 171, 25, 0.19), transparent 20rem);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: var(--shadow-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(3, 4, 8, 0.58);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--black);
  background: linear-gradient(90deg, var(--gold), #fff0a9);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 48px;
  min-height: calc(88svh - 84px);
  padding: 48px 0 70px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -42px;
  left: -26px;
  width: 120px;
  height: 120px;
  content: "";
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  filter: drop-shadow(0 0 14px rgba(255, 214, 107, 0.8));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(4.1rem, 12vw, 9.8rem);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  background: linear-gradient(92deg, var(--gold) 0%, #fff1a1 18%, var(--cyan) 38%, var(--violet) 58%, var(--pink) 72%, var(--green) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(255, 190, 43, 0.28));
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #f1f2fb;
  font-size: clamp(1.13rem, 2vw, 1.45rem);
  line-height: 1.54;
}

.hero-actions,
.final-cta .cta-card {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #030304;
  background: linear-gradient(110deg, var(--gold) 0%, #fff1a1 35%, var(--gold-hot) 100%);
  box-shadow: 0 0 24px rgba(255, 184, 36, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.button-secondary {
  border: 1px solid rgba(255, 214, 107, 0.52);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: rgba(4, 217, 255, 0.8);
  box-shadow: var(--shadow-rainbow);
}

.signal-list {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.signal-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
}

.signal-list li::before {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  content: "";
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 214, 107, 0.72);
}

.hero-mark {
  position: relative;
  isolation: isolate;
}

.hero-mark::before {
  position: absolute;
  inset: 9% -8% 8%;
  z-index: -1;
  content: "";
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 214, 107, 0.3), transparent 28%),
    radial-gradient(circle at 75% 50%, rgba(169, 44, 255, 0.34), transparent 34%),
    radial-gradient(circle at 20% 42%, rgba(4, 217, 255, 0.22), transparent 31%);
  filter: blur(18px);
}

.hero-mark img {
  width: min(440px, 100%);
  margin-inline: auto;
  border-radius: 28px;
  box-shadow: 0 0 70px rgba(255, 214, 107, 0.19), 0 0 120px rgba(169, 44, 255, 0.13);
}

.companion-band {
  border-block: 1px solid rgba(255, 214, 107, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 214, 107, 0.1), transparent 32%, rgba(4, 217, 255, 0.1)),
    rgba(255, 255, 255, 0.025);
}

.companion-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.1fr 0.62fr;
  align-items: center;
  gap: 34px;
  padding: 44px 0;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.companion-grid h2,
.section-heading h2,
.lab-copy h2,
.final-cta h2,
.content-header h1 {
  color: #fff7df;
}

.companion-grid p,
.section-heading p,
.lab-copy p,
.final-cta p,
.tool-card p,
.content-header p,
.gh-content,
.post-list p {
  color: var(--muted);
  line-height: 1.68;
}

.mini-proof {
  display: grid;
  gap: 10px;
}

.mini-proof span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ffe8a7;
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.toolkit {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 0.82fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  position: relative;
  min-height: 260px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 214, 107, 0.1), transparent 38%),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

.tool-card::after {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(4, 217, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(169, 44, 255, 0.16);
}

.tool-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px solid rgba(255, 214, 107, 0.58);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: inset 0 0 18px rgba(255, 214, 107, 0.13), var(--shadow-gold);
}

.tool-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.prompt-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: 46px;
  align-items: center;
  padding: 80px 0;
}

.text-link {
  color: var(--gold);
  font-weight: 850;
  text-decoration-color: rgba(255, 214, 107, 0.42);
  text-underline-offset: 6px;
}

.prompt-console {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(4, 217, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 217, 255, 0.13), transparent 44%),
    linear-gradient(315deg, rgba(255, 62, 165, 0.13), transparent 42%),
    #070a10;
  box-shadow: var(--shadow-rainbow);
}

.prompt-console::before {
  position: absolute;
  inset: auto 34px -1px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--gold));
  box-shadow: 0 0 24px rgba(4, 217, 255, 0.8);
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.console-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(255, 214, 107, 0.75);
}

.console-top span:nth-child(2) {
  background: var(--cyan);
}

.console-top span:nth-child(3) {
  background: var(--pink);
}

.console-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.prompt-console p:last-child {
  margin-bottom: 0;
  color: #f6f7ff;
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  line-height: 1.52;
}

.visual-break {
  width: min(1280px, calc(100% - 40px));
  margin: 10px auto 96px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 107, 0.2);
  border-radius: 8px;
  background: var(--black);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46);
}

.visual-break img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  opacity: 0.76;
  mix-blend-mode: screen;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 360px;
  gap: 44px;
  align-items: center;
  padding: 0 0 72px;
}

.cta-card {
  padding: 24px;
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 214, 107, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-gold);
}

.cta-card img {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.cta-card .button {
  width: 100%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  gap: 42px;
  align-items: start;
  padding: 72px 0 84px;
  border-top: 1px solid rgba(255, 214, 107, 0.18);
}

.contact-copy h2 {
  color: #fff7df;
}

.contact-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.68;
}

.vocal-card {
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(4, 217, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 217, 255, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(255, 214, 107, 0.12), transparent 38%),
    rgba(8, 10, 16, 0.86);
  box-shadow: var(--shadow-rainbow);
}

.vocal-card vocal-form {
  display: block;
  min-height: 260px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 214, 107, 0.18);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 22px;
}

.footer-links a {
  color: var(--muted);
  text-decoration-color: rgba(255, 214, 107, 0.34);
  text-underline-offset: 5px;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--gold);
}

.content-page {
  padding: 64px 0 96px;
}

.content-brand {
  margin-bottom: 48px;
}

.content-header {
  max-width: 820px;
  margin-bottom: 40px;
}

.content-header h1,
.error-page h1 {
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.9;
}

.gh-content {
  max-width: 760px;
  font-size: 1.08rem;
}

.gh-content img {
  height: auto;
}

.kg-width-wide {
  max-width: 1100px;
}

.kg-width-full {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.post-list {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.post-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.post-list a {
  text-decoration: none;
}

.archive-fallback {
  min-height: 100svh;
  padding: 100px 0;
}

@media (max-width: 940px) {
  .site-header {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .companion-grid,
  .section-heading,
  .prompt-lab,
  .final-cta,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 24px 0 54px;
  }

  .hero-mark {
    order: -1;
  }

  .hero-mark img {
    width: min(240px, 66vw);
  }

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

  .final-cta {
    padding-bottom: 56px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-header,
  .visual-break {
    width: min(100% - 28px, var(--max));
  }

  .brand span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.55rem, 18vw, 5.8rem);
  }

  .hero-actions,
  .final-cta .cta-card {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 220px;
  }

  .visual-break {
    margin-bottom: 64px;
  }

  .visual-break img {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark img {
    animation: pulse-glow 5.5s ease-in-out infinite;
  }

  @keyframes pulse-glow {
    0%,
    100% {
      transform: translateY(0);
      filter: saturate(1);
    }
    50% {
      transform: translateY(-7px);
      filter: saturate(1.12);
    }
  }
}
