/* Rilan marketing site styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #0d1512;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: #128a4b;
  text-decoration: none;
}

a:hover {
  color: #0d6c3a;
}

::selection {
  background: #c9f2d8;
}

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

.eyebrow {
  font-family: 'Inter', monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes ringgrow {
  from {
    stroke-dasharray: 0 326.7;
  }

  to {
    stroke-dasharray: 245 326.7;
  }
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #edf0ee;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #0d1512;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand span {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .14em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navlinks {
  display: flex;
  gap: 30px;
  white-space: nowrap;
}

.navlinks a {
  color: #54605b;
  font-size: 14.5px;
  font-weight: 500;
}

.btn-dark {
  background: #0d1512;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 9px;
  white-space: nowrap;
  display: inline-block;
}

.btn-dark:hover {
  color: #fff;
  opacity: .9;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.pad-sec {
  padding-left: 32px;
  padding-right: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.grid-why {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.grid-2c {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.h-xl {
  font-size: 53px;
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 600;
  text-wrap: balance;
}

.h-lg {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 600;
  text-wrap: balance;
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 32px 72px;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-copy {
  font-size: 19px;
  line-height: 1.58;
  color: #54605b;
  max-width: 500px;
  margin-bottom: 34px;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #1fa856;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 11px;
  box-shadow: 0 8px 20px -6px rgba(31, 168, 86, .5);
  display: inline-block;
}

.btn-primary:hover {
  color: #fff;
  opacity: .92;
}

.btn-secondary {
  background: #fff;
  color: #0d1512;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 11px;
  border: 1px solid #d9ded9;
  display: inline-block;
}

.btn-secondary:hover {
  color: #0d1512;
  background: #fafbfa;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-stats>div:not(:first-child) {
  border-left: 1px solid #ebeeeb;
  padding-left: 30px;
}

.hero-stats .num {
  font-family: 'Inter', monospace;
  font-weight: 500;
  font-size: 22px;
}

.hero-stats .cap {
  font-size: 12.5px;
  color: #8a938d;
  margin-top: 3px;
}

.hero-mock-wrap {
  position: relative;
}

.hero-mock-glow {
  position: absolute;
  inset: -30px -20px;
  background: radial-gradient(60% 60% at 70% 25%, rgba(31, 168, 86, .10), transparent 70%);
  z-index: 0;
}

.hero-mock {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e6eae7;
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(13, 30, 20, .28);
  padding: 24px;
}

.hero-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
}

.hero-mock-head .label {
  color: #6b756f;
}

.hero-mock-head .status {
  color: #b0790f;
}

.hero-mock-score {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f2f0;
  margin-bottom: 8px;
}

.gauge {
  position: relative;
  width: 104px;
  height: 104px;
  flex: none;
}

.gauge svg {
  width: 104px;
  height: 104px;
  transform: rotate(-90deg);
}

.gauge .ring {
  animation: ringgrow 1.4s cubic-bezier(.34, .9, .3, 1) .3s both;
}

.gauge-num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-num b {
  font-family: 'Inter', monospace;
  font-weight: 500;
  font-size: 27px;
}

.gauge-num span {
  font-family: 'Inter', monospace;
  font-size: 10px;
  color: #a2abbb;
}

.hero-mock-score p {
  font-size: 14px;
  line-height: 1.5;
  color: #54605b;
}

.hero-mock-score p strong {
  color: #0d1512;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f4f6f4;
}

.mock-row .sev {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 3px;
}

.mock-row .title {
  font-size: 13.5px;
  color: #2b3444;
}

.mock-row .review {
  font-size: 13px;
  color: #128a4b;
  font-weight: 500;
  white-space: nowrap;
}

.integrations-note {
  margin-top: 66px;
  padding-top: 32px;
  border-top: 1px solid #f0f2f0;
}

.integrations-note p {
  text-align: center;
  color: #a6ada7;
  margin-bottom: 22px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.integrations-row {
  display: flex;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
  opacity: .7;
}

.integrations-row span {
  font-weight: 600;
  font-size: 16.5px;
  color: #7c847e;
  letter-spacing: -.01em;
}

/* ---------- Problem (dark) ---------- */
.section-dark {
  background: #0d1512;
  color: #fff;
  padding: 98px 32px;
}

.section-dark .eyebrow {
  color: #4fce85;
}

.section-dark .intro {
  max-width: 660px;
  margin-bottom: 56px;
}

.section-dark .intro h2 {
  margin-top: 16px;
}

.section-dark .intro p {
  font-size: 17.5px;
  line-height: 1.58;
  color: #9aa39c;
  margin-top: 18px;
  text-wrap: pretty;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 52px;
}

.problem-card .num {
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: #4fce85;
  margin-bottom: 14px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 9px;
}

.problem-card p {
  font-size: 14.5px;
  line-height: 1.58;
  color: #9aa39c;
}

/* ---------- Generic section ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 98px 32px;
}

.section-light {
  background: #f7f9f7;
  padding: 98px 32px;
}

.eyebrow.green {
  color: #128a4b;
}

.intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.intro h2 {
  margin-top: 16px;
}

/* how it works */
.how-grid {
  gap: 36px;
}

.step {
  padding-top: 20px;
}

.step .num {
  font-family: 'Inter', monospace;
  font-weight: 500;
  font-size: 15px;
  color: #1fa856;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  display: none;
}

.step p {
  font-size: 14.5px;
  line-height: 1.58;
  color: #54605b;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 90px;
}

.flow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1fa856;
}

.flow-label {
  font-size: 13.5px;
  font-weight: 500;
  color: #54605b;
  white-space: nowrap;
}

