.market-public {
  --ink: #153c33;
  --paper: #f5f4ef;
  --muted: #4b5c53;
  --rule: #d5dad1;
  --lime: #c7df85;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.market-public .frame { width: 100%; max-width: 1200px; padding-inline: clamp(16px, 3.2vw, 40px); }
.public-header { justify-content: space-between; gap: 12px 24px; padding: 18px 0; border-color: var(--rule); }
.public-header .brand { min-width: 0; gap: 10px; font-size: 1.12rem; letter-spacing: -.035em; line-height: 1.12; }
.public-header .brand img { width: 38px; height: 38px; border-radius: 10px; }
.public-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 6px clamp(14px, 2.2vw, 28px); }
.public-navigation a { display: flex; align-items: center; min-height: 40px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.public-navigation a:hover, .public-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: .32em; }
.public-navigation .nav-action { border: 1px solid #9cac9f; border-radius: 8px; padding: 6px 15px; }
.public-navigation .nav-action:hover { background: white; text-decoration: none; }
.market-public .public-footer { margin-top: auto; align-items: center; gap: 12px 28px; padding: 24px 0 30px; }
.public-footer a { font-size: .9rem; }
.public-footer .mail { font-weight: 650; color: var(--ink); }
.market-intro {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .85fr); align-items: center;
  gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 54px); margin-top: 24px;
  background: var(--ink); color: #fff; border-radius: 20px;
}
.market-intro::before {
  content: ""; z-index: -1; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 42% 133%, transparent 0 17px, #a5c6a9 18px, transparent 19px 30px);
  opacity: .15; mask-image: linear-gradient(125deg, transparent 24%, #000 70%);
}
.intro-copy { min-width: 0; }
.market-intro h1 { font-size: clamp(2.6rem, 4.1vw, 3.5rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 690; text-wrap: initial; }
.market-intro h1 em { display: block; font-style: normal; color: var(--lime); }
.intro-copy > p { max-width: 42ch; margin: 18px 0 24px; color: #e2ece4; line-height: 1.5; font-size: 1.05rem; }
.market-intro .front-cta, .master-apply {
  display: inline-flex; gap: 16px; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 11px 20px; border-radius: 8px; color: var(--ink); background: var(--lime);
  font-weight: 700; text-decoration: none;
}
.market-intro .front-cta:hover { color: var(--ink); background: #d8eca2; }
.cta-arrow, .master-apply span { font-size: 1.2em; font-weight: 500; line-height: 1; }
.intro-copy .terms-note { margin: 10px 0 0; font-size: .87rem; color: #d4dfd5; }
.market-finder { margin: 0; padding: clamp(21px, 2.4vw, 31px); border-radius: 14px; background: #fff; color: var(--ink); }
.market-finder h2 { font-size: 1.5rem; letter-spacing: -.04em; }
.market-finder label { margin: 14px 0 4px; font-size: .87rem; }
.market-finder select, .market-finder input:not([type="checkbox"]) {
  display: block; font: inherit; width: 100%; border: 1px solid #9eaea2; border-radius: 7px;
  min-height: 44px; padding: 8px 11px; color: var(--ink); background: #fff;
}
.market-finder button { margin-top: 18px; min-height: 46px; }
.market-finder button, .master-apply { border-radius: 8px; }
.market-section { padding: clamp(28px, 4.4vw, 58px) 0; }
.market-section h2 { font-size: clamp(1.65rem, 2.8vw, 2.25rem); letter-spacing: -.05em; }
.trade-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.trade-links a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0;
  padding: 17px 18px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; text-decoration: none;
}
.trade-links a:hover { background: #f5f9ec; color: var(--ink); border-color: #9baa89; }
.trade-links a::after {
  content: ""; position: absolute; top: 17px; right: 17px; width: 7px; height: 7px;
  border-top: 1.5px solid #516557; border-right: 1.5px solid #516557; transform: rotate(45deg);
}
.trade-links strong { font-size: 1.12rem; line-height: 1.18; letter-spacing: -.03em; }
.trade-links a > span { font-size: .84rem; line-height: 1.4; color: var(--muted); }
.trade-mark {
  display: block; position: relative; width: 34px; height: 34px; margin-bottom: 8px;
  background: #ebf1df; color: #416148; border-radius: 8px;
}
.trade-mark::before, .trade-mark::after { content: ""; position: absolute; box-sizing: border-box; }
.mark-fence::before { inset: 9px 7px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 6px); }
.mark-fence::after { inset: 13px 6px; border-block: 1.5px solid; }
.mark-electric::before { inset: 6px 9px; background: currentColor; clip-path: polygon(52% 0, 98% 0, 63% 39%, 90% 39%, 18% 100%, 37% 56%, 7% 56%); }
.mark-foundation::before { inset: 8px; border: 1.7px solid; border-radius: 2px; transform: rotate(-12deg); }
.mark-foundation::after { inset: 12px; border: 1.7px solid; transform: rotate(-12deg); }
.mark-lawn::before { inset: 8px 6px 9px; background: currentColor; clip-path: polygon(0 28%, 31% 74%, 25% 7%, 53% 67%, 74% 0, 68% 69%, 100% 25%, 76% 100%, 27% 100%); }
.mark-lawn::after { inset: auto 7px 7px; border-bottom: 1.5px solid; }
.mark-well::before { width: 14px; height: 18px; top: 6px; left: 10px; border: 1.7px solid; border-radius: 70% 8% 65% 58%; transform: rotate(-35deg); }
.mark-well::after { inset: auto 8px 6px; border-bottom: 1.5px solid; border-radius: 50%; }
.mark-tank::before { inset: 12px 5px 8px; border: 1.7px solid; border-radius: 7px; background: linear-gradient(90deg, transparent 45%, currentColor 45% 51%, transparent 51%); }
.mark-tank::after { width: 10px; height: 5px; top: 8px; left: 12px; border: 1.7px solid; border-bottom: 0; }
.mark-drain::before { inset: 8px 9px 16px; background: repeating-linear-gradient(113deg, transparent 0 3px, currentColor 3px 4.5px, transparent 4.5px 6px); }
.mark-drain::after { inset: 18px 7px 8px; border-block: 1.7px solid; border-radius: 2px; }
.mark-other::before { width: 4px; height: 4px; left: 8px; top: 15px; background: currentColor; border-radius: 50%; box-shadow: 7px 0, 14px 0; }
.decision-info {
  border-top: 1px solid var(--rule); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: clamp(24px, 6vw, 74px);
}
.customer-steps ol { margin: 21px 0 0; padding: 0; list-style: none; counter-reset: step; }
.customer-steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: step; }
.customer-steps li + li { margin-top: 16px; }
.customer-steps li::before {
  content: counter(step); flex: 0 0 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid #aebda9; font-size: .85rem; font-weight: 680;
}
.customer-steps h3 { font-size: 1.02rem; margin: 2px 0 3px; }
.customer-steps p, .specialist-callout p { color: var(--muted); margin: 0; line-height: 1.55; }
.specialist-callout { padding: clamp(22px, 3vw, 34px); border-radius: 15px; background: #e7eddc; scroll-margin-top: 16px; }
.specialist-callout h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); }
.specialist-callout p { margin-top: 12px; }
.master-apply { margin: 18px 0 0; justify-content: center; font-size: .95rem; line-height: 1.3; color: white; background: var(--ink); }
.master-apply:hover { color: white; background: #265746; }
.guides { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; font-size: .82rem; }
@media (max-width: 880px) {
  .trade-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .market-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .market-finder { width: 100%; }
  .decision-info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 630px) {
  .public-header { display: flex; align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 0 9px; }
  .public-header .brand { font-size: 1.04rem; }
  .public-header .brand img { width: 33px; height: 33px; border-radius: 8px; }
  .public-navigation { width: 100%; gap: 1px 14px; justify-content: flex-start; }
  .public-navigation a { font-size: .84rem; }
  .public-navigation .nav-action { min-height: 34px; margin-left: auto; padding: 4px 10px; }
  .market-intro { margin-top: 15px; padding: 22px; border-radius: 15px; }
  .market-intro h1 { font-size: clamp(2.25rem, 7.5vw, 2.75rem); }
  .intro-copy > p { font-size: 1rem; margin: 14px 0 19px; }
  .intro-copy .terms-note { margin: 9px 0 0; }
  .market-finder { padding: 18px; border-radius: 10px; }
  .market-finder h2 { font-size: 1.35rem; }
  .trade-links { gap: 8px; margin-top: 16px; }
  .trade-links a { padding: 13px; }
  .trade-links strong { font-size: 1.02rem; }
  .market-public .public-footer { align-items: flex-start; flex-direction: row; }
}
@media (max-width: 380px) {
  .public-navigation { gap: 0 10px; }
  .public-navigation .nav-extra { display: none; }
  .public-navigation a { font-size: .8rem; }
  .public-navigation .nav-action { padding-inline: 8px; }
  .market-intro { padding: 17px; }
  .market-finder { padding: 15px; }
  .trade-links a { padding: 12px; }
}
@media (forced-colors: active) {
  .trade-mark { border: 1px solid CanvasText; }
  .market-intro, .market-finder, .specialist-callout, .front-cta, .master-apply { border: 1px solid CanvasText; }
}
