:root {
  --ink: #14213a;
  --muted: #536079;
  --line: #dbe2ee;
  --surface: #ffffff;
  --soft: #f7f8fc;
  --mist: #eaf0ff;
  --accent: #2347cc;
  --accent-dark: #1735a4;
  --blue: #2457a6;
  --red: #b42318;
  --amber: #b7791f;
  --shadow: 0 22px 55px rgba(20, 33, 58, .10);
  --warm: #ffb764;
  --cream: #f8f3ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

a { color: inherit; text-decoration: none; }
p { line-height: 1.55; }

.topbar {
  min-height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
}

nav a, .actions a, button, .button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: .92rem;
}

nav a.active, .actions a.active {
  background: var(--mist);
  border-color: #c8cfe2;
  color: var(--accent-dark);
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.actions a:last-child {
  border-color: var(--line);
  background: #fff;
}

.demo {
  margin: 0;
  padding: 8px 32px;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: .88rem;
}

.site-footer {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

.site-footer a {
  font-weight: 800;
  color: var(--ink);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 64px;
}

.home-main { padding-top: 18px; }

.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: end;
  padding: 48px;
  background:
    linear-gradient(90deg, rgba(12, 24, 39, .90), rgba(12, 24, 39, .55) 52%, rgba(12, 24, 39, .18)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: white;
  border-radius: 0;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #afbfeb;
  font-weight: 850;
  font-size: .82rem;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--accent-dark); }

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1;
  margin: 0 0 16px;
}

.hero p {
  max-width: 640px;
  font-size: 1.2rem;
  color: #edf5f8;
}

