:root {
  --bg: #f4efe6;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 250, 243, 0.88);
  --surface-strong: #ffffff;
  --ink: #13363e;
  --ink-soft: #42626a;
  --line: rgba(19, 54, 62, 0.12);
  --teal: #0d8b8a;
  --teal-deep: #0a5c63;
  --coral: #f07d57;
  --gold: #e2b15f;
  --positive: #1f8d5d;
  --negative: #c45e3b;
  --shadow-lg: 0 28px 60px rgba(15, 45, 51, 0.12);
  --shadow-md: 0 18px 40px rgba(15, 45, 51, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Avenir Next Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  --font-body: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(240, 125, 87, 0.15), transparent 26%),
    radial-gradient(circle at top left, rgba(13, 139, 138, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf6ef 0%, #f2eadf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 20px auto 36px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(5, 67, 76, 0.96), rgba(11, 98, 109, 0.94) 58%, rgba(229, 177, 95, 0.95));
  box-shadow: var(--shadow-lg);
  color: #f9fbfb;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.eyebrow,
.sidebar-kicker,
.overview-kicker,
.info-label,
.mini-label,
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  line-height: 0.95;
  max-width: 11ch;
}

.hero-text {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
  font-size: 1.04rem;
  color: rgba(249, 251, 251, 0.86);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.stat-card,
.overview-card,
.info-card,
.stage-card,
.sidebar,
.footer-note {
  backdrop-filter: blur(16px);
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3.15rem;
  line-height: 1;
}

.stat-label {
  color: rgba(249, 251, 251, 0.78);
  max-width: 14ch;
}

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

.overview-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-md);
}

.overview-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 1.1rem;
}

.overview-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.workspace {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.86);
  border: 1px solid rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-md);
}

.sidebar-head h2 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 2.05rem;
  line-height: 0.95;
}

.sidebar-copy {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.solution-nav {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.solution-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.solution-tab:hover,
.solution-tab:focus-visible {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(13, 139, 138, 0.2);
  box-shadow: 0 10px 24px rgba(13, 139, 138, 0.14);
}

.solution-tab.active {
  background: linear-gradient(135deg, rgba(13, 139, 138, 0.12), rgba(240, 125, 87, 0.08));
  border-color: rgba(13, 139, 138, 0.28);
}

.tab-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 139, 138, 0.18), rgba(226, 177, 95, 0.18));
  color: var(--teal-deep);
  font-weight: 800;
}

.tab-copy {
  display: grid;
  gap: 4px;
}

.tab-copy strong {
  font-size: 0.98rem;
}

.tab-copy small {
  color: var(--ink-soft);
}

.viewer {
  min-width: 0;
}

.solution-panel {
  display: none;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 251, 245, 0.82);
  border: 1px solid rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-lg);
  animation: panel-in 260ms ease;
}

.solution-panel.active {
  display: block;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.panel-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 139, 138, 0.12);
  color: var(--teal-deep);
}

.panel-header h2 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  max-width: 16ch;
}

.panel-summary {
  margin: 0;
  max-width: 64ch;
  line-height: 1.6;
  color: var(--ink-soft);
}

.panel-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 360px;
}

.panel-meta article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 54, 62, 0.08);
}

.panel-meta span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.panel-meta strong {
  font-size: 1rem;
}

.panel-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-md);
}

.info-card p {
  margin: 12px 0 0;
  line-height: 1.58;
  color: var(--ink-soft);
}

.plain-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.plain-list.compact {
  margin-top: 10px;
  line-height: 1.45;
}

.metric-strip {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-md);
}

.metric-strip > div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
}

.metric-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.95;
  color: var(--teal-deep);
}

.metric-strip span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
}

.stage-card {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(19, 54, 62, 0.08);
  box-shadow: var(--shadow-lg);
  min-width: 0;
}

.mock-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 234, 0.98));
  border: 1px solid rgba(19, 54, 62, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dashboard-shell.warm .mock-shell,
.dashboard-shell.warm {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 246, 236, 0.98));
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(19, 54, 62, 0.08);
  background: rgba(244, 239, 230, 0.88);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(19, 54, 62, 0.18);
}

.window-dots span:first-child {
  background: #e58768;
}

.window-dots span:nth-child(2) {
  background: #e3b164;
}

.window-dots span:nth-child(3) {
  background: #72b393;
}

.mock-title {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
}

.status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 54, 62, 0.07);
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.status-pill.success {
  background: rgba(31, 141, 93, 0.12);
  color: var(--positive);
}

