:root {
  color-scheme: light;
  --forest: #0d3012;
  --forest-deep: #102c1c;
  --green: #31631c;
  --ink: #18211f;
  --muted: #526158;
  --paper: #f5f7f3;
  --white: #fff;
  --line: #e4e9e2;
  --accent: #d7e2d2;
  --shadow: 0 24px 70px rgba(16, 44, 28, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.skip-link { position: absolute; z-index: 10; top: -48px; left: 16px; padding: 10px 14px; background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px max(4vw, calc((100vw - 1240px) / 2)); background: white; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 12px; color: var(--forest); font-size: 1.375rem; font-weight: 800; letter-spacing: -.025em; }
.brand-mark { width: 52px; height: 52px; display: block; object-fit: contain; clip-path: inset(1.8% round 25%); }
.brand-light { color: var(--green); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px clamp(12px, 2vw, 32px); color: var(--muted); font-size: .975rem; font-weight: 650; }
nav a:hover { color: var(--green); }
.site-footer > a:last-child:hover { text-decoration: underline; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.nav-cta { padding: 9px 17px; color: white; border-radius: 9px; background: var(--forest); }
.nav-cta:hover { color: white; background: var(--green); }
nav .language-link { min-width: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 9px; }
.hero { position: relative; min-height: 560px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: center; gap: 48px; padding: 76px max(7vw, calc((100vw - 1180px) / 2)) 88px; background: radial-gradient(ellipse at 82% 52%, #28563a 0, transparent 42%), linear-gradient(120deg, var(--forest-deep), var(--forest)); color: #fff; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--green); font-size: .875rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.hero h1 { max-width: 590px; margin: 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.03; letter-spacing: -2.7px; }
.hero-lede { max-width: 510px; margin: 23px 0 28px; color: rgba(255,255,255,.74); font-size: 1.175rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border-radius: 10px; font-size: .9rem; text-align: center; font-weight: 750; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #1d2c20; }
.button-primary:hover { background: #e8f0e5; }
.button-quiet { color: white; border: 1px solid rgba(255,255,255,.23); }
.button-quiet:hover { background: rgba(255,255,255,.08); }
.hero-note { margin: 32px 0 0; color: rgba(255,255,255,.78); font-size: .8125rem; font-weight: 750; letter-spacing: 1.5px; }
.trust-strip { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 54px); min-height: 82px; padding: 18px; background: #fff; color: var(--muted); font-size: .8125rem; font-weight: 850; letter-spacing: 1.3px; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.section-wrap { max-width: 1160px; margin: 0 auto; padding: 100px 24px; }
.section-heading { max-width: 610px; margin: 0 auto 42px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .audience-band h2, .contact-band h2 { margin: 0; color: var(--forest); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.14; letter-spacing: -1.3px; }
.section-heading > p:last-child { margin: 15px auto 0; color: var(--muted); font-size: 1.025rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature-card { display: flex; flex-direction: column; align-items: flex-start; padding: 23px 21px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-featured { border-color: rgba(46,125,75,.25); background: linear-gradient(150deg, #fff, #f2f8f1); }
.feature-card h3, .screenshot-card h3, .download-card h3 { margin: 0 0 9px; color: var(--forest); font-size: 1.25rem; line-height: 1.25; }
.feature-card > p, .download-card p { margin: 0 0 17px; color: var(--muted); font-size: 1rem; }
.feature-tag, .download-status { display: inline-block; margin-top: auto; padding: 5px 9px; border-radius: 6px; background: #eff3ed; color: var(--muted); font-size: .875rem; font-weight: 750; }
.feature-tag-ready { background: #e1eddd; color: var(--forest); }
.audience-band { padding: 72px 24px; background: #e9efe8; }
.audience-inner { max-width: 1112px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; margin: auto; }
.audience-band h2 { color: var(--forest); }
.audience-list > div { display: flex; align-items: flex-start; gap: 16px; padding: 15px 0; border-bottom: 1px solid #d5dfd5; }
.audience-list > div:last-child { border-bottom: 0; }
.audience-list p { margin: 0; color: var(--muted); font-size: 1rem; }.audience-list strong { color: var(--forest); font-size: 1.075rem; }
.downloads { padding-top: 34px; padding-bottom: 88px; }
.download-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 180px; padding: 23px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 65px max(7vw, calc((100vw - 1110px) / 2)); background: var(--forest); color: white; }
.contact-band h2 { max-width: 580px; color: white; font-size: clamp(28px, 3.2vw, 39px); }
.contact-band p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: 1rem; }
.button-light { flex: 0 0 auto; background: white; color: var(--forest); }.button-light:hover { background: #f4f5ef; }
.site-footer { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(6vw, calc((100vw - 1240px) / 2)); background: #102a1b; color: rgba(255,255,255,.78); }
.brand-footer { color: white; font-size: 1rem; }.brand-footer .brand-mark { width: 34px; height: 34px; }
.brand-footer .brand-light { color: #a7d2ae; }.site-footer p, .site-footer > a:last-child { margin: 0; font-size: .875rem; }.site-footer > a:last-child { color: rgba(255,255,255,.8); }

:focus-visible { outline: 3px solid #5a834e; outline-offset: 4px; }
.hero :focus-visible, .contact-band :focus-visible, .site-footer :focus-visible { outline-color: #e5f1e1; }
section[id] { scroll-margin-top: 20px; }
.explore { padding-bottom: 72px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.screenshot-card { min-width: 0; border: 1px solid var(--line); border-radius: 15px; background: white; }
.screenshot-card h3 { margin: 15px 15px 5px; }
.screenshot-card h3:last-child { margin-bottom: 16px; }
.screenshot-card p { margin: 0 15px 16px; color: var(--muted); font-size: .875rem; }
.screenshot-link { display: block; border-radius: 15px 15px 0 0; }
.screenshot-image, .screenshot-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px 14px 0 0; border-bottom: 1px solid var(--line); }
.screenshot-image { object-fit: cover; object-position: top; }
.screenshot-placeholder { display: grid; place-items: center; padding: 16px; text-align: center; background: repeating-linear-gradient(135deg, #f2f6ef, #f2f6ef 10px, #edf2ea 10px, #edf2ea 20px); color: var(--muted); font-size: .875rem; font-weight: 650; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; padding-inline: 5vw; }
  .hero h1 { font-size: clamp(38px, 6vw, 54px); }
  .feature-grid, .screenshot-grid, .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-header { flex-wrap: wrap; gap: 4px; padding: 12px 18px; }
  .brand { font-size: 1.25rem; }.brand-mark { width: 46px; height: 46px; }
  nav { width: 100%; gap: 2px 12px; font-size: .9375rem; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding: 54px 22px; }
  .hero h1 { max-width: 490px; font-size: clamp(36px, 10vw, 49px); letter-spacing: -.05em; }
  .trust-strip { flex-wrap: wrap; gap: 12px 16px; min-height: 72px; }
  .section-wrap { padding: 58px 18px; }.section-heading { margin-bottom: 28px; }
  .downloads { padding-top: 12px; }
  .audience-band { padding: 56px 22px; }.audience-inner { grid-template-columns: 1fr; gap: 18px; }
  .contact-band { align-items: flex-start; flex-direction: column; padding: 52px 22px; gap: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
}
@media (max-width: 460px) {
  .feature-grid, .screenshot-grid, .download-grid { grid-template-columns: minmax(0, 1fr); }
  .download-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* PETROLTECH uses #289643 and #36b554. Dark green maintains readable text contrast. */
:root { --corporate-green: #289643; --corporate-light: #36b554; --green: #196531; --ink: #181818; --muted: #3c3b3a; --accent: #d5ebd9; }
.site-header { min-height: 110px; gap: 24px; }
.site-header .brand { font-size: clamp(1.35rem, 2.45vw, 2rem); }
.brand-mark { width: 88px; height: 88px; clip-path: none; }
.brand-footer .brand-mark { width: 38px; height: 38px; }
.hero { gap: clamp(26px, 5vw, 76px); background: radial-gradient(ellipse at 90% 48%, #205d31, transparent 65%), linear-gradient(130deg, #102c1c, #0d3012); }
.hero-photo { min-width: 0; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 28px 65px #0006; }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hero .eyebrow { color: #b4e5bf; }
.hero-note { letter-spacing: .045em; }
.wash-promo { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; border-bottom: 1px solid var(--line); }
.wash-promo h2 { margin: 0; line-height: 1.15; color: var(--forest); font-size: clamp(1.5rem, 3vw, 2.4rem); }
.wash-promo p { margin-block: .65rem 0; color: var(--muted); }
.wash-button { flex: none; background: var(--forest); color: white; }
.wash-button:hover { background: var(--green); }
.platform-icon { width: 41px; height: 41px; color: var(--green); margin-bottom: 12px; }
.download-card:has(.platform-icon) { background: linear-gradient(145deg, white, #e3f2e5); border-color: #a7cdb0; }
.contact-links { display: grid; justify-items: start; gap: 10px; }
.contact-links a[href^="tel:"] { text-decoration: underline; }
.directory-intro { padding: 54px 0 22px; }
.directory-intro h1 { margin: 0; color: var(--forest); line-height: 1.08; font-size: clamp(2rem, 5.5vw, 3.6rem); letter-spacing: -.03em; }
.directory-intro p { max-width: 66ch; color: var(--muted); }
.directory-page { padding-top: 0; }
.directory-filters { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.directory-filters label { display: grid; gap: 5px; min-width: 0; font-weight: 650; color: var(--forest); }
.directory-filters input, .directory-filters select { min-height: 46px; width: 100%; min-width: 0; border: 1px solid #a4b4a6; padding: 8px 12px; border-radius: 8px; color: var(--ink); background: white; font: inherit; }
.directory-filters select { padding-right: 32px; appearance: none; background: linear-gradient(45deg, transparent 50%, var(--green) 51%) right 16px center / 6px 6px no-repeat, linear-gradient(135deg, var(--green) 49%, transparent 50%) right 10px center / 6px 6px no-repeat, white; }
.directory-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wash-card { min-width: 0; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.wash-card h2 { margin: .2rem 0; font-size: 1.14rem; color: var(--forest); line-height: 1.3; }
.wash-card p { margin: .25rem 0; }
.wash-card .verification { color: #634309; font-size: .875rem; }
.directory-page [role="status"] { margin-block: 1.2rem; font-weight: 650; }
.directory-more { margin-top: 18px; border: 0; background: var(--forest); color: white; cursor: pointer; }
@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 6px; }
  .directory-filters, .directory-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .brand-mark { width: 64px; height: 64px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .wash-promo { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 500px) {
  .directory-filters, .directory-results { grid-template-columns: minmax(0, 1fr); }
}
.brand-light { color: var(--corporate-green); } .site-header { border-bottom: 2px solid var(--corporate-light); }
.site-header .brand-mark { width: 102px; height: 102px; }
.download-platform { grid-column: span 2; }
.marketplace .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px; font-size: .875rem; }
.footer-legal a, .legal-page a { text-decoration: underline; }
.legal-page { max-width: 75ch; }
.legal-page h1, .legal-page h2 { color: var(--forest); line-height: 1.2; }
.legal-page section { margin-block: 2rem; }
@media (max-width: 980px) {
  .download-platform { grid-column: auto; }
}
@media (max-width: 700px) {
  .site-header .brand-mark { width: 72px; height: 72px; }
  .marketplace .feature-grid { grid-template-columns: minmax(0, 1fr); }
}
