:root {
  color-scheme: dark;
  --bg: #070a13;
  --panel: #141b2d;
  --panel-soft: rgba(20, 27, 45, 0.76);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #aab6ca;
  --cyan: #43e8f2;
  --pink: #ff4f9b;
  --yellow: #ffd84d;
  --violet: #8b5cf6;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 0, rgba(139, 92, 246, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

figure {
  margin: 0;
}

picture {
  display: block;
}

a {
  color: var(--cyan);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.1;
}

.info-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 19, 0.92);
  backdrop-filter: blur(14px);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  text-decoration: none;
}

.logo-image {
  width: 58px;
  height: 62px;
  object-fit: contain;
}

.logo-wordmark {
  padding: 0.35rem 0.7rem;
  border: 2px solid #241708;
  border-radius: 6px;
  background: linear-gradient(90deg, #c98500, #ffe96a 48%, #ffd400 75%, #f2b800);
  box-shadow: inset 0 -4px rgba(143, 80, 0, 0.28), 0 3px 10px rgba(0, 0, 0, 0.3);
  color: #b90f17;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.site-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.info-main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.info-main h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 6vw, 4.1rem);
  letter-spacing: -0.035em;
}

.info-main h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.info-main h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.info-main p,
.info-main li {
  color: var(--muted);
  font-size: 1rem;
}

.info-main p {
  margin: 0;
}

.info-main p + p {
  margin-top: 0.9rem;
}

.info-main ul,
.info-main ol {
  padding-left: 1.3rem;
}

.info-kicker {
  margin-bottom: 0.75rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.info-card h2 {
  margin-top: 0;
}

.info-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

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

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), #4f46e5);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  color: white;
}

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

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.blog-intro,
.collage-section-intro {
  max-width: 760px;
}

.blog-post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.blog-post-card h2 {
  margin: 0.65rem 0 0.7rem;
  font-size: 1.35rem;
}

.blog-post-card p {
  flex: 1;
}

.blog-post-card > a {
  align-self: flex-start;
  margin-top: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-meta {
  color: #8593aa;
  font-size: 0.82rem;
}

.blog-article {
  width: min(800px, calc(100% - 2rem));
}

.blog-article-header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.blog-article section {
  padding: 0.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.blog-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 216, 77, 0.07);
}

.collage-landing,
.use-case-page {
  width: min(1080px, calc(100% - 2rem));
}

.collage-hero,
.use-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: 3rem;
  padding: 1rem 0 3rem;
}

.collage-hero-copy > p,
.use-case-hero-copy > p {
  max-width: 680px;
  font-size: 1.08rem;
}

.collage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.collage-trust-note {
  margin-top: 1rem !important;
  font-size: 0.88rem !important;
}

.collage-example,
.use-case-example {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.46);
}

.collage-example img,
.use-case-example img {
  width: 100%;
  height: auto;
}

.story-example {
  width: min(100%, 345px);
  justify-self: center;
}

.collage-section,
.use-case-section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

.collage-section > h2,
.use-case-section > h2 {
  margin-top: 0;
}

.collage-feature-grid,
.collage-use-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.collage-feature-grid .info-card,
.collage-use-grid .info-card,
.related-grid .info-card {
  margin-top: 0;
}

.related-grid a {
  font-weight: 800;
  text-decoration: none;
}

.collage-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.collage-steps li {
  position: relative;
  padding: 3.5rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  counter-increment: step;
}

.collage-steps li::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
}

.collage-template-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
}

.collage-template-list li {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 79, 155, 0.45);
  border-radius: 999px;
  background: rgba(255, 79, 155, 0.08);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  list-style: none;
}

.collage-faq details {
  margin-top: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
}

.collage-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.collage-faq details p {
  margin-top: 0.65rem;
}

.collage-final-cta {
  padding: 2.25rem;
  border: 1px solid rgba(67, 232, 242, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(67, 232, 242, 0.08), rgba(255, 79, 155, 0.09));
  text-align: center;
}

.collage-final-cta h2 {
  margin-bottom: 0.65rem;
}

.collage-final-cta .collage-actions {
  justify-content: center;
}

@media (max-width: 760px) {
  .info-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.4rem 0.75rem 0.7rem;
  }

  .logo-section {
    width: 100%;
    justify-content: center;
  }

  .logo-image {
    width: 50px;
    height: 53px;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem 0;
    scrollbar-width: none;
  }

  .site-links::-webkit-scrollbar {
    display: none;
  }

  .info-main {
    width: min(100% - 1.5rem, 1080px);
    padding-top: 2.25rem;
  }

  .blog-post-list,
  .collage-hero,
  .use-case-hero,
  .collage-feature-grid,
  .collage-use-grid,
  .related-grid,
  .collage-steps {
    grid-template-columns: 1fr;
  }

  .collage-hero,
  .use-case-hero {
    gap: 2rem;
    padding-top: 0;
  }

  .collage-actions > a {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
