:root {
  --ink-strong: #17243b;
  --ink: #30445d;
  --ink-soft: #6b7a8d;
  --line: rgba(32, 55, 86, 0.12);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-muted: #edf3fb;
  --accent: #2a66d9;
  --accent-strong: #1d4fb2;
  --accent-soft: #e3edff;
  --warning: #b17c19;
  --warning-soft: #fff1d4;
  --danger: #9d4f3c;
  --danger-soft: #f7e2db;
  --success: #2a8161;
  --success-soft: #e2f4ea;
  --brand-dark: #12294f;
  --brand-deep: #1d4280;
  --shadow: 0 24px 70px rgba(27, 47, 88, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(42, 102, 217, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 79, 178, 0.14), transparent 26%),
    linear-gradient(180deg, #f4f8ff 0%, #eef4fb 38%, #f9fbfe 100%);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  max-width: 1380px;
  margin: 0 auto;
  padding: 32px 18px 48px;
}

.brand-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px rgba(20, 44, 50, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-strong);
  text-decoration: none;
}

.brand-lockup__copy {
  display: grid;
  gap: 2px;
}

.brand-lockup__copy strong {
  font-size: 1.06rem;
}

.brand-lockup__copy span,
.brand-bar__meta,
.hero__callout-brand {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.brand-bar__meta {
  margin: 0;
}

.brand-bar__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(42, 102, 217, 0.25);
  background: rgba(227, 237, 255, 0.82);
  color: var(--ink-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 180ms ease, transform 180ms ease;
}

.brand-bar__signin:hover {
  background: rgba(227, 237, 255, 1);
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  width: 152px;
  max-width: 100%;
  height: auto;
}

.hero,
.layout,
.site-footer,
.info-shell {
  animation: rise-in 540ms ease both;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.hero__copy,
.hero__callout,
.panel,
.info-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero__copy {
  padding: 26px;
  width: 100%;
}

.hero__callout {
  padding: 28px;
  background:
    linear-gradient(165deg, rgba(42, 102, 217, 0.98), rgba(18, 41, 79, 0.99));
  color: #f4fbfa;
}

.eyebrow,
.panel__eyebrow,
.cta-card__eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__callout .eyebrow,
.hero__callout h2,
.hero__callout li {
  color: #f4fbfa;
}

.hero__callout-brand {
  margin: 0 0 10px;
  color: rgba(244, 251, 250, 0.74);
}

.hero__callout-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__callout-note strong,
.hero__callout-note p {
  color: #f4fbfa;
}

.hero__callout-note p {
  margin: 8px 0 0;
  color: rgba(244, 251, 250, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
}

h3 {
  font-size: 1.18rem;
}

.hero__lede {
  max-width: 64ch;
  margin: 16px 0 16px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.compliance-warning {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(177, 124, 25, 0.34);
  background: var(--warning-soft);
  color: #7a5610;
}

.compliance-warning--compact {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.compliance-warning strong {
  color: #6b4a0b;
}

.hero__value-points {
  margin-bottom: 16px;
}

.hero__value-points p {
  margin: 0 0 8px;
}

.search-form {
  display: grid;
  gap: 12px;
}

.search-form__label {
  font-weight: 700;
  color: var(--ink-strong);
}

.search-form__controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-form__controls input {
  flex: 1 1 260px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(11, 110, 105, 0.18);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-strong);
}

.search-form__controls input:focus,
.search-form__controls button:focus,
.result-item:focus,
.action-button:focus,
.portfolio-row__remove:focus,
.cta-card__link:focus,
.cta-card__secondary-link:focus,
.trial-path__email:focus {
  outline: 3px solid rgba(11, 110, 105, 0.26);
  outline-offset: 2px;
}

.search-form__controls button,
.action-button,
.cta-card__link,
.portfolio-row__remove {
  border: 0;
  border-radius: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-form__controls button,
.action-button,
.cta-card__link {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(11, 110, 105, 0.24);
}

.search-form__controls button:hover,
.action-button:hover,
.cta-card__link:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.action-button:disabled {
  cursor: default;
  transform: none;
  background: #8ea9a7;
  box-shadow: none;
}

.search-form__controls button {
  padding: 16px 20px;
}

.search-form__hint,
.search-form__message,
.panel__meta,
.property-meta,
.recommendation__cost,
.portfolio-row__meta,
.site-footer,
.footer-nav a,
.back-link {
  color: var(--ink-soft);
}

.search-form__message {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.96rem;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
}

.feature-list li + li {
  margin-top: 10px;
}

.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.value-strip li {
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(227, 237, 255, 0.8);
  border: 1px solid rgba(42, 102, 217, 0.24);
  color: var(--ink-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.layout {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: start;
}

.search-summary-bar {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.4fr);
  margin-bottom: 22px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ad-slot {
  margin: 0 0 22px;
  padding: 14px;
  border: 1px dashed rgba(52, 64, 85, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.ad-slot__label {
  margin: 0 0 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 700;
}

.ad-slot__box {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 64, 85, 0.16);
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(237, 243, 251, 0.6);
  text-align: center;
  padding: 12px;
}

.ad-slot--inline .ad-slot__box {
  min-height: 120px;
}

.search-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-insight {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(227, 237, 255, 0.7));
  border: 1px solid rgba(52, 64, 85, 0.08);
}

.search-insight__value {
  display: block;
  color: var(--ink-strong);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.search-insight__label {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.details-stack {
  grid-column: 1;
  display: grid;
  gap: 22px;
  min-width: 0;
}

.panel--results {
  grid-column: 1;
  min-width: 0;
}

.panel {
  padding: 24px;
}

.panel__heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.panel__meta {
  margin: 0;
  font-size: 0.94rem;
}

.panel__subcopy {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 52ch;
}

.results-list,
.portfolio-list,
.recommendations-list {
  display: grid;
  gap: 12px;
}

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

.results-list .empty-state {
  grid-column: 1 / -1;
}

.panel--results .results-list {
  max-height: 780px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.panel--portfolio {
  grid-column: 1;
  position: static;
  align-self: stretch;
}

.empty-state {
  padding: 24px;
  border: 1px dashed rgba(52, 64, 85, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.42);
}

.empty-state p {
  margin: 8px 0 0;
}

.result-item {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 10px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(52, 64, 85, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 249, 0.96));
}

.result-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(35, 51, 79, 0.11);
}

.result-item--selected {
  border-color: rgba(42, 102, 217, 0.38);
  background: linear-gradient(180deg, rgba(227, 237, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 18px 34px rgba(42, 102, 217, 0.14);
}

.result-item__header,
.result-item__top,
.property-card__header,
.portfolio-row__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.result-item__address,
.portfolio-row__address {
  margin-top: 0;
  margin-bottom: 0;
}

.result-item__meta,
.portfolio-row__meta {
  margin: 0;
  font-size: 0.94rem;
}

.result-item__meta {
  color: var(--ink-strong);
  font-weight: 600;
}

.result-item__detail {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.result-item__selected-flag {
  opacity: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.result-item--selected .result-item__selected-flag {
  opacity: 1;
}

.rating-pill,
.status-chip,
.summary-stat,
.detail-chip,
.portfolio-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rating-pill,
.status-chip,
.detail-chip {
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 700;
}

.rating-pill {
  background: var(--surface-muted);
  color: var(--ink-strong);
}

.detail-chip {
  background: rgba(237, 243, 251, 0.95);
  color: var(--ink-strong);
}

.rating-pill--high {
  background: var(--success-soft);
  color: var(--success);
}

.rating-pill--mid {
  background: var(--warning-soft);
  color: var(--warning);
}

.rating-pill--low,
.status-chip--expired,
.status-chip--low {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-chip--ok {
  background: var(--success-soft);
  color: var(--success);
}

.status-chip--soon {
  background: var(--warning-soft);
  color: var(--warning);
}

.status-chip--unknown {
  background: var(--surface-muted);
  color: var(--ink);
}

.status-chip--pending {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.property-card {
  display: grid;
  gap: 18px;
}

.property-card__hero {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18, 41, 79, 0.99), rgba(42, 102, 217, 0.9));
  color: #f4fbfa;
}

.property-card__hero h3,
.property-card__hero p,
.property-card__hero .status-chip {
  color: inherit;
}

.property-card__hero .status-chip {
  background: rgba(255, 255, 255, 0.16);
}

.property-card__summary {
  margin: 0;
  max-width: 58ch;
  color: rgba(244, 251, 250, 0.84);
}

.property-card__header {
  align-items: start;
}

.property-card__address {
  margin-bottom: 8px;
}

.property-band-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-band {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.property-band__label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: rgba(244, 251, 250, 0.76);
}

.property-band__value {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.property-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-detail {
  padding: 14px;
  border-radius: 16px;
  background: rgba(238, 244, 243, 0.9);
}

.property-detail__label {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.property-detail__value,
.recommendation__summary,
.summary-stat__value {
  color: var(--ink-strong);
  font-weight: 700;
}

.property-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, max-content);
  align-items: start;
}

.action-button {
  padding: 14px 18px;
}

.action-button--ghost {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-strong);
  border: 1px solid rgba(42, 102, 217, 0.32);
}

.action-button--ghost:hover {
  background: rgba(237, 243, 251, 0.9);
}

.action-note {
  margin: 0;
  color: var(--ink-soft);
  grid-column: 1 / -1;
}

.recommendation-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 243, 0.88));
  border: 1px solid rgba(52, 64, 85, 0.08);
  box-shadow: 0 14px 28px rgba(37, 49, 74, 0.06);
}

.recommendation-card + .recommendation-card {
  margin-top: 12px;
}

.recommendation__summary {
  margin-bottom: 8px;
}

.recommendation__description {
  margin: 0 0 10px;
}

.recommendation__cost {
  margin: 0;
  font-size: 0.93rem;
}

.recommendation__reason {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--ink);
}

.recommendations-block {
  display: grid;
  gap: 14px;
}

.recommendations-priority h3 {
  margin-bottom: 6px;
}

.recommendations-intro {
  margin: 0;
  color: var(--ink-soft);
}

.recommendation-table-wrap {
  border: 1px solid rgba(52, 64, 85, 0.1);
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.recommendation-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.recommendation-table th,
.recommendation-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(52, 64, 85, 0.08);
  vertical-align: top;
}

.recommendation-table th {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(237, 243, 251, 0.8);
}

.recommendation-table td p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.recommendation-cards-mobile {
  display: none;
  gap: 12px;
}

.recommendations-extra {
  border: 1px solid rgba(52, 64, 85, 0.12);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.82);
}

.recommendations-extra summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-strong);
}

.insight-card {
  border: 1px solid rgba(52, 64, 85, 0.12);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.insight-card--muted {
  background: rgba(237, 243, 251, 0.7);
}

.insight-card__header h3 {
  margin-bottom: 6px;
}

.insight-card__header p {
  margin: 0;
  color: var(--ink-soft);
}

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

.insight-stat {
  border: 1px solid rgba(52, 64, 85, 0.1);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.insight-stat__label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.insight-stat__value {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
}

.quality-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.quality-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(52, 64, 85, 0.14);
}

.quality-row span {
  color: var(--ink-soft);
}

.quality-row strong {
  color: var(--ink-strong);
  text-align: right;
}

.quality-confidence {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.readiness-card {
  border: 1px solid rgba(52, 64, 85, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.readiness-card__header h3 {
  margin-bottom: 6px;
}

.readiness-card__header p {
  margin: 0;
  color: var(--ink-soft);
}

.readiness-questions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.readiness-question {
  padding: 12px;
  border: 1px solid rgba(52, 64, 85, 0.1);
  border-radius: 14px;
  background: rgba(237, 243, 251, 0.58);
}

.readiness-question__text {
  margin: 0 0 10px;
  color: var(--ink-strong);
  font-weight: 600;
}

.readiness-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.readiness-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 64, 85, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.readiness-option input {
  margin: 0;
}

.readiness-summary {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-top: 14px;
}

.readiness-summary p {
  margin: 0;
  color: var(--ink-soft);
}

.portfolio-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.summary-stat {
  padding: 16px;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 243, 0.9));
  border: 1px solid rgba(52, 64, 85, 0.08);
}

.summary-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-left: 6px;
}

.summary-stat__value {
  font-size: 1.45rem;
  line-height: 1.05;
}

.portfolio-row {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(52, 64, 85, 0.08);
}

.portfolio-row__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.portfolio-row__remove {
  padding: 10px 14px;
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(163, 62, 47, 0.18);
}

.portfolio-row__remove:hover {
  background: var(--danger-soft);
}

.cta-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(130deg, rgba(18, 41, 79, 0.99), rgba(42, 102, 217, 0.9));
  color: #f4fbfa;
}

.cta-card h3,
.cta-card p {
  color: #f4fbfa;
}

.cta-card__list {
  margin: 12px 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.cta-card__list li {
  color: rgba(244, 251, 250, 0.94);
}

.trial-path {
  margin-top: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.trial-path__label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: rgba(244, 251, 250, 0.92);
  font-weight: 700;
}

.trial-path__option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(244, 251, 250, 0.96);
}

.trial-path__option + .trial-path__option {
  margin-top: 6px;
}

.trial-path__option input {
  margin: 0;
}

.trial-path__email-label {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(244, 251, 250, 0.92);
  font-weight: 600;
}

.trial-path__email {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-strong);
}

.trial-path__meta {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: rgba(244, 251, 250, 0.9);
}

.cta-card__link {
  display: inline-flex;
  margin-top: 6px;
  padding: 12px 16px;
  text-decoration: none;
}

.cta-card__secondary-link {
  display: inline-flex;
  margin-top: 10px;
  color: rgba(244, 251, 250, 0.92);
  font-weight: 600;
}

.cta-card__secondary-link--customer {
  margin-left: 14px;
  color: #fff;
}

.cta-card__secondary-link:hover {
  color: #fff;
}

.cta-card__secondary {
  margin-top: 10px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #f4fbfa;
  font-weight: 600;
}

.cta-card__secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cta-card__secondary:disabled {
  opacity: 0.6;
  cursor: default;
}

.cta-card__helper {
  margin: 10px 0 0;
  color: rgba(244, 251, 250, 0.85);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 0 6px;
  font-size: 0.94rem;
}

.footer-nav {
  display: flex;
  gap: 16px;
}

.footer-nav a,
.back-link {
  text-decoration: none;
}

.footer-nav a:hover,
.back-link:hover {
  color: var(--accent-strong);
}

.info-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.info-shell {
  max-width: 760px;
  padding: 34px;
}

.info-shell p + p {
  margin-top: 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .panel--results,
  .details-stack,
  .panel--portfolio {
    grid-column: 1;
  }

  .search-summary-bar {
    grid-template-columns: 1fr;
  }

  .search-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel--portfolio {
    position: static;
  }
}

@media (max-width: 880px) {
  .brand-bar {
    flex-direction: column;
    align-items: start;
  }

  .brand-bar__actions {
    width: 100%;
    flex-direction: column;
    align-items: start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__callout,
  .panel {
    padding: 22px;
  }

  .ad-slot {
    margin-bottom: 18px;
  }

  .ad-slot__box {
    min-height: 100px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-band-strip {
    grid-template-columns: 1fr;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-table-wrap {
    display: none;
  }

  .recommendation-cards-mobile {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .results-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .search-form__controls {
    flex-direction: column;
  }

  .search-form__controls input {
    flex: 1 1 auto;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .search-form__controls button {
    width: 100%;
    padding: 12px 16px;
  }

  .value-strip {
    gap: 6px;
  }

  .value-strip li {
    width: 100%;
    border-radius: 12px;
  }

  .portfolio-summary {
    grid-template-columns: 1fr;
  }

  .search-summary-grid {
    grid-template-columns: 1fr;
  }

  .panel__heading,
  .property-card__header,
  .portfolio-row__top,
  .quality-row {
    flex-direction: column;
    align-items: start;
  }

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

  .property-actions .action-button {
    width: 100%;
  }

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

  .readiness-summary {
    flex-direction: column;
  }

  .trial-path__option {
    align-items: start;
  }

  .brand-bar__signin {
    width: 100%;
  }

  .cta-card__secondary-link--customer {
    margin-left: 0;
  }
}
