:root {
  --page-bg: #f6f8fb;
  --ink: #132238;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --surface: #ffffff;
  --surface-2: #eef6f6;
  --teal: #0f766e;
  --teal-soft: #ccfbf1;
  --blue: #1d4ed8;
  --amber: #b45309;
  --green: #15803d;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef6f6 48%, #fff7ed 100%);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.shell--narrow {
  width: min(980px, calc(100% - 32px));
}

.shell--auth {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: block;
  flex-shrink: 0;
}

.brand-mark--text {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.active {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
}

.nav .nav-cta:hover {
  background: #1e293b;
  color: #fff;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: #115e59;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

/* Buttons */
.btn,
button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover,
button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn.primary,
button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.btn.secondary,
button.secondary {
  background: #fff;
  color: var(--ink);
}

.btn.blue {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* Cards & panels */
.panel {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.panel-pad { padding: 24px; }
.panel-pad-lg { padding: 28px; }

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

.card-grid-2 {
  grid-template-columns: 1.35fr 0.85fr;
}

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

.feature-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

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

.feature-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.accent-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(29, 78, 216, 0.9));
  color: #fff;
  box-shadow: var(--shadow);
}

.accent-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.note-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

/* Forms */
.form-stack {
  display: grid;
  gap: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

label {
  color: #374151;
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.65);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.subsection {
  padding-top: 4px;
}

.subsection h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--teal);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.5;
  cursor: pointer;
}

.terms-row input { width: auto; min-height: auto; margin-top: 3px; }
.terms-row a { color: var(--blue); font-weight: 700; }

/* Portal */
.page-header {
  margin-bottom: 24px;
}

.portal-dashboard {
  padding: 24px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.dashboard-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.dashboard-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab-bar button {
  border-radius: 999px;
}

.tab-bar button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.section-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.guard-card {
  max-width: 640px;
  margin: 32px auto;
  padding: 36px 28px;
  text-align: center;
}

.guard-card h2 {
  margin: 0;
  font-size: 1.6rem;
}

.guard-card p {
  margin: 14px auto 0;
  max-width: 44ch;
  color: var(--muted);
}

.guard-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

/* Tickets */
.ticket-list { display: grid; gap: 16px; }

.ticket-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ticket-card--highlight {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.live-tracking {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.88rem;
}

.live-tracking-status {
  font-weight: 800;
  margin-bottom: 4px;
}

.live-tracking-meta {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.live-tracking-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}

.live-tracking-history {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.8rem;
}

.ticket-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ticket-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
}

.ticket-meta {
  margin-top: 10px;
  display: grid;
  gap: 4px;
  font-size: 0.95rem;
}

.ticket-meta ul {
  margin: 6px 0 0 18px;
  padding: 0;
}

.return-label-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #fff7ed;
  border: 2px solid #fb923c;
}

.return-label-box strong {
  display: block;
  color: #9a3412;
  margin-bottom: 8px;
}

.return-label-box p {
  margin: 0 0 12px;
  color: #c2410c;
  font-size: 0.94rem;
}

.return-label-box a {
  display: block;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: #f97316;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.rate-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fafc;
  cursor: pointer;
}

.rate-option.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state .btn { margin-top: 16px; }

/* Auth */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.auth-intro h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.auth-card h2 {
  margin: 0 0 20px;
  font-size: 1.75rem;
}

.auth-card button[type="submit"] {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
}

.toggle-link {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.toggle-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 850;
}

.auth-feedback {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-feedback.success {
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #166534;
}

.auth-feedback.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.auth-forgot-link {
  margin-top: -4px;
  text-align: right;
  font-size: 0.9rem;
}

.auth-forgot-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

/* Policy / Terms */
.policy-hero {
  padding: 28px 32px;
  margin-bottom: 20px;
}

.policy-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.1;
}

.policy-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 8px;
}

.meta-box {
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.meta-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.meta-box span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.policy-body {
  padding: 28px 32px;
}

.policy-section {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--teal);
}

.policy-section p,
.policy-section li {
  color: #374151;
  line-height: 1.65;
}

.policy-section ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

.policy-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--teal-soft);
  border: 1px solid #99f6e4;
}

.policy-callout p {
  margin: 8px 0 0;
  color: #134e4a;
}

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

.toc a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.toc a:hover {
  color: var(--ink);
  background: #e2e8f0;
}

/* Footer */
.site-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.hidden { display: none !important; }

@media (max-width: 960px) {
  .card-grid-2,
  .card-grid-3,
  .auth-layout,
  .field-row-3,
  .field-row-2,
  .policy-meta {
    grid-template-columns: 1fr;
  }

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

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

  .nav { justify-content: flex-start; }

  .panel-pad,
  .panel-pad-lg,
  .policy-hero,
  .policy-body {
    padding: 20px;
  }

  .home-phone {
    right: 24px;
    width: 190px;
    height: 340px;
  }

  .device-visual { min-height: 430px; }
}

