:root {
  color-scheme: light;
  --paper: #fffdf8;
  --surface: #ffffff;
  --surface-warm: #fff7ee;
  --ink: #24303a;
  --muted: #64717c;
  --line: #dfe5e2;
  --teal: #1c9a92;
  --teal-dark: #0d6f69;
  --coral: #f37748;
  --amber: #f0b84d;
  --green: #3c8a57;
  --danger: #b84d4d;
  --shadow: 0 18px 45px rgba(39, 49, 59, 0.11);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

a.secondary-button {
  color: #ffffff;
  text-decoration: none;
}

a.primary-button {
  color: #ffffff;
  text-decoration: none;
}

a.ghost-button {
  color: var(--ink);
  text-decoration: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(28, 154, 146, 0.28);
  outline-offset: 2px;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--teal-dark);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled:hover,
.secondary-button:disabled:hover,
.ghost-button:disabled:hover,
.icon-button:disabled:hover {
  transform: none;
}

.primary-button {
  padding: 0 15px;
  background: var(--ink);
  color: #ffffff;
}

.secondary-button {
  width: 100%;
  padding: 0 15px;
  background: var(--teal);
  color: #ffffff;
}

.ghost-button {
  padding: 0 13px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.oauth-button {
  width: 100%;
}

.oauth-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
  background: #ffffff;
  color: var(--ink);
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.icon-button {
  width: 40px;
  padding: 0;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.text-button {
  min-height: auto;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--teal-dark);
  font-size: 0.88rem;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(390px, 1.05fr) minmax(280px, 0.58fr);
  gap: 16px;
  width: min(1580px, 100%);
  margin: 0 auto;
  padding: 16px clamp(14px, 2vw, 28px) 28px;
}

.builder-panel,
.results-panel,
.growth-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.builder-panel,
.growth-panel {
  align-self: start;
}

.builder-panel {
  padding: 18px;
}

.results-panel {
  padding: 18px;
}

.growth-panel {
  padding: 16px;
}

.public-shell {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(280px, 360px);
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 16px clamp(14px, 2vw, 28px) 28px;
}

.public-proposal-panel {
  min-width: 0;
}

.public-proposal-panel .proposal {
  margin-top: 0;
}

.public-sidebar {
  position: sticky;
  top: 86px;
}

.sidebar-copy {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading.compact {
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  max-width: 18ch;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.2;
}

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

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

legend {
  padding: 0 6px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.field-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

input,
select {
  width: 100%;
  min-height: 41px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 0 11px;
  font-weight: 750;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 17px,
    calc(100% - 13px) 17px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.two-column,
.three-column {
  display: grid;
  gap: 10px;
}

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

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

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

.toggle-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
  color: var(--ink);
  font-size: 0.84rem;
}

.toggle-row input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--teal);
}

.pricing-reset-button {
  justify-self: start;
}

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

#recommendedPrice {
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.confidence-pill {
  flex: 0 0 auto;
  max-width: 170px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(60, 138, 87, 0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.confidence-pill.warning {
  background: rgba(240, 184, 77, 0.18);
  color: #8a5a04;
}

.confidence-pill.danger {
  background: rgba(184, 77, 77, 0.13);
  color: var(--danger);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-strip div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-right: 1px solid var(--line);
  background: var(--surface-warm);
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.metric-strip strong {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

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

.package-option {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  background: #ffffff;
}

.package-option.featured {
  border-top-color: var(--coral);
  background: #fffaf6;
}

.package-option span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.package-option strong {
  font-size: 1.7rem;
}

.package-option p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.proposal {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(28, 154, 146, 0.08), rgba(28, 154, 146, 0) 160px),
    #ffffff;
}

.proposal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.proposal-header h2 {
  max-width: 18ch;
}

.proposal-price {
  text-align: right;
}

.proposal-price strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.proposal-block {
  min-width: 0;
}

.proposal-block h3 {
  margin-bottom: 7px;
}

.proposal-block ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.38;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.cost-table th,
.cost-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cost-table th {
  color: var(--muted);
  font-size: 0.78rem;
}

.cost-table td:last-child,
.cost-table th:last-child {
  text-align: right;
  font-weight: 850;
}

.growth-visual {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.growth-visual svg {
  display: block;
  width: 100%;
  height: auto;
  stroke-width: 0;
}

.growth-list {
  display: grid;
  gap: 11px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.growth-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  line-height: 1.4;
}

.growth-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.monetization {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.monetization p {
  color: var(--muted);
  line-height: 1.45;
}

.saved-quotes {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.saved-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px 8px 12px;
  border-bottom: 1px solid var(--line);
}

.saved-header h3 {
  margin: 0;
}

.saved-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.saved-item {
  width: 100%;
  justify-content: space-between;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--surface-warm);
  color: var(--ink);
  text-align: left;
}

.saved-item small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 40;
  transform: translate(-50%, 120%);
  min-width: min(360px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
  padding: 12px 16px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.upgrade-dialog {
  width: min(460px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
}

.seo-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 34px) 42px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  align-items: center;
  min-height: 58vh;
  padding: 18px 0 28px;
}

.seo-hero h1 {
  max-width: 16ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.seo-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-actions .primary-button,
.seo-actions .ghost-button {
  text-decoration: none;
}

.seo-proof {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.seo-proof-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.seo-proof-row:last-child {
  border-bottom: 0;
}

.seo-proof-row span {
  color: var(--muted);
  font-weight: 800;
}

.seo-proof-row strong {
  font-size: 1.35rem;
}

.seo-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.seo-section h2 {
  max-width: 22ch;
  margin-bottom: 12px;
}

.seo-section p {
  max-width: 76ch;
  color: var(--muted);
  line-height: 1.58;
}

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

.seo-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.seo-card strong {
  display: block;
  margin-bottom: 6px;
}

.seo-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.pricing-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 3vw, 34px) 42px;
}

.pricing-hero {
  max-width: 760px;
  padding: 22px 0 28px;
}

.pricing-hero h1 {
  max-width: 15ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.pricing-hero p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trust-strip span,
.popular-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--teal-dark);
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.pricing-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-top-color: var(--coral);
  background: #fffaf6;
}

.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-kicker {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.popular-badge {
  background: rgba(243, 119, 72, 0.12);
  color: #a44921;
}

.pricing-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.pricing-card h2 span {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-card p {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.4;
}

.plan-button {
  align-self: end;
  width: 100%;
}

.pricing-note {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

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

.dashboard-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 34px) 42px;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: end;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--line);
}

.dashboard-hero h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.dashboard-hero p,
.muted-line {
  color: var(--muted);
  line-height: 1.55;
}

.auth-panel,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(360px, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.auth-form,
.account-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-form h2,
.account-panel h2 {
  margin-bottom: 0;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface-warm);
}

.status-grid div:first-child {
  border-right: 1px solid var(--line);
}

.status-grid span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-grid strong {
  font-size: 1.2rem;
}

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

.billing-actions .ghost-button,
.billing-actions .primary-button {
  width: 100%;
  min-height: 44px;
  text-align: center;
}

.quote-cloud {
  grid-row: span 2;
}

.saved-header.flush {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.cloud-list {
  display: grid;
  gap: 10px;
}

.cloud-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.cloud-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.cloud-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cloud-actions .ghost-button {
  min-height: 36px;
  padding: 0 11px;
}

.checkout-main,
.intake-main,
.legal-main {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px clamp(16px, 3vw, 34px) 42px;
}

.checkout-panel,
.intake-panel {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.checkout-panel h1,
.intake-panel h1,
.legal-main h1 {
  max-width: 17ch;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.checkout-panel p,
.intake-panel p,
.legal-main p {
  color: var(--muted);
  line-height: 1.58;
}

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

.checkout-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-warm);
}

.checkout-grid strong {
  display: block;
  margin-bottom: 6px;
}

.checkout-grid p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.intake-form textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 11px;
  font: inherit;
  font-weight: 650;
  line-height: 1.45;
}

.intake-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.confirmation-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(60, 138, 87, 0.35);
  border-radius: var(--radius);
  background: rgba(60, 138, 87, 0.08);
}

.confirmation-panel h2 {
  margin-bottom: 0;
}

.proposal-link-panel {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.proposal-link-body {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.proposal-link-body input {
  font-size: 0.82rem;
  font-weight: 750;
}

.proposal-link-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.proposal-link-actions .ghost-button {
  min-height: 38px;
  padding: 0 10px;
  text-align: center;
}

.legal-main section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-main h2 {
  margin-bottom: 10px;
}

.legal-main a {
  color: var(--teal-dark);
  font-weight: 800;
}

.legal-updated {
  margin-bottom: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 34px) 30px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span {
  font-weight: 800;
}

.site-footer a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.upgrade-dialog::backdrop {
  background: rgba(36, 48, 58, 0.45);
}

.upgrade-dialog form {
  position: relative;
  padding: 24px;
}

.upgrade-dialog p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.upgrade-dialog menu {
  margin: 18px 0 0;
  padding: 0;
}

.close-dialog {
  position: absolute;
  top: 12px;
  right: 12px;
}

@media (max-width: 1220px) {
  .app-shell {
    grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  }

  .growth-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 14px;
  }

  .growth-panel .section-heading,
  .growth-panel .growth-list,
  .growth-panel .monetization,
  .growth-panel .saved-quotes {
    min-width: 0;
  }

  .growth-list {
    margin-bottom: 0;
  }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: stretch;
  }

  .top-actions button,
  .top-actions a {
    flex: 1 1 130px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .public-shell,
  .auth-panel,
  .dashboard-grid,
  .dashboard-hero,
  .checkout-grid,
  .intake-form .two-column,
  .pricing-grid,
  .pricing-note,
  .seo-hero,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .public-sidebar {
    position: static;
  }

  .growth-panel {
    display: block;
  }

  .package-grid,
  .metric-strip,
  .proposal-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }

  .proposal-header,
  .results-header {
    flex-direction: column;
  }

  .proposal-price {
    text-align: left;
  }

  .quote-cloud {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .two-column,
  .three-column,
  .toggle-grid,
  .billing-actions,
  .proposal-link-actions,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .status-grid div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cloud-item {
    grid-template-columns: 1fr;
  }

  .builder-panel,
  .results-panel,
  .growth-panel {
    padding: 14px;
  }

  fieldset {
    padding: 12px;
  }

  .brand small {
    display: none;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .topbar,
  .builder-panel,
  .growth-panel,
  .public-sidebar,
  .metric-strip,
  .package-grid,
  .toast {
    display: none !important;
  }

  .app-shell {
    display: block;
    padding: 0;
  }

  .results-panel,
  .proposal {
    border: 0;
    box-shadow: none;
  }

  .results-header {
    margin-bottom: 0;
  }
}
