:root {
        --evergreen: #005439;
        --mid-green: #6c7e64;
        --charcoal: #414141;
        --black: #0f130f;
        --white: #ffffff;
        --off-white: #e2e6e9;
        --egg-shell: #fcf6ef;
        --yellow: #ffcc73;
        --muted: #5c6b64;
        --wrap: 1200px;
      }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body {
        margin: 0;
        font-family: 'Manrope', system-ui, -apple-system, sans-serif;
        color: var(--charcoal);
        background: var(--white);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
      }
      a { color: inherit; }
      img { max-width: 100%; display: block; }
      .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
      @media (max-width: 720px) { .wrap { padding: 0 20px; } }

      /* Shared type ---------------------------------------------------------- */
      .eyebrow {
        font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
        text-transform: uppercase; color: var(--evergreen); margin: 0 0 18px;
      }
      .section__head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
      h2.title {
        font-weight: 200; letter-spacing: -0.5px; color: var(--black);
        font-size: clamp(2rem, 3.6vw, 2.85rem); line-height: 1.12; margin: 0 0 18px;
      }
      .lead { font-size: 20px; line-height: 30px; color: var(--charcoal); margin: 0; }
      section { padding: 88px 0; }

      /* Buttons -------------------------------------------------------------- */
      .btn {
        display: inline-flex; align-items: center; justify-content: center;
        font: 600 16px/20px 'Manrope', sans-serif; letter-spacing: 0.2px;
        padding: 16px 28px; border-radius: 10px; border: 1.5px solid transparent;
        cursor: pointer; text-decoration: none; transition: filter .15s ease, background .15s ease;
      }
      .btn--primary { background: var(--evergreen); color: var(--white); }
      .btn--primary:hover { filter: brightness(1.1); }
      .btn--secondary { background: transparent; color: var(--black); border-color: var(--charcoal); }
      .btn--secondary:hover { background: var(--egg-shell); }
      .btn--sm { padding: 12px 22px; font-size: 15px; }
      .btn:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 2px; }
      .btn--secondary:focus-visible { outline-color: var(--charcoal); }

      /* Nav ------------------------------------------------------------------ */
      .nav {
        position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9);
        backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--off-white);
      }
      .nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
      .brand { display: flex; align-items: center; gap: 12px; color: var(--black); text-decoration: none; }
      .brand__logo { height: 20px; width: auto; display: block; }
      .brand__word { font-size: 18px; font-weight: 600; color: var(--charcoal); }
      .brand__word::before { content: ''; display: inline-block; width: 1px; height: 18px; background: var(--off-white); margin-right: 12px; vertical-align: -3px; }
      .nav__links { display: flex; align-items: center; gap: 28px; }
      .nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--charcoal); }
      .nav__links a:hover { color: var(--evergreen); }
      .nav__right { display: flex; align-items: center; gap: 20px; }
      @media (max-width: 860px) { .nav__links { display: none; } }

      /* Hero ----------------------------------------------------------------- */
      .hero { text-align: center; padding: 64px 0 80px; }
      .hero .pill {
        display: inline-block; background: var(--off-white); color: var(--evergreen);
        font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
        padding: 8px 16px; border-radius: 100px; margin-bottom: 26px;
      }
      .hero h1 {
        font-weight: 200; font-size: clamp(2.5rem, 6.2vw, 4rem); line-height: 1.06;
        letter-spacing: -1px; color: var(--black); margin: 0 auto 26px; max-width: 900px;
      }
      .hero__sub { font-size: 20px; line-height: 30px; color: var(--charcoal); max-width: 680px; margin: 0 auto 26px; }
      .hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
      .hero__fineprint { font-size: 14px; color: var(--charcoal); display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
      .hero__trust { font-size: 14px; color: var(--charcoal); opacity: 0.8; margin-top: 40px; }

      /* Product mockup ------------------------------------------------------- */
      .mockup {
        background: var(--white); border: 1px solid var(--off-white); border-radius: 18px;
        overflow: hidden; box-shadow: 0 24px 60px rgba(0,38,23,0.12); max-width: var(--wrap); margin: 0 auto;
      }
      .mockup__bar { height: 48px; background: var(--off-white); display: flex; align-items: center; gap: 8px; padding: 0 20px; }
      .mockup__dot { width: 11px; height: 11px; border-radius: 50%; background: #c2c8cd; }
      .mockup__body { display: flex; min-height: 500px; }
      .mockup__side { width: 260px; background: var(--evergreen); color: var(--white); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; font-weight: 500; }
      .mockup__side span:not(:first-child) { opacity: 0.7; }
      .mockup__content { flex: 1; background: var(--egg-shell); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
      .mockup__content h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--charcoal); }
      .mockup__block { position: relative; background: var(--white); border: 1px solid var(--off-white); border-radius: 12px; height: 150px; overflow: hidden; }
      .mockup__block::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 80px; background: var(--yellow); }
      .mockup__row { display: flex; gap: 16px; }
      .mockup__tile { flex: 1; height: 120px; background: var(--white); border: 1px solid var(--off-white); border-radius: 12px; }
      .mockup__tile--green { background: var(--mid-green); }
      @media (max-width: 720px) { .mockup__side { display: none; } }

      /* Logo wall ------------------------------------------------------------ */
      .logowall { background: var(--egg-shell); padding: 56px 0; text-align: center; }
      .logowall .eyebrow { color: var(--muted); margin-bottom: 32px; }
      .logowall__logos { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: center; align-items: center; }
      .logowall__logos span { font-weight: 800; letter-spacing: 1px; color: #9aa39c; font-size: 20px; }

      /* Feature grid --------------------------------------------------------- */
      .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
      .fcard { background: var(--white); border: 1px solid var(--off-white); border-radius: 16px; padding: 28px; }
      .fcard__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--egg-shell); display: grid; place-items: center; margin-bottom: 18px; color: var(--evergreen); font-size: 22px; }
      .fcard h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--black); }
      .fcard p { margin: 0; font-size: 15px; color: var(--charcoal); }
      .center-link { text-align: center; margin-top: 40px; }
      .center-link a { color: var(--evergreen); font-weight: 600; text-decoration: none; }
      .center-link a:hover { text-decoration: underline; }

      /* Spotlight ------------------------------------------------------------ */
      .split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
      .split .eyebrow { text-align: left; }
      .split h2.title { text-align: left; margin-bottom: 18px; }
      .split .lead { margin-bottom: 24px; }
      .bullets { list-style: none; padding: 0; margin: 0 0 32px; }
      .bullets li { padding: 8px 0 8px 30px; position: relative; font-size: 16px; color: var(--charcoal); }
      .bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--evergreen); font-weight: 800; }
      .split__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
      .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--egg-shell); border-radius: 18px; padding: 28px; }
      .tile { background: var(--white); border: 1px solid var(--off-white); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; min-height: 360px; }
      .tile__bar { width: 60px; height: 10px; border-radius: 6px; background: var(--yellow); margin-bottom: 22px; }
      .tile__body { flex: 1; background: var(--egg-shell); border-radius: 8px; }
      .tile__label { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--charcoal); }
      .tile:nth-child(2) .tile__bar { background: var(--mid-green); }
      .tile:nth-child(3) .tile__bar { background: var(--evergreen); }
      @media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .tiles { grid-template-columns: repeat(2, 1fr); } }

      /* Component library grid ----------------------------------------------- */
      .section--tint { background: var(--egg-shell); }
      .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
      .comp { background: var(--white); border: 1px solid var(--off-white); border-radius: 14px; overflow: hidden; }
      .comp__preview { height: 120px; background: var(--egg-shell); display: grid; place-items: center; }
      .comp__preview span { width: 90px; height: 14px; border-radius: 7px; background: var(--mid-green); opacity: 0.7; }
      .comp__label { padding: 16px 18px; font-weight: 600; color: var(--black); font-size: 15px; }
      @media (max-width: 900px) { .grid3, .grid4 { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 560px) { .grid3, .grid4 { grid-template-columns: 1fr; } }

      /* Webinar -------------------------------------------------------------- */
      .webinar .split { align-items: center; }
      .webinar__img { background: var(--evergreen); color: rgba(255,255,255,0.85); border-radius: 18px; min-height: 340px; display: grid; place-items: center; font-size: 15px; }
      .webinar__meta { font-weight: 600; color: var(--evergreen); margin: 0 0 20px; }

      /* Videos --------------------------------------------------------------- */
      .video { text-decoration: none; }
      .video__thumb { position: relative; height: 160px; background: var(--off-white); border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
      .video__play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.9); display: grid; place-items: center; color: var(--evergreen); font-size: 18px; }
      .video__title { margin: 14px 0 6px; font-size: 15px; font-weight: 600; color: var(--black); }
      .video__meta { margin: 0; font-size: 13px; color: var(--muted); }
      .center-btn { text-align: center; margin-top: 48px; }

      /* Testimonials --------------------------------------------------------- */
      .quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
      .quote { background: var(--white); border: 1px solid var(--off-white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
      .quote p { margin: 0 0 auto; font-size: 15px; color: var(--charcoal); }
      .quote__attr { margin-top: 24px; }
      .quote__name { font-weight: 700; color: var(--black); font-size: 15px; }
      .quote__role { font-size: 13px; color: var(--muted); }
      @media (max-width: 900px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } }

      /* Pricing -------------------------------------------------------------- */
      .tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
      .tier { background: var(--white); border: 1px solid var(--off-white); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
      .tier--featured { border: 2px solid var(--evergreen); box-shadow: 0 8px 28px rgba(0,84,57,0.12); }
      .tier__name { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: var(--black); }
      .tier__price { font-size: 30px; font-weight: 800; color: var(--evergreen); margin: 8px 0; }
      .tier__price small { font-size: 13px; font-weight: 600; color: var(--muted); }
      .tier__tag { color: var(--muted); font-size: 14px; min-height: 3.4em; margin: 0 0 12px; }
      .tier__scope { font-size: 13px; font-weight: 700; background: var(--egg-shell); border-radius: 8px; padding: 8px 10px; margin: 0 0 12px; }
      .tier ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
      .tier li { font-size: 14px; padding: 4px 0 4px 22px; position: relative; }
      .tier li::before { content: '✓'; position: absolute; left: 0; color: var(--evergreen); font-weight: 800; }
      .tier .btn { width: 100%; }
      @media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
      @media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }

      /* FAQ ------------------------------------------------------------------ */
      .faq { max-width: 860px; margin: 0 auto; }
      .faq details { border-bottom: 1px solid var(--off-white); padding: 4px 0; }
      .faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 19px; font-weight: 600; color: var(--black); }
      .faq summary::-webkit-details-marker { display: none; }
      .faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--evergreen); transition: transform .2s ease; }
      .faq details[open] summary::after { transform: rotate(45deg); }
      .faq p { margin: 0 0 20px; font-size: 16px; color: var(--charcoal); max-width: 760px; }

      /* Final CTA ------------------------------------------------------------ */
      .finalcta { background: var(--evergreen); color: var(--white); text-align: center; }
      .finalcta h2 { font-weight: 200; letter-spacing: -0.5px; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; margin: 0 auto 20px; max-width: 900px; }
      .finalcta p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 620px; margin: 0 auto 32px; }
      .finalcta .btn--secondary { color: var(--white); border-color: rgba(255,255,255,0.6); }
      .finalcta .btn--secondary:hover { background: rgba(255,255,255,0.1); }
      .finalcta .btn--primary { background: var(--white); color: var(--evergreen); }

      /* Footer --------------------------------------------------------------- */
      .footer { background: var(--egg-shell); padding: 72px 0 32px; }
      .footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
      .footer__brand p { font-size: 14px; color: var(--muted); max-width: 340px; }
      .footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
      .footer__cols h4 { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--charcoal); }
      .footer__cols a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 5px 0; }
      .footer__cols a:hover { color: var(--evergreen); }
      .footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--off-white); margin-top: 44px; padding-top: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
      .footer__legal { display: flex; gap: 24px; }
      .footer__legal a { text-decoration: none; color: var(--muted); }
      @media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: repeat(2, 1fr); } }

