/* =========================================================
   Outcome Reach landing page
   Clean SaaS layout, valid CSS, responsive logo sizing
   ========================================================= */

:root {
  --bg: #090a0d;
  --bg-elev: #101218;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f8fb;
  --text-muted: #b4bac8;
  --text-subtle: #7f8798;
  --accent: #00e8b0;
  --accent-hover: #28f5c3;
  --accent-deep: #00bb8e;
  --accent-subtle: rgba(0, 232, 176, 0.12);
  --accent-on-dark: #05100d;
  --violet: #8e7bff;
  --grad-text: linear-gradient(90deg, #00e8b0 0%, #8e7bff 100%);
  --max: 1120px;
  --header-h: 72px;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #11131a 0%, var(--bg) 28%, #08090c 100%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  opacity: 0.42;
}

::selection {
  background: var(--accent-subtle);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text);
  transition: transform 160ms var(--ease);
}

.skip:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.h1 {
  max-width: 760px;
  color: var(--text);
  font-size: 3.65rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.h2 {
  max-width: 760px;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
  text-wrap: balance;
}

.gradient-text {
  background: var(--grad-text);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  color: inherit;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition:
    background 160ms var(--ease),
    border-color 160ms var(--ease),
    color 160ms var(--ease),
    transform 160ms var(--ease),
    box-shadow 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn--sm {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 50px;
  padding: 15px 26px;
  font-size: 1rem;
}

.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 12px 34px rgba(0, 232, 176, 0.22);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-1px);
}

.btn:focus-visible,
.announce__link:focus-visible,
.brand:focus-visible,
.footer__brand:focus-visible,
.footer__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.announce {
  border-bottom: 1px solid var(--line-soft);
  background: #0d0f14;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  gap: 10px;
  min-height: 40px;
  padding: 8px 0;
  text-align: center;
}

.announce__inner strong {
  color: var(--text);
  font-weight: 700;
}

.announce__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 232, 176, 0.62);
}

.announce__link {
  color: var(--accent);
  font-weight: 700;
}

.announce__link::after {
  content: " ->";
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(9, 10, 13, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(9, 10, 13, 0.94);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  height: var(--header-h);
  margin-inline: auto;
  gap: 16px;
}

.brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 70%;
  flex: 0 1 auto;
}

.brand__logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: 240px;
  max-height: 32px;
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
}

.footer__logo {
  display: block;
  width: auto;
  height: 26px;
  max-width: 220px;
  max-height: 28px;
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(0, 232, 176, 0.11) 0%, transparent 28%),
    linear-gradient(225deg, rgba(142, 123, 255, 0.09) 0%, transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, transparent 52%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__sub {
  max-width: 720px;
  margin: 24px 0 36px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__trust,
.final__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero__trust li,
.final__trust li {
  position: relative;
  padding-left: 16px;
}

.hero__trust li::before,
.final__trust li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: translateY(-50%);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--muted {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step,
.feature,
.approach__stats li,
.faq__item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
}

.step,
.feature {
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}

.step {
  min-height: 270px;
  padding: 28px;
}

.step:hover,
.feature:hover {
  border-color: var(--line);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.step__num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.step__time {
  margin-bottom: 8px;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.step__title,
.feature__title {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.step__body,
.feature__body {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 250px;
  padding: 32px 28px;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 232, 176, 0.2);
  border-radius: var(--radius);
  background: var(--accent-subtle);
  color: var(--accent);
}

.feature__icon svg {
  flex: 0 0 auto;
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

.approach__head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.approach__body p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.approach__body strong {
  color: var(--text);
  font-weight: 700;
}

.approach__stats {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.approach__stats li {
  padding: 18px 22px;
}

.approach__stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 700;
}

.approach__stats span {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.panel {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--bg-elev);
  box-shadow: var(--shadow);
  padding: 56px 48px;
}

.panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-text);
  content: "";
}

.panel__eyebrow {
  margin-bottom: 12px;
}

.panel__title {
  max-width: 100%;
  margin-bottom: 20px;
}

.panel__text {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.panel__text strong {
  color: var(--text);
  font-weight: 700;
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.kpi,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.kpi {
  border: 1px solid rgba(0, 232, 176, 0.22);
  background: var(--accent-subtle);
  color: var(--text);
}

.panel__sub {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 700;
}

.checklist {
  margin-bottom: 32px;
}

.checklist li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 32px;
  color: var(--text-muted);
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 232, 176, 0.34);
  border-radius: 999px;
  background: var(--accent-subtle);
  content: "";
}

.checklist li::after {
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  content: "";
  transform: rotate(-45deg);
}

.checklist strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 700;
}

.checklist span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.panel__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  gap: 8px;
  border: 1px solid rgba(142, 123, 255, 0.28);
  background: rgba(142, 123, 255, 0.11);
  color: var(--text);
}

.pill::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 8px rgba(142, 123, 255, 0.7);
  content: "";
}

