:root {
    --ink: #12201e;
    --muted: #61706c;
    --line: #d5dfdc;
    --soft: #eff4f2;
    --paper: #ffffff;
    --green: #0b3d3a;
    --deep: #102724;
    --yellow: #f2b134;
    --red: #b94336;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "Segoe UI", ui-sans-serif, system-ui, sans-serif; font-size: 16px; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; letter-spacing: 0; }
svg { width: 1.25em; height: 1.25em; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); }
.nav-inner { width: min(1240px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; }
.site-brand > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--deep); background: var(--yellow); border: 1px solid #d39a28; border-radius: 7px; }
.site-brand svg { width: 21px; height: 21px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { color: #4e5e5a; text-decoration: none; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { padding: 10px 8px; color: var(--green); text-decoration: none; font-size: 14px; font-weight: 800; }
.nav-cta, .primary-link { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: #fff; background: var(--green); border: 1px solid var(--green); border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 800; }
.nav-cta svg, .primary-link svg, .text-link svg, .capability-grid a svg { width: 17px; height: 17px; }
.menu-button { width: 42px; height: 42px; display: none; place-items: center; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.mobile-nav { padding: 14px 24px 20px; display: grid; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(18, 32, 30, .12); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 0; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 750; }

.hero { position: relative; min-height: calc(100svh - 72px); overflow: hidden; color: #fff; background: var(--deep); }
.hero-product { position: absolute; z-index: 0; inset: 0 0 0 auto; width: 69%; height: 100%; object-fit: cover; object-position: 27% center; filter: saturate(.72) contrast(1.02); }
.hero-shade { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 61%; background: var(--deep); }
.hero-shade::after { position: absolute; content: ""; top: 0; right: -150px; width: 150px; height: 100%; background: rgba(16, 39, 36, .86); }
.hero-inner { position: relative; z-index: 2; width: min(1240px, calc(100% - 48px)); min-height: calc(100svh - 72px); margin: auto; padding: 80px 0 115px; display: flex; align-items: center; }
.hero-copy { width: min(635px, 52%); }
.section-label { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.section-label > span { width: 26px; height: 2px; background: var(--yellow); }
.section-label.light { color: #acd0c7; }
.hero .section-label { color: #b7d2cc; }
.hero-copy h1 { max-width: 620px; margin: 0; font-size: 58px; line-height: 1.02; letter-spacing: 0; }
.hero-copy > p:not(.section-label) { max-width: 580px; margin: 24px 0 0; color: #bed0cc; font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 12px; }
.hero .primary-link { min-height: 52px; padding: 0 20px; color: var(--deep); background: var(--yellow); border-color: var(--yellow); }
.secondary-link { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 800; }
.hero-note { margin-top: 20px; display: flex; align-items: center; gap: 8px; color: #91aaa4; font-size: 12px; font-weight: 650; }
.hero-note svg { width: 16px; height: 16px; color: #55cf89; }
.hero-note > span { width: 3px; height: 3px; background: #78928c; border-radius: 50%; }
.product-caption { position: absolute; right: 34px; bottom: 34px; z-index: 3; width: 250px; padding: 15px 17px; display: grid; gap: 3px; color: var(--ink); background: rgba(255,255,255,.96); border-left: 4px solid var(--yellow); }
.product-caption span { color: var(--green); font-size: 9px; font-weight: 900; }
.product-caption strong { font-size: 14px; }
.product-caption small { color: var(--muted); font-size: 10px; }

.proof-strip { min-height: 118px; padding: 0 max(24px, calc((100% - 1240px)/2)); display: grid; grid-template-columns: repeat(4, 1fr); background: var(--yellow); border-bottom: 1px solid #d59d2e; }
.proof-strip div { padding: 28px 30px; display: grid; align-content: center; gap: 5px; border-right: 1px solid rgba(18,32,30,.18); }
.proof-strip div:first-child { border-left: 1px solid rgba(18,32,30,.18); }
.proof-strip strong { font-size: 17px; }
.proof-strip span { color: #594516; font-size: 12px; font-weight: 700; }

.platform-section { padding: 112px max(24px, calc((100% - 1240px)/2)); }
.section-heading { margin-bottom: 60px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 80px; align-items: end; }
.section-heading h2, .workflow-copy h2, .experience-copy h2, .pricing-heading h2, .final-cta h2 { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: 0; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-width: 0; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-icon { width: 46px; height: 46px; margin-bottom: 36px; display: grid; place-items: center; color: var(--green); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; }
.capability-grid article:nth-child(2) .capability-icon, .capability-grid article:nth-child(3) .capability-icon { color: #654814; background: #fff6e2; border-color: #ecd49f; }
.capability-icon svg { width: 23px; height: 23px; }
.capability-grid article > p:first-of-type { margin: 0 0 12px; color: var(--green); font-size: 10px; font-weight: 900; }
.capability-grid h3 { max-width: 480px; margin: 0; font-size: 25px; line-height: 1.24; }
.capability-grid h3 + p { max-width: 510px; margin: 17px 0 24px; color: var(--muted); line-height: 1.65; }
.capability-grid a, .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--green); text-decoration: none; font-size: 13px; font-weight: 850; }

.workflow-section { padding: 112px max(24px, calc((100% - 1240px)/2)); color: #fff; background: var(--deep); }
.workflow-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.workflow-copy { align-self: center; }
.workflow-copy > p:not(.section-label) { max-width: 450px; margin: 22px 0 30px; color: #a9c0ba; line-height: 1.65; }
.primary-link.accent { color: var(--deep); background: var(--yellow); border-color: var(--yellow); }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.workflow-list li { padding: 31px 0; display: grid; grid-template-columns: 68px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.workflow-list li > span { color: var(--yellow); font-size: 14px; font-weight: 900; }
.workflow-list strong { font-size: 20px; }
.workflow-list p { margin: 9px 0 0; color: #a9c0ba; line-height: 1.6; }

.customer-experience { padding: 112px max(24px, calc((100% - 1240px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; background: var(--soft); }
.experience-copy > p:not(.section-label) { margin: 22px 0 26px; color: var(--muted); line-height: 1.7; }
.experience-copy ul { margin: 0 0 28px; padding: 0; display: grid; gap: 12px; list-style: none; }
.experience-copy li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 750; }
.experience-copy li svg { width: 18px; height: 18px; color: var(--green); }
.portal-preview { max-width: 520px; margin-left: auto; background: #fff; border: 1px solid #c7d5d1; border-radius: 8px; box-shadow: 18px 22px 0 #dce6e3; overflow: hidden; transform: rotate(1.2deg); }
.preview-top { min-height: 88px; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: var(--deep); }
.preview-top span { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.preview-top span svg { color: var(--yellow); }
.preview-top small { color: #a9c0ba; font-size: 9px; font-weight: 900; }
.preview-body { padding: 27px; }
.preview-body > p { margin: 0 0 5px; color: var(--green); font-size: 9px; font-weight: 900; }
.preview-body h3 { margin: 0 0 22px; font-size: 25px; }
.preview-pass { min-height: 74px; padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.preview-pass:last-child { border-bottom: 1px solid var(--line); }
.preview-pass.featured { background: #fff8e8; border-left: 4px solid var(--yellow); }
.preview-pass span { display: grid; gap: 5px; }
.preview-pass small { color: var(--muted); }
.preview-pass b { white-space: nowrap; }

.pricing-section { padding: 112px max(24px, calc((100% - 1240px)/2)); }
.pricing-heading { max-width: 760px; margin-bottom: 52px; }
.price-layout { display: grid; grid-template-columns: .85fr 1.15fr .7fr; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 6px; }
.price-layout > div { padding: 40px; }
.price-layout > div + div { border-left: 1px solid var(--line); }
.price-amount small { display: block; color: var(--green); font-size: 12px; font-weight: 900; }
.price-amount strong { display: inline-block; margin-top: 7px; font-size: 50px; line-height: 1; }
.price-amount > span { color: var(--muted); font-weight: 700; }
.price-amount p { margin: 13px 0 0; color: var(--muted); }
.price-features { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 26px; align-content: center; }
.price-features span { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 750; line-height: 1.4; }
.price-features svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--green); }
.price-action { display: grid; align-content: center; gap: 20px; background: var(--soft); }
.price-action p { margin: 0; color: var(--muted); line-height: 1.6; }

.final-cta { padding: 82px max(24px, calc((100% - 1240px)/2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; color: #fff; background: #23332f; border-bottom: 7px solid var(--yellow); }
.final-cta h2 { max-width: 760px; }
.final-cta > div:last-child { display: grid; justify-items: start; gap: 17px; }
.final-cta > div:last-child > a:last-child { color: #c1d2ce; font-size: 13px; font-weight: 750; }

.site-footer { padding: 56px max(24px, calc((100% - 1240px)/2)) 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px 45px; align-items: center; color: #9bb0ab; background: #0d1d1b; }
.footer-brand { color: #fff; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer > div a { color: #c3d1ce; text-decoration: none; font-size: 12px; font-weight: 700; }
.site-footer > small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

@media (max-width: 980px) {
    .desktop-nav { display: none; }
    .menu-button { display: grid; }
    .hero-product { width: 66%; object-position: 25% center; }
    .hero-shade { width: 67%; }
    .hero-copy { width: 60%; }
    .hero-copy h1 { font-size: 48px; }
    .section-heading { grid-template-columns: 1fr; gap: 24px; }
    .workflow-inner { gap: 55px; }
    .customer-experience { gap: 50px; }
    .price-layout { grid-template-columns: 1fr 1fr; }
    .price-action { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0 !important; grid-template-columns: 1fr auto; align-items: center; }
}

@media (max-width: 760px) {
    .site-header { height: 64px; }
    .nav-inner { width: calc(100% - 32px); }
    .nav-login, .nav-cta { display: none; }
    .hero { min-height: calc(100svh - 64px); padding-top: 250px; display: flex; flex-direction: column; }
    .hero-product { top: 0; width: 100%; height: 300px; object-position: 30% 15%; }
    .hero-shade { inset: 245px 0 0; width: 100%; height: auto; }
    .hero-shade::after { display: none; }
    .hero-inner { width: calc(100% - 32px); min-height: auto; padding: 54px 0 82px; align-items: flex-start; }
    .hero-copy { width: 100%; }
    .hero-copy h1 { font-size: 39px; }
    .hero-copy > p:not(.section-label) { font-size: 16px; }
    .product-caption { display: none; }
    .proof-strip { grid-template-columns: 1fr 1fr; padding: 0; }
    .proof-strip div { padding: 22px 20px; border-bottom: 1px solid rgba(18,32,30,.18); }
    .platform-section, .workflow-section, .customer-experience, .pricing-section { padding-top: 76px; padding-bottom: 76px; }
    .section-heading h2, .workflow-copy h2, .experience-copy h2, .pricing-heading h2, .final-cta h2 { font-size: 34px; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-grid article { padding: 32px 26px; }
    .workflow-inner, .customer-experience, .final-cta { grid-template-columns: 1fr; }
    .workflow-inner { gap: 55px; }
    .portal-preview { margin: 0; transform: none; box-shadow: 10px 12px 0 #dce6e3; }
    .price-layout { grid-template-columns: 1fr; }
    .price-layout > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .price-action { grid-column: auto; grid-template-columns: 1fr; }
    .final-cta { gap: 34px; }
    .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero { padding-top: 215px; }
    .hero-product { height: 255px; }
    .hero-shade { top: 210px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions a { width: 100%; }
    .hero-note { align-items: flex-start; flex-wrap: wrap; }
    .proof-strip { grid-template-columns: 1fr; }
    .proof-strip div { border-right: 0; }
    .proof-strip div:first-child { border-left: 0; }
    .price-features { grid-template-columns: 1fr; }
    .price-layout > div { padding: 28px 22px; }
    .price-amount strong { font-size: 43px; }
    .preview-top { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