.mock-body {
  padding: 18px;
}

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

.stacked-layout {
  display: grid;
  gap: 16px;
}

.form-layout,
.preview-layout,
.adaptation-layout,
.assistant-layout,
.hotel-compare,
.site-lab-layout {
  display: grid;
  gap: 16px;
}

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

.preview-layout,
.assistant-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

.adaptation-layout {
  grid-template-columns: 1.2fr 1fr;
}

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

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

.dashboard-content,
.prototype-shell,
.flow-view,
.split-layout,
.stacked-layout,
.widget-grid {
  min-width: 0;
}

.mock-sidebar,
.form-card,
.upload-card,
.decision-card,
.persona-list,
.recommendation-card,
.subject-list,
.email-preview,
.assistant-sidecard,
.lead-summary,
.cta-panel,
.chat-card,
.hotel-card,
.result-card,
.site-wireframe,
.funnel-card,
.explain-card {
  border: 1px solid rgba(19, 54, 62, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.mock-sidebar,
.form-card,
.upload-card,
.decision-card,
.recommendation-card,
.assistant-sidecard,
.lead-summary,
.cta-panel,
.chat-card,
.email-preview {
  padding: 18px;
}

.filter-block + .filter-block {
  margin-top: 18px;
}

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

.chip,
.choice-chip,
.cloud-tag,
.hotel-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 54, 62, 0.06);
  color: var(--ink);
  font-size: 0.85rem;
}

.chip.active,
.choice-chip.active {
  background: rgba(13, 139, 138, 0.14);
  color: var(--teal-deep);
}

.rank-list,
.score-list,
.signal-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rank-list li,
.score-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.signal-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(19, 54, 62, 0.05);
  line-height: 1.45;
}

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

.kpi-card,
.result-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 139, 138, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(19, 54, 62, 0.08);
}

.kpi-card span,
.result-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.kpi-card strong,
.result-card strong {
  display: block;
  font-size: 1.35rem;
}

.kpi-card small,
.result-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.positive {
  color: var(--positive);
}

.negative {
  color: var(--negative);
}

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

.widget {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(19, 54, 62, 0.08);
  min-width: 0;
}

.widget.wide {
  grid-column: 1 / -1;
}

.widget-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.widget-head h3 {
  margin: 0;
  font-size: 1.02rem;
}

.widget-head span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: right;
}

.bar-list,
.double-bars,
.budget-plan {
  display: grid;
  gap: 12px;
}

.bar-row,
.double-row,
.budget-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.bar-row span,
.double-row span,
.budget-row span {
  color: var(--ink-soft);
}

.bar,
.double-track,
.budget-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(19, 54, 62, 0.08);
  overflow: hidden;
}

.bar i,
.budget-track i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #33b2b3);
}

.double-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}

.double-track .teal {
  left: 0;
  background: rgba(13, 139, 138, 0.42);
}

.double-track .amber {
  right: 0;
  background: linear-gradient(90deg, rgba(226, 177, 95, 0.4), rgba(240, 125, 87, 0.62));
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cloud-tag.hot {
  background: rgba(240, 125, 87, 0.14);
  color: var(--negative);
}

.ai-answer {
  padding: 16px;
  border-radius: 18px;
  background: rgba(13, 139, 138, 0.06);
  line-height: 1.55;
}

.prompt-line {
  margin: 0 0 10px;
  color: var(--teal-deep);
  font-weight: 700;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 54, 62, 0.08);
}

.toolbar-note,
.legend {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.legend {
  margin: 12px 0 0;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-inline: 8px 4px;
}

.dot.teal {
  background: var(--teal);
}

.dot.amber {
  background: var(--gold);
}

.table-like {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.7fr 0.8fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(19, 54, 62, 0.05);
  font-size: 0.92rem;
}

.table-row.head {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(19, 54, 62, 0.08);
}

.flow-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 54, 62, 0.08);
}

