:root {
  --webai-brand: #0f766e;
  --webai-accent: #b7791f;
  --webai-ink: #17202a;
  --webai-muted: #657182;
  --webai-line: #dfe5ec;
  --webai-soft: #f6f8fa;
  --webai-paper: #ffffff;
  --webai-dark: #1f2933;
  --webai-radius: 8px;
  --webai-shadow: 0 18px 50px rgba(23, 32, 42, 0.10);
  --webai-container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--webai-paper);
  color: var(--webai-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration-color: rgba(15, 118, 110, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--webai-brand);
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--webai-dark);
  color: #fff;
}

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

.content-narrow {
  width: min(calc(100% - 40px), 780px);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 236, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--webai-container));
  min-height: 74px;
  margin-inline: auto;
}

.site-brand__name {
  display: block;
  color: var(--webai-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.site-brand__tagline {
  margin: 4px 0 0;
  color: var(--webai-muted);
  font-size: 12px;
  line-height: 1.4;
}

.custom-logo-link img {
  display: block;
  max-height: 54px;
  width: auto;
}

.primary-nav ul,
.site-footer ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  color: var(--webai-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--webai-brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--webai-line);
  border-radius: var(--webai-radius);
  background: #fff;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--webai-ink);
}

.hero {
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(183, 121, 31, 0.08)),
    var(--webai-soft);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.contact-cta h2 {
  margin: 0;
  color: var(--webai-ink);
  font-weight: 850;
  line-height: 1.16;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 68px);
}

.hero__text {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--webai-muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--webai-brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--webai-line);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.button--primary {
  border-color: var(--webai-brand);
  background: var(--webai-brand);
  color: #fff;
}

.button--primary:hover {
  background: #0b5f59;
  color: #fff;
}

.button--ghost {
  background: #fff;
  color: var(--webai-ink);
}

.hero__panel {
  display: grid;
  gap: 14px;
}

.progress-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 4px 16px;
  padding: 22px;
  border: 1px solid rgba(223, 229, 236, 0.92);
  border-radius: var(--webai-radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--webai-shadow);
}

.progress-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.10);
  color: var(--webai-brand);
  font-weight: 900;
}

.progress-card strong {
  font-size: 20px;
}

.progress-card small {
  color: var(--webai-muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section--soft {
  background: var(--webai-soft);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.contact-cta h2,
.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
}

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

.roadmap > div,
.content-card,
.faq-list details {
  border: 1px solid var(--webai-line);
  border-radius: var(--webai-radius);
  background: #fff;
}

.roadmap > div {
  padding: 22px;
}

.roadmap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 34px;
  border-radius: 999px;
  background: var(--webai-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.roadmap h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.roadmap p,
.content-card p,
.faq-list details div,
.post-meta,
.archive-description {
  color: var(--webai-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.content-card {
  overflow: hidden;
}

.content-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1.56;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(183, 121, 31, 0.10));
  text-decoration: none;
}

.content-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card__placeholder {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #fff;
  color: var(--webai-brand);
  font-size: 34px;
  font-weight: 900;
}

.content-card__body {
  padding: 22px;
}

.content-card__type {
  margin: 0 0 8px;
  color: var(--webai-accent);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.content-card__title {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
}

.content-card__title a {
  text-decoration: none;
}

.faq-list details {
  padding: 0;
}

.faq-list details + details {
  margin-top: 12px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

.faq-list details div {
  padding: 0 22px 20px;
}

.contact-cta {
  background: var(--webai-dark);
  color: #fff;
}

.contact-cta h2,
.contact-cta .eyebrow {
  color: #fff;
}

.contact-cta__inner {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.page-hero {
  padding: 72px 0;
  background: var(--webai-soft);
}

.featured-image {
  margin-top: 48px;
}

.featured-image img {
  width: 100%;
  border-radius: var(--webai-radius);
}

.entry-content {
  font-size: 17px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2em;
  line-height: 1.35;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.4em;
}

.entry-content blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--webai-brand);
  background: var(--webai-soft);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--webai-line);
}

.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
}

.search-form label {
  flex: 1;
}

.search-field,
.search-form button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--webai-line);
  border-radius: var(--webai-radius);
}

.search-field {
  padding: 0 14px;
}

.search-form button {
  width: auto;
  padding: 0 18px;
  background: var(--webai-brand);
  color: #fff;
  font-weight: 800;
}

.pagination-wrap {
  margin-top: 42px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--webai-line);
  background: #fff;
  color: var(--webai-muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: min(calc(100% - 40px), var(--webai-container));
  margin-inline: auto;
}

.site-footer__brand {
  margin: 0;
  color: var(--webai-ink);
  font-weight: 850;
}

@media (max-width: 900px) {
  .hero__grid,
  .roadmap,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 16px;
    border: 1px solid var(--webai-line);
    border-radius: var(--webai-radius);
    background: #fff;
    box-shadow: var(--webai-shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 8px;
  }

  .primary-nav a {
    padding: 10px 0;
  }

  .site-footer__inner {
    display: grid;
  }
}

@media (max-width: 560px) {
  .container,
  .content-narrow,
  .site-header__inner,
  .site-footer__inner {
    width: min(calc(100% - 28px), var(--webai-container));
  }

  .hero,
  .section,
  .page-hero {
    padding: 54px 0;
  }

  .hero__actions,
  .search-form {
    display: grid;
  }

  .button,
  .search-form button {
    width: 100%;
  }
}
