:root {
  --ink: #242229;
  --muted: #666974;
  --line: #e6e0e3;
  --paper: #fffdfb;
  --panel: #ffffff;
  --accent: #7b2f57;
  --accent-dark: #4e1d37;
  --coral: #8f566f;
  --gold: #c99a3a;
  --sage: #f3f5f7;
  --blue-support: #627084;
  --shadow: 0 16px 42px rgba(55, 39, 50, 0.10);
}

body {
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(255, 253, 251, 0.96);
  border-bottom: 1px solid rgba(123, 47, 87, 0.12);
  box-shadow: 0 5px 18px rgba(55, 39, 50, 0.035);
}

.brand {
  gap: 10px;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  box-shadow: 0 8px 20px rgba(78, 29, 55, 0.16);
}

nav {
  gap: 18px;
  color: var(--blue-support);
  font-size: 0.92rem;
}

nav a {
  position: relative;
  font-weight: 650;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--gold);
  transition: right 160ms ease;
}

nav a:hover {
  color: var(--accent-dark);
}

nav a:hover::after {
  right: 0;
}

.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 64px);
  min-height: auto;
  padding: clamp(54px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(46px, 6vw, 72px);
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 154, 58, 0.15), transparent 28%),
    linear-gradient(122deg, rgba(123, 47, 87, 0.08), rgba(255, 255, 255, 0.90) 46%, rgba(98, 112, 132, 0.08)),
    #fffdfb;
  border-bottom: 1px solid rgba(123, 47, 87, 0.08);
}

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

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2,
.legal-section h1,
.legal-heading h1 {
  color: #2b2c32;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.5vw, 4.95rem);
  font-weight: 790;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.35rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h3 {
  color: #343944;
  line-height: 1.3;
}

.hero-text {
  max-width: 650px;
  margin: 20px 0 0;
  color: #62636d;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.58;
}

.service-area {
  max-width: 650px;
  margin-top: 18px;
  padding: 10px 14px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-size: 0.96rem;
  font-weight: 680;
}

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

.button {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(145deg, var(--accent), #6d294d);
  color: white;
  box-shadow: 0 10px 24px rgba(123, 47, 87, 0.16);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(98, 112, 132, 0.22);
  color: #4b5565;
}

.button.secondary:hover {
  border-color: var(--gold);
  color: var(--accent-dark);
}

.hero-panel {
  gap: 12px;
  align-self: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(98, 112, 132, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(55, 39, 50, 0.09);
}

.hero-analysis {
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(123, 47, 87, 0.08), rgba(201, 154, 58, 0.10));
  color: var(--accent-dark);
  box-shadow: none;
}

.mini-price {
  min-width: 72px;
  min-height: 46px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--gold), #b7872e);
  color: #2f2411;
  font-size: 1.22rem;
}

.hero-panel-actions {
  gap: 8px;
}

.metric {
  min-height: 122px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(98, 112, 132, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(55, 39, 50, 0.07);
}

.metric-value {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: clamp(50px, 6vw, 78px) clamp(18px, 5vw, 72px);
}

.split {
  border-top-color: rgba(123, 47, 87, 0.10);
}

.section-copy,
.value-band p,
.business-types-heading > p:not(.eyebrow),
.business-card p,
.steps p,
.price-card p,
.price-card li,
.analysis-band p,
.founder-section p:not(.eyebrow),
.request-section p {
  color: var(--muted);
}

.value-band {
  background: linear-gradient(135deg, #f7f8fa 0%, #fffaf1 100%);
  border-top: 1px solid rgba(98, 112, 132, 0.10);
  border-bottom: 1px solid rgba(98, 112, 132, 0.10);
}

.example-grid div,
.steps article,
.price-card,
.request-form,
.analysis-band,
.payment-status-card,
.payment-next-steps,
.policy-notice {
  border-color: rgba(98, 112, 132, 0.14);
  border-radius: 12px;
}

.example-grid div,
.steps article {
  box-shadow: 0 8px 24px rgba(55, 39, 50, 0.04);
}

.example-grid strong {
  color: var(--accent-dark);
}

.business-types,
.request-section {
  background: #ffffff;
}

.business-card-grid {
  gap: 18px;
}

.business-card {
  border-color: rgba(98, 112, 132, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(55, 39, 50, 0.07);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.business-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(55, 39, 50, 0.10);
}

.business-card img,
.business-card-image-grid img {
  aspect-ratio: 16 / 10;
}

.business-card div {
  padding: 20px;
}

.steps {
  gap: 11px;
}

.steps article {
  padding: 17px;
}

.steps span {
  width: 31px;
  height: 31px;
  margin-bottom: 13px;
  background: rgba(201, 154, 58, 0.17);
  color: var(--accent-dark);
}

.pricing {
  background: linear-gradient(180deg, #fffaf2 0%, #fffdfb 100%);
  border-top: 1px solid rgba(201, 154, 58, 0.12);
  border-bottom: 1px solid rgba(201, 154, 58, 0.12);
}

.analysis-band {
  padding: 22px;
  border-color: rgba(123, 47, 87, 0.18);
  box-shadow: 0 12px 32px rgba(55, 39, 50, 0.055);
}

.offer-progression {
  border-color: rgba(98, 112, 132, 0.16);
  border-radius: 11px;
  background: rgba(98, 112, 132, 0.16);
}

.offer-row {
  background: #ffffff;
}

.offer-heading {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.offer-row strong {
  color: var(--accent-dark);
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(201, 154, 58, 0.58);
  box-shadow: 0 18px 42px rgba(78, 29, 55, 0.11);
}

.tag {
  border-radius: 999px;
  background: rgba(201, 154, 58, 0.18);
  color: #6c4b0b;
}

.tag.muted {
  background: rgba(98, 112, 132, 0.10);
  color: var(--blue-support);
}

.price {
  color: var(--accent-dark);
  font-weight: 800;
}

.founder-section {
  background: linear-gradient(135deg, rgba(98, 112, 132, 0.08), rgba(255, 250, 241, 0.95));
}

.founder-photo {
  border-color: rgba(98, 112, 132, 0.16);
  border-radius: 12px;
  box-shadow: 0 15px 38px rgba(55, 39, 50, 0.08);
}

.request-form {
  padding: clamp(21px, 3.5vw, 28px);
  box-shadow: 0 15px 38px rgba(55, 39, 50, 0.07);
}

input,
select,
textarea {
  border-color: #d7dddf;
  border-radius: 8px;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(98, 112, 132, 0.20);
  outline-offset: 1px;
  border-color: var(--blue-support);
}

.fit-dialog {
  border-radius: 13px;
}

.fit-grid div {
  border-color: rgba(98, 112, 132, 0.14);
  border-radius: 10px;
  background: #faf9f8;
}

.site-footer {
  background: #25252b;
}

body.theme-trades {
  --paper: #f6f9fb;
  --panel: #ffffff;
  --ink: #1f303b;
  --muted: #5f707a;
  --accent: #2f607d;
  --accent-dark: #234a63;
  --gold: #b89a5d;
  --blue-support: #2f607d;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 44px;
  }

  .hero-copy,
  .hero-text,
  .service-area {
    max-width: 100%;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    top: 0;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.75rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 1px 0 2px;
    font-size: 0.84rem;
    white-space: nowrap;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    display: block;
    padding: 36px 16px 42px;
    background:
      radial-gradient(circle at 94% 4%, rgba(201, 154, 58, 0.17), transparent 24%),
      linear-gradient(150deg, rgba(123, 47, 87, 0.07), #fffdfb 42%, rgba(98, 112, 132, 0.05));
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .eyebrow {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.065em;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11.2vw, 3.35rem);
    line-height: 1.01;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
  }

  h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.55rem);
  }

  .hero-text {
    margin-top: 17px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-area {
    margin-top: 16px;
    padding: 9px 12px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

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

  .hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
    padding: 12px;
    border-radius: 12px;
  }

  .hero-analysis,
  .hero-panel-actions,
  .metric.wide {
    grid-column: 1 / -1;
  }

  .hero-analysis {
    flex-direction: row;
    align-items: center;
    padding: 12px;
    font-size: 0.9rem;
  }

  .mini-price {
    width: auto;
    min-width: 68px;
    min-height: 42px;
    padding: 0 10px;
    font-size: 1.08rem;
  }

  .hero-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
  }

  .metric {
    min-height: 100px;
    padding: 15px;
  }

  .metric-value {
    font-size: 1.55rem;
  }

  .metric-label {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .section {
    padding: 44px 16px;
  }

  .business-card-grid {
    gap: 14px;
  }

  .business-card img,
  .business-card-image-grid img {
    aspect-ratio: 16 / 10;
  }

  .offer-row {
    gap: 8px;
  }

  .offer-heading {
    display: none;
  }

  .price-card,
  .analysis-band,
  .request-form,
  .business-card div,
  .steps article,
  .example-grid div {
    padding: 17px;
  }
}

@media (max-width: 680px) and (orientation: portrait) {
  .hero {
    padding: 26px 16px 32px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9.8vw, 3rem);
    line-height: 1.02;
  }

  .hero-text {
    margin-top: 13px;
  }

  .service-area {
    margin-top: 12px;
  }

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

  .hero-panel {
    margin-top: 20px;
  }

  .business-card-grid {
    gap: 11px;
  }

  .business-card div {
    padding: 10px 17px 15px;
  }

  .business-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
  }

  .business-card p {
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2.08rem, 10.8vw, 2.75rem);
  }

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

  .hero-analysis,
  .hero-panel-actions,
  .metric.wide {
    grid-column: auto;
  }
}