:root {
  --ink: #111315;
  --muted: #5d6674;
  --line: #dfe5ec;
  --paper: #f7f8f5;
  --white: #ffffff;
  --orange: #f47b45;
  --green: #07633d;
  --fresh: #12cf72;
  --blue: #1d6eea;
  --cyan: #20b8c8;
  --plum: #6f3aa8;
  --shadow: 0 24px 80px rgba(21, 29, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 50px rgba(16, 24, 40, 0.09);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

.brand-lockup {
  display: flex;
  align-items: center;
  width: 190px;
  height: 46px;
  overflow: hidden;
}

.brand-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #202632;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef2f6;
  outline: none;
}

.login-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.login-button,
.primary-action {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(17, 19, 21, 0.18);
}

.login-button {
  min-width: 104px;
  padding: 0 20px;
}

.login-button:hover,
.primary-action:hover {
  background: #262b31;
}

.primary-action {
  padding: 0 22px;
}

.secondary-action {
  padding: 0 20px;
  border: 1px solid #cbd5df;
  background: var(--white);
  color: var(--ink);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4dce5;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 132px 24px 52px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    url("assets/reckon-logo.jpg") right 8% top 122px / 560px auto no-repeat,
    var(--paper);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 520px);
  align-items: end;
  gap: 44px;
}

.hero-copy {
  padding: 70px 0 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 4.35rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 30px;
  color: #333d49;
  font-size: 1.22rem;
}

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

