/* Online proposal: the storefront's tokens and type (style.css), laid out as a document
   a client reads top to bottom — why, scope, three tiers, ERP modules, comparison, terms. */
.topbar { background: var(--green); color: #e6eee6; font-size: 13px; text-align: center; padding: 6px 16px; line-height: 1.7 }
.brand small { font-size: 12px; font-weight: 500; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline-start: 10px }
.header-row > .btn { margin-inline-start: auto }
.btn-sm { padding: 8px 16px; font-size: 14px }
.btn-light { background: #fff; color: var(--green) }
.btn-light:hover { background: var(--green-tint) }

/* hero */
.hero h1 { font-size: clamp(28px, 3.6vw, 44px) }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0 }
.hero-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; min-width: 120px }
.hero-stats dt { font-size: 24px; font-weight: 900; color: var(--green); line-height: 1.3 }
.hero-stats dd { margin: 0; font-size: 13px; color: var(--muted) }
.hero-stage .hero-picker { position: absolute; bottom: 8px; inset-inline: 0; justify-content: center; margin: 0; z-index: 2 }
.stage-badge { position: absolute; top: 4%; inset-inline-end: 6%; z-index: 2; font-size: 12px; font-weight: 700; color: var(--green); background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px }
.hero-stage .stage-hint { bottom: 54px }

/* sections */
.block { padding-block: clamp(56px, 8vw, 96px) }
.block.alt { background: var(--card); border-block: 1px solid var(--line) }
.block.dark { background: var(--green); color: #fff }
.head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center }
.head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--green); margin-top: 6px }
.head p:not(.eyebrow) { color: var(--muted); margin-top: 10px }
.dark .head h2 { color: #fff }
.dark .head p:not(.eyebrow) { color: #cfe0d4 }
.dark .eyebrow { color: #f0b56a }

.ico { display: inline-flex; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; background: var(--green-tint); color: var(--green) }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow) }
.card h3 { font-size: 19px; font-weight: 800; color: var(--green); margin: 14px 0 6px }
.card p { color: var(--muted) }
.card.plan { text-align: center }
.card.plan h3 { margin-top: 0 }
.card.plan .ticks { text-align: start; display: inline-block }
.card.featured { border-color: var(--green); box-shadow: 0 0 0 2px var(--green), var(--shadow) }

/* scope steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 20px }
.steps b { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; font-weight: 900 }
.steps h3 { font-size: 18px; font-weight: 800; color: var(--green); margin: 12px 0 4px }
.steps p { color: var(--muted); font-size: 15px }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px }
.tier.featured { border: 2px solid var(--green); transform: translateY(-8px); box-shadow: 0 20px 50px -20px rgba(31, 74, 46, .45) }
.ribbon { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--saffron); color: #fff; font-size: 13px; font-weight: 800; padding: 3px 14px; border-radius: 99px }
.tier-n { font-size: 13px; font-weight: 800; color: var(--saffron) }
.tier h3 { font-size: 22px; font-weight: 900; color: var(--green) }
.tier-d { color: var(--muted); font-size: 15px; min-height: 3.6em }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-weight: 700; color: var(--ink); padding-block: 6px; border-block: 1px dashed var(--line) }
.price b { font-size: 34px; font-weight: 900; color: var(--green); line-height: 1.2 }
.price small { flex-basis: 100%; font-size: 13px; font-weight: 500; color: var(--muted) }
.card.plan .price { justify-content: center; border: 0 }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.ticks li { position: relative; padding-inline-start: 28px; font-size: 15px }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat }
.ticks.small li { font-size: 14px }
.tier .btn { margin-top: 8px }

/* ERP modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.module { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 22px 20px; transition: background .25s, transform .25s }
.module:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px) }
.module .ico { background: rgba(255, 255, 255, .12); color: #f0b56a }
.module h3 { font-size: 17px; font-weight: 800; margin: 14px 0 10px }
.module ul { margin: 0; padding-inline-start: 18px; display: grid; gap: 5px; font-size: 14px; color: #d6e5da; line-height: 1.7 }
.module li::marker { color: #f0b56a }

/* comparison */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow) }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px }
.compare th, .compare td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center }
.compare th:first-child, .compare td:first-child { text-align: start }
.compare thead th { background: var(--green); color: #fff; font-weight: 800; position: sticky; top: 0 }
.compare thead th.hl { background: var(--green-2) }
.compare td.hl { background: color-mix(in srgb, var(--green-tint) 60%, transparent) }
.compare td:not(:first-child) { font-weight: 800; color: var(--green); width: 92px }
.compare tr.group td { background: var(--paper); font-weight: 900; color: var(--saffron); text-align: start; font-size: 14px }
.compare tbody tr:last-child td { border-bottom: 0 }

/* plan & terms */
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px }
.panel h3 { font-size: 18px; font-weight: 800; color: var(--green); margin-bottom: 14px }
.weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.weeks div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center }
.weeks b { display: block; font-size: 30px; font-weight: 900; color: var(--green); line-height: 1.3 }
.weeks span { font-size: 13px; color: var(--muted) }
.note { margin-top: 12px; font-size: 14px; color: var(--muted) }
.pay { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.pay li { display: flex; align-items: center; gap: 12px; font-size: 15px }
.pay b { flex: none; min-width: 54px; text-align: center; background: var(--green); color: #fff; border-radius: 10px; padding: 2px 8px; font-weight: 800 }
.dashes { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 15px; color: var(--muted) }

/* closing */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--green); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 48px) }
.cta h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900 }
.cta p { color: #cfe0d4; margin-top: 8px; max-width: 40em }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px }

/* reveal on scroll (only when JS runs and motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1) }
.js-reveal .reveal.in { opacity: 1; transform: none }

@media (max-width: 1000px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 900px) {
  .tiers, .cards-3, .steps { grid-template-columns: minmax(0, 1fr) }
  .tier.featured { transform: none; order: -1 }
  .tier-d { min-height: 0 }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 760px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr) }
  .brand small { display: none }
}
@media (max-width: 560px) {
  .modules, .steps { grid-template-columns: minmax(0, 1fr) }
  .hero-stats div { min-width: 0; flex: 1 }
  .header-row { gap: 12px }
}
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none } }
.main-nav a.on { color: var(--green); font-weight: 800 }
.compare .yes, .compare .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle }
.compare .yes { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat }
.compare .no { width: 14px; height: 2px; border-radius: 2px; background: #c9c2b0 }
