:root {
  --drafting-blue: #17272e;
  --drafting-blue-2: #203941;
  --chalk: #f2f5f4;
  --paper: #ffffff;
  --line: #d5ddda;
  --muted: #657371;
  --access-teal: #007c70;
  --growth-green: #237a46;
  --safety-lime: #a4d65e;
  --shop-amber: #d08a00;
  --text: #18282e;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--text);
  font-family: Archivo, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--safety-lime);
  color: var(--drafting-blue);
  padding: 10px 14px;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--paper);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.solid {
  background: rgba(23, 39, 46, 0.96);
  border-bottom: 1px solid rgba(242, 245, 244, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span:last-child {
  color: var(--safety-lime);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--safety-lime);
}

.nav-cta {
  border-radius: 999px;
  background: var(--access-teal);
  color: var(--paper) !important;
  padding: 10px 16px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  padding: 116px clamp(20px, 5vw, 72px) 38px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(23, 39, 46, 0.97) 0%, rgba(23, 39, 46, 0.84) 52%, rgba(23, 39, 46, 0.34) 100%),
    url("assets/ctelab-hero-build-card.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 110px;
  height: 4px;
  background: var(--shop-amber);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--access-teal);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--safety-lime);
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

h1 {
  max-width: 780px;
  color: var(--paper);
  font-size: clamp(48px, 8.2vw, 96px);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-top: 28px;
  color: #dbe5e2;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--safety-lime);
  color: var(--drafting-blue);
}

.button.secondary {
  border: 1px solid rgba(242, 245, 244, 0.55);
  color: var(--paper);
}

.text-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--access-teal);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.hero-status {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  z-index: 1;
}

.hero-status span {
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 245, 244, 0.22);
  border-radius: 8px;
  background: rgba(242, 245, 244, 0.1);
  color: var(--paper);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.intro-section,
.product-section,
.pilot-section,
.partner-section,
.quote-band {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro-section,
.pilot-section {
  background: var(--chalk);
}

.product-section {
  background: var(--paper);
}

.partner-section {
  background: var(--drafting-blue);
  color: var(--paper);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
}

.section-heading h2 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

body[data-headings="wide"] .section-heading {
  grid-template-columns: 1fr;
}

body[data-headings="wide"] .section-heading h2 {
  max-width: none;
}

body[data-partners="oneline"] .partner-grid {
  grid-template-columns: repeat(4, 1fr);
}

.partner-footer {
  max-width: var(--max);
  margin: 0 auto;
}

body[data-partner-actions="oneline"] .partner-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

body[data-partner-actions="oneline"] .partner-footer .principles,
body[data-partner-actions="oneline"] .partner-footer .partner-actions {
  display: contents;
}

@media (min-width: 821px) {
  body[data-hero-card="pop"] .hero {
    background:
      linear-gradient(90deg, rgba(23, 39, 46, 0.97) 0%, rgba(23, 39, 46, 0.6) 46%, rgba(23, 39, 46, 0) 70%),
      url("assets/ctelab-hero-build-card.png") right center / auto 80% no-repeat,
      var(--drafting-blue);
  }
}

.proof-grid,
.product-grid,
.partner-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-grid article,
.product-grid article,
.partner-grid article {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--access-teal);
  font-size: 20px;
}

.proof-grid p,
.product-grid p,
.timeline p,
.partner-grid p {
  color: #33464d;
  font-size: 17px;
  line-height: 1.48;
}

.quote-band {
  background: var(--drafting-blue);
  color: var(--paper);
}

.quote-band blockquote {
  max-width: var(--max);
  margin: 0 auto;
  border-left: 7px solid var(--shop-amber);
  padding-left: clamp(20px, 4vw, 42px);
  color: var(--safety-lime);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.05;
}

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

.product-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--access-teal);
}

.product-grid article:first-child {
  border-top-color: var(--shop-amber);
}

