@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --bg-elevated: #080810;
  --bg-card: #0c0c16;
  --bg-card-hover: #10101c;
  --text: #fff;
  --text-muted: rgb(255 255 255 / 68%);
  --text-subtle: rgb(255 255 255 / 42%);
  --blue: #1a8cff;
  --blue-bright: #3db4ff;
  --blue-dim: rgb(26 140 255 / 15%);
  --gradient: linear-gradient(90deg, #1a8cff 0%, #5cc8ff 55%, #fff 100%);
  --border: rgb(255 255 255 / 8%);
  --border-bright: rgb(255 255 255 / 14%);
  --glow: 0 0 40px rgb(26 140 255 / 18%);
  --glow-strong: 0 0 60px rgb(26 140 255 / 28%);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1120px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p,
ul,
ol,
figure {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 5rem;
}

.section--tight {
  padding-block: 3.5rem;
}

.section.section--account {
  padding-block: 2rem 3rem;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  color: #000;
  background: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.gradient-text {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--blue-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section-lead {
  max-width: 52ch;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.grid-bg {
  position: relative;
}

.grid-bg::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 70%);
  content: "";
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 0;
  border-radius: 999px;
  font: 600 0.9375rem var(--font);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn--primary {
  color: #000;
  background: var(--gradient);
  box-shadow: var(--glow);
}

.btn--primary:hover {
  color: #000;
  box-shadow: var(--glow-strong);
}

.btn--secondary {
  border: 1px solid var(--border-bright);
  color: var(--text);
  background: transparent;
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgb(255 255 255 / 4%);
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.gradient-border {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(135deg, rgb(26 140 255 / 50%), rgb(255 255 255 / 12%), rgb(26 140 255 / 25%)) border-box;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--soon {
  border: 1px solid var(--border);
  color: var(--text-subtle);
  background: rgb(255 255 255 / 6%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgb(0 0 0 / 82%);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4.25rem;
}

.header__brand,
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__logo,
.footer__logo {
  border-radius: 6px;
}

.header__name {
  display: flex;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header__nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.header__nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.header__cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.footer {
  margin-top: 2rem;
  padding-block: 2.25rem 1.75rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: start;
}

.footer__name {
  font-size: 0.875rem;
  font-weight: 700;
}

.footer__tagline {
  margin-top: 0.15rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(6.5rem, max-content));
  gap: 3rem;
  justify-content: end;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__heading {
  margin-bottom: 0.15rem;
  color: var(--text-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.footer__bottom a {
  font-size: 0.75rem;
}

.hero {
  overflow: hidden;
  padding-block: 6.5rem 5.5rem;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.hero__inner--solo {
  grid-template-columns: minmax(0, 36rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero__badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue);
}

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

.hero__lead {
  max-width: 50ch;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.hero__actions,
.featured__actions,
.product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.text-link {
  font-size: 0.875rem;
}

.hero__meta,
.section-note {
  margin-top: 1.5rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.hero__preview {
  perspective: 900px;
}

.hero__preview .mock-wrap {
  transform: rotateY(-7deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero__preview:hover .mock-wrap {
  transform: none;
}

.hero__feature {
  margin: 0;
}

.hero__caption {
  margin-top: 1.25rem;
}

.hero__caption h2 {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}

.hero__caption p:last-child {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.mock-wrap {
  container-type: inline-size;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--glow), 0 24px 60px rgb(0 0 0 / 55%);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mock {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgb(26 140 255 / 14%), transparent 70%),
    linear-gradient(180deg, #0b0b15, #000);
  box-shadow: var(--glow), 0 24px 60px rgb(0 0 0 / 55%);
}

.mock__tick {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgb(255 255 255 / 22%);
}

.mock__tick--tl { top: 18px; left: 18px; border-width: 1px 0 0 1px; }
.mock__tick--tr { top: 18px; right: 18px; border-width: 1px 1px 0 0; }
.mock__tick--bl { bottom: 18px; left: 18px; border-width: 0 0 1px 1px; }
.mock__tick--br { right: 18px; bottom: 18px; border-width: 0 1px 1px 0; }

.mock__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 8%;
  text-align: center;
}

.mock__label {
  color: var(--blue-bright);
  font-size: clamp(0.5rem, 1.6cqw + 0.35rem, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.32em;
}

.mock__title {
  margin-top: 0.3em;
  font-size: clamp(1.2rem, 7cqw + 0.4rem, 3rem);
  font-weight: 700;
  line-height: 1.05;
}

.mock__line {
  width: 3.5em;
  height: 2px;
  margin-top: 0.9em;
  border-radius: 999px;
  background: var(--gradient);
}

.mock__subtitle {
  margin-top: 0.9em;
  color: var(--text-subtle);
  font-size: clamp(0.45rem, 1.4cqw + 0.3rem, 0.7rem);
  letter-spacing: 0.26em;
}

.mock__player {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-subtle);
  font-size: 0.5625rem;
}

.mock__track {
  flex: 1;
  height: 2px;
  background: rgb(255 255 255 / 12%);
}

.mock__track span {
  display: block;
  width: 52%;
  height: 100%;
  background: var(--gradient);
}

.pipeline-section {
  background: var(--bg-elevated);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  background: var(--border);
}

.pipeline li {
  padding: 1.75rem;
  background: var(--bg-elevated);
}

.pipeline span,
.use-cases article > span {
  color: var(--blue-bright);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pipeline h3,
.use-cases h3 {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.pipeline p,
.use-cases p {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.three-grid,
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.use-cases small {
  display: block;
  margin-top: 1.25rem;
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.tutorial-card {
  display: flex;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
}

.tutorial-card__thumb {
  position: relative;
  display: block;
  flex: 0 0 35%;
  max-width: 35%;
  border-right: 1px solid var(--border);
}

.tutorial-card__thumb img,
.tutorial-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.tutorial-card__placeholder {
  display: block;
  background: linear-gradient(135deg, #10101c 0%, #1a2a44 100%);
}

.tutorial-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  background: rgb(0 0 0 / 25%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tutorial-card:hover .tutorial-card__play {
  opacity: 1;
}

.tutorial-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
}

.tutorial-card h2 {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}

.tutorial-card h2 a {
  color: var(--text);
}

.tutorial-card h2 a:hover {
  color: var(--blue-bright);
}

.tutorial-card__description {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.tutorial-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
}

.pagination__status {
  color: var(--text-subtle);
  font-size: 0.875rem;
}

.pagination__disabled {
  opacity: 0.35;
  pointer-events: none;
}

.tutorial-embed {
  max-width: 860px;
}

.featured-section {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.featured,
.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured__content .badge {
  margin-top: 1rem;
}

.featured__content h2 {
  margin-top: 1rem;
  font-size: 2rem;
}

.featured__tagline {
  margin-top: 0.5rem;
  color: var(--blue-bright);
  font-weight: 500;
}

.featured__content > p:last-of-type {
  margin-top: 1rem;
  color: var(--text-muted);
}

.check-list,
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li,
.dot-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.check-list li::before { position: absolute; left: 0; color: var(--blue-bright); content: "✓"; }
.dot-list li::before { position: absolute; left: 0; color: var(--blue-bright); content: "·"; }

.yt-band {
  padding-block: 4.5rem;
  border-block: 1px solid var(--border);
  background: radial-gradient(ellipse 55% 90% at 85% 50%, rgb(26 140 255 / 8%), transparent 70%), var(--bg-elevated);
}

.yt-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.yt-band h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.yt-band p:last-child {
  max-width: 52ch;
  margin-top: 0.9rem;
  color: var(--text-muted);
}

.yt-band__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  color: var(--text);
}

.yt-band__cta > span:last-child {
  display: flex;
  flex-direction: column;
}

.yt-band__cta small {
  color: var(--text-subtle);
}

.yt-band__play {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #000;
  background: var(--gradient);
}

.cta__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.cta h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  max-width: 50ch;
  margin-top: 0.75rem;
  color: var(--text-muted);
}

.cta__action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta__action small {
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.page-hero {
  padding-block: 4rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.page-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.page-hero .container > p:last-child {
  max-width: 55ch;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.packs-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  margin-top: 0;
}

.pack-card {
  display: flex;
  flex-direction: column;
}

.pack-card__top,
.pack-card__footer,
.product-hero__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pack-card h2 {
  font-size: 1.1rem;
}

.pack-card h2 a {
  color: var(--text);
}

.pack-card__tagline {
  margin-top: 0.75rem;
  color: var(--blue-bright);
  font-size: 0.875rem;
}

.pack-card__description {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pack-card__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--text-subtle);
  font-size: 0.8125rem;
}

.product-hero {
  max-width: var(--max-width);
}

.product-hero__meta {
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.product-hero__tagline {
  color: var(--blue-bright) !important;
  font-weight: 500;
}

.product-hero__actions strong {
  font-size: 1.75rem;
}

.product-detail {
  align-items: start;
}

.product-detail__info section + section {
  margin-top: 2rem;
}

.product-detail__info h2 {
  font-size: 1rem;
}

.product-image {
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}

.prose {
  max-width: 68ch;
  color: var(--text-muted);
}

.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.375rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin-top: 0.85rem;
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--text-muted);
  background: rgb(255 255 255 / 6%);
}

.prose blockquote {
  margin-left: 0;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blue-dim);
}

.docs-content {
  max-width: 760px;
}

.legal-content {
  max-width: 68ch;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-hero img {
  border-radius: var(--radius);
  box-shadow: var(--glow);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-links a {
  display: flex;
  flex-direction: column;
  color: var(--text);
}

.about-links small {
  color: var(--text-subtle);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-links strong {
  margin-top: 0.35rem;
}

.about-links span {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.free-hero h1 {
  max-width: 16ch;
}

.free-hero .check-list {
  max-width: 52ch;
}

.free-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.free-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.free-card__thumb {
  display: block;
  border-bottom: 1px solid var(--border);
}

.free-card__thumb img,
.free-card__placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.free-card__placeholder {
  background: linear-gradient(135deg, #10101c 0%, #1a2a44 100%);
}

.free-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem;
}

.free-card h2 {
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}

.free-card h2 a {
  color: var(--text);
}

.free-card h2 a:hover {
  color: var(--blue-bright);
}

.free-card__description {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.free-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.free-note {
  text-align: center;
}

.free-note p {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--text-subtle);
  font-size: 0.8125rem;
}

.messages {
  padding-top: 1rem;
}

.message,
.form-errors,
.errorlist {
  padding: 0.75rem 1rem;
  border: 1px solid rgb(61 180 255 / 35%);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--blue-dim);
}

.form-errors,
.errorlist {
  color: #ffd4d4;
  border-color: rgb(255 100 100 / 35%);
  background: rgb(255 80 80 / 10%);
}

.errorlist {
  margin-top: 0.5rem;
  list-style: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.contact-form,
.contact-notes {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.free-campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.free-campaign-copy h2 {
  margin-bottom: 1.25rem;
}

.free-campaign-copy > p {
  max-width: 58ch;
  color: var(--text-muted);
}

.campaign-steps {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.campaign-steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.campaign-steps span {
  display: grid;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  place-items: center;
  color: var(--blue-bright);
  font-weight: 700;
}

.free-campaign-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.free-campaign-form .btn {
  align-self: flex-start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  color: var(--text);
  background: rgb(255 255 255 / 4%);
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-bright);
  outline: 2px solid rgb(61 180 255 / 20%);
  outline-offset: 1px;
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-notes h2 {
  margin-top: 0.65rem;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.contact-notes p:last-child {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.account-entrance {
  max-width: 620px;
}

.account-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-heading h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.account-card,
.account-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account-lead {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.account-form .btn {
  align-self: flex-start;
}

.form-field--checkbox label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: auto;
}

.form-help,
.account-footnote {
  color: var(--text-subtle);
  font-size: 0.8125rem;
}

.form-help ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}

.account-nav a {
  padding: 0.65rem 0.75rem;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.account-nav a:hover,
.account-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--blue-dim);
}

.account-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-status strong {
  display: block;
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}

.badge--verified {
  color: #a8f5cd;
  border: 1px solid rgb(72 208 142 / 30%);
  background: rgb(72 208 142 / 12%);
}

.library-empty h2 {
  font-size: 1.35rem;
}

.library-empty > p:not(.eyebrow) {
  color: var(--text-muted);
}

.library-empty .btn {
  align-self: flex-start;
}

.library-products,
.library-releases,
.library-artifacts {
  display: grid;
  gap: 1rem;
}

.library-product {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.library-product__heading,
.library-release__heading,
.library-artifact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.library-product__heading h2,
.library-release__heading h3 {
  margin: 0.15rem 0 0.35rem;
}

.library-product__heading p,
.library-product__pending {
  margin-bottom: 0;
  color: var(--text-muted);
}

.library-releases {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.library-release + .library-release {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.library-release__heading time,
.library-artifact span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.library-artifact {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgb(255 255 255 / 2%);
}

.library-artifact strong,
.library-artifact span {
  display: block;
}

@media (max-width: 640px) {
  .library-product__heading,
  .library-artifact {
    align-items: flex-start;
    flex-direction: column;
  }
}

.email-addresses {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.email-address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.email-address > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.account-rule {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.account-card h2 {
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .hero__inner,
  .featured,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .tutorial-card {
    flex-direction: column;
  }

  .tutorial-card__thumb {
    flex-basis: auto;
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .tutorial-card__thumb img,
  .tutorial-card__placeholder {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero__preview {
    max-width: 700px;
  }

  .hero__preview .mock-wrap {
    transform: none;
  }
}

@media (max-width: 768px) {
  .section { padding-block: 4rem; }
  .header__nav { display: none; }
  .header__cta { margin-left: auto; }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .footer__nav {
    justify-content: start;
    gap: 2rem;
  }

  .pipeline,
  .three-grid,
  .cta__card,
  .about-content { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .free-campaign-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .hero { padding-block: 4.5rem; }
  .hero__inner { gap: 3rem; }
  .yt-band__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .header__name { display: none; }
  .header__inner { gap: 1rem; }
  .btn { padding-inline: 1.1rem; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .text-link { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
