/* Strutos marketing — Freight-inspired design system.
   Bootstrap provides grid/utilities; this file owns brand look. */

:root {
  --st-ink: #141318;
  --st-near-black: #0e0d12;
  --st-paper: #fafaf9;
  --st-paper-deep: #e4e2de;
  --st-muted: #8b8896;
  --st-muted-deep: #55525f;
  --st-muted-soft: #b5b2c0;
  --st-line: #dbd9d4;
  --st-line-dark: #2a2836;
  --st-accent: #fec428;
  --st-accent-hover: #e0ab2e;
  --st-white: #ffffff;
  --st-wordmark: #ffffff0a;

  --st-font-display: "Schibsted Grotesk", "Brockmann", system-ui, sans-serif;
  --st-font-body: "Hanken Grotesk", system-ui, sans-serif;

  --st-space-section: clamp(4.5rem, 10vw, 7.5rem);
  --st-space-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --st-max: 1100px;
}

.st-body {
  margin: 0;
  background: var(--st-paper);
  color: var(--st-ink);
  font-family: var(--st-font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.5;
}

.st-eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-muted);
}

.st-eyebrow--accent {
  color: var(--st-accent);
}

.st-eyebrow--on-accent {
  color: var(--st-ink);
  opacity: 0.55;
}

.st-platform-intro-section {
  min-height: 30rem;
  align-content: center;
}

@media (min-width: 992px) {
  .st-platform-intro-section {
    min-height: 40rem;
  }
}

.st-display {
  font-family: var(--st-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.st-btn:hover,
.st-btn:focus-visible {
  text-decoration: none;
  outline: none;
}

.st-btn--accent {
  background: var(--st-accent);
  color: var(--st-ink);
}

.st-btn--accent:hover,
.st-btn--accent:focus-visible {
  background: var(--st-accent-hover);
  color: var(--st-ink);
}

.st-btn--ink {
  background: var(--st-ink);
  color: var(--st-white);
}

.st-btn--ink:hover,
.st-btn--ink:focus-visible {
  background: #000;
  color: var(--st-white);
}

.st-btn--ghost {
  background: transparent;
  color: var(--st-white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.st-btn--ghost:hover,
.st-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--st-white);
}

.st-link-nav {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--st-white);
}

.st-link-nav:hover,
.st-link-nav:focus-visible {
  color: var(--st-accent);
  text-decoration: none;
}

/* Header */

.st-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.35rem var(--st-space-gutter);
}

.st-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.st-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--st-white);
  line-height: 1;
}

.st-logo:hover,
.st-logo:focus-visible {
  color: var(--st-white);
  text-decoration: none;
  opacity: 0.88;
}

.st-logo img {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
}

.st-logo__wordmark {
  font-family: var(--st-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.st-header__nav {
  display: none;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .st-header__nav {
    display: flex;
  }
}

/* Hero */

.st-hero {
  position: relative;
  min-height: min(42rem, 92vh);
  display: flex;
  flex-direction: column;
  background: var(--st-near-black);
  color: var(--st-white);
  overflow: hidden;
}

.st-hero__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 40%,
      rgba(245, 190, 65, 0.12),
      transparent 55%
    ),
    linear-gradient(160deg, #1a1822 0%, #0e0d12 55%, #16141c 100%);
  overflow: hidden;
}

.st-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.st-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.st-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(14, 13, 18, 0.92) 0%,
    rgba(14, 13, 18, 0.5) 45%,
    rgba(14, 13, 18, 0.4) 100%
  );
  pointer-events: none;
}

.st-hero__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem var(--st-space-gutter) 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.st-hero__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
}

.st-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.6rem);
  color: var(--st-white);
  max-width: 700px;
}

.st-hero__aside {
  max-width: 18rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.3rem;
}

.st-hero__aside p {
  margin: 0;
  color: #d8d6de;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Sections */

.st-section {
  padding: var(--st-space-section) var(--st-space-gutter);
}

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

.st-section--dark {
  background: var(--st-near-black);
  color: var(--st-white);
}

.st-section--accent {
  background: var(--st-accent);
  color: var(--st-ink);
}

.st-container {
  max-width: var(--st-max);
  margin: 0 auto;
}

.st-mission {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.st-mission__text {
  margin: 0;
  max-width: 48rem;
  font-family: var(--st-font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: #9b98a6;
  text-wrap: balance;
}

.st-mission__text em,
.st-mission__text strong {
  font-style: normal;
  font-weight: 600;
  color: var(--st-ink);
}

/* Trades list */

.st-trades-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.st-trades-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2rem);
}

.st-trades-head p {
  margin: 0;
  max-width: 21rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--st-muted-deep);
}

.st-trades {
  border-top: 1px solid var(--st-line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-trades__item {
  display: grid;
  grid-template-columns: 4.25rem 1.2fr;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--st-line);
  text-decoration: none;
  color: var(--st-ink);
  transition: background-color 0.15s ease;
}

.st-trades__item:hover,
.st-trades__item:focus-visible {
  background: var(--st-white);
  color: var(--st-ink);
  text-decoration: none;
  outline: none;
}

@media (min-width: 768px) {
  .st-trades__item {
    grid-template-columns: 4.25rem 1.2fr 1.6fr 2.5rem;
  }
}

.st-trades__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--st-muted);
}

