:root {
  color-scheme: light;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --ink: #132033;
  --muted: #66758a;
  --line: #dde6ef;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --blue: #2563eb;
  --gold: #b7791f;
  --danger: #b45309;
  --shadow: 0 8px 24px rgba(19, 32, 51, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #102b32;
  color: #f8fafc;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #39c6b6;
  color: #10343a;
  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: #a9b7cc;
  font-size: 13px;
  margin-top: 3px;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-item {
  width: 100%;
  color: #dbeafe;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon {
  width: 22px;
  color: #82d9cf;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.risk-note {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
}

.risk-note p {
  margin: 8px 0 0;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 13px;
}

.account-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 14px;
}

.account-box strong,
.account-box p {
  display: block;
  margin: 0;
}

.account-label {
  display: block;
  margin-bottom: 6px;
  color: #9de7df;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.account-box p {
  color: #cbd5e1;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.account-action {
  display: none;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #9de7df;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

.user-authenticated .account-action {
  display: inline-block;
}

main {
  padding: 24px 28px 28px;
  overflow-x: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.topbar .eyebrow {
  margin-bottom: 3px;
}

.hero {
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: stretch;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-copy,
.hero-card,
.metric-card,
.panel,
.price-card {
  background: #ffffff;
  border: 1px solid rgba(221, 230, 239, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

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

.primary-button,
.ghost-button {
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
}

.primary-button {
  border: 0;
  color: #ffffff;
  background: var(--accent);
}

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

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
}

.hero-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #183b44;
  color: #f8fafc;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}

.hero-card-header span {
  color: #9fb2ca;
  font-weight: 800;
}

.hero-card-header strong {
  font-size: 54px;
  line-height: 1;
}

.hero-card p {
  color: #d7e0ec;
  line-height: 1.65;
}

.mini-chart {
  height: 110px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
}

.mini-chart span {
  border-radius: 999px 999px 4px 4px;
  background: #45c6b8;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

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

.platform-panel,
.launch-panel,
.market-panel,
.daily-brief-panel,
.notification-panel {
  margin-bottom: 16px;
}

.login-panel {
  max-width: 760px;
  margin-bottom: 16px;
}

.user-authenticated .login-panel {
  display: none;
}

.login-panel .login-form {
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) auto;
  align-items: end;
}

.login-panel .login-actions {
  display: flex;
}

.login-panel .form-note {
  grid-column: 1 / -1;
}

.platform-grid,
.market-list,
.integration-list,
.launch-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-grid article,
.integration-item,
.launch-item,
.market-item,
.daily-brief-item,
.review-item,
.alert-item {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 15px;
}

.platform-grid p,
.integration-item p,
.launch-item p,
.market-item p,
.daily-brief-item p,
.review-item p,
.alert-item p {
  color: var(--muted);
  line-height: 1.55;
  margin: 7px 0 0;
}

.integration-list {
  margin-top: 14px;
}

.launch-item strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.integration-item strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.integration-badge {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 850;
}

.integration-badge.ready {
  color: var(--accent-dark);
  background: #ecfdf5;
}

.integration-badge.mock {
  color: #92400e;
  background: #fff7ed;
}

.launch-badge {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 850;
}

.launch-badge.ready {
  color: var(--accent-dark);
  background: #ecfdf5;
}

.launch-badge.todo {
  color: #92400e;
  background: #fff7ed;
}

.login-form,
.notify-form,
.review-form {
  display: grid;
  gap: 12px;
}

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

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.market-item strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.market-change.up {
  color: var(--accent);
}

.market-change.down {
  color: var(--danger);
}

.alert-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.daily-brief-list,
.review-list {
  display: grid;
  gap: 12px;
}

.daily-brief-panel .daily-brief-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.daily-brief-item strong,
.review-item strong {
  display: block;
  margin-bottom: 7px;
}

.pro-value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.pro-value-strip span {
  border-left: 3px solid #8bd8cf;
  background: #f4fbfa;
  padding: 10px 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pro-value-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.daily-brief-item.featured {
  grid-column: 1 / -1;
  border-color: rgba(15, 118, 110, 0.34);
  background: #f2fbfa;
}

.daily-brief-item.empty {
  grid-column: 1 / -1;
}

.brief-card-head,
.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.brief-card-head span,
.review-card-head > span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-card {
  padding: 18px;
}

.metric-card span,
.price-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.metric-card p,
.price-card p,
.simulation-copy {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

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

.onboarding-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #f0fbf9;
  padding: 17px 18px;
}

.onboarding-banner h2,
.onboarding-banner p {
  margin-bottom: 0;
}

.onboarding-banner p:not(.eyebrow) {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.onboarding-banner.is-hidden {
  display: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  gap: 16px;
  align-items: start;
}

.panel {
  padding: 20px;
}

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

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 26px;
}

.section-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-pill {
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--accent-dark);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brief-list,
.signal-list,
.asset-list,
.allocation {
  display: grid;
  gap: 12px;
}

.brief-list article,
.signal-list li,
.asset-item,
.asset-empty,
.roadmap-grid article,
.paywall-grid article,
.renewal-grid article,
.conversion-list article {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 8px;
  padding: 15px;
}

.brief-list strong,
.signal-list strong,
.asset-item strong,
.asset-empty strong,
.roadmap-grid strong,
.paywall-grid strong,
.renewal-grid strong,
.conversion-list strong {
  display: block;
  margin-bottom: 7px;
}

.brief-list p,
.signal-list p,
.asset-item p,
.asset-empty p,
.roadmap-grid p,
.paywall-grid p,
.renewal-grid p,
.conversion-list p,
.pricing-intro p {
  color: var(--muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.signal-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.monetization-panel,
.roadmap-panel,
.renewal-panel,
.conversion-panel {
  margin-top: 16px;
}

.paywall-grid,
.roadmap-grid,
.renewal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.paywall-tag {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--accent-dark);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
}

.ai-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
  gap: 16px;
  align-items: start;
}

.chat-panel {
  min-height: 620px;
}

.prompt-chips {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.prompt-chips button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 11px 12px;
  text-align: left;
}

.prompt-chips button:hover {
  border-color: rgba(15, 118, 110, 0.48);
  background: #f0fbf9;
}

.prompt-chips strong,
.prompt-chips span {
  display: block;
}

.prompt-chips span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.ai-side {
  display: grid;
  gap: 16px;
}

.ai-context ul {
  display: grid;
  gap: 10px;
  margin: 15px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.chat-log {
  min-height: 430px;
  max-height: 560px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.message {
  max-width: 78%;
  border-radius: 8px;
  padding: 13px 15px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.message.ai {
  border-left: 3px solid #73cfc5;
  background: #eef6f7;
}

.message.user {
  align-self: flex-end;
  color: #ffffff;
  background: var(--blue);
}

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

.chat-panel .form-note {
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--ink);
}

input,
select {
  min-height: 44px;
}

textarea {
  min-height: 170px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.asset-form {
  display: grid;
  gap: 14px;
}

.watchlist-summary {
  min-width: 148px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
}

.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-summary span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.review-summary strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.review-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(380px, 1.18fr);
  gap: 16px;
  align-items: start;
}

.review-editor,
.review-archive {
  min-height: 520px;
}

.review-presets {
  margin-top: 16px;
}

.review-presets p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-presets button {
  margin: 0 6px 7px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.review-presets button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.review-list {
  max-height: 720px;
  overflow-y: auto;
}

.review-item p,
.daily-brief-item p {
  white-space: pre-wrap;
}

.risk-badge {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 850;
}

.risk-badge.low {
  color: #166534;
  background: #dcfce7;
}

.risk-badge.medium {
  color: #92400e;
  background: #fef3c7;
}

.risk-badge.high {
  color: #991b1b;
  background: #fee2e2;
}

.risk-meter {
  height: 5px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #e5ebf0;
  overflow: hidden;
}

.risk-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--danger);
}

.review-benefits {
  margin-top: 16px;
}

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

.review-benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 14px;
}

.review-benefit-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.watchlist-summary strong,
.watchlist-summary span {
  display: block;
}

.watchlist-summary strong {
  color: var(--accent-dark);
  font-size: 22px;
}

.watchlist-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.asset-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
}

.asset-presets span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.asset-presets button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
}

.asset-presets button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.quota-track {
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: #e5ebf0;
  overflow: hidden;
}

.quota-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 180ms ease;
}

.upgrade-hint {
  margin: 14px 0 0;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  background: #ecfdf5;
  color: var(--accent-dark);
  padding: 12px;
  line-height: 1.5;
  font-size: 13px;
  font-weight: 750;
}

.upgrade-hint.is-urgent {
  border-color: rgba(180, 83, 9, 0.35);
  background: #fff7ed;
  color: #92400e;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.asset-meta span {
  background: #edf2f7;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.text-button {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--danger);
  padding: 0;
  font-weight: 850;
}

.text-button.neutral {
  margin-top: 0;
  color: var(--accent-dark);
}

.asset-empty {
  border: 1px dashed #b8c7d6;
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 20px;
}

.asset-empty p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.strategy-options {
  display: grid;
  gap: 10px;
}

.strategy-option {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
  padding: 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.strategy-option.active {
  border-color: var(--accent);
  background: #e8faf7;
  color: var(--accent-dark);
}

.slider-row {
  margin-top: 20px;
}

.slider-row input {
  padding: 0;
}

.allocation {
  margin-bottom: 18px;
}

.allocation-row {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: #e7edf5;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.quick-panel {
  margin-top: 16px;
}

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

.quick-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  padding: 15px;
  text-align: left;
}

.quick-action:hover {
  border-color: rgba(15, 118, 110, 0.5);
  background: #effaf8;
}

.quick-action strong,
.quick-action span {
  display: block;
}

.quick-action span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.diagnostics {
  display: none;
}

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

.pricing-intro {
  margin-bottom: 16px;
}

.price-card {
  padding: 24px;
}

.price-card h2 {
  margin: 10px 0 8px;
  font-size: 34px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.plan-button {
  width: 100%;
  margin-top: 18px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 18px 50px rgba(15, 118, 110, 0.16);
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px 2px 4px;
}

.legal-links a,
.legal-document a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-page {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 32px 18px;
}

.legal-document {
  max-width: 820px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-document h1 {
  margin-top: 18px;
  font-size: 34px;
}

.legal-document p {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1040px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

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

  .nav-item {
    text-align: center;
    padding: 10px 6px;
  }

  .hero,
  .metric-grid,
  .pricing-grid,
  .platform-grid,
  .market-list,
  .integration-list,
  .launch-list,
  .content-grid,
  .paywall-grid,
  .roadmap-grid,
    .renewal-grid,
    .conversion-list,
    .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ai-workspace {
    grid-template-columns: 1fr;
  }

  .review-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  main,
  .sidebar {
    padding: 18px;
  }

  .hero,
  .metric-grid,
  .pricing-grid,
  .platform-grid,
  .market-list,
  .integration-list,
  .launch-list,
  .content-grid,
  .paywall-grid,
  .roadmap-grid,
  .renewal-grid,
  .conversion-list,
  .ask-form,
    .login-actions {
    grid-template-columns: 1fr;
  }

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

  .login-panel .login-form,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .onboarding-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .pro-value-strip,
  .daily-brief-panel .daily-brief-list,
  .review-benefit-grid {
    grid-template-columns: 1fr;
  }

  .daily-brief-item.featured {
    grid-column: auto;
  }

  .chat-panel {
    min-height: auto;
  }

  .chat-log {
    min-height: 340px;
  }

  .login-panel .login-actions {
    display: grid;
  }

  .sidebar {
    gap: 18px;
  }

  .nav-item {
    justify-content: center;
  }

  h1 {
    font-size: 30px;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .price-card {
    padding: 18px;
  }

  .message {
    max-width: 100%;
  }

  .allocation-row {
    grid-template-columns: 92px 1fr 44px;
  }
}
