/* PetroPower — static, responsive presentation styles. */
:root {
  --ink: #15232d;
  --ink-soft: #243640;
  --muted: #52636e;
  --red: #a32f37;
  --red-dark: #80232c;
  --red-light: #f6e8e8;
  --paper: #f4f1ea;
  --paper-deep: #ebe5da;
  --line: #d8dddc;
  --white: #fff;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 18px 48px -32px rgb(21 35 45 / 42%), 0 1px 2px rgb(21 35 45 / 7%);
  --shadow-lg: 0 32px 70px -38px rgb(21 35 45 / 55%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: #fdfcf9; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #d9a4a8; color: var(--ink); }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.043em; text-wrap: balance; }
h1 { margin-bottom: 24px; font-size: clamp(42px, 4.7vw, 64px); font-weight: 600; }
h2 { margin-bottom: 22px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 600; }
h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.22; letter-spacing: -.025em; }
p { margin-bottom: 24px; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 40px; }
.eyebrow { margin-bottom: 20px; color: var(--red); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.lead { max-width: 650px; color: var(--muted); font-size: 20px; line-height: 1.65; }
.nowrap { white-space: nowrap; }
.small-text { margin-top: 20px; font-size: 15px; line-height: 1.65; }

/* Navigation keeps the same height as the page scrolls. */
.header { position: sticky; top: 0; z-index: 10; display: flex; height: 90px; align-items: center; justify-content: space-between; gap: 28px; padding-inline: max(32px, calc((100% - 1160px) / 2)); border-bottom: 1px solid rgb(21 35 45 / 9%); background: rgb(255 255 255 / 94%); transition: box-shadow 320ms var(--ease), background 320ms ease, border-color 320ms ease; }
@supports (backdrop-filter: blur(16px)) { .header { background: rgb(255 255 255 / 84%); backdrop-filter: blur(16px) saturate(135%); } }
.header.is-scrolled { border-color: rgb(21 35 45 / 13%); background: rgb(255 255 255 / 91%); box-shadow: 0 16px 44px -32px rgb(21 35 45 / 50%); }
.logo { width: 200px; height: auto; }
.header .logo { width: 205px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
footer .logo { padding: 10px 13px; border-radius: 3px 10px 3px 10px; background: var(--ink); box-shadow: 0 9px 22px -17px rgb(21 35 45 / 70%); }
.header nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; }
.header nav a { position: relative; text-decoration: none; }
.header nav a:not(.button) { padding-block: 10px; transition: color 180ms ease; }
.header nav a:not(.button)::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--red); content: ''; transform: scaleX(0); transform-origin: left; transition: transform 230ms var(--ease); }
.header nav [aria-current], .header nav a:not(.button):hover { color: var(--red); }
.header nav [aria-current]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Small responses, consistent across pointer and keyboard interaction. */
.button { position: relative; display: inline-flex; overflow: hidden; align-items: center; justify-content: space-between; gap: 28px; padding: 15px 24px; border: 1px solid var(--red); border-radius: 999px; background: linear-gradient(135deg, #ad3640, var(--red)); box-shadow: 0 12px 28px -18px rgb(128 35 44 / 78%); color: white; font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background 240ms ease, border-color 240ms ease, box-shadow 320ms ease, transform 320ms var(--ease); }
.button::before { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 20%, rgb(255 255 255 / 18%) 48%, transparent 72%); content: ''; transform: translateX(-130%); transition: transform 650ms var(--ease); }
.button > * { position: relative; }
.button.small { padding: 12px 18px; font-size: 14px; gap: 24px; }
.button.outline { border-color: #aeb8bd; background: rgb(255 255 255 / 42%); box-shadow: none; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; text-decoration-color: #a7afb3; transition: color 220ms ease, text-decoration-color 220ms ease; }
.link-icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; vertical-align: -.15em; transition: transform 260ms var(--ease); }
.text-link .link-icon { box-sizing: content-box; padding: 4px; border-radius: 50%; background: var(--red-light); color: var(--red); }

/* Home hero: one restrained image movement inside a clipped frame. */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 70px; background: radial-gradient(ellipse at 88% 6%, rgb(255 255 255 / 92%) 0, transparent 53%), linear-gradient(135deg, #f8f6f0, var(--paper)); }
.hero::before { position: absolute; z-index: -1; inset: 0; background: url('/assets/wheat-texture.jpg') center 68% / 560px auto repeat; content: ''; mix-blend-mode: multiply; opacity: .055; pointer-events: none; }
.hero::after { position: absolute; z-index: -1; top: -180px; right: -150px; width: 520px; height: 520px; border: 1px solid rgb(163 47 55 / 12%); border-radius: 50%; content: ''; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; padding-bottom: 36px; }
.hero-copy { padding-block: 12px; }
.hero h1 { max-width: none; margin-bottom: 26px; font-size: clamp(42px, 4.5vw, 62px); }
.hero .lead { max-width: 49ch; margin-bottom: 30px; }
.photo-frame { position: relative; margin: 0; min-width: 0; }
.photo-viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 4px solid rgb(255 255 255 / 72%); border-radius: 30px 8px 30px 8px; background: #d4ccbd; box-shadow: var(--shadow-lg); }
.photo-viewport::after { position: absolute; inset: 0; background: linear-gradient(155deg, transparent 58%, rgb(21 35 45 / 20%)); content: ''; pointer-events: none; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 23px; border-top: 1px solid #d5d8d4; color: #41515d; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.hero-strip span { padding: 8px 13px; border: 1px solid rgb(21 35 45 / 10%); border-radius: 999px; background: rgb(255 255 255 / 50%); box-shadow: inset 0 1px rgb(255 255 255 / 80%); }
.hero-strip span::before { margin-right: 8px; color: var(--red); content: '•'; }

/* Shared section rhythm and paired compositions. */
.section { padding-block: 84px; }
.section.soft { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(145deg, #f8f6f1, var(--paper)); }
.section.soft::before { position: absolute; z-index: -1; inset: 0; background: url('/assets/wheat-texture.jpg') center / 620px auto repeat; content: ''; mix-blend-mode: multiply; opacity: .035; pointer-events: none; }
.section.dark { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 100% 0, rgb(163 47 55 / 22%), transparent 58%), linear-gradient(145deg, #192a34, var(--ink)); color: white; }
.section.dark::before { position: absolute; z-index: -1; inset: 0; background: url('/assets/concrete-texture.jpg') center / cover no-repeat; content: ''; mix-blend-mode: soft-light; opacity: .16; pointer-events: none; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 70px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 48ch; margin-bottom: 3px; color: var(--muted); }
.section-head-stacked { grid-template-columns: 1fr; align-items: start; gap: 14px; }
.section-head-stacked h2 { max-width: 960px; }
.section-head-stacked > p { max-width: 72ch; margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.screen { width: 100%; height: 460px; border: 4px solid rgb(255 255 255 / 76%); border-radius: 24px 7px 24px 7px; object-fit: cover; object-position: center; box-shadow: var(--shadow-lg); transition: border-radius 500ms var(--ease), box-shadow 500ms var(--ease), transform 500ms var(--ease); }
img[src*="t-rex-rod-pump-controller"] { padding: 28px; background: var(--paper); object-fit: contain; }
img[src*="mobile-control"] { object-position: center 34%; }
img[src*="trex-proof-field"] { object-position: 62% center; }
img[src*="field-team-review"], img[src*="self-install-well-iq"] { object-position: center; }

/* Depth belongs to the product choices, rather than every section. */
.product { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 30px 30px 0; border: 1px solid rgb(21 35 45 / 10%); border-radius: 22px 7px 22px 7px; background: rgb(255 255 255 / 88%); box-shadow: var(--shadow); transition: border-color 300ms ease, box-shadow 420ms ease, transform 420ms var(--ease); }
.product::before { position: absolute; top: 0; left: 30px; width: 58px; height: 3px; border-radius: 0 0 4px 4px; background: var(--red); content: ''; }
.product .tag { display: block; margin-bottom: 14px; color: var(--muted); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.product h3 { font-size: 27px; }
.product p { margin-bottom: 22px; color: var(--muted); font-size: 17px; }
.product .text-link { align-self: flex-start; margin-top: auto; }
.product .text-link::after { position: absolute; z-index: 2; inset: 0; content: ''; }
.product:focus-within { outline: 3px solid #1965b6; outline-offset: 5px; }
.product-visual { overflow: hidden; margin: 30px -30px 0; background: linear-gradient(145deg, #f5f2ec, var(--paper-deep)); }
.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; transition: transform 600ms var(--ease); }
.feature { position: relative; padding: 30px; border: 1px solid rgb(21 35 45 / 9%); border-radius: 18px 6px 18px 6px; background: rgb(255 255 255 / 72%); box-shadow: 0 18px 44px -38px rgb(21 35 45 / 55%); transition: border-color 320ms ease, box-shadow 420ms ease, transform 420ms var(--ease); }
.feature::before { position: absolute; top: -1px; left: 30px; width: 38px; height: 3px; border-radius: 0 0 4px 4px; background: var(--red); content: ''; transition: width 380ms var(--ease); }
.feature p { color: var(--muted); font-size: 17px; }
.testimonial { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 32px; border: 1px solid rgb(21 35 45 / 10%); border-radius: 22px 7px 22px 7px; background: rgb(255 255 255 / 88%); box-shadow: var(--shadow); transition: border-color 320ms ease, box-shadow 420ms ease, transform 420ms var(--ease); }
.testimonial::before { position: absolute; top: -24px; right: 18px; color: rgb(163 47 55 / 8%); font-family: Georgia, serif; font-size: 150px; line-height: 1; content: '“'; pointer-events: none; }
.testimonial blockquote { position: relative; z-index: 1; margin: 0 0 28px; color: var(--ink-soft); font-size: 17px; line-height: 1.72; }
.testimonial-attribution { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.testimonial-attribution strong, .testimonial-attribution span { display: block; }
.testimonial-attribution span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.testimonial-note { max-width: 900px; margin-top: 32px; }
.numbered { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered li { position: relative; margin-bottom: 9px; padding: 21px 18px 21px 58px; border: 1px solid transparent; border-radius: 14px 4px 14px 4px; counter-increment: steps; transition: border-color 320ms ease, background 320ms ease, box-shadow 320ms ease, transform 380ms var(--ease); }
.numbered li:last-child { margin-bottom: 0; }
.numbered li::before { position: absolute; top: 21px; left: 14px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #dfb8bb; border-radius: 50%; background: #fbf3f3; box-shadow: inset 0 1px white; color: var(--red); font-size: 11px; font-weight: 700; line-height: 1; content: counter(steps, decimal-leading-zero); }
.numbered h3 { margin-bottom: 9px; font-size: 22px; }
.numbered p { color: var(--muted); font-size: 16px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { position: relative; padding: 28px; border: 1px solid rgb(21 35 45 / 9%); border-radius: 18px 6px 18px 6px; background: rgb(255 255 255 / 78%); box-shadow: 0 18px 44px -38px rgb(21 35 45 / 55%); }
.process-step > span { display: inline-grid; width: 34px; height: 34px; margin-bottom: 22px; place-items: center; border: 1px solid #dfb8bb; border-radius: 50%; background: #fbf3f3; color: var(--red); font-size: 11px; font-weight: 700; }
.process-step h3 { font-size: 22px; }
.process-step p { color: var(--muted); font-size: 16px; }
.process-note { max-width: 860px; margin-top: 30px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta h2 { max-width: 740px; margin-bottom: 16px; }
.cta p { max-width: 62ch; color: #c9d1d6; }
.dark .eyebrow, .price .eyebrow { color: #e8acb0; }
.dark .button, .price .button { flex-shrink: 0; border-color: white; background: white; color: var(--ink); white-space: nowrap; }

/* Product and utility page introductions. */
.intro { position: relative; isolation: isolate; overflow: hidden; padding-block: 52px 62px; border-bottom: 1px solid rgb(21 35 45 / 7%); background: radial-gradient(ellipse at 90% 0, rgb(255 255 255 / 90%), transparent 48%), linear-gradient(135deg, #f8f6f0, var(--paper)); }
.intro::before { position: absolute; z-index: -1; inset: 0; background: url('/assets/wheat-texture.jpg') center 58% / 620px auto repeat; content: ''; mix-blend-mode: multiply; opacity: .042; pointer-events: none; }
.intro::after { position: absolute; z-index: -1; top: -120px; right: 6%; width: 350px; height: 350px; border: 1px solid rgb(163 47 55 / 10%); border-radius: 50%; content: ''; pointer-events: none; }
.intro h1 { max-width: 930px; }
.intro .lead { max-width: 760px; margin-bottom: 0; font-size: 19px; }
.intro.compact h1 { max-width: 850px; }
.product-intro { padding-block: 46px; }
.intro-media { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.intro-visual { min-width: 0; margin: 0; }
.intro-visual img { width: 100%; aspect-ratio: 16 / 10; border: 4px solid rgb(255 255 255 / 76%); border-radius: 24px 7px 24px 7px; object-fit: cover; box-shadow: var(--shadow-lg); }
.well-iq-hero { padding-block: 36px 42px; }
.well-iq-hero .intro-media { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 44px; }
.well-iq-hero .breadcrumbs { margin-bottom: 18px; }
.well-iq-hero h1 { margin-bottom: 18px; font-size: clamp(40px, 4vw, 54px); }
.well-iq-hero .intro-visual { position: relative; overflow: hidden; height: clamp(270px, 27vw, 340px); border: 4px solid rgb(255 255 255 / 76%); border-radius: 24px 7px 24px 7px; background: #c9c3b8; box-shadow: var(--shadow-lg); }
.well-iq-hero .intro-visual img { width: 100%; height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; object-fit: cover; object-position: center 48%; box-shadow: none; }
.proof-intro { padding-block: 38px 46px; }
.proof-intro .intro-media { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 54px; }
.proof-intro-visual img { height: auto; aspect-ratio: 4 / 3; object-position: center 30%; }
.breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { padding-right: 8px; color: #7a858d; content: '/'; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; }
.price { position: relative; overflow: hidden; padding: 42px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 24px 8px 24px 8px; background: radial-gradient(ellipse at 100% 0, rgb(163 47 55 / 27%), transparent 55%), linear-gradient(145deg, var(--ink-soft), var(--ink)); box-shadow: var(--shadow-lg); color: white; }
.price::before { position: absolute; inset: 0; background: url('/assets/concrete-texture.jpg') center / cover no-repeat; content: ''; mix-blend-mode: soft-light; opacity: .15; pointer-events: none; }
.price > * { position: relative; }
.price-amount { margin-bottom: 24px; font-size: 68px; line-height: 1.1; letter-spacing: -.05em; }
.price-amount small { color: #c9d1d6; font-size: 17px; letter-spacing: 0; }
.price ul { margin-block: 0 24px; padding-left: 20px; font-size: 16px; }
.price li { padding-block: 5px; }
.price-note { margin-bottom: 26px; color: #cad3da; font-size: 15px; }
.price-footnote { margin: -8px 0 24px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 14%); color: #c9d1d6; font-size: 13px; line-height: 1.55; }
.check-list { padding-left: 20px; color: var(--muted); }
.check-list li { padding-block: 7px; }
.note { padding-left: 22px; border-left: 2px solid var(--red); color: var(--muted); font-size: 16px; }
.feature-note { margin-top: 32px; }
.quality-panel, .quote-card { padding: 30px; border: 1px solid rgb(21 35 45 / 10%); border-radius: 22px 7px 22px 7px; background: rgb(255 255 255 / 82%); box-shadow: var(--shadow); }
.quality-panel { display: grid; gap: 20px; }
.quality-panel > div { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.quality-panel > div:last-child { padding-bottom: 0; border-bottom: 0; }
.quality-panel strong { display: block; margin-bottom: 6px; font-size: 19px; }
.quality-panel p, .quote-card p { color: var(--muted); font-size: 16px; }
.quote-card .check-list { margin-block: 0; }
.getting-started-layout .screen { object-position: center; }

/* Native disclosure controls remain usable with scripts disabled. */
details { margin-bottom: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px 4px 12px 4px; background: rgb(255 255 255 / 58%); transition: border-color 280ms ease, background 280ms ease, box-shadow 320ms ease; }
details:last-child { border-bottom: 1px solid var(--line); }
details[open] { border-color: #d9afb2; background: rgb(255 255 255 / 84%); box-shadow: 0 16px 38px -34px rgb(21 35 45 / 60%); }
summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.5; transition: color 180ms ease; }
summary::-webkit-details-marker { display: none; }
summary::after { width: 8px; height: 8px; flex: 0 0 8px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ''; transform: translateY(-3px) rotate(45deg); transition: transform 220ms ease; }
details[open] summary { color: var(--red); }
details[open] summary::after { transform: translateY(1px) rotate(225deg); }
details p { max-width: 850px; margin: 17px 28px 0 0; color: var(--muted); font-size: 17px; }
.reading { max-width: 900px; }
.reading h2 { margin-top: 40px; font-size: 30px; }
.reading h3 { font-size: 23px; }
.reading p, .reading li { color: var(--muted); }
.legal { overflow-wrap: anywhere; }
.legal h2:first-child { display: none; }
.legal table { max-width: 100%; font-size: 14px; }
.legal ul { padding-left: 24px; }

/* Contact and support: clear panels with a stable embed container. */
.contact-layout { align-items: start; }
.contact-context { grid-column: 1; grid-row: 1; }
.contact-layout #sales-form, .contact-layout #referral-form { grid-column: 2; grid-row: 1; }
#sales-form, #referral-form { min-width: 0; padding: 30px; border: 1px solid rgb(21 35 45 / 10%); border-radius: 22px 7px 22px 7px; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow-lg); }
#sales-form > span[id] { scroll-margin-top: 112px; }
.pipedriveWebForms { width: 100%; }
.pipedriveWebForms iframe { max-width: 100%; }
.contact-fallback { padding: 20px; }
.support-box { padding: 30px; border: 1px solid rgb(21 35 45 / 10%); border-radius: 18px 6px 18px 6px; background: rgb(255 255 255 / 86%); box-shadow: var(--shadow); }
.support-box h3 { font-size: 22px; }
.support-box h2 { font-size: 32px; }
.contact-layout .support-box { margin-top: 32px; padding: 24px; background: transparent; box-shadow: none; }
.referral-details > p { color: var(--muted); }
.referral-details strong { color: var(--ink); }
.referral-details > h3 { margin-top: 34px; }
.referral-steps { margin-bottom: 32px; }
.referral-steps li { color: var(--muted); font-size: 16px; }
.referral-terms { margin-block: 28px 0; }
.referral-terms li { margin-bottom: 10px; }

/* Footer aligns with the same content edges as the main page. */
footer { position: relative; isolation: isolate; overflow: hidden; padding: 56px max(32px, calc((100% - 1160px) / 2)) 24px; border-top: 1px solid var(--line); background: linear-gradient(145deg, #fff, #f7f5ef); font-size: 14px; }
footer::before { position: absolute; z-index: -1; inset: 0; background: url('/assets/wheat-texture.jpg') center / 620px auto repeat; content: ''; mix-blend-mode: multiply; opacity: .025; pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; padding-bottom: 44px; }
.footer-top h2 { margin-bottom: 18px; font-size: 14px; letter-spacing: 0; }
.footer-top a { display: table; margin-bottom: 10px; text-decoration-color: transparent; transition: color 180ms ease, text-decoration-color 180ms ease; }
.footer-top p { margin-top: 20px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-bottom a { margin-left: 24px; }
.skip { position: absolute; top: -100px; z-index: 30; padding: 12px; background: white; }
.skip:focus { top: 0; }
:focus-visible { outline: 3px solid #1965b6; outline-offset: 5px; }
.banner { padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Hover styling is reserved for devices that actually hover. */
@media (hover: hover) and (pointer: fine) {
  .header nav a:not(.button):hover::after { transform: scaleX(1); }
  .button:hover { transform: translateY(-3px); border-color: var(--red-dark); background: linear-gradient(135deg, #96303a, var(--red-dark)); box-shadow: 0 18px 34px -20px rgb(115 26 35 / 75%); }
  .button:hover::before { transform: translateX(130%); }
  .button.outline:hover { border-color: #7c8a93; background: white; box-shadow: 0 14px 30px -24px rgb(21 35 45 / 48%); }
  .dark .button:hover, .price .button:hover { border-color: #f4f3ef; background: #f4f3ef; box-shadow: 0 14px 30px -18px #0009; }
  a:hover > .link-icon, a:hover > span > .link-icon { transform: translate(3px, -2px); }
  .text-link:hover { color: var(--red); text-decoration-color: var(--red); }
  .text-link:hover .link-icon { transform: translateX(4px); }
  .product:hover { transform: translateY(-6px); border-color: #b8c1c4; box-shadow: 0 28px 58px -34px rgb(21 35 45 / 52%); }
  .product:hover .product-photo { transform: scale(1.045); }
  .feature:hover { transform: translateY(-5px); border-color: #c8cece; box-shadow: 0 26px 54px -38px rgb(21 35 45 / 52%); }
  .feature:hover::before { width: 76px; }
  .testimonial:hover { border-color: #c8cece; box-shadow: 0 26px 54px -38px rgb(21 35 45 / 52%); transform: translateY(-4px); }
  .numbered li:hover { transform: translateX(4px); border-color: rgb(21 35 45 / 9%); background: rgb(255 255 255 / 58%); box-shadow: 0 14px 34px -32px rgb(21 35 45 / 62%); }
  .split:hover > .screen { border-radius: 8px 24px 8px 24px; box-shadow: 0 36px 76px -42px rgb(21 35 45 / 62%); transform: translateY(-3px) scale(1.008); }
  summary:hover { color: var(--red); }
  .footer-top a:hover { color: var(--red); text-decoration: underline; }
}
.button:active { transform: translateY(0); }

/* Motion enhances the page; no content depends on it. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-copy-in 760ms 80ms var(--ease) both; }
  .photo-frame { animation: hero-image-in 900ms 160ms var(--ease) both; }
  .hero-strip { animation: hero-copy-in 720ms 300ms var(--ease) both; }
  .reveal-ready { transition: opacity 720ms var(--ease), transform 720ms var(--ease), filter 720ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
  .reveal-ready:not(.is-visible) { opacity: .08; filter: saturate(.75); transform: translateY(28px) scale(.985); }
  .reveal-ready:focus-within { opacity: 1; transform: none; }
  details[open] > p { animation: disclosure-in 340ms var(--ease) both; }
  @keyframes hero-copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes hero-image-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes disclosure-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 901px) and (pointer: fine) {
  .photo-viewport[data-depth] .hero-photo { position: absolute; top: -24px; height: calc(100% + 48px); transform: translate3d(0, var(--image-drift, 0px), 0) scale(var(--image-zoom, 1.01)); will-change: transform; }
  .well-iq-hero .intro-visual[data-depth] .depth-image { position: absolute; top: -70px; height: calc(100% + 140px); transform: translate3d(0, var(--image-drift, 0px), 0) scale(var(--image-zoom, 1.02)); will-change: transform; }
}

/* Tablet navigation opens before labels become crowded. */
@media (max-width: 1100px) {
  .header { gap: 20px; }
  .header nav { gap: 19px; font-size: 13px; }
  .logo { width: 184px; }
  .header .logo { width: 184px; }
  .wrap { padding-inline: 32px; }
  .hero-grid { gap: 40px; }
  .split { gap: 42px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .header { height: 80px; padding-inline: 28px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0 10px 12px; border: 0; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; }
  .menu-icon { width: 18px; height: 18px; }
  .header nav { position: absolute; top: 80px; right: 0; left: 0; display: none; gap: 0; padding: 18px 28px 24px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); box-shadow: 0 20px 42px -28px #18232e66; backdrop-filter: blur(16px); }
  .header nav.open { display: flex; flex-direction: column; align-items: stretch; }
  .header nav a:not(.button) { padding: 13px 4px; }
  .header nav a::after { display: none; }
  .header nav .button { margin-top: 12px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 28px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 17ch; }
  .hero .lead { max-width: 58ch; }
  .hero-photo { object-position: center; }
  .well-iq-hero .intro-media { grid-template-columns: 1fr; gap: 24px; }
  .well-iq-hero .intro-visual { height: 220px; }
  .section-head { gap: 34px; }
  .cta { gap: 30px; }
}
@media (max-width: 780px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 24px; }
  .header { height: 76px; padding-inline: 24px; }
  .header nav { top: 76px; padding-inline: 24px; }
  .logo { width: 184px; }
  .header .logo { width: 184px; }
  .hero { padding-top: 34px; }
  .hero h1 { max-width: none; margin-bottom: 22px; font-size: clamp(38px, 9vw, 46px); }
  .hero .lead { margin-bottom: 26px; font-size: 18px; }
  .hero-grid { gap: 30px; }
  .hero-strip { gap: 8px; padding-block: 20px; font-size: 11px; }
  .hero-strip span::before { margin-right: 8px; }
  .section { padding-block: 56px; }
  .section-head, .split, .two, .three { grid-template-columns: 1fr; gap: 32px; }
  .intro-media, .process-grid { grid-template-columns: 1fr; }
  .proof-intro .intro-media { grid-template-columns: 1fr; gap: 24px; }
  .well-iq-hero { padding-block: 24px 30px; }
  .well-iq-hero .intro-visual { height: 210px; }
  .proof-intro { padding-block: 32px 40px; }
  .proof-intro-visual img { aspect-ratio: 16 / 10; object-position: center 30%; }
  .feature-note { margin-top: 26px; }
  .section-head { gap: 22px; margin-bottom: 30px; }
  .section-head > p { margin: 0; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 23px; }
  .eyebrow { margin-bottom: 17px; }
  .lead { font-size: 18px; }
  .product { padding: 26px 24px 0; }
  .product h3 { font-size: 26px; }
  .product-visual { margin: 24px -24px 0; }
  .product-photo { height: auto; }
  .screen { height: 360px; }
  .intro { padding-block: 32px 40px; }
  .intro h1 { margin-bottom: 20px; font-size: clamp(36px, 9vw, 42px); }
  .intro .lead { font-size: 18px; }
  .breadcrumbs { margin-bottom: 23px; font-size: 11px; }
  .numbered li { padding: 20px 14px 20px 56px; }
  .numbered li::before { top: 20px; left: 13px; }
  .cta { align-items: flex-start; flex-direction: column; gap: 26px; }
  .cta h2 { margin-bottom: 15px; }
  .price { padding: 30px; }
  .price-amount { font-size: 60px; }
  .price-amount small { font-size: 16px; }
  .support-box { padding: 26px; }
  #sales-form, #referral-form { padding: 24px; }
  .contact-layout #sales-form, .contact-layout #referral-form { grid-column: 1; grid-row: 1; }
  .contact-context { grid-column: 1; grid-row: 2; }
  .contact-layout #referral-form { grid-row: 2; }
  .contact-layout .referral-details { grid-row: 1; }
  footer { padding: 44px 24px 23px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 32px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 14px; }
  .footer-bottom a { margin: 0 24px 0 0; }
}
@media (max-width: 390px) {
  .actions { align-items: flex-start; gap: 18px; }
  .actions .button { gap: 20px; }
  #sales-form, #referral-form { padding: 18px; }
  .price { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-copy, .photo-frame, .hero-strip, .hero-photo, .reveal-ready { opacity: 1 !important; filter: none !important; transform: none !important; }
  .button, .link-icon, .product-photo { transform: none !important; }
}
