:root {
  color-scheme: light;
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-2: #eef7f2;
  --ink: #12201a;
  --muted: #5d6b63;
  --line: #dfe9e3;
  --green: #0f9f72;
  --green-dark: #087254;
  --indigo: #4f65d6;
  --amber: #d99116;
  --rose: #d85c75;
  --shadow: 0 18px 55px rgba(20, 46, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nowrap {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(223, 233, 227, 0.9);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #10261d;
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.header-cta,
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 159, 114, 0.22);
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  min-height: min(760px, calc(100vh - 152px));
  padding: clamp(34px, 4.5vw, 58px) clamp(20px, 5vw, 72px) 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.hero-actions,
.toolbar,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(223, 233, 227, 0.8);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(56vh, 610px);
  object-fit: cover;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px) 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.logo-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: #405047;
  font-weight: 800;
  font-size: 13px;
}

.band {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.band.compact {
  padding-top: 52px;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 32px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.pricing-grid,
.benefit-grid,
.service-grid,
.partner-grid,
.news-grid,
.featured-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card,
.benefit-grid article,
.service-grid article,
.partner-grid article,
.news-grid article,
.feature-list article,
.featured-model-grid article {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 46, 35, 0.06);
}

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

.service-grid p,
.partner-grid p,
.news-grid p,
.feature-list p,
.featured-model-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.featured-models {
  background: #f0f6f2;
}

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

.featured-model-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
}

.model-logo {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.model-logo.openai {
  background: #10261d;
}

.model-logo.claude {
  background: #d97757;
}

.model-logo.gemini {
  background: var(--indigo);
}

.model-logo.deepseek {
  background: #0b8a9a;
}

.model-logo.qwen {
  background: var(--amber);
}

.model-logo.media {
  background: var(--rose);
}

.featured-model-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.featured-model-grid li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef7f2;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.price-card.featured {
  border-color: rgba(15, 159, 114, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, #f0fbf7 100%);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e4fff4;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.card-kicker {
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h3,
.benefit-grid h3 {
  margin: 12px 0;
  font-size: 20px;
}

.price {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}

.models {
  background: #fff;
}

.workflow,
.console,
.docs {
  background: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: #10261d;
  color: #fff;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
  line-height: 1.75;
}

.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-box input,
.search-box select {
  width: min(54vw, 310px);
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.search-box select {
  min-width: 190px;
  cursor: pointer;
}

.search-box input:focus,
.search-box select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 159, 114, 0.12);
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  align-self: end;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6faf8;
}

.unit-toggle,
.filter-chip {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.unit-toggle {
  padding: 0 12px;
}

.unit-toggle.active,
.filter-chip.active {
  background: var(--ink);
  color: #fff;
}

.filter-row {
  margin-bottom: 18px;
}

.filter-chip {
  padding: 0 15px;
  border: 1px solid var(--line);
  background: #fff;
}

.model-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.model-help p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf8;
  color: var(--muted);
  line-height: 1.7;
}

.table-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(20, 46, 35, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f4faf7;
  color: #44544b;
  font-size: 12px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 14px;
}

td strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.numeric {
  text-align: right;
}

.model-pill {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef7f2;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  display: none;
  margin: 0;
  padding: 26px;
  color: var(--muted);
  text-align: center;
}

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

.console-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.console-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10261d;
  color: #fff;
  box-shadow: var(--shadow);
}

.panel-top,
.meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-top {
  margin-bottom: 28px;
}

.panel-top span,
.meter-row span,
.log-list span {
  color: rgba(255, 255, 255, 0.65);
}

.meter-row {
  margin: 16px 0 8px;
}

.meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.amber-meter span {
  background: var(--amber);
}

.log-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.log-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.code-card {
  overflow-x: auto;
  margin: 0;
  padding: 24px;
  border: 1px solid #cfe2d8;
  border-radius: 8px;
  background: #10261d;
  color: #dff8ed;
  line-height: 1.75;
  box-shadow: var(--shadow);
}

.partner {
  background: #eef7f2;
}

.news-grid article span {
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(15, 159, 114, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 46, 35, 0.06);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  margin-bottom: 54px;
}

.contact-form,
.company-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 46, 35, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 44px;
  padding: 0 13px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 13px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 159, 114, 0.12);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.company-card h3 {
  margin: 10px 0;
  font-size: 24px;
}

.company-card p,
.company-card dd {
  color: var(--muted);
  line-height: 1.75;
}

.company-card dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.company-card dt {
  color: var(--ink);
  font-weight: 800;
}

.company-card dd {
  margin: 4px 0 0;
}

.company-card a {
  color: var(--green-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.faq-heading {
  margin-top: 8px;
}

.benefit-grid p,
.faq-list p,
.site-footer p,
address {
  color: var(--muted);
  line-height: 1.75;
}

.icon-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 50%;
}

.icon-dot.green {
  background: var(--green);
}

.icon-dot.indigo {
  background: var(--indigo);
}

.icon-dot.amber {
  background: var(--amber);
}

.icon-dot.rose {
  background: var(--rose);
}

.faq {
  background: #f0f6f2;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: #10261d;
  color: #fff;
}

.site-footer p,
.site-footer address {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.site-footer a {
  color: #a7f3d0;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.error-card .brand {
  margin-bottom: 42px;
}

.error-card h1 {
  font-size: clamp(34px, 6vw, 56px);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual img {
    height: auto;
  }

  .pricing-grid,
  .benefit-grid,
  .service-grid,
  .partner-grid,
  .news-grid,
  .featured-model-grid,
  .steps,
  .console-layout,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-heading.split {
    align-items: start;
    flex-direction: column;
  }

  .table-shell {
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero,
  .band {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 32px;
  }

  .pricing-grid,
  .benefit-grid,
  .service-grid,
  .partner-grid,
  .news-grid,
  .featured-model-grid,
  .steps,
  .console-layout,
  .contact-layout,
  .model-help,
  .form-row {
    grid-template-columns: 1fr;
  }

  .featured-model-grid article {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 16px;
    margin-right: 16px;
  }

  .contact-card {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 10px 8px;
  }

  .hero-stats dt {
    font-size: 22px;
  }

  .hero-stats dd {
    font-size: 11px;
  }

  .hero-visual img {
    height: 180px;
    object-fit: cover;
  }

  .search-box input,
  .search-box select {
    width: calc(100vw - 32px);
  }

  .toolbar {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