/* ============================ Auth (login / signup) ====================== */
.auth { display: grid; grid-template-columns: 600px 1fr; min-height: 100vh; }
.auth__brand { background: var(--evergreen); color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.auth__brand .brand__logo { height: 26px; }
.auth__brand-head h1 { font-weight: 200; font-size: 42px; line-height: 50px; letter-spacing: -0.5px; margin: 0 0 20px; }
.auth__brand-head p { font-size: 17px; line-height: 26px; opacity: 0.85; margin: 0; max-width: 460px; }
.auth__quote { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--yellow); margin: 0 0 6px; max-width: 460px; }
.auth__quote-attr { font-size: 14px; opacity: 0.7; }
.auth__panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.auth__form { width: 400px; max-width: 100%; }
.auth__form h2 { font-weight: 500; font-size: 30px; line-height: 36px; color: var(--black); margin: 0 0 8px; }
.auth__form-sub { font-size: 16px; color: var(--charcoal); margin: 0 0 24px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 8px; }
.field input { width: 100%; height: 50px; padding: 0 16px; border: 1.5px solid var(--off-white); border-radius: 10px; font: 400 15px 'Manrope', sans-serif; color: var(--black); background: #fff; }
.field input::placeholder { color: var(--charcoal); opacity: 0.5; }
.field input:focus-visible { outline: 3px solid var(--evergreen); outline-offset: 1px; }
.field--row { display: flex; justify-content: flex-end; }
.link-green { color: var(--evergreen); font-weight: 600; text-decoration: none; }
.link-green:hover { text-decoration: underline; }
.auth .btn { width: 100%; margin-top: 4px; }
.auth__divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--charcoal); font-size: 13px; }
.auth__divider::before, .auth__divider::after { content: ''; flex: 1; height: 1px; background: rgba(65,65,65,0.15); }
.auth__terms { font-size: 13px; color: var(--charcoal); opacity: 0.7; text-align: center; margin: 12px 0 0; }
.auth__foot { text-align: center; font-size: 15px; color: var(--charcoal); margin-top: 20px; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth__brand { display: none; } }