.hero-search {
  margin-top: 26px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 8px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-search.inline {
  box-shadow: none;
  border: 1px solid var(--line);
}

.hero-search label {
  margin: 0;
  gap: 4px;
  font-size: .82rem;
  color: var(--muted);
}

.hero-search input {
  min-height: 48px;
  border: 0;
  background: #f4f7f8;
}

.hero-search button { min-height: 56px; white-space: nowrap; }

.hero-links {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: #f7fbfc;
  font-weight: 800;
  flex-wrap: wrap;
}

.hero-panel, .request-card {
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-stats span {
  padding: 12px;
  background: var(--mist);
  border: 1px solid #d0d5e5;
}

.mini-stats strong {
  display: block;
  font-size: 1.45rem;
  color: var(--accent-dark);
}

.button, button {
  background: var(--accent);
  color: white;
  border: 0;
  cursor: pointer;
}

.button:hover, button:hover { background: var(--accent-dark); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-strip span {
  background: white;
  padding: 18px;
  color: var(--muted);
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.section { margin-top: 46px; }

.beta-sales-band,
.beta-note,
.beta-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px;
  background: white;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
}

.beta-sales-band p,
.beta-note p,
.beta-cta p {
  margin: 8px 0 0;
  color: var(--muted);
}

.beta-hero .button {
  width: fit-content;
  margin-top: 16px;
}

.beta-application-panel {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.editor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.editor-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-field {
  display: grid;
  gap: 8px;
}

.editor-form-grid .upload-field,
.editor-list-card .upload-field {
  grid-column: 1 / -1;
}

.upload-preview {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #f7fafc;
  border: 1px dashed #b9cbd5;
  border-radius: 8px;
  overflow: hidden;
}

.upload-preview.wide {
  min-height: 140px;
}

.upload-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.upload-preview small {
  color: var(--muted);
  font-weight: 750;
}

.email-status-notice {
  padding: 12px;
  background: #eff1f8;
  border: 1px solid #bdc7e2;
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 750;
}

.email-status-notice strong {
  display: block;
  margin-bottom: 3px;
}

.editor-form-grid label:nth-child(5),
.editor-form-grid label:nth-child(6),
.editor-form-grid label:nth-child(9),
.editor-form-grid label:nth-child(11) {
  grid-column: 1 / -1;
}

.editor-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.editor-list-card {
  display: grid;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.editor-list-card form:first-of-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.editor-list-card textarea,
.editor-list-card form:first-of-type label:nth-child(2) {
  grid-column: 1 / -1;
}

.editor-card-actions {
  grid-column: 1 / -1;
}

.inline-delete {
  display: flex;
  justify-content: flex-end;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
}

.contact-lines {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.contact-lines span {
  padding: 8px 10px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
}

.section h2, .page-hero h1 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head a {
  color: var(--accent-dark);
  font-weight: 850;
}

.grid, .category-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.category-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

.card, .panel, .category-tile, .price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card h3, .category-tile strong, .price-card h3 { margin: 0 0 8px; }
.card p, .muted, .category-tile small, .category-row small { color: var(--muted); }

.category-tile {
  min-height: 178px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform .16s ease, box-shadow .16s ease;
}

.category-tile:hover, .result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tile-icon, .result-logo, .profile-logo {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eaedf4;
  color: var(--accent-dark);
  font-weight: 900;
}

.steps-band {
  background: #10202f;
  color: white;
  padding: 34px;
}

.steps-band p { color: #c8d6df; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.steps article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
}

.steps span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #afbfeb;
  color: #0c1736;
  font-weight: 900;
}

.two-col, .software-teaser, .profile-hero, .page-hero.software {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 26px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
}

.feature-list span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.feature-list.compact div { padding: 12px; }

.results-list {
  display: grid;
  gap: 12px;
}

.result-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 190px;
  gap: 18px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .16s ease, box-shadow .16s ease;
}

.result-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.result-title h3 { margin: 0; }
.result-main p { margin: 8px 0; color: var(--muted); }

.result-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}

.result-meta span {
  padding: 5px 9px;
  background: #f2f5f7;
  border-radius: 999px;
}

.result-action {
  display: grid;
  gap: 8px;
  align-content: center;
}

.result-action small { color: var(--muted); }

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7eaf3;
  color: #192856;
  font-weight: 850;
  font-size: .78rem;
}

.verified, .warm {
  background: #fff2cf;
  color: #8a4b00;
}

.software-teaser {
  padding: 36px;
  background: linear-gradient(135deg, #172d6f, #2457a6);
  color: white;
}

.software-teaser p { color: #eef7fb; }

.product-shot {
  background: #f7fafc;
  color: var(--ink);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: var(--shadow);
}

.product-shot.large { min-height: 260px; }

.shot-bar {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.shot-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1dae4;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.shot-grid div {
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
}

.shot-grid small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.page-hero {
  padding: 42px;
  background: white;
  border: 1px solid var(--line);
}

.page-hero.compact {
  display: grid;
  gap: 16px;
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
}

.category-row span:not(.tile-icon) {
  display: grid;
  gap: 4px;
}

.market-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  align-items: start;
}

.filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  position: sticky;
  top: 92px;
}

.profile-hero {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
}

.profile-brand {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.profile-logo {
  width: 82px;
  height: 82px;
  font-size: 1.5rem;
  overflow: hidden;
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-brand h1 { margin: 8px 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; }
.request-card { border: 1px solid var(--line); }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  height: 240px;
}

.project-strip div {
  background-size: cover;
  background-position: center;
}

.project-strip div:nth-child(1) { background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=900&q=80"); }
.project-strip div:nth-child(2) { background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=700&q=80"); }
.project-strip div:nth-child(3) { background-image: url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=700&q=80"); }

.form-panel { max-width: 760px; }

.company-site {
  width: min(1220px, calc(100% - 32px));
}

.company-website-hero {
  min-height: 560px;
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: end;
  color: white;
  background-size: cover;
  background-position: center;
}

.company-hero-copy h1 {
  max-width: 820px;
  margin: 12px 0 14px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .95;
}

.company-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #eef6f7;
  font-size: 1.18rem;
}

.company-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.company-quick-trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.company-quick-trust span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #eef7fb;
  font-weight: 750;
  font-size: .88rem;
}

.badge.light {
  background: rgba(255, 255, 255, .18);
  color: white;
  border: 1px solid rgba(255, 255, 255, .28);
}

.company-hero-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: var(--shadow);
}

.company-hero-card > span {
  color: var(--muted);
}

.company-score {
  margin-top: 8px;
  padding: 14px;
  background: var(--mist);
  border: 1px solid #d0d5e5;
}

.company-score b {
  display: block;
  color: var(--accent-dark);
  font-size: 2.2rem;
  line-height: 1;
}

.company-score span {
  color: var(--muted);
}

.company-subnav {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-top: 0;
  position: sticky;
  top: 72px;
  z-index: 5;
  overflow-x: auto;
}

.company-subnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.company-subnav a:hover {
  background: var(--mist);
  color: var(--accent-dark);
}

.company-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 42px 0 4px;
  align-items: start;
}

.company-intro h2,
.service-area h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.05;
}

.trust-stack {
  display: grid;
  gap: 10px;
}

.trust-stack div {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
}

.trust-stack span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.service-card {
  min-height: 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card h3 {
  min-block-size: 2.5em;
  margin: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.service-card a {
  margin-top: auto;
  padding-top: 6px;
  color: var(--accent-dark);
  font-weight: 850;
}

.company-request-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.company-request-section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.company-request-section p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
}

.company-site section[id] {
  scroll-margin-top: 140px;
}

.site-template-digital_studio .company-website-hero {
  border-radius: 18px;
  overflow: hidden;
}

.site-template-digital_studio .case-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.site-template-digital_studio .case-card span { color: var(--muted); }

.site-template-advice_practice .company-website-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  align-items: start;
  border-radius: 18px;
}

.site-template-advice_practice .company-hero-copy {
  margin-inline: auto;
  text-align: center;
}

.site-template-advice_practice .company-hero-copy p { margin-inline: auto; }
.site-template-advice_practice .company-hero-actions,
.site-template-advice_practice .company-quick-trust { justify-content: center; }
.site-template-advice_practice .company-hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: center;
  border-radius: 12px;
}
.site-template-advice_practice .company-hero-card > a,
.site-template-advice_practice .company-hero-card > span { display: none; }
.site-template-advice_practice .company-hero-card .profile-logo {
  width: 48px;
  height: 48px;
}
.site-template-advice_practice .company-request-section { background: var(--mist); }

@media (max-width: 720px) {
  .company-site section[id] { scroll-margin-top: 16px; }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
}

.case-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  overflow-wrap: anywhere;
  color: white;
  background: #10202f;
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.case-card span {
  font-weight: 850;
  color: #afbfeb;
}

.case-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.case-card p { margin: 0; }

.case-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}

.case-count { margin: 0; color: var(--muted); }

.case-pagination {
  flex: 0 1 auto;
  justify-content: flex-end;
  gap: 10px;
}

