:root {
  --orange-500: #ff8a1f;
  --orange-600: #f97316;
  --orange-100: #fff3e5;
  --text-900: #1c1f2a;
  --text-700: #4a5162;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --border: #e7ecf4;
  --shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text-900);
  background: var(--surface);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section-pad { padding: 4rem 0; }

.section-soft { background: var(--surface-soft); }

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  background: #111827;
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus-visible { top: 1rem; }

.article-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-900);
  font-weight: 800;
}

.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
}

.logo__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-nav {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.article-nav a {
  text-decoration: none;
  color: var(--text-700);
  font-weight: 700;
  border: 1px solid #ffd7b1;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.article-nav a[aria-current='page'] {
  color: var(--orange-600);
  background: #fff3e5;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--orange-600);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.article-hero__grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.hero-mascot {
  width: min(270px, 75%);
  justify-self: center;
  filter: drop-shadow(0 18px 22px rgba(249, 115, 22, 0.24));
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.article-content {
  padding: 1.4rem;
}

.article-meta {
  margin: 0 0 0.75rem;
  color: var(--text-700);
  font-size: 0.9rem;
}

.article-content blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--orange-500);
  background: #fff6ed;
  border-radius: 10px;
}

.section-head { margin-bottom: 1rem; }

.section-copy {
  margin: 0;
  color: var(--text-700);
}

.speaker-grid {
  display: grid;
  gap: 0.9rem;
}

.speaker-card {
  padding: 1rem;
}

.speaker-card img {
  width: 100%;
  max-width: 220px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 0.7rem;
  background: #fff8ef;
}

.speaker-role {
  margin: 0 0 0.5rem;
  color: var(--orange-600);
  font-weight: 700;
  font-size: 0.9rem;
}

.doc-head {
  margin-top: 1.2rem;
}

.doc-head p {
  margin: 0;
  color: var(--text-700);
}

.documentation-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.8rem;
}

.doc-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.doc-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.doc-item figcaption {
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  color: var(--text-700);
}

.review-form {
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.field {
  margin-bottom: 0.95rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

textarea {
  width: 100%;
  font: inherit;
  border: 1.5px solid #d7dde9;
  border-radius: 12px;
  padding: 0.75rem;
  resize: vertical;
}

.star-input {
  display: flex;
  gap: 0.35rem;
}

.star {
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  color: #9aa1b1;
  cursor: pointer;
  padding: 0.1rem;
}

.star.is-active {
  color: #f59e0b;
}

.btn {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.error {
  display: block;
  min-height: 1rem;
  margin-top: 0.2rem;
  color: #dc2626;
  font-size: 0.84rem;
}

.form-note {
  margin: 0.65rem 0 0;
  min-height: 1.2rem;
  color: #16a34a;
  font-weight: 600;
}

.reviews-area h3 {
  margin-bottom: 0.8rem;
}

.reviews-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}

.review-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}
video {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.review-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.review-item p {
  margin: 0.25rem 0;
  color: var(--text-700);
}

.review-topic {
  font-size: 0.9rem;
  color: #6b7280;
}

.article-footer {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap a {
  color: var(--orange-600);
  text-decoration: none;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

@media (min-width: 860px) {
  .article-hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .article-content {
    padding: 1.6rem;
  }

  .speaker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .documentation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