.faq {
  display: grid;
  max-width: 840px;
  gap: 10px;
}

.faq__item {
  overflow: hidden;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.faq__item:hover,
.faq__item[open] {
  border-color: var(--line);
  background: var(--surface-hover);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::marker {
  content: "";
}

.faq__item summary > span:first-child {
  flex: 1 1 auto;
}

.faq__icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-muted);
  content: "";
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}

.faq__icon::before {
  width: 8px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px;
  height: 8px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon {
  border-color: rgba(0, 232, 176, 0.44);
  background: var(--accent-subtle);
  transform: rotate(180deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: var(--accent);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__body {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.72;
}

.faq__body p {
  max-width: 700px;
}

.final {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 232, 176, 0.035) 100%);
}

.final__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.final__title {
  max-width: 100%;
  margin: 0 auto 16px;
}

.final__sub {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.final__sub strong {
  color: var(--text);
  font-weight: 700;
}

.final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.final__trust {
  justify-content: center;
  font-size: 0.8125rem;
}

.footer {
  border-top: 1px solid var(--line-soft);
  background: #08090c;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__meta {
  flex: 1 1 320px;
  color: var(--text-subtle);
  font-size: 0.8125rem;
  line-height: 1.65;
  text-align: center;
}

.footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.8125rem;
  transition: color 160ms var(--ease);
}

.footer__links a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .h1 {
    font-size: 3.1rem;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .approach {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .approach__head {
    position: static;
  }

  .hero {
    padding: 72px 0 88px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 760px) {
  .h1 {
    font-size: 2.55rem;
  }

  .h2 {
    font-size: 1.85rem;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature,
  .step {
    min-height: 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .panel {
    padding: 40px 28px;
  }

  .hero__sub,
  .approach__body p,
  .final__sub {
    font-size: 1rem;
  }
}

@media (max-width: 580px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .announce {
    font-size: 0.75rem;
  }

  .announce__inner {
    min-height: 0;
    padding: 9px 0;
  }

  .header__inner {
    width: min(var(--max), calc(100% - 24px));
    gap: 10px;
  }

  .brand {
    max-width: calc(100% - 132px);
  }

  .brand__logo {
    height: 24px;
    max-width: 180px;
    max-height: 26px;
  }

  .footer__logo {
    height: 22px;
    max-width: 170px;
    max-height: 24px;
  }

  .btn--sm {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.8125rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 52px 0 68px;
  }

  .h1 {
    font-size: 2.15rem;
  }

  .h2 {
    font-size: 1.65rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .hero__ctas,
  .panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn,
  .panel__actions .btn,
  .final__actions .btn {
    width: 100%;
  }

  .hero__trust,
  .final__trust {
    flex-direction: column;
    gap: 10px;
  }

  .pill {
    justify-content: center;
  }

  .panel {
    padding: 34px 22px;
  }

  .final {
    padding: 72px 0;
  }

  .final__trust {
    align-items: center;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .footer__brand {
    justify-content: center;
    max-width: 100%;
  }

  .footer__meta {
    flex-basis: auto;
    min-width: 0;
  }

  .footer__links {
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .h1 {
    font-size: 1.9rem;
  }

  .h2 {
    font-size: 1.45rem;
  }

  .brand {
    max-width: calc(100% - 118px);
  }

  .brand__logo {
    max-width: 150px;
  }

  .panel,
  .step,
  .feature {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
