:root {
  color-scheme: light;
  --surface-page: #f5f8fc;
  --surface-page-cool: #f5f8fc;
  --surface-section: #eaf2f8;
  --surface-card: #ffffff;
  --surface-subtle: #edf4fb;
  --surface-input: #ffffff;
  --text-primary: #263b50;
  --text-strong: #10233a;
  --text-muted: #52667a;
  --interactive: #075a91;
  --primary-action: #0b5ed7;
  --primary-action-hover: #084eaf;
  --primary-action-text: #ffffff;
  --control-border: #64748b;
  --card-border: #c8d4e0;
  --focus-ring: #0b5f8a;
  --eyebrow-text: #7a4c00;
  --inverse-surface: #091f33;
  --inverse-text: #ffffff;
  --navy: #102b46;
  --navy-deep: var(--text-strong);
  --ocean: #15546f;
  --blue: var(--interactive);
  --gold: #f0b64d;
  --gold-dark: var(--eyebrow-text);
  --sand: var(--surface-section);
  --cream: var(--surface-page);
  --paper: var(--surface-card);
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  --line: var(--card-border);
  --green: #17745a;
  --green-soft: #e5f5ed;
  --red: #a33b34;
  --warning-text: #76500b;
  --warning-surface: #fff3d6;
  --danger-text: #8f2f31;
  --danger-surface: #fdebea;
  --shadow: 0 20px 55px rgba(10, 34, 55, .13);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 750;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px max(24px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(16, 43, 70, .12);
  background: rgba(245, 248, 252, .94);
  backdrop-filter: blur(14px);
}

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

.brand-wordmark {
  width: 136px;
  height: auto;
  display: block;
  filter: drop-shadow(0 5px 9px rgba(4, 92, 242, .13));
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 11px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover {
  background: var(--surface-subtle);
  color: var(--interactive);
}

.mobile-map-link {
  min-height: 44px;
  display: none;
  align-items: center;
  padding: 0 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

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

.site-message {
  position: relative;
  z-index: 45;
  margin: 0;
  padding: 12px 24px;
  border-bottom: 1px solid #d7b56b;
  background: var(--warning-surface);
  color: var(--warning-text);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}

.text-button:hover {
  background: var(--surface-subtle);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 19px;
  border: 2px solid var(--primary-action);
  border-radius: 13px;
  background: var(--primary-action);
  color: var(--primary-action-text);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.button:hover {
  border-color: var(--primary-action-hover);
  background: var(--primary-action-hover);
  box-shadow: 0 8px 22px rgba(10, 34, 55, .15);
  transform: translateY(-1px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button-small {
  min-height: 44px;
  padding: 9px 15px;
  font-size: 14px;
}

.button-large {
  min-height: 56px;
  padding: 15px 22px;
  border-radius: 15px;
  font-size: 17px;
}

.button-secondary {
  border-color: var(--control-border);
  background: transparent;
  color: var(--interactive);
}

.button-secondary:hover {
  border-color: var(--interactive);
  background: var(--surface-subtle);
}

.button-light {
  border-color: #ffffff;
  background: #ffffff;
  color: #0b1f33;
}

.button-light:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.button-full {
  width: 100%;
}

.account-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--control-border);
  border-radius: 24px;
  background: var(--surface-card);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.account-avatar {
  width: 32px;
  height: 32px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 9px var(--navy);
  border: 2px solid var(--gold);
}

.hero {
  max-width: 1500px;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) 30px clamp(72px, 9vw, 130px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text-strong);
  letter-spacing: -.035em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 5.7vw, 5.45rem);
  font-weight: 650;
  line-height: .99;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.proof-list {
  display: grid;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 15px;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.proof-list span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.map-showcase {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 70, .18);
  border-radius: 30px 30px 30px 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map-toolbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 800;
}

.map-toolbar span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-toolbar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a9a68;
  box-shadow: 0 0 0 4px #dff3e8;
}

.map-toolbar a {
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
}

.map-toolbar a:hover {
  text-decoration: underline;
}

.pr-map {
  width: 100%;
  display: block;
  background: var(--ocean);
}

.ocean {
  fill: var(--ocean);
}

.water-lines {
  fill: none;
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 2;
}

.island-shadow {
  fill: rgba(7, 25, 36, .25);
  transform: translate(0, 12px);
}

.island {
  fill: #8db77d;
  stroke: #d9dfad;
  stroke-width: 5;
}

.island-detail {
  fill: none;
  stroke: rgba(42, 84, 50, .34);
  stroke-linecap: round;
  stroke-width: 5;
}

.small-island {
  fill: #96bc82;
  stroke: #d9dfad;
  stroke-width: 3;
}

.pin path {
  fill: var(--gold);
  stroke: var(--paper);
  stroke-width: 4;
}

.pin circle {
  fill: var(--navy);
}

.approx-area circle:first-child {
  fill: rgba(240, 182, 77, .18);
  stroke: var(--gold);
  stroke-dasharray: 8 7;
  stroke-width: 4;
}

.approx-area circle:last-child {
  fill: var(--gold);
  stroke: var(--paper);
  stroke-width: 3;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 15px 18px 17px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-pin {
  width: 12px;
  height: 12px;
  display: inline-block;
  border: 3px solid var(--paper);
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  box-shadow: 0 0 0 1px #b7770d;
  transform: rotate(-45deg);
}

.legend-area {
  width: 19px;
  height: 19px;
  display: inline-block;
  border: 2px dashed #b7770d;
  border-radius: 50%;
  background: #fff4dc;
}

.map-property-note {
  position: absolute;
  right: 18px;
  bottom: 64px;
  max-width: 265px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 43, 70, .16);
  border-radius: 16px 16px 5px 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 28px rgba(8, 28, 44, .17);
}

.note-label {
  display: block;
  margin-bottom: 3px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-property-note strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 128px) 30px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading h2,
.story-intro h2,
.clarity-heading h2,
.map-cta h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  font-weight: 650;
  line-height: 1.04;
}

.section-heading > p:last-child,
.story-intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 18px;
}

.audiences {
  max-width: none;
  background: var(--sand);
}

.audiences > * {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--card-border);
  border-radius: 26px 26px 26px 8px;
  background: var(--surface-card);
  box-shadow: 0 14px 40px rgba(10, 34, 55, .07);
}