.case-pagination [disabled] { opacity: .55; cursor: default; }

@media (min-width: 601px) {
  .case-grid-two,
  .case-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-pagination:not(:has(a)) { display: none; }
}

@media (min-width: 901px) {
  .case-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-grid-featured:has(> .case-card:nth-child(3)) {
    grid-template-columns: 1.4fr 1fr;
  }
  .case-grid-featured:has(> .case-card:nth-child(3)) > .case-card:first-child {
    grid-row: span 2;
  }
  .case-grid-featured:has(> .case-card:nth-child(3)) > .case-card:first-child img {
    flex: 1;
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (max-width: 600px) {
  .case-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }

  .case-card { scroll-snap-align: start; }
}
.company-process {
  padding: 34px;
  background: #10202f;
  color: white;
}

.company-process h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 22px;
  align-items: start;
}

.no-top {
  margin-top: 0;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.review-card {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-card p {
  color: var(--ink);
}

.review-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.review-scores span {
  padding: 5px 8px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.stars {
  color: var(--amber);
  font-weight: 900;
}

.service-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
}

.map-card {
  min-height: 210px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 900;
  background:
    linear-gradient(90deg, rgba(12, 122, 111, .08) 1px, transparent 1px),
    linear-gradient(rgba(12, 122, 111, .08) 1px, transparent 1px),
    #f7f8fb;
  background-size: 28px 28px;
  border: 1px solid #d0d5e5;
}

.modern-map-placeholder {
  position: relative;
  align-content: center;
  gap: 8px;
  min-height: 260px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 122, 111, .10) 1px, transparent 1px),
    linear-gradient(rgba(36, 87, 166, .10) 1px, transparent 1px),
    #f7fafc;
  background-size: 34px 34px;
}

.modern-map-placeholder::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  position: absolute;
  left: calc(50% - 17px);
  top: calc(50% - 30px);
  box-shadow: 0 10px 30px rgba(12, 122, 111, .28);
}

.modern-map-placeholder::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: white;
  position: absolute;
  left: calc(50% - 6px);
  top: calc(50% - 19px);
}

.modern-map-placeholder span,
.modern-map-placeholder strong,
.modern-map-placeholder small {
  position: relative;
  z-index: 1;
  justify-self: center;
  text-align: center;
  max-width: 260px;
}

.modern-map-placeholder small {
  color: var(--muted);
  font-weight: 700;
}

.quote-sidebar {
  display: grid;
  gap: 18px;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 134px;
}

.quote-sidebar p {
  margin: 8px 0 0;
  color: var(--muted);
}

.profile-logo.small {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.quote-wizard-page {
  width: min(760px, calc(100% - 20px));
}

.quote-wizard-shell {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quote-wizard-header {
  padding: 22px;
  background: #10202f;
  color: white;
}

.quote-wizard-header a {
  color: #afbfeb;
  font-weight: 850;
}

.quote-wizard-header h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
}

.quote-wizard-header p {
  margin: 0;
  color: #d7e5eb;
}

.wizard-progress {
  height: 8px;
  margin-top: 18px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
  border-radius: 999px;
}

.wizard-progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  background: #afbfeb;
  transition: width .18s ease;
}

.quote-wizard {
  position: relative;
}

.wizard-step {
  display: none;
  min-height: 430px;
  padding: 22px;
  align-content: start;
  gap: 16px;
}

.wizard-step.is-active {
  display: grid;
}

.wizard-step > span {
  color: var(--accent-dark);
  font-weight: 850;
}

.wizard-step h2 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  line-height: 1.05;
}

.wizard-step > p {
  margin: 0;
  color: var(--muted);
}

.wizard-error {
  min-height: 20px;
  margin: 0;
  padding: 10px 22px 0;
  color: var(--red);
  font-weight: 800;
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  padding: 15px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.choice-card input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.choice-card span {
  font-weight: 850;
}

.choice-card small {
  grid-column: 2;
  color: var(--muted);
}

.wizard-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.wizard-actions button {
  min-height: 52px;
}

.review-summary {
  display: grid;
  gap: 8px;
}

.review-summary div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-summary span {
  color: var(--muted);
}

.confirmation-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.confirmation-card h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1;
}

.status-flow,
.quote-status-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-flow span,
.quote-status-strip span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef3f6;
  color: var(--muted);
  font-weight: 800;
  font-size: .84rem;
}

.status-flow .is-done {
  background: #e1e6f3;
  color: var(--accent-dark);
}

.quote-card-list {
  display: grid;
  gap: 14px;
}

.quote-request-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(24, 33, 47, .07);
}

.quote-request-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.quote-request-card header div {
  display: grid;
  gap: 4px;
}

.quote-request-card header strong {
  font-size: 1.1rem;
}

.quote-request-card header span:not(.badge) {
  color: var(--muted);
}

.quote-request-card p {
  margin: 0;
}

.quote-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quote-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f5f7;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
}

.quote-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.urgency-badge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  background: #eef3f6;
  color: var(--muted);
}

.urgency-urgent {
  background: #fff2cf;
  color: #8a4b00;
}

.urgency-emergency {
  background: #fee2e2;
  color: #991b1b;
}

.quote-request-card footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quote-request-card footer form {
  display: inline-flex;
}

.quote-request-card footer .button,
.quote-request-card footer button {
  min-height: 40px;
  white-space: nowrap;
}