/* Homepage */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 30px;
  align-items: center;
  min-height: calc(100vh - 124px);
  padding: 42px 0 28px;
}

.home-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5.5vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.device-visual {
  position: relative;
  min-height: 500px;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(29, 78, 216, 0.9)),
    #0f172a;
  box-shadow: var(--shadow);
  color: #fff;
}

.device-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 54px);
  opacity: 0.65;
}

.home-phone {
  position: absolute;
  right: 58px;
  top: 52px;
  width: 230px;
  height: 410px;
  border-radius: 38px;
  padding: 14px;
  background: #06121f;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(255,255,255,0.22);
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(180deg, #f8fafc, #dff7ef);
  color: var(--ink);
}

.screen-line {
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  margin-bottom: 12px;
}

.screen-line.short { width: 58%; }
.screen-line.med { width: 78%; }
.screen-line.green { background: #99f6e4; }

.screen-block {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbeafe;
}

.visual-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(310px, calc(100% - 56px));
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.visual-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.visual-note span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  font-size: 0.94rem;
}

.home-section {
  padding: 34px 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  text-align: right;
  line-height: 1.55;
}

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

.step-card {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.step-card .num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: #e0f2fe;
  color: var(--blue);
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.95rem;
}

.payment-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.payment-summary {
  border-radius: var(--radius-sm);
  padding: 22px;
  background: var(--ink);
  color: #fff;
}

.payment-summary h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.payment-summary p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.payment-summary .eyebrow {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.payment-list {
  display: grid;
  gap: 12px;
}

.payment-item {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.payment-item strong {
  display: block;
  margin-bottom: 4px;
}

.payment-item span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.94rem;
}

@media (max-width: 940px) {
  .home-hero,
  .payment-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .device-visual { min-height: 460px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head p { text-align: left; }
  .step-cards { grid-template-columns: 1fr; }
}

/* ── Mail-in intake workspace ── */
.intake-workspace {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.intake-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), transparent);
}

.intake-title {
  margin: 8px 0 6px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.intake-lead {
  margin: 0;
  max-width: 58ch;
}

.intake-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intake-steps li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.intake-steps li.is-active {
  border-color: rgba(15, 118, 110, 0.35);
  background: var(--teal-soft);
  color: var(--teal);
}

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

.intake-main {
  display: grid;
  gap: 16px;
  padding: 20px 22px 24px;
}

.intake-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.intake-card--wide { grid-column: 1 / -1; }

.intake-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.intake-card-head h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.intake-card-head p {
  margin: 0;
  font-size: 0.88rem;
}

.intake-card-head .intake-rates-btn {
  margin-left: auto;
  flex-shrink: 0;
}

.intake-step-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.intake-step-badge.optional {
  background: #f1f5f9;
  color: var(--muted);
}

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

.intake-fields input[readonly] {
  background: #f8fafc;
  color: var(--muted);
  cursor: default;
}

button.linkish {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent, #2563eb);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

button.linkish:hover {
  color: #1d4ed8;
}

.intake-notes {
  min-height: 88px;
}

.intake-shop-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.intake-route-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.intake-route-col strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.4;
}

.intake-route-arrow {
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 800;
}

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

.intake-rates-empty {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  text-align: center;
  font-size: 0.92rem;
}

.intake-rates-list .rate-option {
  margin-top: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.intake-rates-list .rate-option:hover {
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-1px);
}

.intake-rates-list .rate-option strong {
  display: block;
  margin-bottom: 4px;
}

.intake-rates-list .rate-option span {
  color: var(--muted);
  font-size: 0.88rem;
}

.intake-rates-list .rate-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
}

.intake-submit-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc, #fff);
}

.intake-submit-bar .terms-row {
  flex: 1;
  min-width: min(100%, 420px);
  margin: 0;
}

.intake-submit-btn {
  min-height: 52px;
  min-width: 220px;
  font-size: 1.02rem;
  font-weight: 800;
}

.intake-aside {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px 18px;
  border-left: 1px solid var(--line);
  background: #f8fafc;
}

.intake-aside-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.intake-aside-card h4 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.intake-aside-card--tip {
  background: var(--teal-soft);
  border-color: rgba(15, 118, 110, 0.2);
}

.intake-aside-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.intake-rates-loading {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 960px) {
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-aside {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .intake-card-head {
    flex-wrap: wrap;
  }

  .intake-card-head .intake-rates-btn {
    margin-left: 0;
    width: 100%;
  }

  .intake-shop-route {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .intake-route-arrow {
    transform: rotate(90deg);
  }

  .intake-submit-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .intake-submit-btn {
    width: 100%;
  }
}
