:root {
  color-scheme: light;
  --paper: #f3f4eb;
  --white: #fffef9;
  --ink: #142522;
  --muted: #465c55;
  --line: #c7d2c8;
  --deep: #122823;
  --lime: #d6fb63;
  --green: #1b5d48;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: "Inter", "Aptos", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration-thickness: .09em; text-underline-offset: .25em; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .75; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #245f4c; outline-offset: 4px; }
.wrap { width: min(calc(100% - clamp(2rem, 7vw, 7rem)), 1280px); margin-inline: auto; }
.skip { position: absolute; top: .7rem; left: 1rem; padding: .7rem 1rem; transform: translateY(-180%); z-index: 5; background: var(--white); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { text-decoration: none; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.095em; font-style: italic; font-weight: 900; line-height: 1; white-space: nowrap; }
.wordmark span { color: var(--green); padding-right: .09em; }
.primary-nav, .header-actions { display: flex; align-items: center; gap: clamp(.7rem, 2.4vw, 2.2rem); }
.primary-nav a, .header-cta { min-height: 44px; display: inline-flex; align-items: center; font-size: .91rem; font-weight: 680; text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.header-actions { gap: .8rem; }
.languages { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 7px; }
.languages button { min-width: 37px; min-height: 37px; padding: .25rem; border: 0; border-radius: 4px; background: transparent; font-size: .79rem; font-weight: 760; }
.languages button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.header-cta { border: 1px solid var(--ink); border-radius: 5px; padding-inline: .85rem; white-space: nowrap; }
.header-cta:hover { background: var(--ink); color: var(--white); }

.hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.75rem, 4.6vw, 5.4rem); align-items: start; padding-block: clamp(3.2rem, 6.8vw, 6.25rem) clamp(3.5rem, 7vw, 7rem); }
.hero > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: var(--green); font: 700 .76rem/1.4 var(--mono); }
.eyebrow > span:first-child { width: .62rem; height: .62rem; background: var(--green); transform: rotate(45deg); margin-inline: .12rem; flex: none; }
.hero h1 { font-size: clamp(3.1rem, 5.8vw, 5.8rem); font-weight: 820; letter-spacing: -.083em; line-height: .98; }
.headline-last { display: block; color: var(--green); }
.hero-description { margin-top: 1.25rem; max-width: 38ch; color: var(--muted); font-size: clamp(1rem, 1.38vw, 1.22rem); line-height: 1.55; }
.lead-form { scroll-margin-top: 1.25rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); max-width: 35rem; }
.lead-form h2 { font-weight: 770; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.028em; margin-bottom: .45rem; }
.scope-options { border: 0; display: flex; align-items: stretch; flex-wrap: wrap; gap: .3rem; margin: 0 0 .7rem; padding: 0; }
.scope-options label { position: relative; }
.scope-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scope-options span { display: flex; align-items: center; min-height: 43px; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 670; cursor: pointer; }
.scope-options input:checked + span { border-color: var(--green); background: #dfecdf; }
.scope-options input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .72rem; }
.form-grid label { display: grid; align-content: start; gap: .2rem; min-width: 0; font-weight: 700; font-size: .78rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); padding: .46rem .65rem; font-size: 1rem; font-weight: 420; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #56695f; opacity: 1; }
.form-grid textarea { resize: vertical; }
.full-field { grid-column: 1 / -1; }
.button { display: inline-flex; min-height: 48px; gap: 1.1rem; align-items: center; justify-content: space-between; border-radius: 5px; padding: .5rem .9rem; text-decoration: none; font-weight: 770; font-size: .94rem; border: 1px solid transparent; }
.button.primary { min-width: min(100%, 185px); color: var(--ink); background: var(--lime); border-color: #587b25; }
.button.primary:hover { background: #c4ee50; }
.form-note { margin-top: .48rem; color: var(--muted); font-size: .77rem; }
.form-message { margin-top: .5rem; color: #943020; font-size: .86rem; }
.optional-check { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.text-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: space-between; gap: .65rem; padding: 0; border: 0; background: transparent; font-size: .9rem; font-weight: 730; }
.text-button:hover { color: var(--green); text-decoration: underline; }
.success-symbol { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: .55rem; background: var(--lime); border-radius: 50%; font-weight: 800; }
#lead-success code { font-family: var(--mono); overflow-wrap: anywhere; }

.comparison { align-self: stretch; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #19332c; color: #f7faf0; border-radius: 10px 10px 4px 4px; }
.comparison :focus-visible, .process :focus-visible { outline-color: var(--lime); }
.comparison-header { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: end; justify-content: space-between; padding: clamp(.9rem, 2.5vw, 1.45rem); }
.comparison-kicker { color: #c4ddc9; font: 650 .69rem/1.5 var(--mono); }
.comparison-header h2 { font-size: clamp(1.2rem, 2vw, 1.62rem); letter-spacing: -.035em; line-height: 1.25; }
.comparison-switch { background: #10261f; display: flex; border-radius: 5px; border: 1px solid #528070; padding: 3px; flex: none; }
.comparison-switch button { border: none; padding: .32rem .55rem; min-height: 38px; min-width: 58px; font-size: .78rem; font-weight: 690; background: transparent; color: #e7f2e4; border-radius: 3px; }
.comparison-switch button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.comparison-stage { flex: 1; position: relative; display: grid; align-content: center; gap: .7rem; overflow: hidden; padding: clamp(1.5rem, 5vw, 4.2rem) clamp(.8rem, 3vw, 2.3rem) clamp(1rem, 3vw, 2.5rem); border-block: 1px solid #528070; min-height: 350px; background: #142d26; isolation: isolate; }
.stage-grid { z-index: -1; position: absolute; inset: 0; background-image: linear-gradient(#45625555 1px, transparent 1px), linear-gradient(90deg, #45625555 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(135deg, #000 10%, #0000 87%); }
.mock-window { width: 97%; justify-self: center; background: #f1f2e8; color: #142522; border: 1px solid #558271; border-radius: 7px; box-shadow: 0 22px 55px #04181280; overflow: hidden; transform: rotate(-1.6deg); transition: transform .2s ease; }
.mock-bar { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 32px; align-items: center; border-bottom: 1px solid #c0c9bd; padding: .2rem .6rem; background: #dde4db; }
.mock-dots { display: flex; gap: 4px; }
.mock-dots i { width: 5px; height: 5px; background: #798f83; border-radius: 50%; }
.mock-address { padding: .03rem .5rem; border-radius: 3px; color: #506258; background: #eef2eb; font: 600 .57rem/1.6 var(--mono); }
.mock-page { padding: .6rem .82rem .82rem; }
.mock-nav { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .1rem 0 .55rem; }
.mock-brand { font-size: .96rem; letter-spacing: -.055em; font-weight: 800; }
.mock-links { font-size: .55rem; font-weight: 650; color: #4c6054; }
.mock-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 155px; background: #173d31; color: #fafcf5; overflow: hidden; }
.mock-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(.3rem, 1.65vw, .85rem); padding: clamp(.6rem, 2.5vw, 1.4rem); }
.mock-copy small { font-size: clamp(.47rem, .76vw, .66rem); color: #bed6c0; }
.mock-headline { font-size: clamp(1.15rem, 3.16vw, 3.25rem); letter-spacing: -.081em; font-weight: 800; line-height: .97; white-space: pre-line; }
.mock-button { color: #152823; background: #d6fb63; font-size: clamp(.5rem, .79vw, .67rem); font-weight: 740; line-height: 1.4; padding: .28rem .43rem; border-radius: 2px; }
.mock-image { min-height: clamp(125px, 17vw, 244px); background: #254536 url("/assets/tuning-dial.jpg") 65% 52% / cover no-repeat; }
.stage-callout { justify-self: end; display: flex; gap: .45rem; align-items: center; padding: .36rem .58rem; font-size: .71rem; font-weight: 680; background: #d6fb63; color: #142522; border-radius: 3px; transform: translateY(-.35rem); }
.crosshair { font-weight: 900; font-family: var(--mono); }
.comparison-caption { display: flex; align-items: baseline; gap: .58rem; min-height: 54px; padding: .82rem clamp(.9rem, 2.5vw, 1.45rem); color: #e2eee0; font-size: .82rem; }
.caption-indicator { display: inline-block; flex: none; width: .47rem; height: .47rem; border-radius: 50%; background: var(--lime); }
.comparison[data-mode="before"] .mock-window { transform: rotate(0); }
.comparison[data-mode="before"] .mock-layout { background: #dddcd3; color: #2d3834; }
.comparison[data-mode="before"] .mock-image { filter: grayscale(.95); opacity: .75; }
.comparison[data-mode="before"] .mock-headline { font: 630 clamp(1rem, 2.13vw, 2.25rem)/1.25 Georgia, serif; letter-spacing: -.04em; }
.comparison[data-mode="before"] .mock-copy small { color: #586358; }
.comparison[data-mode="before"] .mock-button { color: #263930; background: #dee5dc; border: 1px solid #8c9e92; }
.comparison[data-mode="before"] .stage-callout { color: #1e3930; background: #d9e6d9; }

.services { padding-block: clamp(2.4rem, 6vw, 5.2rem); border-block: 1px solid var(--line); background: #e8eee5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 1.1rem; }
.section-heading h2, .process h2 { font-size: clamp(2.25rem, 5vw, 4.65rem); letter-spacing: -.083em; line-height: .98; font-weight: 810; }
.section-heading p { max-width: 30ch; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid #a6baad; }
.service { display: flex; flex-direction: column; align-items: start; gap: .58rem; padding: 1.1rem clamp(.9rem, 2.3vw, 1.95rem) .8rem; }
.service + .service { border-left: 1px solid #a6baad; }
.service h3 { font-size: clamp(1.1rem, 2.3vw, 1.6rem); letter-spacing: -.045em; line-height: 1.2; }
.service p { color: var(--muted); max-width: 29ch; }
.service .text-button { margin-top: auto; }
.service-mark { display: grid; align-items: center; justify-items: start; grid-template-columns: 8px 8px 8px; gap: 4px; min-height: 30px; color: var(--green); }
.service-mark i { display: block; width: 8px; height: 22px; background: currentColor; }
.redesign-mark i:nth-child(2), .redesign-mark i:nth-child(3) { transform: translateY(-4px); height: 12px; }
.new-mark i:first-child { height: 8px; } .new-mark i:nth-child(2) { height: 15px; }
.system-mark i { width: 10px; height: 10px; border-radius: 50%; } .system-mark i:nth-child(2) { transform: translateY(-5px); }
.process { background: var(--deep); color: #f9fbed; padding-block: clamp(2.8rem, 7vw, 6.5rem); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 6vw, 6rem); }
.process .inverse { color: #ecf5e5; border-color: #adc1ae; margin-top: 1.1rem; }
.process .inverse:hover { background: var(--lime); color: var(--ink); }
.process ol { list-style: none; margin: 0; padding: 0; }
.process li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .75rem 0; border-top: 1px solid #58736a; }
.process li:last-child { border-bottom: 1px solid #58736a; }
.step-number { margin-top: .21rem; color: var(--lime); font: 720 .86rem/1.5 var(--mono); }
.process h3 { font-size: 1.1rem; letter-spacing: -.026em; line-height: 1.3; }
.process li p { color: #c9dcd0; max-width: 52ch; font-size: .9rem; }
.footer-row { min-height: 100px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-block: 1rem; }
.footer-row p { color: var(--muted); font-size: .85rem; }
.footer-row > a:last-child { font-weight: 730; font-size: .9rem; }

@media (max-width: 940px) {
  .hero { gap: 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 6.1vw, 4.35rem); }
  .comparison-stage { min-height: 295px; }
  .comparison-switch button { min-height: 44px; }
}
@media (max-width: 720px) {
  .header-row { min-height: 65px; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.4rem; }
  .hero h1 { font-size: clamp(2.45rem, 10.5vw, 5.3rem); }
  .comparison-stage { min-height: 0; }
  .mock-headline { font-size: clamp(1.35rem, 6vw, 3rem); }
  .mock-copy small, .mock-button { font-size: .63rem; }
  .mock-image { min-height: clamp(155px, 36vw, 270px); }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service + .service { border-left: 0; border-top: 1px solid #a6baad; }
  .service { padding-inline: 0; }
}
@media (max-width: 430px) {
  .header-cta { display: none; }
  .languages button { min-height: 44px; min-width: 44px; }
  .form-grid { grid-template-columns: 1fr; }
  .scope-options span { min-height: 44px; padding-inline: .51rem; }
  .lead-form .primary { width: 100%; }
  .mock-page { padding-inline: .5rem; }
  .mock-links { display: none; }
  .comparison-header { align-items: center; }
  .comparison-stage { padding-inline: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
