@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  color-scheme: light;
  --ink: #090d1a;
  --ink-2: #111827;
  --muted: #647084;
  --line: #e3e8f2;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --blue: #155bff;
  --blue-2: #00a3ff;
  --blue-soft: #eef5ff;
  --dark: #080c17;
  --dark-2: #101827;
  --success: #12b981;
  --shadow: 0 22px 70px rgba(9, 13, 26, 0.12);
  --shadow-soft: 0 14px 40px rgba(21, 91, 255, 0.12);
  font-family:
    Inter, Satoshi, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Satoshi, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

main {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(227, 232, 242, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: clamp(150px, 13vw, 190px);
  height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
  border: 1px solid #fff;
  border-radius: 12px;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-brand-logo {
  display: none;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.topbar-muted {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  font-size: .875rem;
  color: var(--muted);
  padding: 0 4px;
}

.top-actions a,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  text-decoration: none;
  font-family: inherit;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.top-actions a {
  color: var(--muted);
  border: 1px solid transparent;
}

.top-actions a:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  transform: translateY(-1px);
}

.home-topbar {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 30;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.home-topbar.topbar--scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(227, 232, 242, 0.78);
  backdrop-filter: blur(18px);
}

.home-topbar.topbar--scrolled .top-actions a {
  color: var(--ink);
  text-shadow: none;
}

.home-topbar.topbar--scrolled .top-actions a:hover {
  color: var(--blue);
  background: rgba(21, 91, 255, 0.06);
  border-color: transparent;
}

.home-topbar.topbar--scrolled .top-actions a.is-active {
  color: var(--blue);
  background: rgba(21, 91, 255, 0.08);
  border-color: rgba(21, 91, 255, 0.16);
}

.home-topbar.topbar--scrolled .top-actions .nav-pill {
  color: var(--blue);
  border-color: rgba(21, 91, 255, 0.5);
}

.home-topbar.topbar--scrolled .top-actions .nav-pill:hover {
  background: rgba(21, 91, 255, 0.06);
  border-color: var(--blue);
}

body.show-floating-nav .home-topbar {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.home-topbar .brand-mark {
  width: clamp(150px, 13vw, 190px);
  height: 50px;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.home-topbar .top-actions {
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(4px, 1vw, 14px);
  margin-left: clamp(12px, 2vw, 28px);
}

.home-topbar .top-actions a {
  min-height: 36px;
  padding: 0 6px;
  font-size: 0.82rem;
  color: #fff;
  border-color: transparent;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.home-topbar .top-actions a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
}

.home-topbar .top-actions a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
}

.home-topbar .top-actions a:not(.nav-pill) + .nav-pill {
  margin-left: auto;
}

.home-topbar .top-actions .nav-pill {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  text-shadow: none;
}

.home-topbar .top-actions .nav-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
}

.home-topbar .top-actions .nav-pro {
  padding-inline: 16px;
}

.floating-searchbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(320px, 475px) minmax(120px, 0.32fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  min-height: 84px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(227, 232, 242, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  backdrop-filter: blur(16px);
}

body.show-floating-nav .floating-searchbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-logo {
  color: var(--blue);
  text-decoration: none;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.floating-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 54px;
  background: #fff;
  border: 2px solid #e2e7ef;
  border-radius: 999px;
  overflow: hidden;
}

.floating-search label {
  min-height: 50px;
  padding: 0;
  border: 0;
}

.floating-search input {
  min-height: 50px;
  padding-left: 20px;
  border: 0;
  border-radius: 999px 0 0 999px;
  font-size: 1.05rem;
  background: #fff;
}

.floating-search button {
  position: relative;
  border: 0;
  background: transparent;
}

.floating-search button span {
  position: absolute;
  top: 17px;
  left: 13px;
  width: 17px;
  height: 17px;
  border: 3px solid #111827;
  border-radius: 50%;
}

.floating-search button span::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -8px;
  width: 12px;
  height: 3px;
  background: #111827;
  border-radius: 999px;
  transform: rotate(45deg);
}

.floating-menu {
  display: flex;
  justify-content: flex-end;
}

.floating-menu a {
  position: relative;
  padding-right: 22px;
  color: #343a46;
  text-decoration: none;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
}

.floating-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.primary,
.secondary {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary,
.link-button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0a43d8);
  border: 1px solid rgba(21, 91, 255, 0.9);
  box-shadow: 0 16px 42px rgba(21, 91, 255, 0.28);
}

.secondary,
.link-button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.primary:hover,
.secondary:hover,
.link-button:hover {
  transform: translateY(-2px);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero,
.landing-band,
.workspace,
.final-cta,
.site-footer {
  padding-inline: clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: clamp(54px, 8vw, 108px);
  padding-bottom: clamp(42px, 7vw, 86px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 68%, #eef5ff 100%);
}

.market-hero {
  position: relative;
  min-height: 674px;
  display: grid;
  align-items: center;
  padding: clamp(138px, 15vw, 184px) clamp(18px, 4vw, 56px) clamp(76px, 9vw, 112px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.34) 0%, rgba(4, 8, 15, 0.58) 56%, rgba(4, 8, 15, 0.66) 100%),
    url("https://images.unsplash.com/photo-1758876204242-787309002a8f?auto=format&fit=crop&w=2200&q=82") center 42% / cover no-repeat;
}

.market-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.market-hero-copy {
  min-width: 0;
  max-width: 960px;
  text-align: center;
}

.market-hero h1 {
  max-width: 940px;
  margin: 0 auto 26px;
  color: #fff;
  font-size: clamp(3.1rem, 7vw, 5.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

.market-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.55;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: 0;
  align-items: stretch;
  width: min(100%, 710px);
  margin: 0 auto;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.search-panel .primary {
  min-height: 68px;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.18rem;
}

.portal-search input {
  min-height: 68px;
  border: 0;
  border-radius: 0;
  font-size: 1.12rem;
}

.portal-search label {
  min-height: 68px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.search-suggestions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.search-suggestions button {
  min-height: 36px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.search-suggestions button:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 91, 255, 0.42);
  box-shadow: var(--shadow-soft);
}

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

.quick-actions a {
  min-height: 38px;
  padding: 8px 12px;
  color: #0b43c8;
  background: #fff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.quick-actions a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.market-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.market-trust-row article {
  min-height: 86px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.market-trust-row strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.market-trust-row span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  line-height: 1.35;
}

.hero-mockup {
  position: relative;
  min-width: 0;
}

.hero-mockup::before {
  position: absolute;
  inset: 12% -6% auto auto;
  width: 55%;
  height: 55%;
  content: "";
  background: rgba(21, 91, 255, 0.18);
  filter: blur(38px);
  border-radius: 999px;
}

.hero-mockup img {
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  filter: drop-shadow(0 28px 50px rgba(9, 13, 26, 0.18));
}

.compact-band {
  padding-top: clamp(40px, 6vw, 78px);
  padding-bottom: clamp(40px, 6vw, 78px);
}

.home-category-grid,
.listing-grid,
.auth-choice-grid {
  display: grid;
  gap: 14px;
}

.home-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-category-grid a,
.listing-grid article,
.auth-choice {
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-category-grid a {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 18px;
}

.home-category-grid a:hover,
.listing-grid article:hover,
.auth-choice:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 91, 255, 0.36);
  box-shadow: var(--shadow);
}

.home-category-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 8px;
  font-weight: 700;
}

.home-category-grid strong,
.auth-choice strong {
  font-size: 1.06rem;
}

.home-category-grid small,
.listing-grid p,
.auth-choice p {
  color: var(--muted);
  line-height: 1.5;
}

.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-grid article {
  display: grid;
  gap: 10px;
  min-height: 292px;
  padding: 12px 12px 20px;
}

.job-photo,
.listing-photo {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #eef5ff;
}

.listing-photo {
  height: 132px;
  border-radius: 7px;
}

.listing-grid h3,
.listing-grid p {
  margin: 0;
}

.listing-grid strong {
  color: var(--blue);
}

.trend-section {
  background: #fff;
}

.services-heading {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.trend-grid,
.quality-grid {
  display: grid;
  gap: 14px;
}

.trend-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 30px;
}

.trend-grid a {
  display: grid;
  gap: 0;
  min-height: 240px;
  padding: 0;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.job-photo {
  height: 150px;
  border-radius: 0;
  transition:
    filter 180ms ease,
    transform 220ms ease;
}

.trend-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 91, 255, 0.42);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.service-trend-card {
  position: relative;
}

.service-trend-card::after {
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-height: 0;
  margin: 0 10px;
  padding: 0 14px;
  overflow: hidden;
  color: #fff;
  content: "Ottieni preventivi";
  background: var(--blue);
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition:
    max-height 220ms ease,
    min-height 220ms ease,
    margin 220ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.service-trend-card:hover .job-photo,
.service-trend-card:focus-visible .job-photo {
  filter: brightness(0.72);
  transform: scale(1.015);
}

.service-trend-card:hover::after,
.service-trend-card:focus-visible::after {
  min-height: 46px;
  max-height: 46px;
  margin: 8px 10px 12px;
  opacity: 1;
  transform: translateY(0);
}

.service-trend-card.is-active {
  box-shadow: inset 0 -4px 0 var(--blue);
}

.trend-grid strong {
  display: block;
  padding: 13px 12px 7px;
  color: #0057d9;
  font-size: 1.04rem;
  line-height: 1.25;
}

.trend-grid small,
.trend-grid em {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 5px;
  color: #0f172a;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.35;
}

.trend-grid em {
  padding-bottom: 12px;
}

.search-empty {
  margin: 22px auto 0;
  max-width: 560px;
  padding: 16px;
  color: var(--muted);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-weight: 750;
}

.meta-icon,
.rating-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.meta-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 6px;
  height: 6px;
  border: 1.6px solid #0f172a;
  border-radius: 50%;
}

.meta-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 10px;
  height: 6px;
  border: 1.6px solid #0f172a;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.rating-icon::before {
  content: "*";
  position: absolute;
  inset: -4px 0 auto;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.quality-band {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.quality-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quality-grid article {
  min-height: 206px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quality-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  font-weight: 700;
}

.quality-grid strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 1.05rem;
}

.quality-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--blue);
  margin: 0 auto 20px;
}

.portal-benefits {
  background: #fff;
}