.st-trades__name {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.35rem;
}

.st-trades__desc {
  display: none;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--st-muted-deep);
}

.st-trades__arrow {
  display: none;
  font-size: 1.25rem;
  justify-self: end;
}

@media (min-width: 768px) {
  .st-trades__desc,
  .st-trades__arrow {
    display: block;
  }
}

/* Backbone */

.st-backbone-head {
  display: grid;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
  .st-backbone-head {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end;
  }
}

.st-backbone-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  color: var(--st-white);
}

.st-backbone-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--st-muted-soft);
}

.st-backbone-grid {
  display: grid;
  gap: 0;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .st-backbone-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.st-backbone-card {
  border-top: 1px solid var(--st-line-dark);
  padding: 1.5rem 0 1rem;
}

@media (min-width: 768px) {
  .st-backbone-card {
    border-top: none;
    border-left: 1px solid var(--st-line-dark);
    padding: 1.5rem 1.5rem 0.5rem;
  }

  .st-backbone-card:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.st-backbone-card__num {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6e6b7c;
}

.st-backbone-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--st-white);
}

.st-backbone-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--st-muted-soft);
}

.st-device-frame {
  width: 100%;
  background: #141318;
  border: 1px solid var(--st-line-dark);
  border-radius: 1.5rem;
  padding: 1rem;
  box-sizing: border-box;
}

.st-device-frame__screen {
  width: 100%;
  min-height: 16rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #1c1a24;
}

.st-device-frame__screen .fp-codified-screenshot {
  display: block;
  width: 100%;
  min-height: 16rem;
}

@media (min-width: 768px) {
  .st-device-frame__screen {
    min-height: 28rem;
  }

  .st-device-frame__screen .fp-codified-screenshot {
    min-height: 28rem;
  }
}

.st-device-frame__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.st-device-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: 2rem;
  color: var(--st-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Why it matters */

.st-why-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .st-why-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.st-why-copy {
  margin: 0;
  font-family: var(--st-font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  text-wrap: balance;
}

.st-stat {
  border-top: 2px solid var(--st-ink);
  padding-top: 0.85rem;
  margin-bottom: 1.75rem;
}

.st-stat:last-child {
  margin-bottom: 0;
}

.st-stat__value {
  display: block;
  font-family: var(--st-font-display);
  font-weight: 800;
  font-size: 2.35rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.st-stat__label {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Closing CTA */

.st-closing {
  position: relative;
  min-height: 24rem;
  display: grid;
  place-items: center;
  background: var(--st-near-black);
  overflow: hidden;
  text-align: center;
  color: var(--st-white);
}

.st-closing__media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(245, 190, 65, 0.15),
      transparent 50%
    ),
    linear-gradient(180deg, #1a1822, #0e0d12);
}

.st-closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 18, 0.45);
}

.st-closing__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 5rem var(--st-space-gutter);
}

.st-closing__inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  color: var(--st-white);
}

/* Industry platform statement */

.st-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  text-align: center;
}

.st-statement__text {
  margin: 0;
  max-width: 45rem;
  font-family: var(--st-font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: #9b98a6;
  text-wrap: balance;
}

.st-statement__text strong {
  font-weight: 600;
  color: var(--st-ink);
}

.st-device-shadow {
  width: min(760px, 100%);
  filter: drop-shadow(0 40px 60px rgba(20, 19, 24, 0.25));
}

/* Platform page — job flow stages */

.st-flow {
  border-top: 1px solid var(--st-line);
}

.st-flow__row {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.6rem 1.5rem;
  padding: 1.75rem 0.5rem;
  border-bottom: 1px solid var(--st-line);
}

.st-flow__num {
  grid-column: 1;
  padding-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--st-muted);
}

.st-flow__name {
  grid-column: 2;
  margin: 0;
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--st-ink);
}

.st-flow__body {
  grid-column: 2;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--st-muted-deep);
}

@media (min-width: 768px) {
  .st-flow__row {
    grid-template-columns: 4.25rem minmax(0, 0.85fr) minmax(0, 1.7fr);
    gap: 1rem 2.5rem;
    align-items: start;
  }

  .st-flow__body {
    grid-column: 3;
    grid-row: 1;
  }
}

.st-flow__note {
  margin: 2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--st-muted-deep);
}

.st-flow__note a {
  color: var(--st-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.st-flow__note a:hover,
.st-flow__note a:focus-visible {
  color: var(--st-muted-deep);
}

/* Codified mockups draw their own window chrome and size themselves, so the
   screen hugs them rather than padding them out to the fixed screen height. */
.st-device-frame__screen--fit,
.st-device-frame__screen--fit .fp-codified-screenshot {
  min-height: 0;
  border-radius: 0;
  background: transparent;
}

/* On paper the mockup is the only chrome needed, so it floats on a shadow. */
.st-device-frame--paper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 40px 60px rgba(20, 19, 24, 0.18));
}

