/* ===========================================================================
   Shrpa holding page
   Palette and type follow the Shrpa brand guidelines v1.0
   =========================================================================== */

:root {
  --ink: #2E2A35;
  --cream: #F7F5F2;
  --white: #fff;

  --orange: #F89A1C;
  --amber: #C97A0E;      /* orange darkened for text/links on light grounds */
  --teal: #2BB7C4;
  --teal-dark: #1E8E99;  /* teal darkened for text on light grounds */
  --purple: #8B76C3;
  --pink: #F4457B;

  --rule-light: rgba(46, 42, 53, 0.12);
  --rule-dark: rgba(247, 245, 242, 0.14);
  --ink-70: rgba(46, 42, 53, 0.72);
  --ink-50: rgba(46, 42, 53, 0.5);
  --cream-75: rgba(247, 245, 242, 0.78);
  --cream-65: rgba(247, 245, 242, 0.66);
  --cream-50: rgba(247, 245, 242, 0.5);

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 12px;
  --band-y: clamp(72px, 9vw, 112px);

  --font: Poppins, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* --- Layout helpers ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band-y); }

.band--dark {
  background: var(--ink);
  color: var(--cream);
}
.band--dark a { color: var(--cream); }

.band--white {
  background: var(--white);
  border-block: 1px solid var(--rule-light);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 16px;
}
.eyebrow--accent { color: var(--orange); }
.eyebrow--amber { color: var(--amber); }
.eyebrow--teal { color: var(--teal-dark); }
.eyebrow--muted { color: var(--cream-50); }
.eyebrow--muted-dark { color: var(--ink-50); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head__title {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-head__lede {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-70);
}
.band--dark .section-head__lede { color: var(--cream-75); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn--solid { background: var(--orange); color: var(--ink); }
.btn--solid:hover { background: var(--amber); color: var(--ink); }

.btn--ghost-light { border-color: rgba(247, 245, 242, 0.35); color: var(--cream); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }

.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }

.btn--ink { background: var(--ink); color: var(--cream); font-size: 17px; padding: 18px 32px; }
.btn--ink:hover { background: #1d1a22; color: var(--cream); }

.btn--ghost-ink { border-color: var(--ink); color: var(--ink); font-size: 17px; padding: 18px 32px; }
.btn--ghost-ink:hover { background: var(--ink); color: var(--orange); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Wordmark ------------------------------------------------------------ */

.wordmark {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--ink);
  line-height: 1;
}
.wordmark:hover { color: var(--ink); }
.wordmark--light, .wordmark--light:hover { color: var(--cream); }

.wordmark__text {
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.wordmark__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-bottom: 3px;
  flex: none;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 42, 53, 0.10);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav__list a { color: var(--ink); }
.site-nav__list a:hover { color: var(--amber); }
.site-nav__cta { font-size: 15px; padding: 12px 24px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--rule-light);
  border-radius: 999px;
  padding: 9px 16px 9px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero ---------------------------------------------------------------- */

.hero { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(80px, 10vw, 128px); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: end;
}

.hero__copy .eyebrow { margin-bottom: 28px; }

.hero__title {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 28px;
}

.hero__lede {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
  color: var(--cream-75);
}

/* --- Stats --------------------------------------------------------------- */

.stat-stack,
.care-grid {
  display: grid;
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.care-grid { grid-template-columns: repeat(2, 1fr); }

.stat {
  background: var(--ink);
  padding: 26px 28px;
}
/* Matches the design's rgba(247,245,242,.04) over the ink ground, flattened so
   the 1px grid gaps stay visible. */
.stat-stack .stat { background: #363239; }

.stat__figure {
  display: block;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.care-grid .stat__figure { font-size: clamp(24px, 2.6vw, 30px); }

.stat__figure--orange { color: var(--orange); }
.stat__figure--teal   { color: var(--teal); }
.stat__figure--purple { color: var(--purple); }
.stat__figure--pink   { color: var(--pink); }

.stat__label {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-65);
  margin-top: 6px;
}

/* --- Marquee ------------------------------------------------------------- */

.marquee-band { padding-top: 0; padding-bottom: clamp(64px, 8vw, 96px); }
.marquee-band .eyebrow { margin-bottom: 26px; }

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-bottom: 14px;
  animation: shrpa-marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group { display: flex; gap: 14px; }

.marquee__group li {
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(247, 245, 242, 0.72);
  border: 1px solid var(--rule-dark);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
}

@keyframes shrpa-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 7px)); }
}

