:root {
  --ink: #17212b;
  --muted: #5d6b76;
  --navy: #123f63;
  --navy-dark: #08283f;
  --teal: #22a9a0;
  --teal-dark: #137f78;
  --sage: #eaf3ed;
  --mist: #eef5f7;
  --ivory: #fbfaf7;
  --white: #ffffff;
  --amber: #bd9147;
  --coral: #d76f58;
  --line: #dce7e8;
  --shadow: 0 18px 44px rgba(18, 63, 99, 0.13);
  --section-x: 28px;
  --section-y: 92px;
  color: var(--ink);
  background: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body,
button,
a {
  letter-spacing: 0;
}

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

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

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

p,
ul,
ol {
  color: var(--muted);
}

button {
  font: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 231, 232, 0.82);
  backdrop-filter: blur(18px);
  display: flex;
  gap: 28px;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 var(--section-x);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 60px;
  overflow: visible;
  width: 158px;
}

.brand img {
  height: auto;
  width: 158px;
}

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

.site-nav a {
  border-radius: 6px;
  color: #294454;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 13px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  color: var(--navy);
  outline: none;
}

.menu-toggle {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.menu-toggle span:not(.sr-only) {
  background: var(--white);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 18px;
}

.hero {
  isolation: isolate;
  min-height: 82svh;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background-image: url("assets/petraq-hero.jpg");
  background-position: center right;
  background-size: cover;
  inset: 0;
  position: absolute;
  z-index: -3;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 40, 63, 0.9) 0%, rgba(8, 40, 63, 0.74) 36%, rgba(8, 40, 63, 0.18) 72%),
    linear-gradient(0deg, rgba(8, 40, 63, 0.28), rgba(8, 40, 63, 0.04));
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: 116px var(--section-x) 70px;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero .eyebrow,
.future-band .eyebrow,
.vision-band .eyebrow {
  color: #80ded4;
}

.hero h1 {
  color: var(--white);
  font-size: 82px;
  line-height: 0.98;
  margin-bottom: 18px;
}

.hero-lede {
  color: var(--white);
  font-size: 30px;
  font-weight: 750;
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.62;
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0 0 4px rgba(34, 169, 160, 0.22);
  outline: none;
}

.hero-proof {
  color: #dcefed;
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}

.section {
  background: var(--ivory);
  padding: var(--section-y) var(--section-x);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.split {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
}

h2 {
  color: var(--ink);
  font-size: 44px;
  line-height: 1.08;
  margin-bottom: 22px;
}

h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.22;
  margin-bottom: 14px;
}

.flow p {
  margin-bottom: 18px;
}

.check-list,
.feature-list {
  list-style: none;
  padding: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 20px;
}

.check-list li {
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 9px;
  left: 2px;
  position: absolute;
  top: 9px;
  width: 9px;
}