/* ============================ Pricing compare table ===================== */
.compare { max-width: 1040px; margin: 0 auto; border: 1px solid var(--off-white); border-radius: 16px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px; font-size: 15px; text-align: center; border-bottom: 1px solid rgba(65,65,65,0.1); }
.compare thead th { background: var(--off-white); font-weight: 600; color: var(--charcoal); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--black); padding-left: 24px; }
.compare .yes { color: var(--evergreen); font-weight: 800; }
.compare .no { color: var(--charcoal); opacity: 0.5; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare__scroll { overflow-x: auto; }

/* ============================ Scaffold Studio =========================== */
.videopanel { background: var(--evergreen); color: rgba(255,255,255,0.85); border-radius: 18px; height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; box-shadow: 0 24px 60px rgba(0,38,23,0.12); max-width: var(--wrap); margin: 0 auto; text-align: center; padding: 24px; }
.videopanel__play { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--evergreen); display: grid; place-items: center; font-size: 24px; }
.videopanel p { max-width: 520px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step__mock { background: var(--evergreen); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.step__mock i { display: block; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.9); }
.step__mock i:first-child { height: 40px; }
.step__mock i.accent { background: var(--yellow); width: 60%; }
.step__num { font-weight: 200; font-size: 40px; color: var(--mid-green); line-height: 1; }
.step h3 { font-weight: 700; font-size: 22px; color: var(--black); margin: 10px 0 8px; }
.step p { font-size: 16px; color: var(--charcoal); margin: 0; }
.searchbar { max-width: 520px; margin: 0 auto 20px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border: 1.5px solid var(--off-white); border-radius: 12px; color: var(--charcoal); }
.searchbar input { border: 0; outline: 0; font: 400 16px 'Manrope', sans-serif; flex: 1; background: transparent; color: var(--charcoal); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.chip { border: 0; background: var(--off-white); color: var(--charcoal); border-radius: 100px; padding: 9px 18px; font: 500 14px 'Manrope', sans-serif; cursor: pointer; }
.chip.is-active { background: var(--evergreen); color: #fff; }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tpl { background: #fff; border: 1px solid var(--off-white); border-radius: 14px; overflow: hidden; }
.tpl__preview { height: 120px; background: var(--egg-shell); display: grid; place-items: center; }
.tpl__preview span { width: 90px; height: 14px; border-radius: 7px; background: var(--mid-green); }
.tpl__preview.alt span { background: var(--yellow); }
.tpl__label { padding: 14px 18px; }
.tpl__title { font-weight: 700; font-size: 15px; color: var(--black); }
.tpl__author { font-size: 13px; color: var(--charcoal); opacity: 0.65; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.pager span { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: var(--off-white); color: var(--charcoal); }
.pager span.is-active { background: var(--evergreen); color: #fff; }
.pager span.gap { background: transparent; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .tgrid { grid-template-columns: repeat(2,1fr); } }

/* Official black logo rendered white on dark panels (auth brand rail). */
.auth__brand .brand__logo { filter: brightness(0) invert(1); }