.quote-detail-mobile {
  display: grid;
  gap: 14px;
}

.quote-empty-state {
  padding: 24px;
  background: white;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.quote-empty-state h2 {
  margin: 0 0 6px;
}

.empty-state.compact {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #f7fafc;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.quote-detail-mobile > a {
  color: var(--accent-dark);
  font-weight: 850;
}

.status-history-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.quote-create-panel form {
  gap: 10px;
}

.quote-price-box {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-price-box strong {
  font-size: 1.25rem;
}

.demo-guide-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px;
  margin-bottom: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #7c2d12;
}

.beta-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #eff1f6;
  border: 1px solid #c8cfe2;
  border-radius: 8px;
  color: var(--accent-dark);
}

.beta-banner span {
  color: var(--muted);
}

.setup-checklist {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.setup-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist-item strong {
  white-space: nowrap;
  color: var(--amber);
}

.checklist-item.complete strong {
  color: var(--accent-dark);
}

.consent-line {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.consent-line input[type=checkbox] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: .2em 0 0;
  padding: 0;
}

.consent-line a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
}

.legal-page {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.legal-page h2,
.legal-page p {
  margin: 0;
}

.admin-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-quick-links a {
  font-weight: 850;
  color: var(--accent-dark);
}

.demo-guide-banner strong {
  font-size: 1rem;
}

.demo-guide-banner span {
  grid-column: 1;
  color: #8a4b00;
  line-height: 1.45;
}

.demo-guide-banner .button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 44px;
  white-space: nowrap;
}

.demo-tour-grid,
.command-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.demo-tour-grid a,
.command-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 33, 47, .06);
}

.demo-tour-grid a:hover,
.command-card:hover {
  border-color: #bac1d5;
  transform: translateY(-1px);
}

.demo-tour-grid strong,
.command-card span {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.demo-tour-grid span,
.command-card small {
  color: var(--muted);
  line-height: 1.45;
}

.command-card strong {
  font-size: 2.2rem;
  line-height: 1;
}

.demo-flow-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-flow-strip a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.demo-script {
  display: grid;
  gap: 14px;
}

.demo-script article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-script article > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 900;
}

.demo-script article div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.demo-script h2 {
  flex-basis: 100%;
  margin: 0;
}

.demo-script p {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
}

.demo-script small {
  color: var(--muted);
  font-weight: 750;
}

.onboarding-page {
  display: grid;
  gap: 18px;
}

.onboarding-hero {
  margin-bottom: 0;
}

.onboarding-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.onboarding-benefits,
.onboarding-form,
.company-site-editor,
.project-form-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 33, 47, .06);
}

.onboarding-benefits {
  position: sticky;
  top: 92px;
}

.onboarding-benefits div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-benefits span,
.next-steps {
  color: var(--muted);
  line-height: 1.5;
}

.onboarding-form h2 {
  margin: 0;
}