.ecosystem {
  background: linear-gradient(180deg, var(--white), #f4faf8);
}

.section-heading {
  max-width: 820px;
}

.section-heading p:last-child {
  font-size: 18px;
  margin-bottom: 0;
}

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

.feature-card,
.mission-card,
.compact-grid article,
.metric-grid article,
.audience-grid article,
.timeline article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.mission-card {
  min-height: 260px;
  padding: 28px;
}

.mission-card {
  background: var(--navy);
  border-color: var(--navy);
}

.mission-card h3,
.mission-card .card-kicker {
  color: var(--white);
}

.mission-card h3 {
  font-size: 28px;
}

.card-kicker,
.compact-grid span,
.metric-grid span,
.audience-grid span,
.feature-list span,
.process-list span,
.belief-item span {
  color: var(--teal-dark);
  display: block;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mission-card .card-kicker {
  color: #85ded4;
}

.about {
  background: var(--sage);
}

.about-grid {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.about-copy .flow p:last-child {
  margin-bottom: 0;
}

.belief-panel {
  background: var(--white);
  border: 1px solid rgba(18, 63, 99, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 32px;
  position: sticky;
  top: 104px;
}

.belief-panel h3 {
  color: var(--navy);
  font-size: 30px;
}

.belief-item {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.belief-item p {
  margin-bottom: 18px;
}

.vision-band,
.future-band {
  background: var(--navy-dark);
  color: var(--white);
  padding: 78px var(--section-x);
}

.vision-band h2,
.future-band h2,
.vision-band p,
.future-band p {
  color: var(--white);
  max-width: 900px;
}

.vision-band p,
.future-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  margin-bottom: 0;
}

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

.product-grid {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

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

.product-grid.reverse .product-media {
  order: 2;
}

.product-media {
  overflow: hidden;
}

.product-media img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-copy .flow p:last-child {
  margin-bottom: 0;
}

.product-detail {
  margin-top: 72px;
}

.companion-panel {
  align-items: center;
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-top: 54px;
  padding: 28px;
}

.companion-copy h3 {
  font-size: 32px;
  margin-bottom: 14px;
}

.companion-copy p:last-child {
  margin-bottom: 0;
}

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

.companion-gallery figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.companion-gallery img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 28%;
  width: 100%;
}

.companion-gallery figcaption {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  padding: 12px 14px;
  text-transform: uppercase;
}

.detail-block + .detail-block {
  margin-top: 58px;
}

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

.compact-grid article,
.metric-grid article,
.audience-grid article {
  padding: 22px;
}

.compact-grid p,
.metric-grid p,
.audience-grid p {
  margin-bottom: 0;
}

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

.process-list {
  counter-reset: process;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
}

.process-list li {
  background: #f6fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 190px;
  padding: 22px;
  position: relative;
}

.process-list li::before {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: var(--white);
  content: counter(process);
  counter-increment: process;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  margin-bottom: 18px;
  width: 30px;
}

.process-list p {
  margin-bottom: 0;
}

.circle {
  background: #f7fbfc;
}

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

.feature-row {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 60px;
}

.feature-row h3 {
  font-size: 34px;
}

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

.feature-list li {
  background: var(--white);
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 24px rgba(18, 63, 99, 0.08);
  color: var(--muted);
  padding: 18px 20px;
}

.feature-list span {
  color: var(--ink);
  margin-bottom: 4px;
}

.journey {
  background: var(--ivory);
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.timeline article {
  display: grid;
  gap: 24px;
  grid-template-columns: 190px minmax(180px, 0.8fr) minmax(0, 1.2fr);
  padding: 26px;
  position: relative;
}

.timeline time {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: 0;
}

.timeline p {
  grid-column: 3;
  margin-bottom: 14px;
}

.timeline ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 3;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  background: var(--mist);
  border-radius: 999px;
  color: #294454;
  font-size: 13px;
  font-weight: 750;
  padding: 6px 10px;
}

.site-footer {
  background: #071f32;
  color: var(--white);
  padding: 42px var(--section-x);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.site-footer img {
  background: var(--white);
  border-radius: 6px;
  height: auto;
  margin-bottom: 12px;
  padding: 6px 8px;
  width: 150px;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 750;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #84ded4;
  outline: none;
}

@media (max-width: 1080px) {
  .ecosystem-grid,
  .compact-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline article {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .timeline article > div,
  .timeline article > p,
  .timeline article > ul {
    grid-column: 2;
  }
}

@media (max-width: 880px) {
  :root {
    --section-x: 20px;
    --section-y: 70px;
  }

  .site-header {
    height: 70px;
  }

  .brand,
  .brand img {
    width: 132px;
  }

  .brand {
    height: 52px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 2px;
    left: 20px;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 78px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-bg {
    background-position: center right 20%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 40, 63, 0.91) 0%, rgba(8, 40, 63, 0.76) 58%, rgba(8, 40, 63, 0.26) 100%),
      linear-gradient(0deg, rgba(8, 40, 63, 0.24), rgba(8, 40, 63, 0.1));
  }

  .hero-content {
    max-width: 650px;
    padding-top: 92px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 25px;
  }

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

  h2 {
    font-size: 34px;
  }

  .split,
  .about-grid,
  .product-grid,
  .product-grid.reverse,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .product-grid.reverse .product-media {
    order: 0;
  }

  .belief-panel {
    position: static;
  }

  .product-grid {
    gap: 34px;
  }

  .companion-panel {
    grid-template-columns: 1fr;
  }

  .feature-row {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 86svh;
  }

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

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 22px;
  }

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

  .button {
    width: 100%;
  }

  .ecosystem-grid,
  .compact-grid,
  .metric-grid,
  .process-list,
  .audience-grid,
  .companion-gallery {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .mission-card,
  .belief-panel {
    padding: 24px;
  }

  .mission-card h3,
  .belief-panel h3,
  .feature-row h3 {
    font-size: 26px;
  }

  .timeline article {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .timeline article > div,
  .timeline article > p,
  .timeline article > ul {
    grid-column: auto;
  }

  .timeline li {
    border-radius: 6px;
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}