.flow-step {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.flow-step.active {
  background: linear-gradient(135deg, rgba(13, 139, 138, 0.16), rgba(240, 125, 87, 0.12));
  color: var(--ink);
  font-weight: 700;
}

.flow-view {
  display: none;
}

.flow-view.active {
  display: block;
  animation: panel-in 220ms ease;
}

.field,
.upload-box,
.subject-card,
.summary-card,
.email-block {
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(19, 54, 62, 0.05);
  margin-top: 10px;
  color: var(--ink-soft);
}

.upload-box {
  min-height: 72px;
  display: flex;
  align-items: center;
}

.banner-preview {
  position: relative;
  min-height: 290px;
  border-radius: 24px;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(7, 77, 86, 0.86), rgba(13, 139, 138, 0.4)),
    linear-gradient(180deg, #8cc9d2, #f8d9a8);
  color: #fffef7;
}

.compact-banner {
  min-height: 220px;
}

.banner-brand {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.banner-copy span {
  opacity: 0.78;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.banner-copy h3 {
  margin: 10px 0;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.93;
}

.banner-copy p {
  max-width: 30ch;
  margin: 0 0 18px;
  line-height: 1.5;
}

.banner-copy button,
.primary-cta,
.email-cta {
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  padding: 12px 18px;
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
}

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

.mini-banner {
  min-height: 110px;
  padding: 14px;
  border-radius: 20px;
  display: flex;
  align-items: end;
  font-weight: 700;
  color: white;
  background:
    linear-gradient(135deg, rgba(7, 77, 86, 0.82), rgba(240, 125, 87, 0.64)),
    linear-gradient(180deg, #7cc7bf, #f0d0a0);
}

.mini-banner.story {
  min-height: 170px;
}

.persona-card,
.hotel-card {
  padding: 16px;
}

.persona-card + .persona-card {
  margin-top: 10px;
}

.persona-card.active,
.hotel-card.featured {
  border-color: rgba(13, 139, 138, 0.28);
  box-shadow: 0 12px 28px rgba(13, 139, 138, 0.14);
}

.persona-card strong,
.hotel-card h3 {
  display: block;
  margin-bottom: 8px;
}

.persona-card span,
.hotel-card p,
.recommendation-card p,
.cta-panel p {
  color: var(--ink-soft);
  line-height: 1.5;
}

.email-header strong {
  display: block;
  margin-top: 10px;
  font-size: 1.12rem;
}

.email-preview p {
  line-height: 1.56;
  color: var(--ink-soft);
}

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

.message {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.45;
}

.message.bot {
  background: rgba(13, 139, 138, 0.1);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.summary-card + .summary-card {
  margin-top: 10px;
}

.cta-panel {
  display: grid;
  align-content: center;
  justify-items: start;
}

.cta-panel h3 {
  margin: 0 0 10px;
}

.hotel-card {
  display: grid;
  gap: 10px;
}

.hotel-tag {
  width: fit-content;
  background: rgba(13, 139, 138, 0.12);
  color: var(--teal-deep);
}

.funnel-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.funnel-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(19, 54, 62, 0.05);
}

.funnel-step.warning {
  background: rgba(226, 177, 95, 0.18);
}

.funnel-step.danger {
  background: rgba(240, 125, 87, 0.14);
}

.site-wireframe {
  padding: 18px;
}

.wire-header {
  height: 28px;
  border-radius: 999px;
  background: rgba(19, 54, 62, 0.08);
  margin-bottom: 14px;
}

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

.wire-panel {
  min-height: 120px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(19, 54, 62, 0.06);
  display: flex;
  align-items: end;
  color: var(--ink-soft);
}

.wire-panel.hotspot {
  background:
    radial-gradient(circle at top right, rgba(240, 125, 87, 0.24), transparent 40%),
    rgba(19, 54, 62, 0.06);
  color: var(--negative);
}

.footer-note {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(19, 54, 62, 0.08);
  color: var(--ink-soft);
}

@media (max-width: 1220px) {
  .workspace,
  .panel-layout,
  .hero,
  .overview-strip {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

  .panel-meta,
  .kpi-grid,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    margin: 10px auto 24px;
  }

  .hero,
  .solution-panel {
    padding: 22px;
  }

  .hero-stats,
  .solution-nav,
  .widget-grid,
  .site-lab-layout,
  .hotel-compare,
  .form-layout,
  .preview-layout,
  .adaptation-layout,
  .assistant-layout,
  .split-layout,
  .panel-meta,
  .kpi-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .panel-header {
    flex-direction: column;
  }

  .panel-meta {
    min-width: 0;
    width: 100%;
  }

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

  .bar-row,
  .double-row,
  .budget-row,
  .table-row {
    grid-template-columns: 1fr;
  }

  .flow-switcher {
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .hero h1,
  .panel-header h2 {
    max-width: none;
  }

  .solution-nav {
    grid-template-columns: 1fr;
  }

  .tab-copy strong {
    font-size: 0.93rem;
  }

  .stat-card {
    min-height: 110px;
  }
}