.signal-row {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.signal-row span {
  min-height: 52px;
  padding: 12px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #313944;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.software-frame {
  min-height: 430px;
  padding: 18px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.frame-topbar p,
.frame-topbar strong {
  display: block;
  margin: 0;
}

.frame-topbar p {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.frame-topbar strong {
  font-size: 1.25rem;
}

.status-pill {
  min-width: 104px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #e8f8ef;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.kpi-grid article,
.module-preview,
.proof-grid article,
.business-card {
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.kpi-grid article {
  min-height: 120px;
  padding: 14px;
}

.kpi-grid span,
.column-label,
.business-card > span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kpi-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
}

.kpi-grid em {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.ops-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
  min-height: 214px;
}

.ops-column,
.activity-panel {
  padding: 14px;
  border-radius: 8px;
  background: #f3f6f9;
}

.task-item {
  min-height: 48px;
  margin-top: 10px;
  padding: 13px 13px 13px 16px;
  border-left: 4px solid currentColor;
  border-radius: 8px;
  background: var(--white);
  color: #202632;
  font-size: 0.9rem;
  font-weight: 800;
}

.task-item.orange {
  color: var(--orange);
}

.task-item.green {
  color: var(--green);
}

.task-item.blue {
  color: var(--blue);
}

.pulse-line {
  width: 88%;
  height: 12px;
  margin: 16px 0 10px;
  border-radius: 99px;
  background: #d9e1eb;
}

.pulse-line.short {
  width: 56%;
  margin-top: 0;
}

.mini-chart {
  display: grid;
  height: 118px;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  margin-top: 20px;
}

.mini-chart span {
  display: block;
  min-height: 24px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.brand-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brand-strip img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  padding: 16px;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.brand-strip img:last-child {
  background: #020403;
}

.intro-band {
  padding: 0 24px;
  background: var(--ink);
  color: var(--white);
}

.intro-inner {
  display: grid;
  width: min(1180px, 100%);
  min-height: 160px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.intro-inner p {
  max-width: 850px;
  margin: 0;
  font-size: 1.24rem;
  font-weight: 750;
}

.intro-inner a {
  min-width: 152px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 900px;
}

.section-heading h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.platform-copy {
  padding: 34px;
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(21, 29, 43, 0.08);
}

.platform-copy h3 {
  margin-bottom: 12px;
  font-size: 1.6rem;
}

.platform-copy p {
  color: var(--muted);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.module-button {
  min-height: 48px;
  border: 1px solid #d7e0e9;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.module-button.active,
.module-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.module-preview {
  min-height: 330px;
  padding: 34px;
  background:
    linear-gradient(140deg, rgba(244, 123, 69, 0.11), rgba(32, 184, 200, 0.1)),
    var(--white);
  box-shadow: var(--shadow);
}

.module-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}

.module-preview-top span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.module-preview-top strong {
  color: var(--green);
  font-size: 3rem;
  line-height: 1;
}

.module-preview p {
  max-width: 520px;
  margin-bottom: 38px;
  color: #26313e;
  font-size: 1.25rem;
  font-weight: 750;
}

.progress-stack {
  display: grid;
  gap: 12px;
}

.progress-stack span {
  display: block;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--fresh), var(--blue));
}

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

.business-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(21, 29, 43, 0.08);
}

.logo-window,
.academy-mark {
  display: flex;
  height: 154px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f7f0;
}

.logo-window img {
  width: 92%;
  max-height: 118px;
  object-fit: contain;
}

.logo-window.dark {
  background: #000;
}

.academy-mark {
  background:
    linear-gradient(135deg, rgba(244, 123, 69, 0.18), rgba(32, 184, 200, 0.18)),
    #f8fbff;
}

.academy-mark strong {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--orange);
  font-size: 2rem;
}

.business-card h3 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.business-card p {
  color: var(--muted);
}

.business-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  font-weight: 900;
}

.search-card {
  border-top: 5px solid var(--fresh);
}

.albahar-card {
  border-top: 5px solid var(--green);
}

.coaching-card {
  border-top: 5px solid var(--orange);
}

.proof-section {
  padding-top: 30px;
}

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

.proof-grid article {
  min-height: 260px;
  padding: 24px;
}

.proof-grid span {
  display: block;
  margin-bottom: 36px;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 900;
}

.proof-grid h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.proof-grid p {
  color: var(--muted);
}

.final-cta {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  min-height: 330px;
  margin: 0 auto 72px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 48px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(17, 19, 21, 0.96), rgba(15, 50, 45, 0.96)),
    var(--ink);
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.final-cta .primary-action {
  background: var(--white);
  color: var(--ink);
}

.site-footer {
  display: grid;
  min-height: 150px;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 32px max(24px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer img {
  width: 200px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer a {
  font-weight: 900;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.login-modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 21, 0.62);
  backdrop-filter: blur(8px);
}

.login-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(430px, calc(100% - 32px));
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.close-login {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.close-login::before,
.close-login::after {
  position: absolute;
  top: 17px;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
}

.close-login::before {
  transform: rotate(45deg);
}

.close-login::after {
  transform: rotate(-45deg);
}

.login-panel h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.login-note {
  margin-bottom: 24px;
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #25303d;
  font-size: 0.88rem;
  font-weight: 900;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244, 123, 69, 0.14);
}

.full-width {
  width: 100%;
  margin-top: 6px;
}

.login-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.login-foot a {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
  }

  .login-button {
    grid-column: 4;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(17, 19, 21, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-content,
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 34px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-visual {
    max-width: 720px;
  }

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

  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 8px;
  }

  .brand-lockup {
    width: 142px;
    height: 42px;
  }

  .login-button {
    min-width: 78px;
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .site-nav.is-open {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
    padding: 104px 16px 36px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
      url("assets/reckon-logo.jpg") right -88px top 116px / 340px auto no-repeat,
      var(--paper);
  }

  .hero-content,
  .ops-board,
  .brand-strip,
  .intro-inner,
  .business-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
  }

  .signal-row,
  .kpi-grid,
  .module-list {
    grid-template-columns: 1fr;
  }

  .software-frame,
  .platform-copy,
  .module-preview,
  .final-cta,
  .login-panel {
    padding: 22px;
  }

  .frame-topbar,
  .module-preview-top,
  .login-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-shell,
  .final-cta {
    width: calc(100% - 32px);
  }

  .section-shell {
    padding: 64px 0;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .intro-inner {
    padding: 28px 0;
  }

  .intro-inner p {
    font-size: 1.03rem;
  }

  .business-card,
  .proof-grid article {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .brand-lockup {
    width: 124px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .site-header {
    gap: 6px;
  }

  .login-button {
    min-width: 70px;
  }

  .software-frame {
    padding: 16px;
  }
}