.onboarding-step {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-step > span {
  color: var(--accent-dark);
  font-size: .84rem;
  font-weight: 850;
}

.onboarding-step h3 {
  margin: 0;
}

.onboarding-step.review p {
  margin: 0;
  color: var(--muted);
}

.onboarding-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.onboarding-choice-card {
  display: grid;
  gap: 6px;
  min-height: 148px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.onboarding-choice-card input {
  width: auto;
  min-height: auto;
}

.onboarding-choice-card strong {
  font-size: 1.1rem;
}

.onboarding-choice-card span {
  color: var(--accent-dark);
  font-weight: 900;
}

.onboarding-choice-card small {
  color: var(--muted);
  line-height: 1.4;
}

.onboarding-form button,
.company-site-editor button,
.project-form-panel button {
  min-height: 52px;
}

.onboarding-success {
  max-width: 800px;
}

.registration-intro {
  padding: clamp(24px, 5vw, 56px);
  background: var(--ink);
  color: white;
  border-radius: 16px;
}

.registration-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.registration-intro p {
  max-width: 58ch;
  margin: 14px 0 0;
  color: #dbe2ee;
}

.company-registration .onboarding-layout {
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  gap: 20px;
}

.registration-details {
  display: grid;
  gap: 16px;
}

.registration-market,
.registration-promise,
.registration-next,
.registration-followup {
  padding: clamp(16px, 3vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.registration-market label,
.registration-fields label {
  min-width: 0;
  align-content: start;
}

.registration-promise {
  background: var(--cream);
}

.registration-promise h2,
.company-registration h2,
.onboarding-success h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.registration-promise p,
.registration-next p,
.registration-followup p {
  margin: 10px 0 0;
  color: var(--muted);
}

.company-registration .onboarding-form {
  gap: 0;
  padding: 0 clamp(14px, 3vw, 28px);
  border-radius: 12px;
}

.company-registration .onboarding-step {
  min-width: 0;
  padding: 22px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.company-registration .onboarding-step + .onboarding-step {
  border-top: 1px solid var(--line);
}

.company-registration .onboarding-choice-card {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
}

.company-registration .onboarding-choice-card:has(input:checked) {
  background: var(--mist);
  border-color: var(--accent);
}

.company-registration .onboarding-choice-card input {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.company-registration .onboarding-choice-card small {
  grid-column: 1 / -1;
}

.registration-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.registration-market small,
.registration-fields small,
.registration-note {
  color: var(--muted);
  line-height: 1.45;
}

.registration-fields small {
  font-weight: 500;
}

.registration-note {
  margin: 0;
}

.registration-note a,
.registration-followup a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
}

.registration-error {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: #fff4f2;
  border-radius: 8px;
  color: var(--red);
}

.company-registration .review button {
  margin-top: 8px;
}

.onboarding-success {
  display: grid;
  gap: 16px;
}

.registration-intro .registration-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--warm);
  font-weight: 750;
}

.registration-next {
  background: var(--mist);
}

.registration-next p {
  overflow-wrap: anywhere;
}

.registration-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.registration-actions .button {
  min-height: 44px;
}

.registration-followup ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

@media (max-width: 900px) {
  .company-registration .onboarding-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .registration-promise {
    display: none;
  }

  .company-registration .onboarding-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .registration-fields,
  .company-registration .onboarding-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-registration .onboarding-choice-card {
    min-height: 0;
  }

  .registration-actions .button {
    width: 100%;
  }
}

.next-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.plan-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  margin-bottom: 18px;
  background: #eff1f6;
  border: 1px solid #c8cfe2;
  border-radius: 8px;
}

.plan-notice span {
  color: var(--accent-dark);
  font-weight: 850;
  font-size: .85rem;
}

.plan-notice strong {
  display: block;
  margin: 3px 0;
  font-size: 1.45rem;
}

.plan-notice p {
  margin: 0;
  color: var(--muted);
}

.plan-notice ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.upgrade-panel {
  max-width: 720px;
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.work-order-card-list {
  display: grid;
  gap: 14px;
}

.work-order-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(24, 33, 47, .07);
}

.work-order-card header,
.work-order-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.work-order-card header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.work-order-card header strong {
  overflow-wrap: anywhere;
}

.work-order-card header span:not(.badge) {
  color: var(--muted);
}

.work-order-card footer .button,
.work-order-card footer button {
  min-height: 42px;
}

.work-order-detail {
  display: grid;
  gap: 14px;
  padding-bottom: 140px;
}

.work-order-detail > a {
  color: var(--accent-dark);
  font-weight: 850;
}

.work-order-detail h1 {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.work-order-action-bar {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 -10px 32px rgba(24, 33, 47, .10);
  backdrop-filter: blur(12px);
  z-index: 6;
}

.work-order-action-bar form,
.compact-action-form {
  display: grid;
  gap: 10px;
}

.work-order-action-bar button,
.work-order-action-bar .button {
  width: 100%;
  min-height: 50px;
}

.work-order-action-bar textarea,
.work-order-action-bar input,
.compact-action-form input,
.compact-action-form select {
  width: 100%;
}

.compact-action-form {
  margin-top: 12px;
  padding: 12px;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compact-action-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.work-order-detail .panel {
  display: grid;
  gap: 8px;
}

.work-order-detail .panel h2 {
  margin: 0;
  font-size: 1.05rem;
}

.work-order-detail .panel p {
  margin: 0;
}

.quote-sticky-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 10px;
  margin: 14px -20px -20px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.quote-sticky-actions form {
  display: grid;
}

.quote-sticky-actions input[readonly] {
  font-size: .85rem;
}

.faq-section {
  display: grid;
  gap: 10px;
}

.faq-section details {
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 850;
}

.price-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.price-card strong {
  font-size: 3rem;
  line-height: 1;
}

.price-card strong::before { content: "EUR "; font-size: 1rem; color: var(--muted); }
.price-card strong::after { content: " /mnd"; font-size: 1rem; color: var(--muted); }

.price-card.featured {
  border-color: #9fabd0;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}

th, td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #eef3f6;
  font-size: .86rem;
}

form { display: grid; gap: 12px; }

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-actions button {
  min-height: 34px;
  padding: 0 10px;
  font-size: .82rem;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 750;
}

input, textarea, select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  font: inherit;
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: start;
}

.sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  gap: 4px;
  position: sticky;
  top: 92px;
}

.sidebar a {
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 750;
}

.sidebar a.active {
  background: var(--mist);
  color: var(--accent-dark);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi strong {
  display: block;
  font-size: 1.8rem;
}

.danger { background: var(--red); }

@media (max-width: 900px) {
  .hero,
  .two-col,
  .software-teaser,
  .profile-hero,
  .page-hero.software,
  .market-layout,
  .profile-grid,
  .company-website-hero,
  .company-intro,
  .company-layout,
  .service-area {
    grid-template-columns: 1fr;
  }

  .proof-strip, .steps { grid-template-columns: 1fr 1fr; }
  .hero-search { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .result-card { grid-template-columns: 56px minmax(0, 1fr); }
  .result-action { grid-column: 1 / -1; }
  .company-subnav { top: 72px; }
  .quote-sidebar { position: static; }
  .onboarding-layout {
    grid-template-columns: 1fr;
  }
  .onboarding-benefits {
    position: static;
  }
  .plan-notice {
    grid-template-columns: 1fr;
  }
  .demo-tour-grid,
  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .onboarding-choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 12px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .hero { min-height: auto; padding: 24px; }
  .hero h1 { font-size: 2.35rem; }
  .company-website-hero { min-height: auto; padding: 24px; }
  .company-hero-copy h1 { font-size: 2.55rem; }
  .company-subnav { top: auto; position: relative; }
  .proof-strip, .steps { grid-template-columns: 1fr; }
  .beta-sales-band,
  .beta-note,
  .beta-cta {
    grid-template-columns: 1fr;
  }
  .beta-sales-band .button,
  .beta-note .button,
  .beta-cta .button {
    width: 100%;
  }
  .section-head { align-items: start; flex-direction: column; }
  .editor-form-grid,
  .editor-list-card form:first-of-type {
    grid-template-columns: 1fr;
  }
  .editor-links .button {
    width: 100%;
  }
  .category-row { grid-template-columns: 48px 1fr; }
  .category-row b { grid-column: 2; }
  .profile-brand { grid-template-columns: 1fr; }
  .project-strip { height: auto; grid-template-columns: 1fr; }
  .project-strip div { min-height: 170px; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  table { display: block; overflow-x: auto; }
  .demo-guide-banner {
    grid-template-columns: 1fr;
  }
  .demo-guide-banner span,
  .demo-guide-banner .button {
    grid-column: auto;
    grid-row: auto;
  }
  .demo-guide-banner .button,
  .demo-tour-grid,
  .command-grid {
    width: 100%;
  }
  .demo-tour-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }
  .demo-tour-grid a,
  .command-card {
    min-height: 112px;
  }
  .demo-script article {
    grid-template-columns: 1fr;
  }
  .setup-checklist-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessible navigation and daily work surfaces. */
:focus-visible { outline: 3px solid #2457a6; outline-offset: 3px; }
.skip-link { position: fixed; top: -80px; left: 12px; background: white; padding: 12px; z-index: 100; }
.skip-link:focus { top: 8px; }
button, .button, input:not([type=checkbox]):not([type=radio]), select, summary { min-height: 44px; }
button, .button { cursor: pointer; }
input, textarea, select { max-width: 100%; font: inherit; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
label { font-size: 1rem; }
[hidden] { display: none !important; }
.mobile-global-menu, .mobile-company-menu { display: none; }
.desktop-languages { display: inline-flex; }
.desktop-company-menu { display: flex; flex-direction: column; }
.desktop-company-menu a { justify-content: flex-start; }
.assistant-list { display: grid; gap: 16px; margin: 20px 0; }
.assistant-task h2 { font-size: 1.25rem; line-height: 1.3; overflow-wrap: anywhere; }
.assistant-task { margin: 0; }
.assistant-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.assistant-actions form { margin: 0; }
.assistant-snooze { max-width: 100%; }
.assistant-draft { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.assistant-draft textarea { width: 100%; }
.assistant-explanation { border-left: 4px solid var(--accent); }
.hero.public-hero { min-height: 460px; grid-template-columns: 1fr; background: #102f35; border-radius: 4px; padding: clamp(24px, 5vw, 64px); }
.public-hero h1 { max-width: 880px; line-height: 1.08; }
.public-hero .hero-search { max-width: 950px; }
.hero-footnote { font-size: 1rem !important; margin-bottom: 0; }
.business-intro { border-top: 1px solid var(--line); padding-top: 36px; }
.business-intro h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; }
.category-row { grid-template-columns: 200px 1fr; }
.category-row span { color: var(--muted); }
main.layout > section { min-width: 0; }
.work-order-action-bar { position: static; }
.company-website-hero h1 { font-size: clamp(2rem, 4.5vw, 4rem); }
@media (max-width: 760px) {
  .topbar { position: relative; padding: 12px 16px; min-height: 64px; flex-wrap: wrap; gap: 12px; backdrop-filter: none; }
  .brand { margin-right: auto; font-size: 1.1rem; }
  .desktop-global-menu, .desktop-languages { display: none; }
  .mobile-global-menu { display: block; }
  .mobile-global-menu summary { display: flex; align-items: center; cursor: pointer; padding: 0 8px; }
  .mobile-global-menu[open] { flex-basis: 100%; order: 3; }
  .mobile-global-menu nav { display: flex; flex-direction: column; }
  .mobile-global-menu nav a { justify-content: flex-start; }
  .mobile-global-menu .actions { flex-wrap: wrap; }
  .topbar > .actions { margin: 0; }
  .demo { padding: 10px 16px; }
  .layout { display: block; padding-top: 12px; }
  .layout .sidebar { position: static; margin-bottom: 16px; padding: 0; }
  .desktop-company-menu { display: none; }
  .mobile-company-menu { display: block; }
  .mobile-company-menu summary { padding: 12px 16px; cursor: pointer; font-weight: 750; }
  .mobile-company-menu a { display: flex; padding: 12px 16px; }
  .layout > section > .beta-banner { margin-bottom: 14px; }
  .hero.public-hero { min-height: auto; padding: 28px 20px; }
  .hero.public-hero h1 { font-size: 2.15rem; }
  .hero-search { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .hero-search label { min-width: 0; }
  .category-row { grid-template-columns: 1fr; gap: 6px; }
  .assistant-actions { align-items: stretch; }
  .assistant-actions form, .assistant-actions button { width: 100%; }
  .work-order-action-bar { position: static; bottom: auto; padding: 16px; }
  .work-order-action-bar form { width: 100%; }
  .quote-sticky-actions { position: static; }
  .command-grid, .setup-checklist-grid, .editor-form-grid { grid-template-columns: 1fr; }
  table { display: block; overflow-x: auto; }
  .panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
.daily-summary { display:flex; flex-wrap:wrap; gap:16px; margin:16px 0 24px; }
.daily-summary a { padding:12px 0; border-bottom:1px solid var(--line); }
.daily-summary strong { font-size:1.2rem; color:var(--accent-dark); }
.daily-list { list-style:none; padding:0; margin:0; }
.daily-list li { padding:14px 0; border-bottom:1px solid var(--line); }
.daily-list li:last-child { border:0; }
.daily-list a { display:grid; gap:6px; }
.daily-list span { color:var(--muted); line-height:1.5; }
.company-settings { margin:8px 0; border-top:1px solid var(--line); padding-top:8px; }
.company-settings summary { display:flex; align-items:center; padding:0 12px; font-size:.95rem; font-weight:750; cursor:pointer; }
.company-settings a { margin:4px 0; }
.assistant-settings { margin-top:12px; }
.assistant-settings summary { cursor:pointer; display:flex; align-items:center; font-weight:650; }
@media (max-width:1000px) {
  .topbar { flex-direction:row; align-items:center; flex-wrap:wrap; gap:12px; padding:10px 16px; position:relative; }
  .topbar .desktop-global-menu, .topbar > .actions { display:none; }
  .topbar .brand { margin-right:auto; }
  .mobile-global-menu { display:block; }
  .mobile-global-menu summary { display:flex; align-items:center; min-height:44px; cursor:pointer; padding:0 8px; }
  .mobile-global-menu[open] { flex-basis:100%; order:3; }
  .mobile-global-menu nav { display:flex; flex-direction:column; }
  .mobile-global-menu nav a { justify-content:flex-start; }
}
.section-head a.button:not(.secondary) { color:#fff; }
.section-head a.button.secondary { color:var(--ink); }

/* Preserve the text the customer reviews before signing. */
.preserve-lines { white-space: pre-wrap; overflow-wrap: anywhere; }

/* One language control, shared by desktop and mobile navigation. */
.topbar .language-picker { position:relative; }
.topbar .language-picker > summary {
  display:flex; align-items:center; gap:8px; min-height:44px; padding:0 10px;
  border:1px solid transparent; border-radius:7px; background:transparent;
  color:var(--muted); font-size:.88rem; font-weight:600; cursor:pointer;
  list-style:none; white-space:nowrap;
}
.topbar .language-picker > summary::-webkit-details-marker { display:none; }
.topbar .language-picker > summary:hover,
.topbar .language-picker[open] > summary { color:var(--ink); background:var(--soft); }
.language-chevron { width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin:-3px 3px 0 2px; }
.language-picker[open] .language-chevron { transform:rotate(225deg); margin-top:3px; }
.topbar .language-options {
  position:absolute; right:0; top:calc(100% + 8px); z-index:30; display:flex;
  flex-direction:column; gap:2px; min-width:190px; padding:6px;
  border:1px solid var(--line); border-radius:10px; background:var(--surface);
  box-shadow:0 12px 32px rgba(24,33,47,.12);
}
.topbar .language-options a {
  display:flex; justify-content:space-between; gap:20px; min-height:44px;
  padding:0 12px; border:0; background:transparent; font-size:.92rem; font-weight:500;
}
.topbar .language-options a:hover { background:var(--soft); }
.topbar .language-options a[aria-current=true] { color:var(--accent-dark); background:var(--mist); font-weight:650; }
@media(max-width:1000px) {
  .mobile-global-menu .language-options { left:0; right:auto; }
  .mobile-global-menu > .actions { padding-top:12px; border-top:1px solid var(--line); margin-top:8px; }
}

/* A grouped directory keeps a broad catalogue easy to scan. */
.trade-jump-links { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0 32px; }
.trade-jump-links a { padding:10px 14px; border:1px solid var(--line); border-radius:6px; background:var(--surface); font-size:.92rem; font-weight:600; }
.trade-jump-links a:hover { border-color:var(--accent); color:var(--accent-dark); }
.trade-group { margin:36px 0; scroll-margin-top:96px; }
.trade-group h2 { font-size:1.5rem; margin-bottom:18px; }
.trade-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.trade-card { position:relative; display:flex; flex-direction:column; gap:8px; padding:20px 42px 20px 20px; background:var(--surface); border:1px solid var(--line); border-radius:8px; }
.trade-card:hover { border-color:var(--accent); }
.trade-card strong { font-size:1rem; }
.trade-card > span:not(.trade-card-arrow) { color:var(--muted); font-size:.9rem; line-height:1.5; }
.trade-card small { color:var(--accent-dark); }
.trade-card-arrow { position:absolute; top:20px; right:18px; color:var(--muted); }
@media(max-width:1000px) { .trade-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .trade-grid { grid-template-columns:1fr; } .trade-jump-links { margin-bottom:24px; } .trade-group { scroll-margin-top:16px; } }
@media(min-width:1001px) {
  .hero-search.inline { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 110px auto; align-items:end; }
  .hero-search.inline label { min-width:0; }
  .hero-search.inline input, .hero-search.inline select, .hero-search.inline button { min-height:48px; }
}


/* Shared brand shell. Marketing components live in public.css. */
body { -webkit-font-smoothing: antialiased; }
.ui-icon { flex-shrink:0; vertical-align:middle; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.button, button { border-radius:9px; gap:8px; transition:background .16s, border-color .16s, box-shadow .16s; }
.button.secondary:hover { background:var(--mist); border-color:#b4bcd2; }
.button.warm { background:var(--warm); color:#1c2339; }
.button.warm:hover { background:#ffc686; }
.topbar { display:block; padding:0; position:sticky; top:0; min-height:80px; background:rgba(255,255,255,.97); backdrop-filter:blur(14px); z-index:40; }
.topbar-inner { width:min(1280px,calc(100% - 64px)); margin:auto; min-height:80px; display:flex; align-items:center; gap:32px; position:relative; }
.brand { display:inline-flex; align-items:center; gap:10px; white-space:nowrap; font-size:1.25rem; font-weight:800; letter-spacing:-.045em; color:#1d243b; }
.brand-mark { color:#1e2847; flex-shrink:0; }
.topbar .desktop-global-menu { display:flex; align-items:center; justify-content:center; gap:4px; flex:1; flex-wrap:nowrap; }
.topbar .desktop-global-menu a { min-height:42px; padding:0 12px; font-size:.86rem; font-weight:650; color:#505975; border:0; border-radius:8px; white-space:nowrap; }
.topbar .desktop-global-menu a.active { background:transparent; color:#1d243b; }
.topbar .desktop-global-menu a:hover { background:#eff1f6; color:#1d243b; }
.header-actions, .desktop-account-actions { display:flex; align-items:center; gap:9px; }
.header-account { display:inline-flex; min-height:44px; align-items:center; padding:0 12px; font-size:.86rem; font-weight:700; white-space:nowrap; }
.header-start.button { padding:0 17px; min-height:44px; font-size:.86rem; color:white; }
.language-label-mobile { display:none; }
.topbar .language-picker > summary { padding:0 7px; font-size:.8rem; gap:6px; color:#56607e; }
.topbar .language-options { top:calc(100% + 12px); }
.mobile-global-menu { display:none; }
.topbar .mobile-global-menu[open] { flex-basis:auto; order:0; }
.site-footer { display:block; padding:0; background:#fff; border-top:1px solid var(--line); }
.footer-inner { width:min(1280px,calc(100% - 64px)); margin:auto; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; padding:48px 0; }
.footer-status { display:flex; width:max-content; margin-top:14px; align-items:center; gap:8px; font-size:.7rem; font-weight:500; color:#626e91; }
.footer-status > span { width:6px; height:6px; background:#546085; border-radius:50%; }
.footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.footer-column strong { font-size:.8rem; color:#2c3348; margin:4px 0 5px; }
.site-footer .footer-column a { font-size:.82rem; color:#5c6686; font-weight:500; line-height:1.5; }
.site-footer .footer-column a:hover { color:var(--accent-dark); text-decoration:underline; text-underline-offset:3px; }
@media(max-width:1200px) and (min-width:1001px) { .topbar-inner { gap:18px; } .topbar .desktop-global-menu a { padding:0 8px; font-size:.8rem; } .topbar .language-label-desktop { display:none; } .topbar .language-label-mobile { display:inline; } }
@media(max-width:1000px) {
  .topbar { display:block; position:sticky; min-height:68px; padding:0; backdrop-filter:none; }
  .topbar-inner { min-height:68px; width:calc(100% - 40px); gap:12px; }
  .topbar .brand { margin-right:auto; font-size:1.12rem; gap:8px; }
  .topbar .brand-mark { width:31px; height:31px; }
  .topbar .desktop-global-menu, .desktop-account-actions { display:none; }
  .topbar .language-label-desktop { display:none; }
  .topbar .language-label-mobile { display:inline; }
  .header-actions { flex:none; }
  .topbar .mobile-global-menu { display:block; position:static; }
  .topbar .mobile-global-menu > summary { list-style:none; min-height:44px; min-width:40px; padding:0 8px; display:flex; align-items:center; justify-content:center; cursor:pointer; border:1px solid var(--line); border-radius:9px; }
  .topbar .mobile-global-menu > summary::-webkit-details-marker { display:none; }
  .mobile-navigation { position:absolute; left:-20px; right:-20px; top:100%; background:#fff; padding:18px 20px 24px; border-bottom:1px solid var(--line); box-shadow:0 22px 30px #1a223b10; }
  .topbar .mobile-navigation nav { display:flex; flex-direction:column; gap:3px; }
  .topbar .mobile-navigation nav a { justify-content:flex-start; min-height:46px; padding:0 12px; font-size:.95rem; }
  .mobile-account-actions { display:flex; align-items:center; gap:12px; padding-top:16px; margin-top:12px; border-top:1px solid var(--line); }
  .topbar .language-options { left:auto; right:0; }
  .footer-inner { grid-template-columns:1.4fr 1fr 1fr; gap:30px; }
  .footer-brand { grid-column:1/-1; }
}
@media(max-width:600px) {
  .topbar-inner { width:calc(100% - 32px); gap:8px; }
  .topbar .brand { font-size:1.05rem; }
  .topbar .language-picker > summary { padding:0 5px; gap:4px; }
  .topbar .language-picker > summary > svg { display:none; }
  .mobile-navigation { left:-16px; right:-16px; padding:12px 16px 20px; }
  .footer-inner { width:calc(100% - 40px); grid-template-columns:1fr 1fr; gap:30px 18px; padding-top:38px; }
  .site-footer .brand { font-size:1.15rem; }
}