.st-platform-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.st-platform-band .st-why-copy {
  max-width: 40rem;
}

/* Homepage pricing — hairline tiers, not FitterPal cards */

.st-pricing {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--st-line);
}

.st-pricing__tier {
  padding: 2rem 0.5rem 2.25rem;
  border-bottom: 1px solid var(--st-line);
}

@media (min-width: 768px) {
  .st-pricing {
    grid-template-columns: 1fr 1fr;
    /* Shared tracks so both tiers' headers (and thus feature lines) align. */
    grid-template-rows: auto auto;
  }

  .st-pricing__tier {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    padding: 2.25rem 2rem 2.5rem 0.5rem;
    border-bottom: none;
    border-right: 1px solid var(--st-line);
  }

  .st-pricing__tier:last-child {
    border-right: none;
    padding-left: 2rem;
    padding-right: 0.5rem;
  }
}

.st-pricing__header {
  margin-bottom: 1.75rem;
}

.st-pricing__badge {
  display: block;
  min-height: 1.05rem;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--st-muted);
}

.st-pricing__badge--spacer {
  visibility: hidden;
}

.st-pricing__name {
  margin: 0 0 0.35rem;
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--st-ink);
}

.st-pricing__kicker {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--st-muted-deep);
}

.st-pricing__price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}

.st-pricing__amount {
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--st-ink);
}

.st-pricing__period {
  font-size: 0.85rem;
  color: var(--st-muted);
}

.st-pricing__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-pricing__list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--st-line);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--st-muted-deep);
}

.st-pricing__list li:last-child {
  padding-bottom: 0;
}

.st-pricing__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 36rem;
}

.st-pricing__foot p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--st-muted-deep);
}

/* How it works — shared FitterPal section markup, Strutos chrome */

.st-how-it-works {
  --heading-color: var(--st-ink);
  --subtle-body: var(--st-muted-deep);
}

.st-how-it-works__title {
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.st-how-it-works__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 6rem);
}

.st-how-it-works .fp-features {
  min-height: 0;
  padding: 0;
}

.st-how-it-works .fp-section-title span {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-muted);
}

.st-how-it-works .fp-section-title h2 {
  margin: 0 0 1rem;
  font-family: var(--st-font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--st-ink);
}

.st-how-it-works .max-width-medium {
  max-width: 34rem;
}

.st-how-it-works .fp-section-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--st-muted-deep);
}

.st-how-it-works .fp-section-description p {
  margin: 0 0 1rem;
}

.st-how-it-works .fp-section-description p:last-child {
  margin-bottom: 0;
}

.st-how-it-works .fp-section-description a {
  color: var(--st-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.st-how-it-works .fp-section-description a:hover,
.st-how-it-works .fp-section-description a:focus-visible {
  color: var(--st-muted-deep);
}

.st-how-it-works .fp-codified-screenshot {
  display: block;
  width: 100%;
}

.st-how-it-works .fp-marshall-demo-app {
  border-radius: 0;
  box-shadow: 0 24px 50px rgba(20, 19, 24, 0.12);
}

.st-how-it-works .fp-marshall-demo-launcher {
  border-radius: 0;
}

/* Footer */

.st-footer {
  background: var(--st-near-black);
  color: var(--st-white);
  padding: 3.5rem var(--st-space-gutter) 0;
}

.st-footer__grid {
  max-width: var(--st-max);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  font-size: 0.85rem;
}

@media (min-width: 992px) {
  .st-footer__grid {
    grid-template-columns: minmax(0, 1.8fr) auto auto;
    gap: 4rem;
    align-items: start;
  }
}

.st-footer__label {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--st-muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.st-footer__contact-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .st-footer__contact-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
  }
}

.st-footer__contact-item {
  min-width: 9rem;
  max-width: 16rem;
}

.st-footer__contact-title {
  margin: 0 0 0.45rem;
  font-family: var(--st-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--st-white);
}

.st-footer__contact-item p {
  margin: 0;
  color: var(--st-muted-soft);
  line-height: 1.55;
}

.st-footer__contact-item a {
  color: var(--st-white);
  text-decoration: none;
}

.st-footer__contact-item a:hover,
.st-footer__contact-item a:focus-visible {
  color: var(--st-accent);
}

.st-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.st-footer__links a {
  text-decoration: none;
  color: var(--st-white);
}

.st-footer__links a:hover,
.st-footer__links a:focus-visible {
  color: var(--st-accent);
}

.st-footer__wordmark {
  overflow: hidden;
  line-height: 0.78;
  text-align: center;
  user-select: none;
}

.st-footer__wordmark span {
  font-family: var(--st-font-display);
  font-weight: 800;
  font-size: 17.5vw;
  letter-spacing: -0.02em;
  color: var(--st-wordmark);
}