.audience-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.audience-card + .audience-card {
  border-left: 1px solid var(--line);
}

.card-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: var(--text-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 31px;
  border-radius: 20px 20px 20px 5px;
  background: #e8eef1;
}

.audience-seller .card-icon {
  background: #fff0d6;
}

.audience-professional .card-icon {
  background: var(--green-soft);
}

.card-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.audience-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  line-height: 1.12;
}

.audience-card p {
  margin: 17px 0 26px;
  color: var(--text-muted);
}

.card-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--interactive);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.card-link-button {
  width: 100%;
  font: inherit;
}

.card-link-button:disabled {
  color: #667085;
  cursor: not-allowed;
}

.disabled-link {
  color: #667085;
  cursor: default;
}

.disabled-link:hover {
  color: #667085;
}

.card-link span {
  font-size: 22px;
  transition: transform .15s ease;
}

.card-link:hover span {
  transform: translateX(4px);
}

.account-story {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: start;
  gap: clamp(50px, 9vw, 140px);
}

.story-intro {
  position: sticky;
  top: 118px;
}

.story-intro .button {
  margin-top: 28px;
}

.journey {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey::before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 32px;
  left: 31px;
  width: 2px;
  background: #bdc9ce;
}

.journey li {
  position: relative;
  min-height: 142px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 23px;
  padding-bottom: 27px;
}