.product-grid span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--drafting-blue);
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.product-grid h3,
.partner-grid h3 {
  margin-bottom: 10px;
  color: var(--drafting-blue);
  font-size: 22px;
  line-height: 1.05;
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline li {
  position: relative;
  min-height: 230px;
  border-left: 6px solid var(--access-teal);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  padding: 24px 24px 24px 28px;
}

.timeline li:last-child {
  border-left-color: var(--shop-amber);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  color: var(--drafting-blue);
  font-size: 22px;
}

.partner-section .eyebrow {
  color: var(--safety-lime);
}

.partner-grid article {
  background: rgba(242, 245, 244, 0.06);
  border-color: rgba(242, 245, 244, 0.16);
}

.partner-grid h3 {
  color: var(--safety-lime);
}

.partner-grid p {
  color: #dbe5e2;
}

.principles,
.partner-actions {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-actions {
  margin-top: 32px;
}

.principles span {
  border-radius: 999px;
  background: var(--paper);
  color: var(--drafting-blue);
  padding: 10px 14px;
  font-weight: 900;
}

.principles span:nth-child(2) {
  background: var(--access-teal);
  color: var(--paper);
}

.principles span:nth-child(4) {
  background: var(--shop-amber);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 4px solid var(--shop-amber);
  background: var(--chalk);
  color: var(--drafting-blue);
}

.footer-brand,
address {
  font-style: normal;
  line-height: 1.5;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: "IBM Plex Mono", "Courier New", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

address a {
  color: var(--access-teal);
  font-weight: 900;
}

.profile-trigger {
  border: 0;
  background: transparent;
  color: var(--drafting-blue);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: rgba(0, 124, 112, 0.45);
  text-underline-offset: 3px;
}

.profile-trigger:hover,
.profile-trigger:focus-visible {
  color: var(--access-teal);
}

.profile-modal[hidden] {
  display: none;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 39, 46, 0.72);
  backdrop-filter: blur(6px);
}

.profile-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border: 1px solid rgba(242, 245, 244, 0.22);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.profile-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 245, 244, 0.3);
  border-radius: 999px;
  background: rgba(23, 39, 46, 0.72);
  color: var(--paper);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.profile-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--drafting-blue);
  color: var(--paper);
}

.profile-hero img {
  width: 100%;
  aspect-ratio: 1;
  border: 4px solid var(--safety-lime);
  border-radius: 8px;
  object-fit: cover;
}

.profile-hero h2 {
  margin: 0 0 12px;
  color: var(--paper);
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
}

.profile-subtitle {
  max-width: 560px;
  color: #dbe5e2;
  font-size: 22px;
  line-height: 1.35;
}

.profile-body {
  display: grid;
  gap: 18px;
  padding: 32px;
}

.profile-body > p {
  max-width: 850px;
  color: #33464d;
  font-size: 19px;
  line-height: 1.55;
}

.profile-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 6px;
}

.profile-timeline article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--access-teal);
  border-radius: 8px;
  background: var(--chalk);
  padding: 18px;
}

.profile-timeline article:first-child,
.profile-timeline article:nth-child(5) {
  border-top-color: var(--shop-amber);
}

.profile-timeline span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--drafting-blue);
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
}

.profile-timeline strong {
  display: block;
  margin-bottom: 8px;
  color: var(--drafting-blue);
  font-size: 18px;
  line-height: 1.1;
}

.profile-timeline p {
  color: #33464d;
  font-size: 15px;
  line-height: 1.42;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.button.dark,
.profile-actions .button.secondary {
  border-color: var(--drafting-blue);
  color: var(--drafting-blue);
}

.product-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 128px clamp(20px, 5vw, 72px) 72px;
  background: var(--drafting-blue);
  color: var(--paper);
}

.product-hero-copy {
  max-width: 820px;
}

.build-app-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
}

.product-demo {
  border: 1px solid rgba(242, 245, 244, 0.2);
  border-radius: 8px;
  background: rgba(242, 245, 244, 0.08);
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.app-demo {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(242, 245, 244, 0.16);
  border-radius: 18px;
  background: #edf3f7;
  color: #18324a;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

.app-demo-sidebar {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 28px 22px;
  background: var(--paper);
}

.app-demo-sidebar strong {
  color: #12385e;
  font-size: 24px;
  line-height: 1;
}

.app-demo-sidebar > span {
  color: #408ec6;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-demo-sidebar p {
  margin-top: 18px;
  color: #7d8ca0;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-demo-sidebar b {
  border-radius: 10px;
  background: #f4f8fb;
  color: #587086;
  padding: 9px 10px;
  font-size: 13px;
}

.app-demo-sidebar b:first-of-type {
  background: #14395f;
  color: var(--paper);
}

.app-demo-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

.app-search {
  border-radius: 999px;
  background: #dce7ef;
  color: #718399;
  padding: 15px 18px;
  font-weight: 800;
}

.app-hero-card {
  min-height: 230px;
  display: grid;
  align-content: center;
  gap: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(164, 214, 94, 0.16), transparent 28%),
    #14395f;
  color: var(--paper);
  padding: 30px;
}

.app-hero-card span {
  color: #f3d747;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-hero-card strong {
  max-width: 390px;
  font-size: 48px;
  line-height: 0.95;
}

.app-hero-card em {
  color: #dbe5e2;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.app-stats span {
  display: grid;
  gap: 4px;
  border-radius: 14px;
  background: var(--paper);
  color: #627389;
  padding: 18px;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-stats b {
  color: #14395f;
  font-family: Archivo, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 27px;
  letter-spacing: 0;
  text-transform: none;
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-photo {
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 124, 112, 0.45), rgba(23, 39, 46, 0.94)),
    var(--drafting-blue-2);
  color: #dbe5e2;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-analysis {
  margin-top: 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--drafting-blue);
  padding: 16px;
}

