:root {
  --brand: #f28b23;
  --brand-dark: #d66f0b;
  --brand-soft: rgba(242, 139, 35, 0.12);
  --text: #171513;
  --muted: #655e56;
  --line: rgba(23, 21, 19, 0.08);
  --surface: rgba(255, 252, 247, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --font-sans: "Avenir Next", "SF Pro Text", "PingFang SC", "Noto Sans SC", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-display: "Avenir Next", "SF Pro Display", "PingFang SC", "Noto Sans SC", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(242, 139, 35, 0.14), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f4efe7 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(92%, 1180px);
  margin: 0 auto;
  padding: 24px 0 84px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #8a837b;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs span {
  opacity: 0.7;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.9);
  box-shadow: 0 24px 58px rgba(24, 20, 16, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  display: block;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a,
.btn {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-current {
  background: var(--brand-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #f49a36 0%, #de7210 100%);
  color: #fffdf9;
  box-shadow: 0 14px 28px rgba(242, 139, 35, 0.18);
}

.btn-outline {
  border: 1px solid rgba(23, 21, 19, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(23, 21, 19, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(18, 15, 12, 0.08);
  color: var(--text);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.mobile-menu-btn span + span {
  margin-top: 4px;
}

.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-foot {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(242, 139, 35, 0.1);
  border: 1px solid rgba(242, 139, 35, 0.16);
  color: #a35308;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(18, 15, 12, 0.06);
  padding: 30px;
}

.hero-copy h1,
.section-head h2,
.cta-band h2 {
  margin: 20px 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-family: var(--font-display);
  text-wrap: balance;
}

.section-head h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  margin-top: 0;
}

.hero-copy p,
.panel p,
.app-card p,
.scope-card p,
.metric-card p,
.note-card p,
.model-card p,
.brand-card p,
.footer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.metric-grid,
.scope-grid,
.app-grid,
.directory-grid,
.model-grid,
.note-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.metric-grid,
.scope-grid,
.directory-grid,
.note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.metric-card,
.scope-card,
.app-card,
.brand-card,
.model-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 14px 32px rgba(18, 15, 12, 0.05);
  padding: 22px;
}

.metric-card strong,
.scope-card strong,
.app-card strong,
.brand-card strong,
.model-card strong,
.note-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a837b;
}

.metric-card h3,
.scope-card h3,
.app-card h3,
.brand-card h3,
.model-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-hero .metric-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-hero .metric-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 24px rgba(18, 15, 12, 0.04);
  padding: 16px 18px;
}

.page-hero .metric-card strong {
  margin-bottom: 0;
  font-size: 10.5px;
  letter-spacing: 0.09em;
}

.page-hero .metric-card h3 {
  margin: 0;
  font-size: clamp(1.28rem, 1.75vw, 1.62rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero .metric-card p {
  font-size: 13.5px;
  line-height: 1.52;
}

.section {
  margin-top: 30px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.76fr);
  gap: 24px;
  margin-bottom: 18px;
  align-items: end;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 21, 19, 0.06);
  color: #6b645c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-tag.is-live {
  background: rgba(37, 166, 91, 0.12);
  color: #24764a;
}

.status-tag.is-next {
  background: rgba(242, 139, 35, 0.12);
  color: #a35308;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

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

.directory-grid > :only-child {
  grid-column: 1 / -1;
}

.directory-grid .brand-card {
  height: 100%;
}

.brand-card h3 {
  margin-bottom: 14px;
}

.brand-card > ul,
.note-card > ul,
.panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.brand-card > ul li,
.note-card > ul li,
.panel li {
  line-height: 1.72;
}

.series-block + .series-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.series-meta {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #a35308;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.series-block h4 {
  margin: 12px 0 10px;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.series-block > p {
  margin: 0 0 16px;
}

.model-card ul,
.checklist,
.footer-links ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.model-card li,
.checklist li,
.footer-links li {
  line-height: 1.72;
}

.model-card .paired-model {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 21, 19, 0.06);
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.model-card .paired-model span {
  display: block;
  color: #8a837b;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

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

.info-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 14px 32px rgba(18, 15, 12, 0.05);
  padding: 22px;
}

.info-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a837b;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.link-list a {
  text-decoration: none;
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 700;
  line-height: 1.6;
}

.link-list a:hover {
  background: var(--brand-soft);
}

.link-list span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: normal;
}

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

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

.visual-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 14px 32px rgba(18, 15, 12, 0.05);
}

.visual-grid--quad .visual-card img {
  aspect-ratio: 16 / 10;
}

.visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  object-fit: cover;
  object-position: center center;
  background: rgba(23, 21, 19, 0.04);
  border-bottom: 1px solid rgba(28, 23, 18, 0.06);
}

.visual-copy {
  flex: 1;
  padding: 18px 20px 20px;
}

.visual-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a837b;
}

.visual-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.visual-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.visual-copy .inline-actions {
  margin-top: 16px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.78fr);
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(29, 24, 20, 0.94);
  color: #f7f2ec;
  box-shadow: 0 22px 56px rgba(17, 13, 10, 0.2);
  padding: 32px;
}

.cta-band p,
.cta-band li {
  color: rgba(247, 242, 236, 0.8);
}

.cta-band h2 {
  color: #fffaf4;
}

.cta-band .eyebrow {
  background: rgba(242, 139, 35, 0.16);
  border-color: rgba(242, 139, 35, 0.24);
  color: #ffc78c;
}

.cta-band .btn-outline {
  color: #fffaf4;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.footer-strip {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.7);
}

.footer-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(23, 21, 19, 0.05);
}

.footer-links a:hover {
  background: var(--brand-soft);
}

@media (max-width: 1080px) {
  .page-hero,
  .section-head,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .scope-grid,
  .note-grid,
  .info-grid.is-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-shell {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 251, 245, 0.96);
    box-shadow: 0 22px 48px rgba(18, 15, 12, 0.1);
    z-index: 20;
  }

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

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav a,
  .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-nav-foot {
    display: block;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
  }

  .app-grid,
  .directory-grid,
  .model-grid,
  .metric-grid,
  .scope-grid,
  .note-grid,
  .info-grid,
  .visual-grid,
  .visual-grid--quad {
    grid-template-columns: 1fr;
  }

  .footer-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(94%, 1180px);
    padding-top: 18px;
    padding-bottom: 72px;
  }

  .topbar {
    padding: 12px 14px;
    border-radius: 20px;
  }

  .brand img {
    height: 36px;
  }

  .panel,
  .metric-card,
  .scope-card,
  .app-card,
  .brand-card,
  .model-card,
  .note-card,
  .cta-band {
    border-radius: 24px;
  }

  .panel,
  .cta-band {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .section-head h2,
  .cta-band h2 {
    font-size: 2rem;
  }

  .hero-copy p,
  .panel p,
  .app-card p,
  .scope-card p,
  .metric-card p,
  .note-card p,
  .model-card p {
    font-size: 16px;
  }
}
