:root {
  color-scheme: light;
  --paper: #f5f5f0;
  --white: #fff;
  --ink: #183331;
  --ink-strong: #112825;
  --muted: #536663;
  --line: #d7ded8;
  --teal: #166f68;
  --mint: #dcece4;
  --yellow: #d7b776;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ba6d13; outline-offset: 4px; border-radius: 3px; }
::selection { color: var(--ink-strong); background: #c7e5d6; }
.container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 84px; }
.icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icon-arrow-up-right { --icon: url("icons/arrow-up-right.svg"); }
.icon-arrow-right { --icon: url("icons/arrow-right.svg"); }
.icon-menu { --icon: url("icons/menu.svg"); }
.icon-clipboard-check { --icon: url("icons/clipboard-check.svg"); }
.icon-workflow { --icon: url("icons/workflow.svg"); }
.icon-flask-conical { --icon: url("icons/flask-conical.svg"); }
.icon-file-search { --icon: url("icons/file-search.svg"); }

.site-header { position: relative; z-index: 20; background: rgba(245, 245, 240, .96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: var(--ink-strong); font-size: 19px; font-weight: 750; letter-spacing: -.045em; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.brand-suffix { font-weight: 500; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); }
.desktop-nav a { color: #334e4b; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .2s; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--teal); }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 42px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 2px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.header-contact:hover { background: var(--ink); color: #fff; }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; padding: clamp(68px, 7vw, 112px) 0 clamp(70px, 7vw, 110px); background: radial-gradient(circle at 86% 17%, #e2eee5 0, transparent 29%), var(--paper); }
.hero::before { content: ""; position: absolute; width: 540px; height: 540px; border: 1px solid rgba(22, 111, 104, .1); border-radius: 50%; left: -360px; bottom: -380px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); align-items: center; gap: clamp(44px, 7vw, 112px); }
.hero-copy { position: relative; z-index: 1; padding-bottom: 42px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.3; }
.eyebrow-line { display: inline-block; width: 29px; height: 1px; background: currentColor; }
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 780px; margin-bottom: 30px; color: var(--ink-strong); font-family: var(--serif); font-size: clamp(46px, 5.5vw, 80px); font-weight: 500; letter-spacing: -.055em; line-height: 1.035; }
.hero h1 em { color: var(--teal); font-weight: 400; }
.hero-lede { max-width: 610px; margin-bottom: 34px; color: #34504c; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #285c56; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--teal); }
.hero-visual { position: relative; margin: 16px 0 26px; padding: 24px; background: var(--ink-strong); box-shadow: 24px 24px 0 #dfe8dd; color: #fff; transform: rotate(1.2deg); }
.hero-visual::before { content: ""; position: absolute; width: 16px; height: 16px; top: -8px; right: 37px; border-radius: 50%; background: var(--yellow); }
.hero-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #b9d2cb; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.hero-visual-top { padding: 0 2px 18px; }
.flow-step { display: grid; grid-template-columns: 42px 1fr 22px; align-items: start; gap: 12px; min-height: 105px; padding: 21px 15px; background: #f6f7f2; color: var(--ink); border-bottom: 1px solid #dce4dd; }
.flow-step:nth-of-type(3) { background: #e5f0e8; }
.flow-step:nth-of-type(4) { background: #d3e8de; border-bottom: 0; }
.flow-number { padding-top: 3px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.flow-step strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.flow-step p { margin: 0; color: #526764; font-size: 12px; line-height: 1.45; }
.flow-symbol { color: #7ba29a; font-size: 19px; }

.section { padding: clamp(78px, 8vw, 118px) 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 45px; margin-bottom: 42px; }
.section-heading h2, .about-section h2, .evidence-section h2, .contact-section h2, .page-main h1 { max-width: 720px; margin: 0; color: var(--ink-strong); font-family: var(--serif); font-size: clamp(38px, 4vw, 57px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
.section-heading > p { max-width: 400px; margin: 0 0 5px auto; color: var(--muted); font-size: 16px; line-height: 1.65; }
.products-section { background: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #f8f9f5; }
.product-copy { min-height: 340px; display: flex; flex-direction: column; padding: 30px 32px 27px; }
.product-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 31px; }
.product-index { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.product-dot { width: 10px; height: 10px; border-radius: 50%; background: #9bcab0; }
.product-testsetgo .product-dot { background: var(--yellow); }
.product-copy h3 { margin-bottom: 10px; font-family: var(--serif); font-size: clamp(36px, 3vw, 45px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; }
.product-tagline { margin-bottom: 13px; color: #284c46; font-size: 16px; font-weight: 750; }
.product-copy > p:not(.product-tagline) { max-width: 520px; margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: max-content; margin-top: auto; padding-bottom: 5px; border-bottom: 1px solid var(--teal); color: var(--teal); font-size: 14px; font-weight: 750; text-decoration: none; }
.product-link:hover { color: var(--ink-strong); border-color: var(--ink-strong); }
.product-image { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 365px; margin: 0; padding: 16px 16px 0; overflow: hidden; border-top: 1px solid var(--line); }
.quizgecko-image { background: #dfeae2; }
.testsetgo-image { background: #e6e9e4; }
.product-shot { min-height: 0; overflow: hidden; border: 1px solid #cdd8d0; border-radius: 3px 3px 0 0; background: #fff; box-shadow: 0 7px 20px rgba(17, 40, 37, .08); }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.product-image figcaption { padding: 10px 2px 12px; color: #405651; font-size: 11px; line-height: 1.4; }

.evidence-section { padding: clamp(72px, 7vw, 104px) 0; background: #183c37; color: #edf6ef; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 130px); }
.eyebrow-light { color: #b9d9c7; }
.evidence-section h2, .contact-section h2 { color: #fff; }
.evidence-copy { padding-top: 10px; }
.evidence-copy > p { max-width: 550px; color: #d8e8df; font-size: 18px; line-height: 1.65; }
.evidence-links { display: flex; flex-wrap: wrap; gap: 15px 28px; margin-top: 30px; }
.evidence-links a { display: inline-flex; align-items: center; gap: 13px; border-bottom: 1px solid #8bbcaf; padding-bottom: 6px; font-size: 13px; font-weight: 700; text-decoration: none; }
.evidence-links a:hover { color: #fff2c7; border-color: #fff2c7; }

.service-section { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card { min-height: 255px; padding: 26px 24px 30px; background: #fff; border: 1px solid var(--line); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin-bottom: 31px; border-radius: 50%; background: var(--mint); color: var(--teal); font-size: 21px; }
.service-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.16; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.scope-note { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 21px; margin-top: 20px; padding: 28px 30px; border: 1px solid #b7cec1; background: #e4eee5; }
.scope-mark { color: var(--teal); font-size: 28px; }
.scope-note p { max-width: 680px; margin: 0; color: #33534c; font-size: 14px; line-height: 1.6; }
.scope-note a { display: inline-flex; align-items: center; gap: 12px; color: var(--teal); font-size: 13px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }

.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(50px, 8vw, 120px); }
.about-intro { max-width: 490px; margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.founder-card { border-top: 3px solid var(--teal); padding: 25px 0 0; }
.founder-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.founder-avatar { width: 82px; height: 82px; flex: 0 0 82px; border-radius: 50%; object-fit: cover; object-position: center 42%; background: #d7e9dc; }
.founder-head h3 { margin-bottom: 4px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.04em; }
.founder-head p { margin: 0; color: var(--teal); font-size: 12px; font-weight: 750; letter-spacing: .03em; }
.founder-card > p { max-width: 550px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.company-strip { display: grid; grid-template-columns: 1.2fr .7fr 1.4fr auto; align-items: center; gap: 28px; margin-top: 84px; padding-top: 28px; border-top: 1px solid var(--line); }
.company-strip div { display: flex; flex-direction: column; gap: 6px; }
.company-strip span { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.company-strip strong { font-size: 12px; font-weight: 700; line-height: 1.45; }
.company-strip a { display: inline-flex; align-items: center; gap: 5px; color: var(--teal); font-size: 12px; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }

.contact-section { padding: clamp(75px, 8vw, 112px) 0; background: #122e2b; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.contact-section h2 { max-width: 680px; }
.contact-section p:not(.eyebrow) { max-width: 530px; margin: 25px 0 0; color: #bfd7cc; font-size: 16px; line-height: 1.65; }
.contact-action { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-left: 40px; border-left: 1px solid #42655d; }
.button-light { min-width: 214px; background: #e7f0e8; color: var(--ink-strong); }
.button-light:hover { background: #fff; }
.contact-email { color: #fff; font-size: 17px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-action p { margin: 2px 0 0 !important; font-size: 12px !important; }

.site-footer { background: #f5f5f0; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0 34px; }
.footer-top p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.page-main { min-height: 65vh; background: #fff; padding: 92px 0 110px; }
.page-grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: clamp(55px, 8vw, 130px); }
.page-main h1 { font-size: clamp(45px, 5vw, 68px); }
.page-lede { max-width: 500px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.page-content { max-width: 700px; padding-top: 7px; color: #36514d; font-size: 15px; line-height: 1.75; }
.page-content h2 { margin: 33px 0 8px; color: var(--ink-strong); font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 15px; }
.page-content a { color: var(--teal); font-weight: 700; text-underline-offset: 4px; }
.page-content ul { margin: 0 0 22px; padding-left: 21px; }
.page-content li { padding-left: 5px; margin-bottom: 7px; }
.page-content .date-note { margin-top: 38px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 1050px) {
  .container { width: min(100% - 48px, 1240px); }
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 15px; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 38px; }
  .hero h1 { font-size: clamp(48px, 5.7vw, 66px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 215px; }
  .company-strip { grid-template-columns: 1fr 1fr; gap: 22px 35px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 600px); }
  .header-inner { min-height: 70px; }
  .brand { font-size: 17px; }
  .desktop-nav, .header-contact { display: none; }
  .mobile-nav { display: block; position: relative; margin-left: auto; }
  .mobile-nav summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 5px; color: var(--ink); font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { font-size: 19px; }
  .mobile-nav nav { position: absolute; top: 48px; right: 0; width: min(300px, calc(100vw - 36px)); padding: 9px; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 40px rgba(13, 44, 38, .12); }
  .mobile-nav nav a { display: block; padding: 14px 13px; border-bottom: 1px solid #ebefea; font-size: 14px; font-weight: 700; text-decoration: none; }
  .mobile-nav nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 60px; padding-bottom: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-copy { padding-bottom: 22px; }
  .hero h1 { max-width: 570px; font-size: clamp(46px, 9vw, 65px); }
  .hero-lede { font-size: 18px; }
  .hero-visual { width: calc(100% - 22px); margin: 18px 0 15px 2px; box-shadow: 17px 17px 0 #dfe8dd; transform: rotate(.7deg); }
  .section-heading, .evidence-grid, .about-grid, .contact-grid, .page-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-heading > p { margin-left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-copy { min-height: 0; padding: 28px 25px; }
  .product-card-top { margin-bottom: 25px; }
  .product-link { margin-top: 3px; }
  .product-image { height: 320px; }
  .scope-note { grid-template-columns: 37px 1fr; gap: 11px 13px; }
  .scope-note a { grid-column: 2; }
  .company-strip { margin-top: 50px; }
  .contact-action { padding: 25px 0 0; border-left: 0; border-top: 1px solid #42655d; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .page-main { padding: 65px 0 80px; }
}

@media (max-width: 480px) {
  .brand-suffix { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-visual { padding: 17px; }
  .flow-step { grid-template-columns: 34px 1fr 17px; min-height: 90px; padding: 17px 10px; }
  .flow-step strong { font-size: 23px; }
  .flow-step p { font-size: 11px; }
  .product-image { height: 260px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 23px; }
  .company-strip { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