.benefit-row {
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-row article {
  text-align: center;
  box-shadow: none;
  border-color: transparent;
}

.how-portal {
  background: #fff;
}

.how-visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 72px);
  max-width: 1120px;
  margin: 28px auto 0;
}

.how-visual-grid::before {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 108px;
  left: 5%;
  height: 1px;
  background: #dfe5ee;
}

.how-visual-grid article {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: start;
  text-align: left;
}

.how-visual-grid img {
  display: block;
  width: min(100%, 230px);
  aspect-ratio: 1.2;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.how-visual-grid article:nth-child(2) img {
  border-radius: 18px;
  background: #f8fbff;
}

.how-visual-grid div {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  min-height: 108px;
}

.how-visual-grid span {
  grid-row: span 2;
  color: #a6afbd;
  font-size: 1.7rem;
  font-weight: 700;
}

.how-visual-grid strong {
  color: var(--ink);
  font-weight: 700;
}

.how-visual-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.professional-feature,
.expert-card-section,
.press-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 74px) clamp(18px, 4vw, 56px);
}

.professional-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  overflow: hidden;
  padding: 0;
  background: #eef1f5;
  border-radius: 8px;
}

.professional-feature img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.professional-feature > div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(32px, 5vw, 64px);
}

.professional-feature h2,
.expert-card h2 {
  max-width: 420px;
  color: #071247;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.professional-feature p,
.expert-card p {
  max-width: 430px;
  color: #344155;
  line-height: 1.55;
}

.press-band {
  text-align: center;
}

.press-band h2 {
  margin-bottom: 24px;
  color: #343a46;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 6vw, 72px);
  justify-content: center;
  align-items: center;
}

.press-logos span {
  color: #111827;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.press-logos span:nth-child(3) {
  color: #e11d48;
  font-family: inherit;
}

.expert-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  overflow: hidden;
  background: #eef1f5;
  border-radius: 8px;
}

.expert-card > div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(32px, 5vw, 64px);
}

.expert-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.mockup-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.phone-mockup {
  margin: 0;
}

.phone-mockup img {
  display: block;
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 46px rgba(9, 13, 26, 0.16));
}

.search-empty {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
}

.hero-copy p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.68;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-proof {
  margin-top: 28px;
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
}

