:root {
  --ink: #f7f4ec;
  --paper: #ffffff;
  --charcoal: #0d0d0f;
  --charcoal-2: #141a1f;
  --panel: #11161b;
  --panel-2: #182027;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(13, 13, 15, 0.12);
  --muted: #aab0b7;
  --muted-2: #68717c;
  --gold: #d9b467;
  --gold-2: #f1d99c;
  --teal: #0da4a7;
  --green: #45c58b;
  --danger: #e56b6f;
  --warning: #f0b85f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  --max: 1200px;
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--charcoal);
  min-width: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(13, 13, 15, 0.96) 0%, rgba(17, 22, 27, 0.98) 42%, #f5f2ea 42%, #f5f2ea 100%);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 14, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1680px, calc(100% - 28px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #090807;
  box-shadow: 0 0 0 1px rgba(217, 180, 103, 0.2);
}

.brand-symbol {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-word {
  display: grid;
  gap: 1px;
}

.brand-word strong {
  color: var(--gold-2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
}

.brand-word span {
  color: rgba(247, 244, 236, 0.72);
  font-size: 10px;
  text-transform: uppercase;
}

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

.nav a,
.nav button,
.language button {
  border: 0;
  background: transparent;
  color: rgba(247, 244, 236, 0.82);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a.active,
.nav a:hover,
.nav button:hover,
.language button.active {
  color: var(--gold-2);
}

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

.global-search {
  width: clamp(560px, 36vw, 860px);
  min-width: 520px;
  flex: 0 0 clamp(560px, 36vw, 860px);
  display: grid;
  grid-template-columns: 1fr 38px;
  border: 1px solid rgba(217, 180, 103, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.global-search input,
.global-search button {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.global-search input {
  padding: 10px 12px;
  outline: 0;
}

.global-search button {
  display: grid;
  place-items: center;
  cursor: pointer;
  border-left: 1px solid rgba(217, 180, 103, 0.18);
}

.notification-button {
  position: relative;
}

.notification-button span {
  position: absolute;
  right: -5px;
  top: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--gold);
  color: #15120b;
  font-size: 11px;
  font-weight: 900;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.icon-button:hover {
  border-color: rgba(217, 180, 103, 0.7);
  color: var(--gold-2);
}

.menu-button {
  display: none;
}

.btn {
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #16130b;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px rgba(217, 180, 103, 0.22);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.btn-light {
  color: #151515;
  background: var(--paper);
  border-color: rgba(13, 13, 15, 0.1);
}

.btn-ghost {
  color: var(--gold-2);
  border-color: rgba(217, 180, 103, 0.42);
  background: transparent;
}

.hero {
  min-height: 720px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #0d0d0f;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d0d0f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.9) 0%, rgba(13, 13, 15, 0.58) 44%, rgba(13, 13, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(13, 13, 15, 0.08) 0%, rgba(13, 13, 15, 0) 56%, rgba(13, 13, 15, 0.88) 100%);
}

.hero-showcase {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1040px, 100%);
  padding: 96px 0 64px;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  color: var(--paper);
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span,
h2 span {
  color: var(--gold-2);
}

.hero p {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(247, 244, 236, 0.84);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.search-panel {
  width: min(980px, 100%);
  border: 1px solid rgba(217, 180, 103, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #141414;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-tabs {
  display: flex;
  background: #11161b;
}

.search-tabs button {
  width: 144px;
  min-height: 48px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-tabs button.active {
  color: #111;
  background: var(--paper);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1fr auto;
  gap: 12px;
  padding: 16px;
}

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

.field label {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  color: #141414;
  background: #fff;
  padding: 0 12px;
}

.field textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #202020;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: none;
}

.check-row label {
  color: #202020;
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.publish-choice {
  align-content: start;
  gap: 16px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin-top: 30px;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(17, 22, 27, 0.74);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.trust-item svg,
.feature-icon,
.status-icon {
  color: var(--gold-2);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
}

.trust-item span {
  color: rgba(247, 244, 236, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section.dark {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}

.section.paper {
  color: #111;
  background: #f5f2ea;
}

.section.white {
  color: #111;
  background: #fff;
}

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

.section-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.paper .section-kicker,
.white .section-kicker {
  color: #8d6a25;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.lead {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.paper .section-head p,
.paper .lead,
.white .section-head p,
.white .lead {
  color: #505964;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.category-card,
.feature-card,
.professional-card,
.pricing-card,
.legal-card,
.dashboard-card,
.form-card,
.message-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.paper .category-card,
.paper .feature-card,
.paper .professional-card,
.paper .pricing-card,
.paper .legal-card,
.paper .dashboard-card,
.paper .form-card,
.paper .message-card,
.white .category-card,
.white .feature-card,
.white .professional-card,
.white .pricing-card,
.white .legal-card,
.white .dashboard-card,
.white .form-card,
.white .message-card {
  border-color: var(--line-dark);
  background: #fff;
}

.category-card {
  min-height: 190px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 62px;
  height: 1px;
  background: var(--gold);
}

.category-card h3,
.feature-card h3,
.legal-card h3,
.dashboard-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.category-card p,
.feature-card p,
.professional-card p,
.legal-card p,
.dashboard-card p,
.form-card p {
  color: var(--muted);
  line-height: 1.6;
}

.paper .category-card p,
.paper .feature-card p,
.paper .professional-card p,
.paper .legal-card p,
.paper .dashboard-card p,
.paper .form-card p,
.white .category-card p,
.white .feature-card p,
.white .professional-card p,
.white .legal-card p,
.white .dashboard-card p,
.white .form-card p {
  color: #505964;
}

.listing-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: #111;
}

.filter-panel h3 {
  margin-bottom: 16px;
}

.filter-panel .field {
  margin-bottom: 12px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag,
.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(217, 180, 103, 0.34);
  color: var(--gold-2);
  background: rgba(217, 180, 103, 0.1);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.paper .tag,
.paper .badge,
.paper .status-badge,
.white .tag,
.white .badge,
.white .status-badge {
  color: #6f541d;
  background: #fbf3df;
  border-color: #ead2a0;
}

.status-badge.teal {
  color: #006d70;
  background: #e5f8f8;
  border-color: #98dedf;
}

.status-badge.green {
  color: #0d6b43;
  background: #e8f8ef;
  border-color: #a7e0c2;
}

.status-badge.red {
  color: #94383c;
  background: #fdebed;
  border-color: #f2b6ba;
}

.status-badge.gray {
  color: #3f4750;
  background: #f0f2f4;
  border-color: #d8dde2;
}

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

.listing-card {
  color: #111;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(11, 18, 26, 0.08);
}

.listing-media {
  position: relative;
  aspect-ratio: 1.38 / 1;
  background: #11161b;
  overflow: hidden;
}

.listing-media img {
  height: 100%;
  object-fit: cover;
}

.listing-media .badge-row {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(13, 13, 15, 0.58);
  color: #fff;
}

.listing-body {
  padding: 16px;
}

.listing-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.listing-title h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  color: #6f541d;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0;
  color: #505964;
  font-size: 13px;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.detail-hero {
  color: var(--ink);
  background: var(--charcoal);
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 24px;
  align-items: start;
}

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

.gallery-main {
  aspect-ratio: 1.65 / 1;
}

.gallery-main img {
  height: 100%;
  object-fit: cover;
}

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

.gallery-thumbs img {
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.price-box {
  border: 1px solid rgba(217, 180, 103, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 22px;
}

.price-box .price {
  color: var(--gold-2);
  font-size: 34px;
}

.price-box ul,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

.price-box li,
.clean-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.paper .clean-list li,
.white .clean-list li {
  border-color: rgba(13, 13, 15, 0.08);
}

.legal-notice {
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(217, 180, 103, 0.1);
  padding: 16px;
  color: rgba(247, 244, 236, 0.86);
  line-height: 1.65;
}

.paper .legal-notice,
.white .legal-notice {
  color: #343b43;
  background: #fbf3df;
}

.feature-card {
  min-height: 218px;
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(217, 180, 103, 0.4);
  border-radius: 8px;
}

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

.process-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.process-showcase .steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.step strong {
  display: block;
  color: var(--gold-2);
  margin: 8px 0;
}

.step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(28px, 3vw, 42px);
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.premium-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 180, 103, 0.26);
  border-radius: 8px;
  background: #0b0d10;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.premium-visual img {
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.premium-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 180, 103, 0.22);
  border-radius: 8px;
  color: var(--gold-2);
  background: rgba(10, 12, 14, 0.78);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

.professional-card {
  overflow: hidden;
}

.professional-media {
  aspect-ratio: 1.25 / 1;
  background: #11161b;
}

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

.professional-body {
  padding: 18px;
}

.professional-body h3 {
  margin-bottom: 4px;
}

.rating {
  color: #8d6a25;
  font-weight: 800;
}

.brand-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: stretch;
}

.brand-board figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d0f;
}

.brand-board img {
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.form-card {
  padding: 22px;
}

.compact-form {
  padding: 18px;
}

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

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

.auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 64px 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 15, 0.98), rgba(13, 13, 15, 0.74)),
    url("/assets/mobile-preview.png") center/cover;
}

.auth-card {
  width: min(520px, calc(100% - 32px));
  border: 1px solid rgba(217, 180, 103, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  padding: 28px;
  box-shadow: var(--shadow);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  color: #2b333c;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.sidebar a.active,
.sidebar a:hover {
  color: #111;
  background: #fbf3df;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.metric strong {
  display: block;
  color: #111;
  font-size: 26px;
}

.metric span {
  color: #68717c;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-card {
  padding: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(13, 13, 15, 0.08);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #505964;
  font-size: 12px;
  text-transform: uppercase;
}

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

.document-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.document-row strong {
  color: #111;
}

.document-row span {
  color: #68717c;
  font-size: 13px;
}

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

.thread-list,
.chat-window {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  color: #111;
}

.thread {
  display: block;
  padding: 14px;
  border-bottom: 1px solid rgba(13, 13, 15, 0.08);
  color: #111;
}

.thread.active {
  background: #fbf3df;
}

.thread-search {
  padding: 12px;
  border-bottom: 1px solid rgba(13, 13, 15, 0.08);
}

.thread-search input {
  width: 100%;
}

.chat-tools {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.safety-message {
  border: 1px solid rgba(217, 180, 103, 0.35);
  border-radius: 8px;
  background: #fbf3df;
  color: #1b1e22;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
}

.chat-window {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.chat-head,
.chat-compose {
  padding: 16px;
  border-bottom: 1px solid rgba(13, 13, 15, 0.08);
}

.chat-compose {
  border-top: 1px solid rgba(13, 13, 15, 0.08);
  border-bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.messages {
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.bubble {
  max-width: 72%;
  border-radius: 8px;
  padding: 12px;
  background: #eef1f4;
  color: #111;
}

.bubble.me {
  justify-self: end;
  color: #16130b;
  background: #f4ddaa;
}

.flash-banner {
  position: sticky;
  top: 72px;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 180, 103, 0.3);
  background: #fbf3df;
  color: #1b1e22;
  padding: 12px 24px;
  font-weight: 800;
  text-align: center;
}

.btn.compact {
  padding: 10px 14px;
}

.demo-account-grid {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  max-height: 260px;
  overflow: auto;
}

.demo-account {
  display: grid;
  gap: 3px;
  text-align: left;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 10px 12px;
}

.demo-account:hover {
  border-color: var(--gold);
  background: #fbf3df;
}

.demo-account span {
  color: #5a6570;
  font-size: 12px;
}

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

.relationship-card {
  min-height: 160px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  padding: 18px;
}

.paper .relationship-card,
.white .relationship-card {
  color: #111;
  border-color: var(--line-dark);
  background: #fff;
}

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

.relationship-card p,
.action-note {
  color: var(--muted);
  line-height: 1.55;
}

.action-stack {
  gap: 10px;
}

.action-stack .btn {
  width: 100%;
}

.compact-list {
  max-height: 460px;
  overflow: auto;
}

.professional-profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 18px;
}

.professional-profile img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
}

.qc-grid {
  display: grid;
  gap: 18px;
}

.pricing-card {
  padding: 22px;
}

.pricing-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
}

.pricing-showcase .section-head {
  height: 100%;
  margin-bottom: 0;
  align-items: center;
}

.pricing-visual img {
  min-height: 290px;
}

.pricing-card.featured {
  border-color: rgba(217, 180, 103, 0.65);
  box-shadow: 0 18px 60px rgba(217, 180, 103, 0.12);
}

.pricing-card .price {
  font-size: 30px;
}

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

.faq-item {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.faq-item summary {
  cursor: pointer;
  color: #111;
  font-weight: 800;
}

.faq-item p {
  margin: 12px 0 0;
  color: #505964;
  line-height: 1.65;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  color: #111;
  font-size: clamp(34px, 5vw, 56px);
}

.legal-page h2 {
  margin-top: 32px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: #3f4750;
  line-height: 1.75;
}

.footer {
  background: #090a0c;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 26px;
}

.footer h3 {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 13px;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  color: rgba(247, 244, 236, 0.72);
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-legal {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(247, 244, 236, 0.66);
  font-size: 12px;
  line-height: 1.65;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(760px, calc(100% - 36px));
  border: 1px solid rgba(217, 180, 103, 0.38);
  border-radius: 8px;
  background: rgba(9, 10, 12, 0.96);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  color: rgba(247, 244, 236, 0.78);
  line-height: 1.5;
}

.empty-state {
  border: 1px dashed rgba(217, 180, 103, 0.45);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

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

@media (max-width: 1540px) {
  .brand-word span {
    display: none;
  }

  .nav a,
  .nav button,
  .language button {
    padding-inline: 8px;
  }
}

@media (max-width: 1400px) {
  .global-search {
    display: none;
  }
}

@media (max-width: 1080px) {
  .search-grid,
  .listing-layout,
  .detail-grid,
  .dashboard-shell,
  .brand-board,
  .process-showcase,
  .pricing-showcase,
  .split,
  .chat {
    grid-template-columns: 1fr;
  }

  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-grid .btn {
    grid-column: 1 / -1;
  }

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

  .steps,
  .metric-grid,
  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel,
  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-word span {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: rgba(9, 10, 12, 0.98);
    border-bottom: 1px solid var(--line);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a,
  .nav button {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-actions .btn {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    width: 100%;
    opacity: 0.42;
    mask-image: none;
  }

  .hero-content {
    padding: 72px 0 44px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .relationship-grid,
  .professional-profile,
  .listing-grid,
  .steps,
  .process-showcase .steps,
  .stat-band,
  .metric-grid,
  .trust-row,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .premium-visual img,
  .pricing-visual img {
    min-height: 260px;
  }

  .section {
    padding: 58px 0;
  }

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

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

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-word strong {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .header-actions .icon-button:not(.menu-button) {
    display: none;
  }

  .search-tabs button {
    flex: 1;
    width: auto;
  }

  .listing-title {
    display: grid;
  }

  .listing-actions,
  .chat-compose {
    grid-template-columns: 1fr;
  }
}
