:root {
  --ink: #111514;
  --muted: #5a625e;
  --panel: #ffffff;
  --soft: #f4f7f4;
  --line: #dfe6e1;
  --teal: #0f8f86;
  --green: #2e7d55;
  --amber: #b86020;
  --charcoal: #171b1a;
  --shadow: 0 18px 44px rgba(17, 21, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--teal);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(223, 230, 225, 0.85);
  background: rgba(248, 250, 248, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

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

.brand-mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(17, 21, 20, 0.18);
}

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

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
}

.nav-links .nav-action {
  border: 1px solid var(--line);
  color: var(--ink);
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 74vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 17, 16, 0.9), rgba(12, 17, 16, 0.62) 43%, rgba(12, 17, 16, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 17, 16, 0.32), rgba(12, 17, 16, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 80px;
}

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

.hero .eyebrow {
  color: #74f0df;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: 64px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

.hero-copy {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions,
.contact-band,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

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

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.identity-strip div {
  min-height: 98px;
  padding: 22px;
  background: #fff;
}

.identity-strip strong,
.identity-strip span {
  display: block;
}

.identity-strip strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.identity-strip span {
  margin-top: 8px;
  font-weight: 800;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-section {
  padding-top: 106px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading.narrow {
  display: block;
  max-width: 720px;
}

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

.app-card,
.support-card,
.principles article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(17, 21, 20, 0.06);
}

.app-card {
  overflow: hidden;
}

.app-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.app-image {
  min-height: 300px;
  background: #e8eee9;
}

.app-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.app-card.featured .app-image img {
  aspect-ratio: auto;
}

.app-copy {
  padding: 28px;
}

.app-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-copy p {
  color: var(--muted);
}

.feature-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.status-note {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.profile-panel {
  position: sticky;
  top: 110px;
}

.profile-panel p {
  color: var(--muted);
  font-size: 18px;
}

.principles {
  display: grid;
  gap: 16px;
}

.principles article {
  padding: 28px;
}

.principles span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #e6f4ef;
  color: var(--green);
  font-weight: 900;
}

.principles p,
.support-card p,
.policy p,
.faq-list p,
.contact-band p {
  color: var(--muted);
}

.contact-band {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 74px;
  padding: 42px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
}

.contact-band .eyebrow {
  color: #74f0df;
}

.contact-band h2 {
  max-width: 760px;
}

.contact-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 420px;
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 21, 20, 0.92), rgba(17, 21, 20, 0.58)),
    url("assets/images/scopebridge-core-bundle.png") center / cover;
}

.brand-hero {
  background:
    radial-gradient(circle at 72% 28%, rgba(116, 240, 223, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(17, 21, 20, 0.94), rgba(17, 21, 20, 0.68)),
    url("assets/images/scopebridge-core-bundle.png") center / cover;
}

.page-hero > div {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 780px;
  font-size: 52px;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.support-card {
  padding: 28px;
}

.support-card h2 {
  font-size: 24px;
}

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

.logo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 21, 20, 0.06);
}

.logo-preview {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 22px;
  background: #f4f7f4;
}

.logo-preview img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
}

.logo-copy {
  padding: 26px;
}

.logo-copy p {
  color: var(--muted);
}

.recommendation {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6f4ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 21, 20, 0.12);
  border-radius: 50%;
}

.faq-section {
  padding-top: 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.policy {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 92px;
}

.policy h2 {
  margin-top: 38px;
  font-size: 26px;
}

.policy a {
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.fine-print {
  grid-column: 1 / -1;
  font-size: 13px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    padding-bottom: 62px;
  }

  .identity-strip,
  .section-heading,
  .app-card.featured,
  .split-section,
  .support-grid,
  .logo-concepts,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .identity-strip {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .section {
    padding: 64px 0;
  }

  .intro-section {
    padding-top: 64px;
  }

  .profile-panel {
    position: static;
  }

  .contact-band {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .brand strong {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand small {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 17, 16, 0.92), rgba(12, 17, 16, 0.58));
  }

  .hero-content,
  .section,
  .page-hero > div,
  .policy,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1,
  .page-hero h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3,
  .support-card h2 {
    font-size: 22px;
  }

  .hero-copy,
  .page-hero p:not(.eyebrow),
  .section-heading p:last-child,
  .profile-panel p {
    font-size: 16px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-image {
    min-height: 220px;
  }

  .app-copy,
  .support-card,
  .principles article,
  .contact-band {
    padding: 22px;
  }

  .contact-band {
    margin-bottom: 44px;
  }
}