.flow-line {
  flex: 1.4;
  height: 1px;
  background: #d9ded9;
  margin: 0 4px;
  min-width: 24px;
  align-self: flex-start;
  margin-top: 5px;
}

/* features */
.feature-card {
  background: #fff;
  border: 1px solid #e9ede9;
  border-radius: 15px;
  padding: 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.feature-card:hover {
  border-color: #cde9d6;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(13, 30, 20, .25);
}

.feature-card .fnum {
  font-family: 'Inter', monospace;
  font-size: 12.5px;
  color: #1fa856;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.58;
  color: #54605b;
  margin-bottom: 16px;
}

.feature-card .sub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-card .sub-list div {
  font-size: 13.5px;
  color: #6b756f;
  padding: 8px 0;
  border-top: 1px solid #f0f2f0;
}

/* why / outcomes */
.why-copy p {
  font-size: 17px;
  line-height: 1.58;
  color: #54605b;
  text-wrap: pretty;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 44px;
}

.outcome {
  padding: 20px 0;
  border-top: 1px solid #ebeeeb;
}

.outcome .title {
  font-size: 18px;
  font-weight: 600;
  color: #1a231e;
  margin-bottom: 5px;
}

.outcome .body {
  font-size: 14px;
  line-height: 1.5;
  color: #54605b;
}

/* dashboard preview */
.dashboard-frame {
  background: #fff;
  border: 1px solid #e6eae7;
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(13, 30, 20, .3);
  overflow: hidden;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f2f0;
  background: #fbfcfb;
}

.dashboard-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e7ebe8;
}

.dashboard-bar .url {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: #a6ada7;
  margin-left: 12px;
}

.dashboard-frame iframe {
  width: 100%;
  height: 760px;
  border: 0;
  display: block;
  background: #f4f5f7;
}

/* pricing */
.pricing-grid {
  gap: 18px;
  align-items: stretch;
}

.plan {
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e9ede9;
  position: relative;
}

.plan.dark {
  background: #0d1512;
  border-color: #0d1512;
  color: #fff;
}

.plan-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.plan-price b {
  font-family: 'Inter', monospace;
  font-weight: 600;
  font-size: 30px;
}

.plan-price span {
  font-size: 13px;
  color: #8a938d;
}

.plan.dark .plan-price span {
  color: #9aa39c;
}

.plan-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #8a938d;
  margin-bottom: 22px;
  min-height: 56px;
}

.plan.dark .plan-desc {
  color: #9aa39c;
}

.plan-feats {
  margin-bottom: 26px;
  flex: 1;
}

.plan-feats div {
  font-size: 13.5px;
  line-height: 1.45;
  color: #54605b;
  padding: 9px 0;
  border-top: 1px solid #eef1ee;
}

.plan.dark .plan-feats div {
  color: #c8cfc9;
  border-top-color: #26312a;
}

.plan-cta {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 9px;
  background: #fff;
  color: #0d1512;
  border: 1px solid #d9ded9;
  display: block;
}

.plan.dark .plan-cta {
  background: #1fa856;
  color: #fff;
  border-color: #1fa856;
}

.plan-cta:hover {
  opacity: .9;
  color: inherit;
}

.plan-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 2px solid #d64545;
  border-radius: 4px;
  color: #d64545;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  transform: rotate(12deg);
  opacity: 0.85;
}

.plan.dark .plan-ribbon {
  /* border-color: #4fce85;
  color: #4fce85; */
  border: 2px solid #d64545;
  color: #d64545;
}

/* final CTA */
.cta-section {
  padding: 40px 32px 100px;
}

.cta-card {
  max-width: 1180px;
  margin: 0 auto;
  background: #0d1512;
  border-radius: 24px;
  padding: 84px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(31, 168, 86, .22), transparent 70%);
}

.cta-content {
  position: relative;
}

.cta-content img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  margin: 0 auto 28px;
  animation: floaty 5s ease-in-out infinite;
}

.cta-content h2 {
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #fff;
  max-width: 660px;
  margin: 0 auto 20px;
  text-wrap: balance;
}

.cta-content p {
  font-size: 18px;
  color: #9aa39c;
  max-width: 500px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}

/* footer */
.footer {
  border-top: 1px solid #edf0ee;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer-brand span:first-of-type {
  font-weight: 600;
  letter-spacing: .14em;
  font-size: 14px;
}

.footer-brand .tag {
  font-size: 13px;
  color: #a6ada7;
  margin-left: 8px;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  color: #7c847e;
  font-size: 13.5px;
}

.footer-copy {
  font-size: 13px;
  color: #a6ada7;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

  .grid-2,
  .grid-why {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }

  .grid-4,
  .grid-2c {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-5 {
    grid-template-columns: 1fr !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .navlinks {
    display: none !important;
  }

  .h-xl {
    font-size: 38px !important;
  }

  .h-lg {
    font-size: 31px !important;
  }

  .pad-sec,
  .hero,
  .section,
  .section-light,
  .section-dark {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .flow-row {
    display: none !important;
  }

  .step {
    position: relative;
    padding-left: 20px;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1fa856;
  }

  .step h3 {
    padding-left: 2px;
    display: block !important;
  }
}

@media (max-width: 560px) {

  .grid-4,
  .grid-2c,
  .grid-3 {
    grid-template-columns: 1fr !important;
  }

  .grid-5 {
    grid-template-columns: 1fr !important;
  }

  .h-xl {
    font-size: 30px !important;
  }

  .h-lg {
    font-size: 26px !important;
  }

  .hero {
    padding-top: 52px !important;
  }

  .section,
  .section-light,
  .section-dark {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .cta-card {
    padding: 52px 24px !important;
  }

  .cta-content h2 {
    font-size: 28px !important;
  }

  .cta-content p {
    font-size: 15px !important;
  }
}