:root {
  --bg: #f7f1e9;
  --panel: rgba(255, 251, 246, 0.94);
  --ink: #151a28;
  --ink-soft: #526076;
  --line: rgba(21, 26, 40, 0.1);
  --accent: #ff5c39;
  --accent-dark: #e84d2a;
  --law: #c7ac73;
  --clinic: #3d89f5;
  --spa: #b97762;
  --hotel: #866045;
  --shadow: 0 30px 80px rgba(18, 23, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 92, 57, 0.14), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 190, 150, 0.28), transparent 18%),
    linear-gradient(180deg, #fffaf4 0%, #f4ede3 100%);
}

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

.hub-screen {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  padding: 18px;
}

.hub-shell {
  width: min(1180px, 100%);
}

.hub-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 243, 235, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hub-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ff7b59);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hub-top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hub-top-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.hub-copy,
.hub-demo-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
}

.hub-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at bottom right, rgba(255, 92, 57, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 246, 238, 0.92));
}

.hub-kicker,
.hub-panel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hub-kicker {
  color: var(--accent);
}

.hub-kicker::before,
.hub-panel-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hub-copy h1 {
  margin: 18px 0 0;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hub-lede {
  max-width: 54ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.hub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hub-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 26, 40, 0.08);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.hub-primary-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hub-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.hub-contact-links a {
  white-space: nowrap;
}

.hub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hub-button-solid {
  background: linear-gradient(135deg, var(--accent), #ff7a58);
  color: #fff;
}

.hub-button-ghost {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hub-demo-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, #11192b 0%, #1a2338 100%);
  color: #fff;
}

.hub-panel-label {
  color: rgba(255, 255, 255, 0.74);
}

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

.hub-demo-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 138px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-demo-link strong {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hub-demo-link span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-demo-law strong {
  color: var(--law);
}

.hub-demo-clinic strong {
  color: var(--clinic);
}

.hub-demo-spa strong {
  color: #e8b7a4;
}

.hub-demo-hotel strong {
  color: #d5b18d;
}

@media (max-width: 1240px) {
  .hub-shell {
    width: min(1080px, 100%);
  }

  .hub-copy {
    padding: 32px;
  }

  .hub-copy h1 {
    max-width: 9.2ch;
    font-size: clamp(3rem, 5.1vw, 4.85rem);
  }
}

@media (max-width: 1080px) {
  .hub-main {
    grid-template-columns: 1fr;
  }

  .hub-demo-panel {
    padding: 28px;
  }

  .hub-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.85rem, 7vw, 4.2rem);
  }
}

@media (max-width: 980px) {
  .hub-screen {
    padding: 16px;
  }

  .hub-main {
    gap: 14px;
  }

  .hub-copy,
  .hub-demo-panel {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .hub-screen {
    padding: 10px;
  }

  .hub-card {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .hub-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hub-brand {
    justify-content: space-between;
  }

  .hub-brand-mark {
    min-width: 82px;
    padding: 8px 10px;
    font-size: 0.66rem;
  }

  .hub-brand-text {
    font-size: 0.92rem;
  }

  .hub-top-links {
    justify-content: stretch;
  }

  .hub-top-links a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .hub-copy,
  .hub-demo-panel {
    padding: 14px;
    border-radius: 22px;
  }

  .hub-kicker,
  .hub-panel-label {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .hub-kicker::before,
  .hub-panel-label::before {
    width: 20px;
  }

  .hub-copy h1 {
    max-width: none;
    margin-top: 12px;
    font-size: clamp(1.9rem, 8.1vw, 3rem);
  }

  .hub-lede {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.48;
  }

  .hub-meta {
    gap: 6px;
    margin-top: 14px;
  }

  .hub-meta span {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .hub-demo-grid {
    gap: 8px;
  }

  .hub-demo-link {
    min-height: 82px;
    padding: 12px;
    border-radius: 18px;
  }

  .hub-demo-link strong {
    font-size: 1rem;
  }

  .hub-demo-link span {
    font-size: 0.66rem;
  }

  .hub-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .hub-primary-ctas .hub-button {
    flex: 1 1 100%;
  }

  .hub-contact-links {
    gap: 6px;
    margin-top: 10px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .hub-screen {
    padding: 8px;
  }

  .hub-card {
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .hub-top {
    gap: 8px;
  }

  .hub-brand-mark {
    min-width: 76px;
    padding: 7px 9px;
  }

  .hub-brand-text {
    font-size: 0.88rem;
  }

  .hub-top-links {
    width: 100%;
  }

  .hub-top-links a {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .hub-copy,
  .hub-demo-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .hub-copy h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.25rem);
    line-height: 0.94;
  }

  .hub-lede {
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .hub-meta {
    margin-top: 12px;
  }

  .hub-meta span {
    min-height: 28px;
    font-size: 0.68rem;
  }

  .hub-primary-ctas {
    gap: 10px;
    margin-top: 16px;
  }

  .hub-button {
    min-height: 40px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .hub-contact-links {
    display: none;
  }

  .hub-panel-label {
    font-size: 0.6rem;
  }

  .hub-demo-grid {
    margin-top: 14px;
  }

  .hub-demo-link {
    min-height: 76px;
    padding: 10px;
  }

  .hub-demo-link strong {
    font-size: 0.92rem;
  }

  .hub-demo-link span {
    font-size: 0.62rem;
  }
}