.demo-analysis strong {
  color: var(--access-teal);
  text-transform: uppercase;
}

.demo-analysis p {
  margin-top: 8px;
  color: #33464d;
  line-height: 1.4;
}

.demo-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.demo-actions span {
  flex: 1;
  border-radius: 999px;
  background: var(--safety-lime);
  color: var(--drafting-blue);
  padding: 10px 12px;
  font-weight: 900;
  text-align: center;
}

.demo-actions span:last-child {
  border: 1px solid rgba(242, 245, 244, 0.42);
  background: transparent;
  color: var(--paper);
}

.product-detail-section,
.product-process {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.product-detail-section {
  background: var(--chalk);
}

.product-process {
  background: var(--paper);
}

.resource-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: var(--chalk);
}

.detail-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-grid article {
  min-height: 220px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--access-teal);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.detail-grid article:first-child {
  border-top-color: var(--shop-amber);
}

.detail-grid h3 {
  margin-bottom: 10px;
  color: var(--drafting-blue);
  font-size: 24px;
}

.detail-grid p {
  color: #33464d;
  font-size: 17px;
  line-height: 1.48;
}

.resource-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.resource-grid a {
  min-height: 118px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-top: 6px solid var(--access-teal);
  border-radius: 8px;
  background: var(--paper);
  color: var(--drafting-blue);
  padding: 20px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  text-decoration: none;
}

.resource-grid a:first-child {
  border-top-color: var(--shop-amber);
}

.product-cta {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

@media (max-width: 1040px) {
  .product-grid,
  .timeline,
  .partner-grid,
  .detail-grid,
  .resource-grid,
  .profile-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 20px;
  }

  .brand {
    max-width: calc(100vw - 92px);
    font-size: 17px;
    gap: 9px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(242, 245, 244, 0.28);
    border-radius: 8px;
    background: rgba(23, 39, 46, 0.72);
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--paper);
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px 24px;
    background: rgba(23, 39, 46, 0.98);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(242, 245, 244, 0.12);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
    border-bottom: 0 !important;
  }

  .hero {
    min-height: 84svh;
    padding: 96px 20px 128px;
    background:
      linear-gradient(90deg, rgba(23, 39, 46, 0.98) 0%, rgba(23, 39, 46, 0.92) 70%, rgba(23, 39, 46, 0.78) 100%),
      url("assets/ctelab-hero-build-card.png") 70% center / cover no-repeat;
  }

  .hero::after {
    left: 20px;
    right: 20px;
    bottom: 100px;
  }

  .hero-status {
    left: 20px;
    right: 20px;
    bottom: 24px;
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero-status span {
    padding: 0 10px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .intro-section,
  .product-section,
  .pilot-section,
  .partner-section,
  .quote-band,
  .product-detail-section,
  .product-process {
    padding-left: 20px;
    padding-right: 20px;
  }

  .product-grid,
  .timeline,
  .partner-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-grid article,
  .timeline li,
  .detail-grid article {
    min-height: auto;
  }

  .product-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 104px 20px 58px;
  }

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

  .app-demo-sidebar {
    display: none;
  }

  .app-hero-card strong {
    font-size: 36px;
  }

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

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

  .site-footer {
    display: grid;
  }

  .profile-modal {
    align-items: end;
    padding: 0;
  }

  .profile-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 14px 14px 0 0;
  }

  .profile-hero {
    grid-template-columns: 112px 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .profile-hero h2 {
    font-size: 38px;
  }

  .profile-subtitle {
    font-size: 17px;
  }

  .profile-body {
    padding: 24px 20px;
  }

  .profile-body > p {
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .profile-timeline {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
