/* OnMarket */
:root {
  --ink: #0f1b2d;
  --green: #0f5a3a;          /* buttons, footer */
  --green-text: #157a4c;     /* headline accents */
  --green-tint: #e5f2eb;
  --text-2: #4a5566;
  --muted: #5b6575;
  --line: #e4e8ec;
  --accent: #157a4c;
  --focus: #157a4c;
  --btn-bg: #0f5a3a;
  --btn-bg-hover: #0b4a30;
  --btn-radius: 999px;
  --header-h: 88px;
  --max-w: 1200px;
  --gutter: 40px;
}

.green { color: var(--green-text); }
.eyebrow { font-size: 13px; letter-spacing: .24em; color: var(--ink); }
.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.section h2 span { display: block; }
.section .eyebrow + h2 { margin-top: 14px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--text-2); margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--green-text); text-decoration: none; }
.text-link .arrow { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { background: #fff; }
.brand { display: grid; text-decoration: none; line-height: 1.15; }
.wordmark { font-size: 28px; font-weight: 700; letter-spacing: .01em; color: var(--ink); line-height: 1; }
.brand-line { font-size: 15px; color: var(--ink); margin-top: 4px; }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.site-nav { gap: 48px; margin-right: 40px; }
.site-nav a { font-size: 15px; color: var(--ink); }
.site-nav a:hover { color: var(--green-text); }
.btn-sm { height: 44px; padding: 0 22px; border-radius: 6px; } /* header CTA is a rounded rectangle in the reference */

/* Hero */
.hero { position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center; background: #f4f6f6; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 30%, rgba(255,255,255,0) 55%); }
.hero-inner { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 44px; }
.hero h1 { font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 18px 0 18px; color: var(--ink); }
.hero h1 > span { display: block; }
.hero-copy { font-size: 20px; line-height: 1.45; color: var(--text-2); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .btn { height: 50px; padding: 0 30px; font-weight: 500; }
.btn-secondary { border-color: var(--green); background: rgba(255,255,255,.85); color: var(--ink); }
.btn-secondary:hover { background: #fff; }

/* Benefits */
.benefits { padding: 28px 0 22px; background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 6px 24px; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; }
.badge { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; color: var(--green); margin-bottom: 8px; }
.badge svg { width: 32px; height: 32px; }
.benefit h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.benefit p { font-size: 15px; color: var(--text-2); line-height: 1.45; }

/* Alternative model */
.alt-model .lede { margin-bottom: 24px; }
.model { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; column-gap: 24px; }
.model-head { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-bottom: 6px; }
.model-head:last-of-type { padding-left: 24px; }
.model-item { display: flex; gap: 32px; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); min-height: 90px; }
.model-item:nth-last-child(-n+3) { border-bottom: 0; }
.model-item .icon { width: 44px; height: 44px; flex: none; color: var(--ink); }
.model-item h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.model-item p { font-size: 16px; line-height: 1.45; color: var(--text-2); margin-top: 2px; }
.model-item.on .icon, .model-item.on h3 { color: var(--green); }
.model-item.on h3 { color: var(--green-text); }
.model-arrow { width: 26px; height: 26px; justify-self: center; color: var(--ink); }

/* Services */
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.section-head .btn { flex: none; margin-top: 4px; border-radius: 999px; height: 50px; padding: 0 28px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 22px; }
.svc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; padding: 14px 28px 22px; background: #fff; min-height: 210px; }
.svc-icon { width: 40px; height: 40px; border-radius: 4px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.svc-card p { font-size: 15px; line-height: 1.45; color: var(--text-2); margin: 6px 0 14px; }
.svc-card .text-link { margin-top: auto; }

/* Pathways */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.path-card { display: grid; grid-template-columns: 134px 1fr; gap: 24px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.path-card img { width: 134px; height: 100%; min-height: 134px; object-fit: cover; }
.path-card > div { padding: 18px 16px 16px 0; display: flex; flex-direction: column; }
.path-card h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.path-card p { font-size: 15px; line-height: 1.4; color: var(--text-2); margin: 6px 0 10px; }
.path-card .text-link { margin-top: auto; }

/* Process */
.process { border-top: 0; padding-top: 24px; padding-bottom: 32px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps li { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-right: 32px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: 6px; top: 14px; width: 20px; height: 12px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h18m-5-5 5 5-5 5' fill='none' stroke='%230f1b2d' stroke-width='1.4'/%3E%3C/svg%3E");
}
.num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 600; }
.steps h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.steps p { font-size: 13.5px; line-height: 1.4; color: var(--text-2); margin-top: 2px; }

/* Footer */
.site-footer { background: #0e4430; color: #fff; padding: 22px 0 16px; }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.site-footer .wordmark { color: #fff; font-size: 30px; }
.site-footer .brand-sub { color: rgba(255,255,255,.85); font-size: 14px; }
.footer-nav { display: flex; gap: 52px; margin-left: auto; margin-right: 48px; }
.footer-nav a { font-size: 15px; text-decoration: none; color: rgba(255,255,255,.92); }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef3f0; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 13px; color: rgba(255,255,255,.72); }
.legal-links a { margin-left: 64px; text-decoration: none; color: #fff; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav { gap: 28px; margin-right: 8px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .path-grid { grid-template-columns: 1fr; max-width: 640px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .steps li:nth-child(3)::after { display: none; }
  .footer-nav { gap: 28px; margin-right: 16px; }
}
@media (max-width: 960px) {
  :root { --header-h: 80px; --gutter: 24px; }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.2) 100%); }
  .hero-copy br, .lede br, .model-item p br { display: none; }
  .model { grid-template-columns: 1fr; }
  .model-arrow, .model > span { display: none; }
  .model-head:last-of-type { padding-left: 0; margin-top: 28px; order: 5; }
  /* stack: traditional items first, then OnMarket items */
  .model-head:first-of-type { order: 0; }
  .model-item { order: 1; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line) !important; }
  .model-item.on { order: 6; }
  .section-head { flex-direction: column; }
  .footer-top { flex-wrap: wrap; }
  .footer-nav { margin: 0; flex-wrap: wrap; gap: 14px 24px; width: 100%; order: 3; }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .benefit-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .benefit { border-left: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .path-card { grid-template-columns: 110px 1fr; gap: 16px; }
  .path-card img { width: 110px; height: 100%; min-height: 120px; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .steps p br { display: none; }
  .footer-legal { flex-direction: column; }
  .legal-links a { margin: 0 24px 0 0; }
}