/* --- Offer cards --------------------------------------------------------- */

.offer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
}
.card .eyebrow { margin-bottom: 20px; }

.card__title {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 16px;
}

.card__lede { color: var(--ink-70); margin-bottom: 28px; }

.card__cta { margin-top: auto; align-self: flex-start; }

.ticks { display: grid; gap: 12px; margin-bottom: 32px; }
.ticks li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
}
.ticks--orange li::before { background: var(--orange); }
.ticks--teal li::before { background: var(--teal); }

/* --- Feature grid -------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--white);
  padding: 34px 30px;
}

.feature__rule {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.feature__rule--orange { background: var(--orange); }
.feature__rule--teal   { background: var(--teal); }
.feature__rule--purple { background: var(--purple); }
.feature__rule--pink   { background: var(--pink); }

.feature__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.feature p { font-size: 15px; line-height: 1.6; color: var(--ink-70); }

/* --- Hosting and care ---------------------------------------------------- */

.care__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.care__copy .section-head__title { margin-bottom: 20px; }
.care__copy .section-head__lede { margin-bottom: 32px; }

/* --- Process ------------------------------------------------------------- */

.process__title { max-width: 620px; margin-bottom: clamp(40px, 5vw, 56px); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step { border-top: 2px solid var(--rule-light); padding-top: 24px; }
.step--current { border-top-color: var(--orange); }

.step__number {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-50);
  margin-bottom: 12px;
}
.step--current .step__number { color: var(--amber); }

.step__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-70); }

/* --- Sectors ------------------------------------------------------------- */

.sectors { padding-top: 0; }
.sectors__inner { border-top: 1px solid var(--rule-light); padding-top: 48px; }
.sectors .eyebrow { margin-bottom: 28px; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid rgba(46, 42, 53, 0.14);
  border-radius: 999px;
  padding: 10px 20px;
}

/* --- Contact ------------------------------------------------------------- */

.contact { background: var(--orange); color: var(--ink); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: end;
}

.contact__title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}
.contact__lede { font-size: clamp(17px, 1.8vw, 19px); line-height: 1.6; max-width: 520px; }

.contact__actions { display: grid; gap: 14px; }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(247, 245, 242, 0.7);
  padding: 56px 0 40px;
}

.site-footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer__brand .wordmark { margin-bottom: 20px; }
.site-footer__brand p { font-size: 15px; line-height: 1.6; max-width: 340px; }

.site-footer__links { display: flex; gap: 28px; font-size: 15px; flex-wrap: wrap; }
.site-footer__links a { color: rgba(247, 245, 242, 0.8); }
.site-footer__links a:hover { color: var(--orange); }

.site-footer__legal {
  margin-top: 32px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--cream-50);
}
.site-footer__legal::before {
  content: "";
  display: block;
  border-top: 1px solid var(--rule-dark);
  margin: 0 calc(var(--gutter) * -1) 24px;
}

/* ===========================================================================
   Responsive
   =========================================================================== */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .hero__inner,
  .care__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .stat-stack { grid-template-columns: repeat(3, 1fr); }
  .contact__actions { max-width: 420px; }
}

/* Header collapses to a toggle before the nav can crowd the wordmark. */
@media (max-width: 900px) {
  .site-header__inner { gap: 16px; flex-wrap: wrap; }

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

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 16px;
    border-top: 1px solid var(--rule-light);
  }
  .site-nav.is-open { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 17px;
  }
  .site-nav__list a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid var(--rule-light);
  }
  .site-nav__cta { margin-top: 16px; text-align: center; }
}

/* Two offer cards side by side get too narrow for their body copy below this. */
@media (max-width: 860px) {
  .offer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .feature-grid { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .card__cta { align-self: stretch; }

  .site-footer__inner { align-items: flex-start; }
  .site-footer__links { gap: 8px 24px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; }

  .care-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .pills li { font-size: 15px; padding: 9px 16px; }
  .marquee__group li { font-size: 13px; padding: 8px 15px; }
}

/* ===========================================================================
   Motion and print
   =========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .marquee-band, .skip-link { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .band { padding-block: 24pt; }
  .band--dark, .contact { background: #fff !important; color: #000 !important; }
  .band--dark .stat__label, .band--dark .section-head__lede, .hero__lede { color: #333 !important; }
  a { color: #000; }
}