.journey-dot {
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--surface-page);
  color: var(--text-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.journey li:nth-child(3) .journey-dot {
  border-color: var(--gold);
  background: var(--gold);
}

.journey strong {
  display: block;
  margin-top: 3px;
  color: var(--text-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

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

.clarity {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(600px, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  background: var(--inverse-surface);
  color: var(--inverse-text);
}

.clarity > * {
  width: 100%;
  max-width: 650px;
}

.clarity-heading {
  justify-self: end;
}

.clarity .eyebrow {
  color: var(--gold);
}

.clarity-heading h2 {
  color: #fff;
}

.clarity-list {
  max-width: 760px;
  justify-self: start;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.clarity-list article {
  padding: 24px 0 27px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.clarity-list article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.clarity-list h3 {
  margin: 4px 0 5px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.clarity-list p {
  margin: 0;
  color: #bdcad5;
  font-size: 15px;
}

.map-cta {
  max-width: 1380px;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 92px;
  margin-bottom: 20px;
  padding: clamp(48px, 6vw, 80px);
  border-radius: 28px 28px 28px 8px;
  background: var(--ocean);
  color: #fff;
}

.map-cta .eyebrow {
  color: #f6cc80;
}

.map-cta h2 {
  max-width: 850px;
  color: #fff;
}

.map-cta .button {
  min-width: 245px;
  flex: none;
}

.faq {
  display: grid;
  grid-template-columns: minmax(270px, .65fr) minmax(480px, 1.35fr);
  gap: 80px;
}

.section-heading.compact {
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--control-border);
}

.faq details {
  border-bottom: 1px solid var(--control-border);
}

.faq summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 14px 4px;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 2px solid var(--control-border);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 720px;
  margin: -2px 52px 23px 4px;
  color: var(--text-muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 54px;
  align-items: start;
  padding: 54px max(30px, calc((100vw - 1380px) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface-section);
}

.brand-footer {
  margin-bottom: 15px;
}

.brand-footer .brand-wordmark {
  width: 154px;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

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

.site-footer nav a,
.site-footer nav button {
  min-height: 40px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-footer nav a:hover,
.site-footer nav button:hover {
  background: var(--surface-subtle);
}

.footer-note {
  max-width: 560px;
  justify-self: end;
}

.dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(850px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px 24px 24px 8px;
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(3, 17, 27, .34);
}

#account-dialog {
  width: min(700px, calc(100vw - 28px));
}

.dialog::backdrop {
  background: rgba(5, 23, 37, .72);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  position: relative;
  padding: 30px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--text-strong);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: var(--surface-section);
}

.dialog-brand {
  display: flex;
  align-items: center;
  margin: 2px 48px 25px 0;
}

.dialog-brand .brand-wordmark {
  width: 166px;
}

.dialog-shell > h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.1;
}

.dialog-intro {
  margin: 9px 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 25px;
  padding: 5px;
  border-radius: 14px;
  background: var(--surface-subtle);
}

.auth-tabs button {
  min-height: 45px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button[aria-selected="true"] {
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(10, 34, 55, .1);
}

.registration-progress {
  margin: -4px 0 24px;
}

.registration-step-status {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.registration-progress-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.registration-progress-list li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.registration-progress-list li::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: #d5dce0;
}

.registration-progress-list li:last-child::after {
  display: none;
}

.registration-progress-list li.is-complete::after {
  background: var(--green);
}

.registration-progress-list span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid #b4bfc6;
  border-radius: 50%;
  background: var(--paper);
  color: #5b6875;
  font-size: 13px;
  font-weight: 900;
}

.registration-progress-list li[aria-current="step"] {
  color: var(--navy);
}

.registration-progress-list li[aria-current="step"] span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.registration-progress-list li.is-complete span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 2px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.field-help {
  margin: 3px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.intent-option {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.intent-option:hover,
.intent-option:has(input:checked) {
  border-color: var(--navy);
  background: #f4f7f8;
}

.intent-option input {
  width: 21px;
  height: 21px;
  flex: none;
  accent-color: var(--navy);
}

.intent-option span {
  display: grid;
}

.intent-option strong {
  color: var(--navy);
  font-size: 16px;
}

.intent-option small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.register-actions {
  display: grid;
  grid-template-columns: minmax(105px, .45fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 11px;
}

.register-actions-single {
  grid-template-columns: 1fr;
}

.back-button {
  min-height: 44px;
  margin: -8px 0 4px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.selection-summary {
  margin: 0 0 17px;
  padding: 10px 13px;
  border-left: 4px solid var(--gold);
  background: var(--warning-surface);
  color: var(--warning-text);
  font-size: 14px;
  font-weight: 750;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
}

.field > span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 2px solid var(--control-border);
  border-radius: 11px;
  background: var(--surface-input);
  color: var(--text-primary);
  font-size: 16px;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
}

.field small {
  color: var(--muted);
  font-size: 14px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.consent-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 12px;
  padding: 13px 14px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.consent-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--navy);
}

.consent-option a {
  color: var(--blue);
  font-weight: 800;
}

.consent-option-optional {
  border-style: dashed;
  background: #fffaf0;
}

.professional-fields {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #c9d8cf;
  border-radius: 15px;
  background: #f4f8f5;
}

.professional-fields legend {
  padding: 0 5px;
  font-family: inherit;
  font-size: 16px;
}

.form-message {
  min-height: 24px;
  margin: 4px 0 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.form-note {
  margin: 12px 8px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.button-wide {
  width: 100%;
}

.privacy-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.privacy-heading {
  margin-bottom: 30px;
}

.privacy-heading h1 {
  margin: 7px 0 10px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1;
}

.privacy-heading > p:last-child {
  color: var(--muted);
}

.privacy-card {
  margin-bottom: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 5px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(10, 34, 55, .06);
}

.privacy-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.privacy-card p,
.privacy-card li {
  color: var(--text-primary);
  line-height: 1.7;
}

.privacy-card p {
  margin: 0 0 12px;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.privacy-card a {
  color: var(--blue);
  font-weight: 800;
}

.privacy-footer {
  margin-top: 0;
}

.account-shell {
  padding: 32px;
}

.account-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 2px 55px 26px 0;
}

.account-avatar-large {
  width: 58px;
  height: 58px;
  box-shadow: inset 0 0 0 16px var(--navy);
}

.account-heading p,
.account-heading h2 {
  margin: 0;
}

.account-heading p {
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.account-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 27px;
}

.account-heading > div > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.account-section {
  margin-top: 17px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.account-section-heading,
.professional-status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.account-section h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.account-section p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.account-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 17px;
}

.save-state {
  min-height: 20px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.mode-toggle {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  cursor: pointer;
}

.mode-toggle + .mode-toggle {
  border-top: 1px solid var(--line);
}

.mode-toggle > span {
  display: grid;
}

.mode-toggle strong {
  color: var(--text-strong);
  font-size: 15px;
}

.mode-toggle small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}

.mode-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-toggle i {
  position: relative;
  width: 51px;
  height: 30px;
  flex: none;
  border-radius: 20px;
  background: #b8c1c7;
  transition: background-color .15s ease;
}

.mode-toggle i::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(10, 34, 55, .2);
  transition: transform .15s ease;
}

.mode-toggle input:checked + i {
  background: var(--green);
}

.mode-toggle input:checked + i::after {
  transform: translateX(21px);
}

.mode-toggle input:focus-visible + i {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.seller-next-step {
  margin-top: 9px;
  padding: 12px 13px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
}

.seller-next-step strong {
  color: var(--green);
  font-size: 14px;
}

.status-badge {
  flex: none;
  padding: 5px 9px;
  border-radius: 20px;
  background: #e8ecef;
  color: #4b5a69;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.status-badge.pending {
  background: var(--warning-surface);
  color: var(--warning-text);
}

.status-badge.verified {
  background: var(--green-soft);
  color: var(--green);
}

.status-badge.needs-info {
  background: var(--warning-surface);
  color: var(--warning-text);
}

.status-badge.rejected {
  background: var(--danger-surface);
  color: var(--danger-text);
}

.status-badge.withdrawn {
  background: #e8ecef;
  color: #4b5a69;
}

.professional-account form {
  margin-top: 18px;
}

.professional-progress {
  margin: 14px 0;
  padding: 13px 15px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #eef5fa;
  color: #26445e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.professional-progress.urgent {
  border-left-color: var(--gold-dark);
  background: #fff5df;
  color: #62430d;
}

.professional-support-contact {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding: 14px 15px;
  border: 1px solid #e2c37c;
  border-radius: 12px;
  background: #fffaee;
}

.professional-support-contact[hidden] {
  display: none;
}

.professional-support-contact strong {
  color: #62430d;
}

.professional-support-contact > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.professional-support-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.professional-relationship {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  padding: 14px 15px;
  border: 1px solid #bfd8c7;
  border-radius: 12px;
  background: var(--green-soft);
}

.professional-relationship[hidden],
.professional-progress[hidden] {
  display: none;
}

.professional-relationship strong {
  color: var(--green);
  font-size: 16px;
}

.professional-relationship span {
  color: #365744;
  font-size: 15px;
  line-height: 1.45;
}

.professional-team-list {
  display: grid;
  gap: 5px;
  margin: 5px 0 0;
  padding-left: 20px;
  color: #294a37;
  font-size: 15px;
}

.professional-account .field > span {
  font-size: 16px;
}

.professional-account .field small,
.professional-account .field-help,
.professional-attestation {
  font-size: 15px;
  line-height: 1.45;
}

.professional-attestation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 18px;
  color: #33465a;
  font-weight: 700;
  cursor: pointer;
}

.professional-attestation input {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--navy);
}

.professional-account .button[disabled] {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.form-cancel {
  width: 100%;
  margin-top: 6px;
}

.account-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.account-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

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

@media (max-width: 1120px) {
  .primary-nav {
    display: none;
  }

  .mobile-map-link {
    display: inline-flex;
    margin-left: auto;
  }

  .header-actions {
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .map-showcase {
    width: min(900px, 100%);
  }

  .account-story {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .story-intro {
    position: static;
    max-width: 800px;
  }

  .clarity {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .clarity > *,
  .clarity-heading,
  .clarity-list {
    max-width: 900px;
    justify-self: center;
  }

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

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 70px;
    gap: 8px;
    padding: 10px 18px;
  }

  .brand-wordmark {
    width: 118px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
  }

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

  .audience-card {
    min-height: 340px;
  }

  .audience-card + .audience-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .clarity {
    padding-left: 20px;
    padding-right: 20px;
  }

  .map-cta {
    margin-left: 20px;
    margin-right: 20px;
    padding: 44px 26px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 45px 24px;
  }

  .footer-note {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-actions .text-button {
    padding-left: 8px;
    padding-right: 8px;
  }

  .header-actions .button-small {
    display: none;
  }

  .account-button span:last-child {
    display: none;
  }

  .account-button {
    padding-right: 6px;
  }

  .hero {
    gap: 42px;
    padding-top: 44px;
    padding-bottom: 70px;
  }

  .hero-actions {
    display: grid;
  }

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

  .map-toolbar {
    min-height: 54px;
  }

  .map-toolbar a {
    display: none;
  }

  .pr-map {
    min-height: 265px;
    object-fit: cover;
  }

  .map-property-note {
    right: 12px;
    bottom: 72px;
    max-width: 225px;
  }

  .map-legend {
    display: grid;
    gap: 7px;
  }

  .audience-card {
    padding: 27px 23px;
  }

  .journey li {
    grid-template-columns: 54px 1fr;
    gap: 17px;
  }

  .journey::before {
    left: 26px;
  }

  .journey-dot {
    width: 54px;
    height: 54px;
  }

  .map-cta {
    margin-top: 55px;
    padding: 38px 23px;
  }

  .map-cta .button {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-note {
    grid-column: auto;
  }

  .dialog {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    margin: auto;
    border-radius: 22px;
  }

  .dialog-shell,
  .account-shell {
    padding: 23px 18px max(23px, env(safe-area-inset-bottom));
  }

  .dialog-brand {
    margin-right: 46px;
  }

  .dialog-brand .brand-wordmark {
    width: 146px;
  }

  #auth-dialog.auth-register-mode .dialog-brand {
    margin-bottom: 14px;
  }

  #auth-dialog.auth-register-mode {
    max-height: calc(100dvh - 10px);
  }

  #auth-dialog.auth-register-mode .dialog-intro {
    display: none;
  }

  #auth-dialog.auth-register-mode .field-help {
    margin-bottom: 12px;
  }

  #auth-dialog.auth-register-mode .field {
    margin-bottom: 12px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-grid-name,
  .field-grid-password {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .registration-progress {
    margin-bottom: 15px;
  }

  .registration-progress-list li {
    font-size: 11px;
  }

  .privacy-page {
    width: min(100% - 24px, 920px);
    padding-top: 45px;
  }

  .privacy-card {
    padding: 22px 19px;
  }

  .account-section {
    padding: 16px;
  }

  .account-destinations {
    grid-template-columns: 1fr;
  }

  .professional-status-row,
  .account-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Settings and account preferences (Issue #75). */
.settings-body {
  min-height: 100vh;
  color: var(--text-primary);
  background: var(--surface-page-cool);
}

.settings-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 10px max(22px, env(safe-area-inset-right)) 10px max(22px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.settings-header .brand-wordmark {
  width: 126px;
  height: auto;
}

.settings-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.settings-header nav a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: none;
}

.settings-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  gap: 36px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 80px;
}

.settings-nav {
  position: sticky;
  top: 106px;
  align-self: start;
  display: grid;
  gap: 5px;
}

.settings-nav h1 {
  margin: 2px 0 16px;
  font-size: 28px;
}

.settings-nav a {
  min-height: 44px;
  padding: 11px 13px;
  color: var(--text-primary);
  border-radius: 10px;
  font-weight: 720;
  text-decoration: none;
}

.settings-nav a:hover,
.settings-nav a:focus-visible {
  color: var(--blue);
  background: #eaf1ff;
}

.settings-content {
  min-width: 0;
}

.settings-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.settings-welcome p,
.settings-welcome h2,
.settings-welcome span {
  margin: 0;
}

.settings-welcome p,
.settings-welcome span {
  color: var(--text-muted);
}

.settings-welcome h2 {
  margin: 2px 0;
  font-size: clamp(25px, 4vw, 34px);
}

.settings-message {
  position: sticky;
  z-index: 12;
  top: 86px;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0;
  color: var(--warning-text);
  font-weight: 750;
}

.settings-message:not(:empty) {
  padding: 12px 14px;
  border: 1px solid #d7b56b;
  border-radius: 10px;
  background: var(--warning-surface);
}

.settings-message.success:not(:empty) {
  color: #075e45;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.settings-card {
  margin-bottom: 20px;
  padding: 26px;
  scroll-margin-top: 110px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-card);
  box-shadow: 0 9px 30px rgba(15, 42, 74, .06);
}

.settings-card-heading,
.settings-row-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.settings-card-heading h2,
.settings-card-heading p,
.settings-row-heading h3 {
  margin: 0;
}

.settings-card > p {
  color: var(--text-muted);
  line-height: 1.6;
}

.settings-card form > .button {
  margin-top: 8px;
}

.privacy-chip {
  padding: 5px 9px;
  color: #075e45;
  border-radius: 999px;
  background: #dbfaef;
  font-size: 12px;
  font-weight: 850;
}

.settings-subsection {
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.settings-subsection:first-of-type {
  border-top: 0;
}

.settings-subsection h3 {
  margin: 0 0 8px;
}

.settings-inline-form {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--surface-subtle);
}

.settings-card details summary {
  min-height: 44px;
  padding: 10px 0;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.theme-options,
.toggle-list {
  display: grid;
  gap: 10px;
}

.theme-options legend {
  margin-bottom: 12px;
  font-weight: 800;
}

.theme-options label,
.toggle-list > label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 58px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.theme-options input,
.toggle-list input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.theme-options span,
.toggle-list span {
  display: grid;
  gap: 3px;
}

.theme-options small,
.toggle-list small,
.session-list small,
.professional-steps small {
  color: var(--text-muted);
  line-height: 1.45;
}

.session-list,
.professional-steps {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.session-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.session-list span {
  display: grid;
  gap: 4px;
}

.professional-steps {
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}

.professional-steps li {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  opacity: .68;
}

.professional-steps li > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: white;
  border-radius: 50%;
  background: #8190a5;
  place-items: center;
  font-weight: 850;
}

.professional-steps li > div {
  display: grid;
  gap: 3px;
}

.professional-steps li.active,
.professional-steps li.complete {
  opacity: 1;
  border-color: #9db8f2;
  background: #f4f7ff;
}

.professional-steps li.active > span {
  background: var(--blue);
}

.professional-steps li.complete > span {
  background: #0f9f74;
}

.identity-panel {
  padding: 18px;
  border: 1px solid #b9cbf6;
  border-radius: 13px;
  background: #f4f7ff;
}

.identity-panel h3 {
  margin-top: 0;
}

.settings-card textarea {
  width: 100%;
  padding: 12px 13px;
  resize: vertical;
  color: var(--text-primary);
  border: 2px solid var(--control-border);
  border-radius: 9px;
  background: var(--surface-input);
  font: inherit;
  line-height: 1.5;
}

.data-actions {
  display: grid;
  gap: 18px;
}

.danger-zone {
  padding: 14px 16px;
  border: 1px solid #e7a5a1;
  border-radius: 12px;
  background: var(--danger-surface);
}

.danger-zone summary {
  color: var(--danger-text) !important;
}

.danger-button {
  color: white;
  background: #b42318;
  border-color: #b42318;
}

.settings-loading {
  display: grid;
  min-height: calc(100vh - 76px);
  padding: 30px;
  color: #5f6d82;
  place-content: center;
  text-align: center;
}

.settings-loading strong {
  color: var(--navy);
  font-size: 24px;
}

.forgot-password-link {
  display: block;
  min-height: 44px;
  margin-top: 8px;
  padding: 11px;
  color: var(--blue);
  font-weight: 750;
  text-align: center;
}

.auth-action-page {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: #f5f8fc;
  place-items: center;
}

.auth-action-card {
  width: min(100%, 470px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 16px 50px rgba(15, 42, 74, .12);
}

.auth-action-card .brand-wordmark {
  width: 132px;
  height: auto;
  margin-bottom: 24px;
}

.auth-action-card h1 {
  margin: 4px 0 10px;
  font-size: clamp(28px, 7vw, 38px);
}

.auth-action-card > p {
  color: #64748b;
  line-height: 1.6;
}

.auth-action-card > a:last-child {
  display: inline-block;
  min-height: 44px;
  margin-top: 8px;
  padding: 11px 0;
}

.professional-profile-page {
  min-height: 100vh;
  color: var(--text-primary);
  background: var(--surface-page-cool);
}

.professional-profile-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.professional-profile-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 30px;
  color: white;
  border-radius: 22px;
  background: linear-gradient(130deg, #0b1835, #155eef 72%, #14b884);
  box-shadow: 0 18px 50px rgba(11, 24, 53, .18);
}

.professional-profile-hero h1 {
  margin: 4px 0 8px;
  color: #ffffff;
  font-size: clamp(32px, 6vw, 52px);
}

.professional-profile-hero p {
  margin: 5px 0;
}

.verified-line {
  font-weight: 850;
}

.verified-line span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 5px;
  color: #075e45;
  border-radius: 50%;
  background: #bdf8e4;
  place-items: center;
}

.professional-photo {
  display: grid;
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  color: #155eef;
  border: 4px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: white;
  place-items: center;
  font-size: 58px;
  font-weight: 900;
}

.professional-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professional-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.professional-profile-hero .button {
  color: #ffffff;
  border-color: #0b1f33;
  background: #0b1f33;
}

.professional-profile-hero .button:hover {
  border-color: #071426;
  background: #071426;
}

.professional-profile-hero .button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .88);
  background: rgba(7, 20, 38, .18);
}

.professional-profile-hero .button-secondary:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(7, 20, 38, .42);
}

.professional-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.professional-contact-card {
  position: sticky;
  top: 96px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.language-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf1ff;
  font-weight: 750;
}

.professional-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.professional-property-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8faff;
}

.professional-property-card > strong {
  color: var(--blue);
  font-size: 22px;
}

.professional-property-card > small {
  color: var(--text-muted);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --surface-page: #071426;
  --surface-page-cool: #071426;
  --surface-section: #0b1a2e;
  --surface-card: #0d2139;
  --surface-subtle: #142944;
  --surface-input: #081426;
  --text-primary: #e7eff9;
  --text-strong: #f7faff;
  --text-muted: #b7c6d8;
  --interactive: #9bd0ff;
  --primary-action: #245fc6;
  --primary-action-hover: #1f57b7;
  --primary-action-text: #ffffff;
  --control-border: #7185a0;
  --card-border: #344a66;
  --focus-ring: #ffd166;
  --eyebrow-text: #f5c66a;
  --inverse-surface: #050f1e;
  --inverse-text: #ffffff;
  --navy: var(--text-strong);
  --navy-deep: var(--text-strong);
  --blue: var(--interactive);
  --gold-dark: var(--eyebrow-text);
  --sand: var(--surface-section);
  --cream: var(--surface-page);
  --paper: var(--surface-card);
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  --line: var(--card-border);
  --green: #8ee6bd;
  --green-soft: #12372e;
  --red: #ffaaa4;
  --warning-text: #ffe1a3;
  --warning-surface: #3b2d12;
  --danger-text: #ffb4ac;
  --danger-surface: #481d24;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .settings-body {
  color: var(--text-primary);
  background: var(--surface-page);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .settings-header,
html[data-theme="dark"] .dialog,
html[data-theme="dark"] .dialog-shell,
html[data-theme="dark"] .account-shell,
html[data-theme="dark"] .privacy-card,
html[data-theme="dark"] .settings-card,
html[data-theme="dark"] .map-showcase,
html[data-theme="dark"] .audience-grid,
html[data-theme="dark"] .auth-action-card {
  color: var(--text-primary);
  border-color: var(--card-border);
  background: var(--surface-card);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .settings-header {
  background: rgba(15, 32, 55, .94);
}

html[data-theme="dark"] .primary-nav a,
html[data-theme="dark"] .text-button,
html[data-theme="dark"] .settings-header nav a,
html[data-theme="dark"] .settings-nav a,
html[data-theme="dark"] .site-footer nav a,
html[data-theme="dark"] .site-footer nav button {
  color: var(--text-primary);
}

html[data-theme="dark"] .primary-nav a:hover,
html[data-theme="dark"] .text-button:hover,
html[data-theme="dark"] .settings-nav a:hover,
html[data-theme="dark"] .settings-nav a:focus-visible,
html[data-theme="dark"] .site-footer nav a:hover,
html[data-theme="dark"] .site-footer nav button:hover {
  color: var(--text-strong);
  background: var(--surface-subtle);
}

html[data-theme="dark"] .account-button {
  color: var(--text-strong);
  border-color: var(--control-border);
  background: var(--surface-card);
}

html[data-theme="dark"] .account-avatar {
  box-shadow: inset 0 0 0 9px #0f3d5e;
}

html[data-theme="dark"] .account-avatar-large {
  box-shadow: inset 0 0 0 16px #0f3d5e;
}

html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .proof-list,
html[data-theme="dark"] .map-legend,
html[data-theme="dark"] .audience-card p,
html[data-theme="dark"] .journey p,
html[data-theme="dark"] .faq details p,
html[data-theme="dark"] .dialog-intro,
html[data-theme="dark"] .registration-progress-list li,
html[data-theme="dark"] .field-help,
html[data-theme="dark"] .field small,
html[data-theme="dark"] .form-note,
html[data-theme="dark"] .account-heading > div > span,
html[data-theme="dark"] .account-section p,
html[data-theme="dark"] .mode-toggle small,
html[data-theme="dark"] .privacy-card p,
html[data-theme="dark"] .privacy-card li,
html[data-theme="dark"] .auth-action-card > p,
html[data-theme="dark"] .settings-welcome p,
html[data-theme="dark"] .settings-welcome span,
html[data-theme="dark"] .settings-card > p,
html[data-theme="dark"] .theme-options small,
html[data-theme="dark"] .toggle-list small,
html[data-theme="dark"] .session-list small,
html[data-theme="dark"] .professional-steps small,
html[data-theme="dark"] .professional-property-card > small {
  color: var(--text-muted);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .account-heading p {
  color: var(--eyebrow-text);
}

html[data-theme="dark"] .proof-list span {
  color: var(--green);
  background: var(--green-soft);
}

html[data-theme="dark"] .map-toolbar {
  color: var(--text-strong);
}

html[data-theme="dark"] .map-toolbar i {
  box-shadow: 0 0 0 4px var(--green-soft);
}

html[data-theme="dark"] .map-property-note {
  color: var(--text-primary);
  border-color: var(--card-border);
  background: rgba(15, 32, 55, .96);
}

html[data-theme="dark"] .audiences {
  background: var(--surface-section);
}

html[data-theme="dark"] .card-icon,
html[data-theme="dark"] .audience-seller .card-icon,
html[data-theme="dark"] .audience-professional .card-icon {
  background: var(--surface-subtle);
}

html[data-theme="dark"] .card-number {
  color: var(--text-muted);
}

html[data-theme="dark"] .journey::before {
  background: var(--control-border);
}

html[data-theme="dark"] .journey-dot {
  border-color: var(--interactive);
  background: var(--surface-page);
}

html[data-theme="dark"] .site-footer {
  border-color: var(--card-border);
  background: var(--surface-section);
}

html[data-theme="dark"] .dialog-close,
html[data-theme="dark"] .auth-tabs {
  background: var(--surface-subtle);
}

html[data-theme="dark"] .auth-tabs button[aria-selected="true"] {
  color: var(--text-strong);
  background: var(--surface-card);
}

html[data-theme="dark"] .registration-progress-list li::after {
  background: var(--control-border);
}

html[data-theme="dark"] .registration-progress-list span {
  color: var(--text-muted);
  border-color: var(--control-border);
  background: var(--surface-input);
}

html[data-theme="dark"] .intent-option:hover,
html[data-theme="dark"] .intent-option:has(input:checked) {
  border-color: var(--interactive);
  background: var(--surface-subtle);
}

html[data-theme="dark"] .selection-summary {
  color: var(--warning-text);
  background: var(--warning-surface);
}

html[data-theme="dark"] .consent-option,
html[data-theme="dark"] .consent-option-optional,
html[data-theme="dark"] .professional-fields {
  color: var(--text-primary);
  border-color: var(--card-border);
  background: var(--surface-subtle);
}

html[data-theme="dark"] .professional-progress {
  color: #c9e7ff;
  background: #102d46;
}

html[data-theme="dark"] .professional-progress.urgent,
html[data-theme="dark"] .professional-support-contact {
  color: #ffe1a3;
  border-color: #8c6a2d;
  background: #3b2d12;
}

html[data-theme="dark"] .professional-support-contact strong {
  color: #ffe1a3;
}

html[data-theme="dark"] .professional-relationship,
html[data-theme="dark"] .seller-next-step {
  border-color: #367c64;
  background: var(--green-soft);
}

html[data-theme="dark"] .professional-relationship span,
html[data-theme="dark"] .professional-team-list,
html[data-theme="dark"] .professional-attestation {
  color: #c9f4df;
}

html[data-theme="dark"] .status-badge.rejected {
  color: var(--danger-text);
  background: var(--danger-surface);
}

html[data-theme="dark"] .site-message,
html[data-theme="dark"] .settings-message:not(:empty) {
  color: var(--warning-text);
  border-color: #8c6a2d;
  background: var(--warning-surface);
}

html[data-theme="dark"] .settings-message.success:not(:empty) {
  color: #a7f3d0;
  border-color: #367c64;
  background: var(--green-soft);
}

html[data-theme="dark"] .auth-action-page {
  background: var(--surface-page);
}

html[data-theme="dark"] .professional-profile-page {
  background: var(--surface-page);
}

html[data-theme="dark"] .professional-property-card {
  border-color: var(--card-border);
  background: var(--surface-section);
}

html[data-theme="dark"] .language-list li {
  color: var(--text-strong);
  background: var(--surface-subtle);
}

html[data-theme="dark"] .settings-inline-form,
html[data-theme="dark"] .professional-steps li.active,
html[data-theme="dark"] .professional-steps li.complete,
html[data-theme="dark"] .identity-panel {
  background: var(--surface-subtle);
}

html[data-theme="dark"] .theme-options label,
html[data-theme="dark"] .toggle-list > label,
html[data-theme="dark"] .session-list li,
html[data-theme="dark"] .professional-steps li {
  border-color: var(--card-border);
  background: var(--surface-section);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .settings-card textarea {
  color: var(--text-primary);
  border-color: var(--control-border);
  background: var(--surface-input);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

html[data-theme="dark"] .danger-zone {
  border-color: #7f2f34;
  background: var(--danger-surface);
}

@media (max-width: 760px) {
  .settings-header {
    min-height: 68px;
    padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  }

  .settings-header .brand-wordmark {
    width: 106px;
  }

  .settings-header nav a {
    display: none;
  }

  .settings-layout {
    display: block;
    width: min(100% - 20px, 680px);
    padding: 18px 0 calc(54px + env(safe-area-inset-bottom));
  }

  .settings-nav {
    position: static;
    display: flex;
    gap: 6px;
    margin: 0 -2px 18px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .settings-nav .eyebrow,
  .settings-nav h1 {
    display: none;
  }

  .settings-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    background: white;
  }

  html[data-theme="dark"] .settings-nav a {
    background: #0f2037;
  }

  .settings-welcome {
    padding: 4px 6px;
  }

  .settings-message {
    top: 76px;
  }

  .settings-card {
    padding: 20px 16px;
    border-radius: 15px;
    scroll-margin-top: 82px;
  }

  .settings-card-heading,
  .settings-row-heading {
    align-items: flex-start;
  }

  .professional-steps {
    grid-template-columns: 1fr;
  }

  .professional-profile-shell {
    width: min(100% - 20px, 680px);
    padding: 18px 0 50px;
  }

  .professional-profile-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .professional-photo {
    flex-basis: 110px;
    width: 110px;
    height: 110px;
    font-size: 46px;
  }

  .professional-profile-grid {
    grid-template-columns: 1fr;
  }

  .professional-contact-card {
    position: static;
  }

  .professional-property-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