.hero-proof span {
  min-height: 34px;
  padding: 7px 11px;
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.product-visual {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(#111827, #111827) padding-box,
    linear-gradient(145deg, rgba(21, 91, 255, 0.85), rgba(255, 255, 255, 0.22), rgba(0, 163, 255, 0.8)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow:
    0 35px 90px rgba(9, 13, 26, 0.34),
    0 0 55px rgba(21, 91, 255, 0.2);
}

.visual-top {
  display: flex;
  gap: 7px;
  padding: 4px 4px 14px;
}

.visual-top span {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.live-board {
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.board-header,
.request-line,
.pro-list article,
.visual-stats {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.board-header {
  margin-bottom: 18px;
}

.board-header small,
.request-line span,
.pro-list small,
.visual-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.status-dot {
  min-height: 30px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(18, 185, 129, 0.16);
  border: 1px solid rgba(18, 185, 129, 0.42);
  border-radius: 999px;
  font-weight: 600;
}

.request-line {
  min-height: 48px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.pro-list article {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  transition: transform 180ms ease, background 180ms ease;
}

.pro-list article:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
}

.avatar {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 8px;
  font-weight: 700;
}

.pro-list div {
  flex: 1;
}

.pro-list em {
  color: #93c5fd;
  font-style: normal;
  font-weight: 600;
}

.locked-row {
  opacity: 0.86;
}

.visual-stats {
  margin-top: 12px;
}

.visual-stats div {
  flex: 1;
  padding: 14px;
  color: #fff;
  background: rgba(21, 91, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.visual-stats strong {
  display: block;
  font-size: 1.15rem;
}

.landing-band {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  background: #fff;
}

.dark-section {
  color: #fff;
  background:
    linear-gradient(180deg, var(--dark), var(--dark-2));
}

.dark-section .section-copy,
.dark-section p {
  color: rgba(255, 255, 255, 0.7);
}

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

.section-heading.center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-copy {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.insight-grid,
.flow-grid,
.category-grid,
.testimonial-grid,
.metric-grid {
  display: grid;
  gap: 14px;
}

.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-grid article,
.flow-grid article,
.category-grid article,
.testimonial-grid article,
.metric-grid article,
.surface,
.account-panel,
.metrics-dashboard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.insight-grid article,
.flow-grid article,
.category-grid article,
.testimonial-grid article {
  padding: 20px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.insight-grid article:hover,
.flow-grid article:hover,
.category-grid article:hover,
.testimonial-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 91, 255, 0.36);
  box-shadow: var(--shadow);
}

.dark-section .flow-grid article,
.dark-section .timeline article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.mini-icon,
.flow-grid article > span,
.category-grid article > span,
.timeline article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 8px;
  font-weight: 700;
}

.insight-grid strong,
.flow-grid strong,
.category-grid strong,
.timeline strong {
  display: block;
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.insight-grid p,
.flow-grid p,
.category-grid p,
.timeline p,
.testimonial-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.compare-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.comparison {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row.head {
  color: var(--muted);
  background: #f8fbff;
  font-weight: 600;
}

.comparison-row strong {
  color: var(--blue);
}

.comparison-row em {
  color: var(--muted);
  font-style: normal;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.timeline article {
  display: grid;
  grid-template-columns: auto 0.45fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
}

.testimonial-grid article p {
  min-height: 92px;
  color: var(--ink);
  font-size: 1.08rem;
}

.testimonial-grid strong,
.testimonial-grid span {
  display: block;
}

.testimonial-grid span {
  color: var(--muted);
}

.review-grid article {
  min-height: 238px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.review-top strong {
  font-size: 1.08rem;
}

.stars {
  color: #f59e0b !important;
  font-weight: 700;
}

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

.metrics-dashboard {
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid article {
  padding: 18px;
  box-shadow: none;
}

.metric-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.metric-grid span {
  color: var(--muted);
  font-weight: 600;
}

.portal-links {
  background: #fff;
}

.link-cloud-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}

.link-cloud-wrap > div {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.link-cloud-wrap h3 {
  margin: 0 0 14px;
}

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

.link-cloud a {
  min-height: auto;
  padding: 0;
  color: #111827;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.link-cloud a:hover {
  color: var(--blue);
  transform: translateX(2px);
  border-color: transparent;
  box-shadow: none;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: clamp(72px, 10vw, 130px);
  color: #fff;
  background: linear-gradient(135deg, #07101f, #0b1b3b 58%, #155bff);
}

.final-cta h2 {
  max-width: 900px;
}

.final-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.app-download-band {
  padding: clamp(56px, 8vw, 92px) clamp(18px, 4vw, 56px);
  background: #f0f2f5;
}

.shortlist-band {
  background: #f4f7fb;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.shortlist-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.shortlist-copy h2,
.final-conversion-band h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.02;
}

.shortlist-copy p,
.final-conversion-band p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.shortlist-steps {
  display: grid;
  gap: 14px;
}

.shortlist-steps article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.06);
}

.shortlist-steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.shortlist-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.08rem;
}

.shortlist-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reviews-band {
  padding: clamp(52px, 8vw, 86px) clamp(18px, 4vw, 56px);
  background: #fff;
}

.real-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.real-review-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(7, 17, 31, 0.07);
}

.real-review-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.45rem;
  font-weight: 900;
}

.real-review-grid p {
  min-height: 82px;
  color: var(--muted);
  line-height: 1.58;
}

.real-review-grid strong,
.real-review-grid small {
  display: block;
}

.real-review-grid strong {
  color: var(--ink);
}

.real-review-grid small {
  margin-top: 4px;
  color: var(--muted);
}

.final-conversion-band {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(44px, 7vw, 76px) auto;
  padding: clamp(34px, 6vw, 76px);
  border-radius: 22px;
  color: #fff;
  background: #07111f;
}

.final-conversion-band p {
  color: #c8d3e4;
}

.pricing-hero,
.public-profile-hero {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 11vw, 130px) 0 44px;
}

.pricing-hero h1,
.public-profile-hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.98;
}

.pricing-hero p,
.public-profile-hero p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.pricing-grid-section,
.public-profile-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 80px;
}

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

.about-grid h2 {
  font-size: 1.4rem;
  line-height: 1.2;
}

.question-chip-row,
.review-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.question-chip,
.review-tag-options label {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  padding: 9px 12px;
  cursor: pointer;
}

.question-chip:hover,
.review-tag-options label:hover {
  border-color: rgba(0, 85, 255, 0.45);
  box-shadow: 0 8px 20px rgba(0, 85, 255, 0.12);
}

.question-chip:disabled {
  cursor: default;
  opacity: 0.55;
}

.review-status {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
}

.review-status.received {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.notification-unread {
  border-left: 4px solid var(--blue);
  background: #eff6ff;
}

.quote-compare-section {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.quote-compare-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.quote-compare-head h3 {
  margin: 4px 0 0;
}

.quote-compare-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.quote-compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.quote-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 0.8fr 0.8fr;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.quote-compare-row:first-child {
  border-top: 0;
}

.quote-compare-header {
  background: #f8fafc;
  color: var(--ink);
  font-weight: 900;
}

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

.pricing-grid article,
.profile-main-card,
.profile-side-card,
.pricing-note {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(7, 17, 31, 0.07);
}

.pricing-grid article {
  padding: 24px;
}

.pricing-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.pricing-grid span,
.profile-score {
  display: block;
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
}

.pricing-grid p,
.pricing-note p,
.profile-main-card p,
.profile-side-card p {
  color: var(--muted);
  line-height: 1.58;
}

.pricing-note {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 78px;
  padding: 32px;
}

.public-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.profile-main-card,
.profile-side-card {
  padding: 28px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-tags span {
  padding: 7px 11px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: var(--blue);
  background: #f3f7ff;
  font-weight: 800;
  font-size: 0.86rem;
}

.profile-projects {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.profile-projects article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.profile-projects img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 10px;
}

.profile-side-card dl {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.profile-side-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.profile-side-card dt {
  color: var(--muted);
}

.profile-side-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.business-profile-editor {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.business-profile-editor h3 {
  margin: 0;
}

.business-profile-editor label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.business-profile-editor input,
.business-profile-editor textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--ink);
}

.profile-public-link {
  text-align: center;
  text-decoration: none;
}

@media (max-width: 860px) {
  .pricing-grid,
  .about-grid,
  .public-profile-grid,
  .profile-projects article {
    grid-template-columns: 1fr;
  }

  .quote-compare-head {
    flex-direction: column;
  }

  .quote-compare-pills {
    justify-content: flex-start;
  }

  .quote-compare-row {
    grid-template-columns: 1fr;
  }
}

.app-download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.app-download-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #38404a;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.04;
}

.app-download-copy p {
  max-width: 720px;
  margin-bottom: 28px;
  color: #1f2937;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  min-width: 186px;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  color: #fff;
  background: #050505;
  border: 1px solid #1f2937;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(9, 13, 26, 0.16);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(9, 13, 26, 0.22);
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.store-badge strong {
  font-size: 1.35rem;
}

.store-symbol {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.apple-symbol::before {
  content: "";
  position: absolute;
  inset: 7px 8px 3px 5px;
  background: #fff;
  border-radius: 48% 48% 42% 42%;
}

.apple-symbol::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 17px;
  width: 10px;
  height: 14px;
  background: #fff;
  border-radius: 10px 0 10px 0;
  transform: rotate(28deg);
}

.play-symbol::before {
  content: "";
  position: absolute;
  inset: 4px 3px 4px 5px;
  background: linear-gradient(135deg, #16a34a 0 35%, #22c55e 36% 50%, #f59e0b 51% 70%, #ef4444 71%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.app-download-visual {
  position: relative;
  min-height: 360px;
  margin: 0;
}

.app-download-visual::before {
  content: "";
  position: absolute;
  inset: 12% 0 8% 7%;
  background: #e5e8ee;
  border-radius: 999px;
}

.phone-hand {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  margin-left: auto;
}

.phone-hand::before {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -18px;
  width: 116px;
  height: 212px;
  background: linear-gradient(180deg, #f0b78c, #d89265);
  border-radius: 54px 54px 18px 18px;
  transform: rotate(-8deg);
  box-shadow: inset 16px 0 24px rgba(255, 255, 255, 0.22);
}

.phone-hand img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 275px);
  filter: drop-shadow(0 30px 48px rgba(9, 13, 26, 0.22));
}

.workspace {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-top: clamp(44px, 7vw, 86px);
  padding-bottom: clamp(44px, 7vw, 86px);
  background: var(--paper);
}

.app-workspace {
  min-height: calc(100vh - 78px);
}

.onboarding-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  min-height: calc(100vh - 78px);
  padding: clamp(34px, 7vw, 94px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.onboarding-copy {
  position: sticky;
  top: 32px;
}

.professional-page {
  background:
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.onboarding-copy h1 {
  font-size: clamp(2.9rem, 7vw, 5.7rem);
}

.onboarding-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.onboarding-card {
  margin: 0;
}

/* ── Registration success overlay ── */
@keyframes reg-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  65%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes reg-fade-out {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}
@keyframes check-draw {
  from { stroke-dashoffset: 80; }
  to   { stroke-dashoffset: 0; }
}
@keyframes reg-slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reg-success-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px; text-align: center; padding: 40px;
}
.reg-success-overlay.reg-fading {
  animation: reg-fade-out .45s ease forwards;
  pointer-events: none;
}
.reg-success-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: #22c55e;
  display: flex; align-items: center; justify-content: center;
  animation: reg-pop .55s cubic-bezier(.175,.885,.32,1.275) forwards;
  box-shadow: 0 0 0 16px #dcfce7;
}
.reg-success-check {
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: check-draw .4s ease forwards .35s;
}
.reg-success-title {
  font-size: 2rem; font-weight: 700; color: var(--ink, #0b1020);
  letter-spacing: -.02em; opacity: 0;
  animation: reg-slide-up .4s ease forwards .25s;
}
.reg-success-subtitle {
  font-size: 1rem; color: #6b7280;
  max-width: 340px; line-height: 1.55; opacity: 0;
  animation: reg-slide-up .4s ease forwards .4s;
}

/* ── Email verification page ── */
.verify-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 40px 24px; background: #fff;
}
.verify-envelope { position: relative; margin-bottom: 8px; }
.verify-envelope-badge {
  position: absolute; top: -6px; right: -6px;
  width: 26px; height: 26px; background: #ec4899;
  border-radius: 50%; border: 3px solid #fff;
}
.verify-title {
  font-size: 1.55rem; font-weight: 700;
  color: var(--ink, #0b1020); margin: 0 0 6px; letter-spacing: -.01em;
}
.verify-desc {
  font-size: .92rem; color: #6b7280; line-height: 1.6;
  max-width: 380px; margin: 0 0 24px;
}
.verify-desc strong { color: #374151; }
.verify-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 28px;
}
.verify-btn-outline {
  padding: 10px 22px; border: 1.5px solid #d1d5db; border-radius: 999px;
  background: none; font-size: .9rem; font-weight: 600; color: #374151;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.verify-btn-outline:hover { background: #f9fafb; }
.verify-resend-note { font-size: .8rem; color: #9ca3af; }

.result-message {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 600;
  line-height: 1.45;
}

.result-message.error {
  color: #dc2626;
}

.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(38px, 7vw, 86px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.auth-copy h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}

.auth-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.auth-card {
  margin: 0;
}

.auth-card-heading {
  margin-bottom: 24px;
}

.auth-card-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.auth-card-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-form {
  grid-template-columns: 1fr;
}

.auth-form .link-button.full {
  width: 100%;
}

.auth-info-list {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin-top: 26px;
}

.auth-info-list article {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.auth-info-list strong,
.auth-info-list span {
  display: block;
}

.auth-info-list strong {
  margin-bottom: 4px;
  color: var(--ink);
}

.auth-info-list span {
  color: var(--muted);
  line-height: 1.45;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px;
  color: var(--muted);
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.auth-switch a,
.auth-login-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.form-stepper {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0 !important;
  margin: 8px 0 24px !important;
  padding: 0 10px !important;
}

.form-stepper span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 6px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.form-stepper span::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 8px;
  border: 3px solid #dbe5f6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px #fff;
}

.form-stepper span + span::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: #dbe5f6;
  transform: translateX(-9px);
  z-index: -1;
}

.form-stepper span.active {
  color: var(--blue);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.form-stepper span.active::before {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 0 0 6px #fff, 0 12px 24px rgba(21, 91, 255, 0.24);
}

.form-stepper span.done {
  color: #0b43c8;
  background: transparent;
  border-color: transparent;
}

.form-stepper span.done::before {
  border-color: var(--blue);
  background: #fff;
}

.form-stepper span.done + span::after,
.form-stepper span.active + span::after {
  background: linear-gradient(90deg, var(--blue), #dbe5f6);
}

.wizard-form {
  grid-template-columns: 1fr;
}

.form-step {
  display: grid;
  gap: 14px;
  min-height: 310px;
  align-content: start;
}

.form-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.form-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-grid.nested {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-self: end;
  margin-top: 18px;
}

.wizard-actions .primary,
.wizard-actions .secondary {
  min-width: 180px;
  min-height: 48px;
}

.portfolio-builder,
.reputation-builder {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.portfolio-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-projects {
  display: grid;
  gap: 12px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.portfolio-project-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #dce5f4;
  border-radius: 12px;
}

.portfolio-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-remove,
.portfolio-image-grid button {
  border: 0;
  background: transparent;
  color: #dc2626;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.portfolio-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px;
  border: 2px dashed #bfd0ee;
  border-radius: 12px;
  background: #f7fbff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.portfolio-dropzone.dragover {
  border-color: var(--blue);
  background: #eef5ff;
  transform: translateY(-1px);
}

.portfolio-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.portfolio-dropzone small {
  color: var(--blue);
  font-weight: 900;
}

.portfolio-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.portfolio-image-grid figure {
  display: grid;
  gap: 5px;
  margin: 0;
}

.portfolio-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.auth-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-choice {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
}

.auth-choice p {
  margin: 0;
}

.auth-choice ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.auth-choice li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.auth-choice li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 999px;
}

.auth-login-note {
  margin-top: 24px;
  text-align: center;
}

/* ── Compact login page ── */
.login-body {
  margin: 0;
  background: linear-gradient(135deg, #0b1020 0%, #0f1e3d 60%, #0b1020 100%);
  min-height: 100vh;
}

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(32px, 6vw, 48px) clamp(28px, 5vw, 44px);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 28px;
}

.login-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.login-logo span {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.login-title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--ink);
}

.login-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.93rem;
}

.login-form {
  grid-template-columns: 1fr;
}

.login-submit {
  width: 100%;
  margin-top: 4px;
}

.login-role-hints {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.login-role-hints span {
  font-size: 0.76rem;
  color: var(--muted);
  background: #f0f4fa;
  border-radius: 999px;
  padding: 3px 10px;
}

.login-switch {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.login-switch a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  padding: clamp(34px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.legal-page h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1;
}

.legal-page > .surface > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.legal-grid article {
  padding: 18px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.surface {
  margin-bottom: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.hidden {
  display: none;
}

.account-switch {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  padding: 5px;
  background: #f2f6ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.role-button {
  min-height: 40px;
  padding: 0 11px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-weight: 600;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.role-button.active,
.role-button:hover {
  color: #fff;
  background: var(--blue);
}

.privacy-note {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.section-heading.compact {
  margin-top: 10px;
}

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

label {
  display: grid;
  gap: 7px;
  font-family: inherit;
  color: var(--muted);
  font-weight: 600;
}

.full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 91, 255, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.portfolio-field,
.cat-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.portfolio-field-label em {
  color: var(--blue);
  font-style: normal;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
}

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 12px;
  background: rgba(21, 91, 255, 0.07);
  border: 1px solid rgba(21, 91, 255, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
}

.portfolio-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(21, 91, 255, 0.15);
  color: var(--blue);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.portfolio-tag-remove:hover {
  background: rgba(21, 91, 255, 0.3);
}

.portfolio-add-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.portfolio-add-row input {
  flex: 1;
  min-height: 44px;
}

.portfolio-add-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}

.portfolio-add-btn:hover {
  background: #1a4fd8;
}

.inline-form,
.review-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.review-form {
  grid-template-columns: minmax(0, 1fr) 90px auto auto;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.smart-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  color: var(--ink);
  background: #f8fbff;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
}

.smart-panel.full-card {
  margin-top: 14px;
}

.smart-panel strong {
  color: var(--blue);
}

.smart-panel p,
.smart-panel ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.smart-panel ul {
  padding-left: 18px;
}

.verification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.verification-form {
  display: grid;
  gap: 12px;
}

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

.verification-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.verification-check input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.verification-form textarea {
  width: 100%;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
  font: inherit;
}

.verification-last {
  font-size: 0.86rem;
  font-weight: 750;
}

.cards,
.chat-list,
.bars,
.events {
  display: grid;
  gap: 12px;
}

.card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.quote-card {
  border-color: rgba(21, 91, 255, 0.18);
}

.quote-card h3 {
  margin: 0 0 8px;
}

.quote-card .card-actions {
  align-items: center;
}

.quote-reputation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
}

.quote-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-project,
.quote-milestones {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  background: #f8fbff;
}

.quote-project strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

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

.quote-project-images {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quote-project-images img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.quote-milestone {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #e5edff;
}

.quote-milestone:first-of-type {
  border-top: 0;
}

.quote-milestone span {
  color: var(--ink);
  font-weight: 800;
}

.quote-milestone small {
  color: var(--muted);
}

.card-top,
.card-actions,
.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.card-top {
  margin-bottom: 12px;
}

.card-actions {
  flex-wrap: wrap;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #0b43c8;
  background: var(--blue-soft);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.warning-pill {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.warning-text {
  color: #9a3412 !important;
  font-weight: 600;
}

.deadline,
.area,
.description {
  color: var(--muted);
  line-height: 1.5;
}

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

.stat,
.event {
  padding: 16px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 1.55rem;
}

.stat span,
.event {
  color: var(--muted);
  font-weight: 750;
}

.event p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.bar {
  display: grid;
  gap: 6px;
}

.bar-track {
  height: 9px;
  overflow: hidden;
  background: #e8efff;
  border-radius: 999px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.chat {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chat-header {
  padding: 14px;
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
}

.messages {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.message {
  max-width: 78%;
  padding: 10px 12px;
  background: #eef5ff;
  border-radius: 8px;
  line-height: 1.45;
}

.message.mine {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.chat form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(150px, 0.55fr) minmax(150px, 0.55fr) minmax(190px, 0.75fr);
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 42px;
  color: #172033;
  background: #f8fafc;
  border-top: 1px solid #e6ebf2;
}

.site-footer .brand {
  color: var(--blue);
}

.site-footer p {
  max-width: 460px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer strong {
  margin-bottom: 6px;
  color: #111827;
}

.site-footer a {
  color: #536175;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--blue);
}

.site-footer .footer-pro {
  width: fit-content;
  margin-top: 10px;
  color: #fff;
}

@media (max-width: 1080px) {
  .floating-searchbar {
    grid-template-columns: minmax(130px, 0.4fr) minmax(260px, 1fr) auto;
    gap: 16px;
  }

  .home-topbar {
    align-items: flex-start;
  }

  .home-topbar .top-actions a:not(.nav-pill) {
    display: none;
  }

  .hero,
  .market-hero-inner,
  .compare-wrap,
  .mockup-split,
  .app-download-inner,
  .shortlist-inner,
  .real-review-grid,
  .professional-feature,
  .expert-card,
  .onboarding-page,
  .auth-page,
  .workspace,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .insight-grid,
  .flow-grid,
  .metric-grid,
  .market-trust-row,
  .trend-grid,
  .quality-grid,
  .how-visual-grid,
  .link-cloud-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-panel {
    position: static;
  }

  .home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .floating-searchbar {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 10px 14px;
  }

  .floating-logo,
  .floating-menu {
    display: none;
  }

  .floating-search {
    min-height: 48px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-topbar {
    flex-direction: row;
    align-items: center;
  }

  .home-topbar .brand-mark {
    width: 136px;
    height: 46px;
  }

  .home-topbar .top-actions {
    width: auto;
    margin-left: auto;
  }

  .home-topbar .top-actions .nav-pill {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 0.82rem;
  }

  .home-topbar .top-actions .nav-pro {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    min-width: 0;
  }

  .insight-grid,
  .flow-grid,
  .category-grid,
  .testimonial-grid,
  .metric-grid,
  .market-trust-row,
  .trend-grid,
  .quality-grid,
  .how-visual-grid,
  .link-cloud-wrap,
  .legal-grid,
  .listing-grid,
  .auth-choice-grid,
  .form-grid,
  .analytics-grid,
  .split,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .how-visual-grid::before {
    display: none;
  }

  .professional-feature,
  .expert-card {
    grid-template-columns: 1fr;
  }

  .link-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .chat form {
    grid-template-columns: 1fr;
  }

  .inline-form,
  .review-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero,
  .market-hero,
  .landing-band,
  .auth-page,
  .onboarding-page,
  .workspace,
  .final-cta,
  .site-footer {
    padding-inline: 14px;
  }

  .topbar {
    padding-inline: 14px;
  }

  .hero-actions .link-button,
  .final-cta .link-button {
    width: 100%;
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-download-visual {
    min-height: 300px;
  }

  .phone-hand {
    margin: 0 auto;
  }

  .market-hero {
    min-height: 620px;
    padding-top: 128px;
  }

  .market-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .search-panel .primary {
    min-height: 58px;
  }
}

/* ── Multi-step form ── */

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

.form-step.hidden {
  display: none;
}

.form-step-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 6px;
}

.form-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
}

.form-stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.step-dot {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.form-stepper-step.active .step-dot {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21, 91, 255, 0.3);
}

.form-stepper-step.done .step-dot {
  background: var(--success);
  color: #fff;
}

.form-stepper-step > span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.form-stepper-step.active > span,
.form-stepper-step.done > span {
  color: var(--ink);
}

.form-stepper-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-top: 15px;
  min-width: 24px;
}

/* Field validation */
input.invalid,
textarea.invalid,
select.invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

input.valid,
select.valid {
  border-color: var(--success) !important;
}

.category-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.category-group-title {
  grid-column: 1 / -1;
  margin-top: 8px;
  margin-bottom: 2px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-picker legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--ink);
}

.category-picker label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: auto;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.category-picker label:hover {
  border-color: var(--blue);
  background: rgba(21, 91, 255, 0.04);
}

.category-picker input[type="checkbox"]:checked + label,
.category-picker label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(21, 91, 255, 0.06);
  color: var(--blue);
  font-weight: 700;
}

.category-picker input {
  flex-shrink: 0;
  width: auto;
  margin: 0;
  accent-color: var(--blue);
}

.category-picker.invalid-group {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.pricing-examples {
  display: grid;
  gap: 8px;
  max-width: 380px;
  margin-top: 22px;
  padding: 16px;
  font-family: inherit;
  border: 1px solid rgba(21, 91, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.professional-page .pricing-examples {
  max-height: min(320px, calc(100svh - 430px));
  overflow: auto;
}

.pricing-examples strong {
  font-family: inherit;
  color: var(--ink);
}

.pricing-examples span {
  font-family: inherit;
  color: var(--muted);
  font-weight: 600;
}

.fee-search-field {
  display: grid;
  gap: 7px;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 850;
}

.fee-search-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  outline: none;
}

.fee-search-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 91, 255, 0.12);
}

.fee-estimate-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #eef5ff;
}

.fee-estimate-card b {
  color: var(--blue);
}

.fee-estimate-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}

.professional-hero-mockup {
  max-width: 360px;
  margin: 28px 0 0;
}

.professional-hero-mockup img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 22px 42px rgba(9, 13, 26, 0.14));
}

.professional-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #f6f9ff;
}

.professional-strip > div {
  max-width: 720px;
}

.professional-mockup {
  width: min(32vw, 280px);
  min-width: 220px;
  filter: drop-shadow(0 20px 36px rgba(9, 13, 26, 0.12));
}

/* ── Auth choice page ── */

.auth-page-full {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.auth-page-copy {
  max-width: 560px;
  text-align: center;
  margin-bottom: 40px;
}

.auth-page-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.auth-page-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.auth-choice-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  max-width: 680px;
  width: 100%;
}

.auth-choice {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 32px) !important;
  text-decoration: none;
  margin-bottom: 0 !important;
  position: relative;
  min-height: 180px;
}

.auth-choice strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.choice-arrow {
  margin-top: auto;
  width: fit-content;
  padding: 9px 13px;
  color: var(--blue);
  background: #eef5ff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease;
  display: block;
}

.auth-choice:hover .choice-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ════════════════════════════════════
   Pro Signup Page  (professionista.html)
   ════════════════════════════════════ */

.pro-page-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.pro-page-topbar .brand-mark {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: auto;
  height: 44px;
}

.req-suggest-wrap,
.cat-suggest-wrap,
.category-autocomplete-wrap {
  position: relative;
  width: 100%;
}

.category-autocomplete-wrap > input {
  width: 100%;
}

.pro-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 460px);
  align-items: stretch;
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80")
    center 40% / cover no-repeat;
  padding-top: 80px;
}

.pro-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.18) 55%,rgba(0,0,0,.08) 100%);
}

.pro-hero-card {
  position: relative;
  z-index: 1;
  grid-column: 2;
  background: #fff;
  border-radius: 4px;
  padding: clamp(24px,4vw,42px);
  margin: clamp(16px,4vw,52px) clamp(16px,3vw,44px);
  align-self: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.pro-hero-card h1 {
  font-size: clamp(1.3rem,2.2vw,1.8rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}

.pro-hero-tagline {
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.5;
}

.pro-service-wrap { position: relative; margin-bottom: 10px; }

.pro-service-input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid #cdd5e0;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 150ms ease;
}

.pro-service-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,91,255,.1);
}

.pro-suggestions {
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #cdd5e0;
  border-radius: 4px;
  list-style: none;
  margin: 0; padding: 4px 0;
  max-height: 230px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.pro-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: .9rem;
}

.pro-suggestion-item:hover,
.pro-suggestion-item.focused { background: rgba(21,91,255,.06); }

.pro-sug-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.pro-sug-name { color: var(--ink); font-weight: 750; }

.pro-sug-main small {
  color: #667085;
  font-size: .74rem;
  line-height: 1.25;
  white-space: normal;
}

.pro-sug-group {
  font-size: .67rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

.portal-search .category-autocomplete-wrap,
.floating-search .category-autocomplete-wrap {
  position: relative;
  min-width: 0;
  height: 100%;
}

.portal-search .category-autocomplete-list,
.floating-search .category-autocomplete-list {
  top: calc(100% + 8px);
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, .95);
  overflow: hidden;
  max-height: min(360px, 58vh);
  box-shadow: 0 20px 46px rgba(15, 23, 42, .16);
}

.portal-search .pro-suggestion-item,
.floating-search .pro-suggestion-item {
  min-height: 54px;
  padding: 10px 14px;
}

.portal-search .pro-suggestion-item::before,
.floating-search .pro-suggestion-item::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #eaf1ff, #c7d7fe);
  border: 1px solid #dbe7ff;
}

.portal-search .pro-sug-group,
.floating-search .pro-sug-group {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
}

/* Mobile-first polish for the public marketplace search */
@media (max-width: 760px) {
  .market-hero {
    min-height: auto;
    align-items: end;
    padding: 104px 16px 34px;
    background-position: center top;
  }

  .market-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, .42));
    pointer-events: none;
  }

  .market-hero-inner,
  .market-hero-copy {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .market-hero h1 {
    max-width: 390px;
    margin-bottom: 12px;
    font-size: clamp(2.15rem, 11vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.04em;
  }

  .market-hero p:not(.eyebrow) {
    max-width: 380px;
    margin-bottom: 18px;
    font-size: .98rem;
    line-height: 1.48;
  }

  .search-panel.portal-search {
    width: 100%;
    max-width: 420px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 20px 58px rgba(0,0,0,.26);
    overflow: visible;
  }

  .portal-search label,
  .portal-search input {
    min-height: 56px;
    border-radius: 18px;
  }

  .portal-search input {
    padding: 0 16px;
    color: #101828;
    background: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
  }

  .search-panel .primary {
    min-height: 52px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .portal-search .category-autocomplete-list {
    top: calc(100% + 10px);
    left: -8px;
    right: -8px;
    max-height: 330px;
    border-radius: 22px;
    padding: 6px;
    background: rgba(255,255,255,.98);
  }

  .portal-search .pro-suggestion-item {
    min-height: 64px;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .portal-search .pro-sug-group {
    display: none;
  }

  .search-suggestions {
    width: 100%;
    max-width: 420px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 12px auto 0;
    padding: 0 2px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .search-suggestions::-webkit-scrollbar {
    display: none;
  }

  .search-suggestions button {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 12px;
    font-size: .86rem;
    background: rgba(255,255,255,.18);
  }

  .quick-actions {
    display: flex;
    justify-content: center;
  }

  .market-trust-row {
    max-width: 420px;
    margin: 18px auto 0;
    gap: 8px;
  }

  .market-trust-row article {
    min-height: 82px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
  }

  .floating-searchbar {
    top: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;
    border-radius: 24px;
    border: 1px solid rgba(203, 213, 225, .9);
    box-shadow: 0 18px 48px rgba(15,23,42,.22);
    transform: translateY(120%);
  }

  body.show-floating-nav .floating-searchbar {
    transform: translateY(0);
  }

  .floating-search {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 52px;
    border-radius: 18px;
    border-width: 1px;
  }

  .floating-search input {
    min-height: 50px;
    padding-left: 14px;
    font-size: .95rem;
    font-weight: 700;
  }

  .floating-search .category-autocomplete-list {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: 300px;
    border-radius: 20px;
    padding: 6px;
  }

  .floating-search .pro-suggestion-item {
    min-height: 62px;
    gap: 10px;
    border-radius: 15px;
  }

  .floating-search .pro-sug-group {
    display: none;
  }
}

.pro-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px 12px;
  background: rgba(21,91,255,.07);
  border: 1px solid rgba(21,91,255,.2);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--blue);
}

.pro-cta-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: var(--blue);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 150ms ease;
}

.pro-cta-btn:hover { background: #1a4fd8; }

.pro-login-hint { margin: 12px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }
.pro-login-hint a { color: var(--blue); font-weight: 600; }

.pro-stats-bar {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: #1e2540;
  padding: 28px clamp(24px,5vw,64px);
}

.pro-stat-item { text-align: center; color: #fff; }
.pro-stat-item + .pro-stat-item { border-left: 1px solid rgba(255,255,255,.12); }
.pro-stat-item strong { display: block; font-size: clamp(1.6rem,3.5vw,2.8rem); font-weight: 700; line-height: 1; margin-bottom: 6px; }
.pro-stat-item span { font-size: .8rem; color: rgba(255,255,255,.65); }

.pro-benefits-section { padding: clamp(40px,7vw,72px) clamp(24px,5vw,64px); background: #fff; }
.pro-benefits-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pro-benefit-visual {
  width: 110px; height: 90px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: #f0f5ff;
  border-radius: 16px;
}

.pro-benefit-card p { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 0; }

.pro-how-section {
  padding: clamp(40px,7vw,72px) clamp(24px,5vw,64px);
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.pro-how-section h2 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; margin: 0 0 36px; }

.pro-how-list { list-style: none; padding: 0; margin: 0 auto; max-width: 680px; }

.pro-how-list li {
  padding: 0 0 24px;
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
}

.pro-how-list li::after {
  content: "";
  display: block;
  width: 36px; height: 2px;
  background: var(--blue);
  margin: 14px auto 0;
}

.pro-how-list li:last-child::after { display: none; }

.pro-earnings-section { padding: clamp(40px,7vw,72px) clamp(24px,5vw,64px); background: #f4f6fb; }

.pro-earnings-section h2 {
  font-size: clamp(1.1rem,2.2vw,1.55rem);
  font-weight: 700;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.3;
}

.pro-earnings-track {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.pro-earning-card { background: #fff; border-radius: 4px; overflow: hidden; }
.pro-earning-card img { width: 100%; height: 175px; object-fit: cover; display: block; }
.pro-earning-card strong { display: block; padding: 10px 12px 2px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.pro-earning-card span { display: block; padding: 0 12px 10px; font-size: .82rem; color: var(--muted); }

.pro-final-cta { padding: clamp(60px,9vw,100px) clamp(24px,5vw,64px); text-align: center; background: #fff; }
.pro-final-cta h2 { font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; margin: 0 0 12px; }
.pro-final-cta > p { color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.pro-final-cta .pro-cta-btn { max-width: 320px; margin: 0 auto; }

.pro-form-section {
  padding: clamp(40px,7vw,72px) clamp(24px,5vw,64px);
  background: linear-gradient(180deg,#f7f9fc 0%,#fff 100%);
  border-top: 1px solid var(--line);
}

.pro-form-inner { max-width: 620px; margin: 0 auto; }
.pro-form-inner .onboarding-card { margin-top: 28px; padding: clamp(22px,4vw,40px); }

.pro-page-footer { background: #2d3348; padding: 40px clamp(24px,5vw,64px); text-align: center; }
.pro-page-footer p { margin: 4px 0; color: rgba(255,255,255,.55); font-size: .82rem; }
.pro-page-footer a { color: rgba(255,255,255,.7); }
.pro-footer-contact { font-size: .68rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.38) !important; margin-bottom: 8px !important; }
.pro-footer-brand-row { margin: 16px 0 4px; }
.pro-footer-brand-row strong { font-size: 1.1rem; font-weight: 700; color: #fff; }
.pro-footer-copy { color: rgba(255,255,255,.32) !important; }

/* ════════════════════════════════════
   App / Dashboard  (app.html)
   ════════════════════════════════════ */

.app-body { margin: 0; }
.app-body > header.topbar { display: none; }

.app-layout {
  display: flex;
  min-height: 100vh;
  background: #f8f9fb;
}

.app-sidebar {
  width: 210px;
  min-width: 210px;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #e6eaf0;
  display: flex;
  flex-direction: column;
  padding: 18px 0 0;
  z-index: 10;
}

.app-sidebar-logo {
  padding: 0 16px 18px;
  border-bottom: 1px solid #e6eaf0;
}

.app-sidebar-logo img { height: 34px; display: block; }

.app-sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid #e6eaf0;
}

.app-sidebar-search input {
  flex: 1;
  min-height: 36px;
  padding: 0 10px;
  border: 1.5px solid #dde2ea;
  border-radius: 999px;
  font-size: .82rem;
  background: #f8f9fb;
}

.app-sidebar-search input:focus { outline: none; border-color: var(--blue); }

.app-search-btn {
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.app-sidebar-nav { padding: 8px 0; }

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 0;
  transition: background 140ms ease, color 140ms ease;
}

.app-nav-item:hover { background: #f0f3f8; color: var(--ink); }
.app-nav-item.active { color: var(--blue); background: rgba(21,91,255,.07); border-right: 2px solid var(--blue); }

.app-nav-cta {
  margin: 8px 12px 4px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff !important;
  justify-content: center;
}
.app-nav-cta:hover { background: #0a43d8; color: #fff; }
.app-nav-cta.active { background: var(--blue); color: #fff !important; border-right: none; }

.app-nav-icon { font-size: 1rem; flex-shrink: 0; }

.app-sidebar-spacer { flex: 1; }

.app-download-banner {
  margin: 12px 12px;
  padding: 14px;
  background: #f7f9ff;
  border: 1px solid #dde5f8;
  border-radius: 10px;
  position: relative;
  font-size: .78rem;
}

.app-download-close {
  position: absolute;
  top: 8px; right: 8px;
  border: none; background: none;
  font-size: 1rem; color: var(--muted);
  cursor: pointer; line-height: 1;
}

.app-download-title { font-weight: 600; color: var(--ink); margin: 0 0 10px; font-size: .82rem; }

.app-download-qr {
  width: 72px; height: 72px;
  background: #e2e8f8;
  border-radius: 6px;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

.app-download-badges { display: flex; flex-direction: column; gap: 5px; }

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .15s;
}
.app-store-badge:hover { background: #222; }
.app-store-badge--play { background: #0d1117; }

.app-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 18px;
  border-top: 1px solid #e6eaf0;
}

.app-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #c026d3;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.app-user-info { min-width: 0; }
.app-user-info strong { display: block; font-size: .82rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-user-settings { font-size: .75rem; color: var(--muted); text-decoration: none; }
.app-user-settings:hover { color: var(--blue); }

.app-main {
  flex: 1;
  min-width: 0;
  padding: 32px clamp(24px,4vw,56px);
  overflow-y: auto;
}

.app-main-header { margin-bottom: 20px; }
.app-main-header h1 { font-size: 1.7rem; font-weight: 700; color: var(--ink); margin: 0; }

.app-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid #e0e5ef;
  margin-bottom: 28px;
}

.app-tab {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  transition: color 150ms ease;
}

.app-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.app-tab:hover:not(.active) { color: var(--ink); }

.app-views { margin-bottom: 40px; }
.app-views .surface { border-radius: 10px; margin-bottom: 16px; }

/* Service discovery */
.svc-discovery { margin-top: 16px; }

.svc-row { margin-bottom: 32px; }

.svc-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.svc-row-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; }

.svc-row-nav { display: flex; gap: 6px; }

.svc-nav-btn {
  width: 30px; height: 30px;
  border: 1.5px solid #dde2ea;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 140ms ease, background 140ms ease;
}

.svc-nav-btn:hover { border-color: var(--blue); background: rgba(21,91,255,.06); }

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

.svc-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.svc-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin-bottom: 7px;
  transition: opacity 150ms ease;
}

.svc-card:hover img { opacity: .88; }

.svc-card-name {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Account switch (reused) */
.account-switch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* Empty state */
.app-empty-state {
  text-align: center;
  padding: 48px 24px 32px;
}

.app-empty-state .empty-emoji { font-size: 4rem; margin-bottom: 12px; display: block; }
.app-empty-state h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.app-empty-state p { color: var(--muted); font-size: .88rem; max-width: 380px; margin: 0 auto; line-height: 1.5; }

.mini-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.auth-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 32px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.trust-badge.pending .badge-dot {
  background: #f59e0b;
}

.trust-badge.warning .badge-dot {
  background: #f97316;
}

.trust-badge.neutral .badge-dot {
  background: #94a3b8;
}

.trust-badge.verified {
  color: #03684f;
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.trust-badge.pending {
  color: #92400e;
  border-color: #fde68a;
  background: #fffbeb;
}

.trust-badge.warning {
  color: #9a3412;
  border-color: #fed7aa;
  background: #fff7ed;
}

.trust-badge.neutral {
  color: var(--muted);
  background: #f8fafc;
}

.admin-verification-details {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .auth-choice-grid {
    grid-template-columns: 1fr;
  }

  .form-step {
    grid-template-columns: 1fr;
  }

  .category-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verification-grid {
    grid-template-columns: 1fr;
  }

  .professional-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .professional-mockup {
    width: min(100%, 360px);
  }
}

/* ── Settings view ── */
.settings-view {
  max-width: 680px;
}

.settings-title {
  font-size: 2rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}

.settings-greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.settings-hi {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 4px;
  font-weight: 400;
}

.settings-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.settings-avatar-lg {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #c026d3;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.settings-list {
  border-top: 1px solid #f0f1f3;
}

.settings-list-logout {
  margin-top: 28px;
  border-top: 1px solid #f0f1f3;
}

/* ── Inline profile edit panel ── */
.settings-profile-panel {
  padding: 20px;
  margin: 0 0 2px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.settings-profile-form { display: grid; gap: 16px; }

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

.settings-pwd-section {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}
.settings-pwd-section summary {
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  user-select: none;
  background: #fff;
}
.settings-pwd-section[open] summary { border-bottom: 1px solid #e5e7eb; }
.settings-pwd-section .settings-profile-grid { padding: 14px; background: #fff; }

.settings-profile-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.settings-row-chevron { transition: transform .2s; }

@media (max-width: 520px) {
  .settings-profile-grid { grid-template-columns: 1fr; }
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f1f3;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 120ms ease;
}

.settings-row:hover {
  opacity: 0.72;
}

@media (min-width: 900px) and (min-height: 700px) {
  body:has(.auth-page),
  body:has(.auth-page-full),
  body:has(.onboarding-page) {
    overflow: hidden;
  }

  .auth-page,
  .onboarding-page {
    min-height: calc(100svh - 70px);
    padding: 14px clamp(22px, 4vw, 48px);
  }

  .auth-page {
    grid-template-columns: minmax(0, 0.78fr) minmax(390px, 0.72fr);
    gap: clamp(18px, 4vw, 46px);
  }

  .onboarding-page {
    grid-template-columns: minmax(280px, 0.54fr) minmax(480px, 0.98fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin-inline: auto;
  }

  .auth-page-full {
    min-height: calc(100svh - 70px);
    padding: 18px clamp(18px, 4vw, 48px);
  }

  .auth-page-copy {
    margin-bottom: 22px;
  }

  .auth-page-copy h1,
  .auth-copy h1,
  .onboarding-copy h1 {
    font-size: clamp(1.9rem, 3.9vw, 3.2rem);
    line-height: 0.98;
  }

  .auth-copy p,
  .onboarding-copy p,
  .auth-page-copy p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .auth-info-list {
    gap: 8px;
    margin-top: 16px;
  }

  .auth-info-list article {
    padding: 10px 12px;
  }

  .hero-proof {
    gap: 8px;
    margin-top: 10px;
  }

  .hero-proof span {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  .pricing-examples {
    gap: 6px;
    max-width: 360px;
    margin-top: 10px;
    padding: 10px;
    max-height: min(250px, calc(100svh - 390px));
  }

  .fee-search-field {
    gap: 5px;
    margin-top: 2px;
    font-size: 0.82rem;
  }

  .fee-search-field input,
  .category-filter-input {
    min-height: 34px;
    padding-block: 7px;
    font-size: 0.88rem;
  }

  .fee-estimate-card {
    padding: 8px;
  }

  .fee-estimate-card small,
  .pricing-examples span {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .auth-card,
  .onboarding-card {
    width: min(100%, 980px);
    padding: 22px;
    border-radius: 14px;
  }

  .auth-card-heading,
  .section-heading {
    margin-bottom: 12px;
  }

  .auth-card-heading h2,
  .section-heading h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
  }

  .auth-card-heading p {
    margin: 4px 0 0;
    line-height: 1.35;
  }

  .form-grid {
    gap: 12px;
  }

  label {
    gap: 5px;
    font-size: 0.86rem;
  }

  input,
  select,
  textarea {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  textarea {
    min-height: 62px;
  }

  .category-picker-outer {
    gap: 7px;
  }

  .category-picker {
    max-height: 180px;
    overflow: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
  }

  .category-picker legend {
    font-size: 0.78rem;
  }

  .category-group-title {
    margin-top: 4px;
    font-size: 0.72rem;
  }

  .category-picker label {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .form-note,
  .result-message {
    min-height: 18px;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .auth-switch {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .auth-choice-grid {
    max-width: 960px;
    gap: 16px;
  }

  .auth-choice {
    min-height: 300px;
    padding: 20px;
  }

  .auth-trust-row {
    margin-top: 18px;
  }

  .portfolio-projects {
    max-height: 330px;
  }

  .portfolio-dropzone {
    min-height: 82px;
  }
}

.bv-service-row span:first-child {
  display: grid;
  gap: 3px;
}

.bv-service-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.bv-wallet-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 780px;
  margin-bottom: 18px;
}

.wallet-stat {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.wallet-stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.wallet-stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .bv-page-head {
    display: grid;
  }

  .bv-wallet-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.settings-row-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.settings-row-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.settings-row-desc {
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.4;
  font-weight: 400;
}

.settings-row-chevron {
  color: #c4c9d4;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#settingsLogout .settings-row-icon {
  color: #9ca3af;
}

.settings-version {
  margin-top: 44px;
  text-align: center;
  font-size: 0.72rem;
  color: #c4c9d4;
  font-weight: 400;
}

/* ── App overlays (request detail, chat intro, settings) ── */
.app-main[data-overlay] .app-main-header,
.app-main[data-overlay] #appTabs,
.app-main[data-overlay] .app-views,
.app-main[data-overlay] .svc-discovery { display: none !important; }

.app-main[data-overlay="settings"] #settingsView { display: block !important; }

.app-overlay {
  max-width: 680px;
  padding-bottom: 48px;
}

.overlay-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  padding: 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color 140ms ease;
}
.overlay-back:hover { color: var(--ink); }

.detail-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

.detail-description {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.detail-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.detail-questions {
  margin: 20px 0;
  padding: 16px;
  background: var(--blue-soft);
  border-radius: 10px;
}
.detail-questions strong { display: block; margin-bottom: 8px; color: var(--ink); }
.detail-questions ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }

.detail-footer { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }

.detail-open-chat { margin-top: 4px; }

.chat-intro-body { max-width: 560px; }

.chat-intro-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.chat-intro-field {
  position: relative;
  margin: 20px 0 16px;
}

.chat-intro-textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  resize: vertical;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.chat-intro-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21,91,255,0.1);
}

.chat-intro-counter {
  text-align: right;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Pro upsell card (client area) ── */
.pro-upsell-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--blue-soft);
  border: 1px solid rgba(21, 91, 255, 0.18);
  border-radius: 12px;
}

.pro-upsell-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(21, 91, 255, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-upsell-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pro-upsell-body strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.pro-upsell-body span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.pro-upsell-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 140ms ease;
}
.pro-upsell-btn:hover { background: #0a43d8; color: #fff; }

/* ── Category picker outer wrapper ── */
.category-picker-outer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-filter-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 13px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.category-filter-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 91, 255, 0.12);
}

/* ── Dev/demo tools — hidden unless ?demo=1 ── */
.dev-tool { display: none !important; }

html.demo-mode .dev-tool { display: revert !important; }

html.demo-mode .account-switch {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
}

html.demo-mode body::after {
  content: "DEV";
  position: fixed;
  bottom: 14px;
  right: 14px;
  z-index: 9999;
  padding: 3px 8px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   BUSINESS (PROFESSIONISTA) INTERFACE
   ═══════════════════════════════════════════ */

/* Red dot badge on Opportunità nav item */
.bv-badge {
  display: inline-block;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin-left: 4px;
  flex-shrink: 0;
}

/* Business view container — no surface wrapper */
.bv-layout {
  padding: 0;
  background: none;
  box-shadow: none;
  border: none;
}

/* Sub-sections */
.bv-section { display: block; }
.bv-section.hidden { display: none; }

/* Section title */
.bv-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bv-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

/* ── Toolbar (sort / filter / search) ── */
.bv-header { margin-bottom: 4px; }

.bv-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 16px;
  flex-wrap: wrap;
}

.bv-count-label {
  flex: 1;
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
}

.bv-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .12s;
}
.bv-toolbar-btn:hover { background: #f5f6f8; }

.bv-search-input {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: .8rem;
  color: var(--ink);
  width: 160px;
  outline: none;
  transition: border-color .15s;
}
.bv-search-input:focus { border-color: var(--blue); }

/* ── Opportunity cards ── */
.bv-cards { border-top: 1px solid #e5e7eb; }

.opp-card {
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background .1s;
}
.opp-card:hover { background: #fafbff; }

.opp-card-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 10px;
}

.opp-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.opp-info { flex: 1; min-width: 0; }

.opp-name-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.opp-name { font-weight: 600; font-size: .92rem; color: var(--ink); }
.opp-loc  { font-size: .78rem; color: var(--muted); }

.opp-cat {
  font-size: .8rem;
  color: #374151;
  font-weight: 600;
}
.opp-intent {
  font-weight: 400;
  color: var(--muted);
}

.opp-date {
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.opp-desc {
  font-size: .82rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.opp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}
.opp-tag {
  font-size: .72rem;
  background: #f3f4f6;
  color: #374151;
  border-radius: 4px;
  padding: 2px 8px;
  border: 1px solid #e5e7eb;
}
.opp-tag-urgent {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  font-weight: 600;
}

.opp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.opp-count {
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.opp-btn {
  font-size: .8rem !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  white-space: nowrap;
}

/* ── Empty state ── */
.bv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 20px 80px;
}

.bv-empty-art {
  width: 110px; height: 110px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bv-empty h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.bv-empty p {
  color: var(--muted);
  font-size: .87rem;
  max-width: 340px;
  line-height: 1.55;
  margin: 0 0 24px;
}

.bv-empty-cta { min-width: 200px; }

/* ── Services list ── */
.bv-section-group { max-width: 680px; }

.bv-section-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.bv-section-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 560px;
}

.bv-add-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 8px 0;
  margin-bottom: 4px;
}
.bv-add-service:hover { opacity: .8; }

.bv-service-list { border-top: 1px solid #e5e7eb; }

.bv-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid #e5e7eb;
  font-size: .9rem;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: background .1s;
}
.bv-service-row:hover { background: #f9fafb; }
.bv-service-row svg { color: #9ca3af; flex-shrink: 0; }

/* ── Wallet / conto ── */
.bv-wallet-list {
  max-width: 680px;
  border-top: 1px solid #e5e7eb;
}

.bv-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  cursor: pointer;
  transition: background .1s;
}
.bv-wallet-row:hover { background: #f9fafb; }

.bv-wallet-row-title {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.bv-wallet-row-desc {
  font-size: .78rem;
  color: var(--muted);
}
.bv-wallet-row svg { color: #9ca3af; flex-shrink: 0; }

@media (min-width: 900px) and (min-height: 700px) {
  .onboarding-page .category-filter-input,
  .onboarding-page .fee-search-field input {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .onboarding-page .category-picker {
    max-height: 180px;
    overflow: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
  }

  .onboarding-page .category-picker label {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }
}

/* ═══════════════════════════════════════════
   REGISTRATION PREVIEW (Upwork-style)
   ═══════════════════════════════════════════ */

.reg-preview-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  min-height: calc(100vh - 64px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 60px);
}

/* Left column */
.reg-preview-heading {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 40px;
  max-width: 520px;
}

.reg-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.reg-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: .97rem;
  color: #374151;
  line-height: 1.45;
}
.reg-feature:first-child { border-top: 1px solid #e5e7eb; }

.reg-feature-icon {
  width: 38px; height: 38px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #374151;
}

.reg-cta-group { margin-bottom: 18px; }

.reg-cta-main {
  display: inline-block;
  border-radius: 999px !important;
  padding: 13px 30px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px;
}

.reg-cta-note {
  font-size: .82rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.45;
}

.reg-type-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.reg-type-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; font-weight: 600; color: var(--blue);
  text-decoration: none;
}
.reg-type-link:hover { text-decoration: underline; }
.reg-type-sep { color: #d1d5db; }

.reg-login-note {
  font-size: .82rem; color: #6b7280; margin: 0;
}
.reg-login-note a { color: var(--blue); font-weight: 600; }

/* Right column — carousel */
.reg-preview-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.reg-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.reg-testimonial-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  padding: 32px 28px 28px;
  text-align: center;
  min-height: 340px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
.reg-slide-in-right { animation: slide-in-right .3s ease forwards; }
.reg-slide-in-left  { animation: slide-in-left  .3s ease forwards; }

.reg-testimonial-avatar-wrap {
  position: relative; display: inline-block; margin-bottom: 4px;
}
.reg-testimonial-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  color: #fff; font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.reg-testimonial-online {
  position: absolute; bottom: 3px; right: 3px;
  width: 14px; height: 14px;
  background: #22c55e; border-radius: 50%;
  border: 2.5px solid #fff;
}

.reg-testimonial-name {
  font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0;
}
.reg-testimonial-role {
  font-size: .82rem; color: #6b7280; margin: 0;
}

.reg-testimonial-stats {
  display: flex; align-items: center; gap: 14px;
  font-size: .82rem; color: #374151; font-weight: 500;
  flex-wrap: wrap; justify-content: center;
  padding: 4px 0;
}
.reg-testimonial-stats span { display: flex; align-items: center; gap: 4px; }

.reg-testimonial-quote {
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.6;
  margin: 6px 0 0;
  font-style: normal;
  max-width: 320px;
}
.reg-quote-dim { color: #9ca3af; }

/* Carousel arrows */
.reg-carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1.5px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; color: #374151;
  transition: background .12s, border-color .12s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.reg-carousel-arrow:hover { background: #f9fafb; border-color: #d1d5db; }

/* Dots */
.reg-carousel-dots { display: flex; gap: 6px; }
.reg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: #d1d5db; cursor: pointer;
  padding: 0; transition: background .2s, transform .2s;
}
.reg-dot.active { background: var(--blue); transform: scale(1.25); }

/* Responsive */
@media (max-width: 760px) {
  .reg-preview-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: unset;
  }
  .reg-preview-right { order: -1; }
  .reg-testimonial-card { min-height: 280px; }
}

/* ═══════════════════════════════════════════════════════════════
   Professional registration wizard  (registrazione-professionista)
   ═══════════════════════════════════════════════════════════════ */

.pro-reg-body {
  background: #f7f8fa;
  min-height: 100dvh;
}

.pro-reg-page {
  max-width: 660px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.pro-reg-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.04);
  padding: 36px 40px 40px;
  display: grid;
  gap: 32px;
}

/* ── Stepper ── */
.pro-reg-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.pro-reg-stepper > [data-step-indicator] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  cursor: default;
}

.prs-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s, color .2s;
  position: relative;
  z-index: 1;
}

.prs-label {
  font-size: .68rem;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s;
}

.prs-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin-bottom: 20px;
  transition: background .25s;
}

/* active step */
[data-step-indicator].active .prs-circle {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
[data-step-indicator].active .prs-label { color: var(--blue); }

/* completed step */
[data-step-indicator].done .prs-circle {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
  font-size: 0;
}
[data-step-indicator].done .prs-circle::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  display: block;
}
[data-step-indicator].done .prs-label { color: #16a34a; }
[data-step-indicator].done ~ .prs-line { background: #86efac; }

/* ── Step container ── */
.pro-reg-step {
  display: grid;
  gap: 24px;
}

.pro-reg-step-head { display: grid; gap: 6px; }

.pro-reg-step-num {
  font-size: .75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

.pro-reg-step-head h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

.pro-reg-step-head p {
  font-size: .9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.55;
}

/* ── Fields grid ── */
.pro-reg-fields {
  display: grid;
  gap: 14px;
}

.pro-reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Password field ── */
.pro-reg-password-wrap {
  position: relative;
  display: flex;
}

.pro-reg-password-wrap input {
  flex: 1;
  padding-right: 44px !important;
}

.pro-reg-eye {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0;
  transition: color .15s;
}
.pro-reg-eye:hover { color: var(--ink); }

/* ── Action row ── */
.pro-reg-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.pro-reg-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 130px;
  justify-content: center;
}

/* ── Portfolio add button ── */
.pro-reg-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px dashed #93c5fd;
  border-radius: 8px;
  background: #eff6ff;
  color: var(--blue);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.pro-reg-add-btn:hover { background: #dbeafe; border-color: var(--blue); }

/* ── Portfolio empty state ── */
.portfolio-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  color: #9ca3af;
  border: 1.5px dashed #d1d5db;
  border-radius: 12px;
  background: #fafafa;
}
.portfolio-empty-state p {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: #6b7280;
}
.portfolio-empty-state small {
  font-size: .82rem;
  color: #9ca3af;
  line-height: 1.5;
}
.portfolio-empty-state .secondary {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Reputation stats ── */
.pro-rep-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pro-rep-stat-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
}
.pro-rep-stat-label:hover { border-color: #93c5fd; background: #f0f7ff; }

.pro-rep-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-rep-stat-input {
  width: 100%;
  text-align: center;
  border: 1.5px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 6px 8px !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  background: #fff !important;
  color: var(--ink) !important;
}
.pro-rep-stat-input:focus { border-color: var(--blue) !important; outline: none; }

/* ── Tag chips ── */
.pro-rep-tags-section { display: grid; gap: 12px; }

.pro-rep-tags-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.pro-rep-tags-label span {
  font-weight: 400;
  color: #9ca3af;
}

.pro-rep-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pro-rep-chip {
  padding: 5px 13px;
  font-size: .8rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.pro-rep-chip:hover { border-color: #93c5fd; background: #eff6ff; color: var(--blue); }
.pro-rep-chip.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.pro-rep-tag-custom {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pro-rep-tag-custom input {
  flex: 1;
  font-size: .85rem !important;
  padding: 7px 12px !important;
  border-radius: 8px !important;
}
.pro-rep-tag-custom button {
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.pro-rep-tag-custom button:hover { border-color: var(--blue); color: var(--blue); background: #eff6ff; }

/* ── Presentation textarea ── */
.pro-reg-textarea-label {
  display: grid;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.pro-reg-textarea-label textarea {
  resize: vertical;
  min-height: 120px;
  font-size: .9rem;
  line-height: 1.6;
}

.pro-reg-textarea-hint {
  font-size: .76rem;
  color: #9ca3af;
  font-weight: 400;
}

/* ── Info note box ── */
.pro-reg-note-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: .82rem;
  color: #92400e;
  line-height: 1.55;
}
.pro-reg-note-box svg { flex-shrink: 0; margin-top: 1px; color: #d97706; }

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
  .pro-reg-card { padding: 24px 18px 28px; gap: 24px; }

  .pro-reg-row { grid-template-columns: 1fr; }

  .pro-rep-stats { grid-template-columns: 1fr; }

  .prs-label { display: none; }

  .prs-circle { width: 28px; height: 28px; font-size: .72rem; }
}

@media (max-width: 480px) {
  .pro-reg-page { padding: 16px 10px 48px; }
  .pro-reg-stepper { gap: 0; }
}

/* Skeleton loading */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.skeleton-line {
  display: block;
  background: var(--line);
  animation: skeleton-pulse 1.6s ease-in-out infinite;
}

/* ── Chat header actions ── */
.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

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

.chat-header-actions .review-open-btn {
  font-size: .82rem;
  padding: 0 12px;
  min-height: 34px;
  border-radius: 8px;
}

.review-done-pill {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.chat-report-row {
  margin-top: 6px;
  text-align: right;
}

.link-muted {
  background: none;
  border: none;
  font: inherit;
  font-size: .8rem;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-muted:hover { color: var(--ink); }

/* ── Review popup ── */
@keyframes review-popup-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.review-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 13, 26, .52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 260ms ease;
  backdrop-filter: blur(4px);
}

.review-popup-backdrop.open {
  opacity: 1;
}

.review-popup {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 44px);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 32px 80px rgba(9, 13, 26, .22);
  transform: translateY(18px) scale(.96);
  transition: transform 300ms cubic-bezier(.175, .885, .32, 1.1);
  text-align: center;
}

.review-popup-backdrop.open .review-popup {
  transform: translateY(0) scale(1);
}

.review-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease;
}

.review-popup-close:hover {
  background: var(--paper);
  color: var(--ink);
}

.review-popup-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
  line-height: 1;
}

.review-popup h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.review-popup > p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 22px;
  line-height: 1.55;
}

.review-rating-row {
  margin-bottom: 16px;
  text-align: left;
}

.review-rating-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}

.review-rating-row select {
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  background: #fff;
  cursor: pointer;
}

.review-popup .review-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  justify-content: center;
}

.review-popup .review-tag-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .84rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  user-select: none;
}

.review-popup .review-tag-options label:has(input:checked) {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}

.review-popup .review-tag-options input {
  display: none;
}

.review-popup textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: .95rem;
  resize: vertical;
  margin-bottom: 18px;
  min-height: 72px;
}

.review-popup textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 91, 255, .12);
}

.review-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.review-popup-actions .primary {
  min-width: 160px;
}

@media (max-width: 480px) {
  .review-popup {
    padding: 24px 18px 28px;
    border-radius: 16px;
  }

  .review-popup-actions {
    flex-direction: column;
  }

  .review-popup-actions button {
    min-width: 0;
    width: 100%;
  }
}

/* Premium registration refresh */
.reg-workspace-body {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef3fb 100%);
  color: #0f172a;
}

.reg-workspace-body .reg-workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(18px);
}

.reg-workspace-body .brand-mark {
  width: 128px;
  height: 54px;
  padding: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.reg-workspace-body .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reg-workspace-body .top-actions {
  gap: 10px;
}

.reg-workspace-body .top-actions a,
.reg-workspace-body .topbar-muted {
  color: #64748b;
  font-weight: 800;
  text-decoration: none;
}

.reg-workspace-body .top-actions a:hover {
  color: #155bff;
}

.reg-premium-kicker {
  margin: 0;
  color: #155bff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reg-preview-layout.reg-choice-layout {
  max-width: 1180px;
  min-height: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  padding: clamp(46px, 7vw, 92px) clamp(30px, 5vw, 72px);
}

.reg-preview-subtitle {
  max-width: 560px;
  margin: -22px 0 34px;
  color: #64748b;
  font-size: 1.06rem;
  line-height: 1.65;
}

.reg-choice-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
  justify-self: center;
}

.reg-choice-card {
  display: grid;
  gap: 14px;
  min-height: 235px;
  padding: 28px;
  color: #0f172a;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.reg-choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 91, 255, 0.42);
  box-shadow: 0 30px 90px rgba(21, 91, 255, 0.12);
}

.reg-choice-card.featured {
  background: linear-gradient(180deg, #155bff 0%, #0f4be8 100%);
  color: #fff;
}

.reg-choice-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #155bff;
  background: #eef4ff;
  font-size: 0.82rem;
  font-weight: 900;
}

.reg-choice-card.featured .reg-choice-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.reg-choice-card strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.reg-choice-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.reg-choice-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.reg-choice-card small {
  margin-top: auto;
  color: #155bff;
  font-size: 0.9rem;
  font-weight: 900;
}

.reg-choice-card.featured small {
  color: #fff;
}

.reg-flow-main {
  display: flex;
  justify-content: center;
  padding: clamp(46px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
}

.reg-flow-shell.auth-page {
  width: 100%;
  max-width: 1180px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
}

.reg-flow-shell .auth-copy {
  align-self: stretch;
  padding: 30px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.reg-flow-shell .auth-copy h1,
.pro-reg-summary h1 {
  margin: 10px 0 12px;
  color: #0f172a;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.reg-flow-shell .auth-copy > p,
.pro-reg-summary > p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
}

.reg-side-metrics {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.reg-side-metrics article {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
}

.reg-side-metrics strong {
  color: #0f172a;
  font-size: 1rem;
}

.reg-side-metrics span {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.4;
}

.reg-flow-card.auth-card,
.pro-reg-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.1);
}

.reg-flow-card .auth-card-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.reg-flow-card .form-step,
.pro-reg-step {
  min-height: 330px;
  align-content: start;
}

.reg-flow-card input,
.reg-flow-card textarea,
.reg-flow-card select,
.pro-reg-card input,
.pro-reg-card textarea,
.pro-reg-card select {
  border-color: #dbe3ef !important;
  border-radius: 14px !important;
  background: #fbfdff !important;
}

.reg-flow-card input:focus,
.reg-flow-card textarea:focus,
.reg-flow-card select:focus,
.pro-reg-card input:focus,
.pro-reg-card textarea:focus,
.pro-reg-card select:focus {
  border-color: #155bff !important;
  box-shadow: 0 0 0 4px rgba(21, 91, 255, 0.1) !important;
}

.reg-flow-card .primary,
.pro-reg-card .primary {
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.reg-flow-card .primary:hover,
.pro-reg-card .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(21, 91, 255, 0.18);
}

.pro-reg-page {
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  justify-content: center;
  padding: clamp(46px, 7vw, 92px) clamp(24px, 4vw, 56px) clamp(70px, 8vw, 120px);
}

.pro-reg-summary {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 12px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}

.pro-reg-summary-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: #1e3a8a;
  background: #eef4ff;
  border: 1px solid rgba(21, 91, 255, 0.18);
  border-radius: 16px;
}

.pro-reg-summary-note span {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
}

.pro-reg-stepper {
  padding: 8px 0 10px;
}

.prs-circle {
  width: 34px;
  height: 34px;
  border-color: #d8e2f0;
  box-shadow: 0 0 0 6px #fff;
}

.prs-line {
  height: 3px;
  margin-bottom: 22px;
  background: #dbe5f2;
}

.category-picker,
.portfolio-builder,
.pro-rep-stat-label,
.pro-reg-note-box {
  border-color: rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: #fbfdff;
}

.portfolio-project-card {
  border-radius: 18px;
}

@media (max-width: 980px) {
  .reg-preview-layout.reg-choice-layout,
  .reg-flow-shell.auth-page,
  .pro-reg-page {
    grid-template-columns: 1fr;
  }

  .pro-reg-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .reg-workspace-body .reg-workspace-topbar {
    padding: 12px 16px;
  }

  .reg-workspace-body .brand-mark {
    width: 112px;
    height: 48px;
  }

  .reg-preview-layout.reg-choice-layout,
  .reg-flow-shell.auth-page,
  .pro-reg-page {
    padding: 18px;
  }

  .reg-flow-shell .auth-copy,
  .pro-reg-summary,
  .reg-flow-card.auth-card,
  .pro-reg-card {
    padding: 22px;
    border-radius: 20px;
  }
}

/* Remove one-screen registration constraints */
body.reg-workspace-body,
body.reg-workspace-body:has(.auth-page),
body.reg-workspace-body:has(.auth-page-full),
body.reg-workspace-body:has(.onboarding-page) {
  min-height: auto !important;
  overflow: auto !important;
}

.reg-workspace-body .reg-preview-layout,
.reg-workspace-body .auth-page,
.reg-workspace-body .auth-page-full,
.reg-workspace-body .onboarding-page,
.reg-workspace-body .pro-reg-page,
.reg-workspace-body .reg-flow-main {
  min-height: auto !important;
}

.reg-workspace-body .reg-preview-layout.reg-choice-layout,
.reg-workspace-body .reg-flow-shell.auth-page,
.reg-workspace-body .pro-reg-page {
  margin-left: auto;
  margin-right: auto;
}

.reg-workspace-body .reg-flow-card .form-step,
.reg-workspace-body .pro-reg-step {
  min-height: auto !important;
}

@media (min-width: 900px) and (min-height: 700px) {
  body.reg-workspace-body .auth-page,
  body.reg-workspace-body .onboarding-page,
  body.reg-workspace-body .auth-page-full {
    min-height: auto !important;
    padding-top: clamp(34px, 5vw, 72px);
    padding-bottom: clamp(48px, 6vw, 96px);
  }
}

/* ─── Cookie consent banner ──────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid #e3e8f2;
  box-shadow: 0 -8px 30px rgba(15,23,42,.08);
  padding: 16px 20px;
}
#cookie-banner .cb-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
#cookie-banner p {
  margin: 0;
  font-size: .875rem;
  color: #475569;
}
#cookie-banner a { color: #155eef; font-weight: 600; }
#cb-accept {
  flex-shrink: 0;
  background: #155eef;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
#cb-accept:hover { background: #1249c7; }
