/* —— Agency checkout chrome (NOT client theme) —— */
/* Slightly taller preview topbar; Get this site reads stronger than mute links */
:root {
  --banner-h: 42px;
}
.proposal-banner {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  line-height: 1.4;
}
.proposal-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.55rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  text-align: center;
}
.proposal-banner-text {
  margin: 0;
  flex: 0 1 auto;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.4;
  color: #c7d0dc;
}
.proposal-banner-text,
.proposal-banner-text * {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}
.agency-topbar-sep { color: #64748b; font-weight: 500; }
.agency-ttl,
.agency-ttl-sub,
.agency-topbar-label { color: #c7d0dc; white-space: nowrap; }
/* Text links only — never look like site .btn chrome (client CSS often styles button{}) */
.proposal-banner-text .agency-buy-link,
.agency-buy-link,
.proposal-banner button.agency-buy-link {
  all: unset;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  font: inherit !important;
  font-weight: 700 !important;
  font-size: 1.08em !important;
  line-height: inherit !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #FF9F1A !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none;
  vertical-align: baseline !important;
  display: inline !important;
  transform-origin: 50% 60%;
  animation: agency-buy-wobble 4s ease-in-out infinite;
}
.agency-buy-link:hover,
.agency-buy-link:focus-visible { text-decoration: underline !important; color: #FFB84D !important; }
.agency-buy-link:active { color: #F7890B !important; }

@keyframes agency-buy-wobble {
  0%, 86%, 100% { transform: rotate(0deg); }
  88% { transform: rotate(-7deg); }
  90% { transform: rotate(7deg); }
  92% { transform: rotate(-5deg); }
  94% { transform: rotate(4deg); }
  96% { transform: rotate(-2deg); }
  98% { transform: rotate(1deg); }
}

.proposal-banner-text .agency-changes-link,
.agency-changes-link,
.proposal-banner button.agency-changes-link {
  all: unset;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  font: inherit !important;
  font-weight: 500 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  cursor: pointer !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none;
  vertical-align: baseline !important;
  display: inline !important;
}
.agency-changes-link:hover,
.agency-changes-link:focus-visible {
  text-decoration: underline !important;
  color: #e2e8f0 !important;
}
.agency-changes-link:active { color: #e2e8f0 !important; }

.agency-checkout {
  border: 0;
  padding: 0;
  max-width: min(42rem, calc(100vw - 1.25rem));
  width: 100%;
  max-height: calc(100vh - 1.5rem);
  border-radius: 20px;
  background: transparent;
  color: #0B1220;
  overflow: visible;
}
.agency-checkout:not([open]) { display: none; }
.agency-checkout[open] {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: auto;
}
.agency-checkout::backdrop {
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.agency-checkout[open]::backdrop { opacity: 1; }

.agency-checkout-sheet {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  width: 100%;
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1.4, 0.36, 1),
    opacity 0.28s ease;
}
.agency-checkout[open] .agency-checkout-sheet,
.agency-checkout.is-open .agency-checkout-sheet {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.agency-checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  appearance: none;
  border: 0;
  background: #f1f5f9;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #0B1220;
  margin: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.agency-checkout-close:hover { background: #e2e8f0; }
.agency-checkout-close:active { transform: scale(0.92); }

.agency-checkout h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  color: #0B1220;
  letter-spacing: -0.02em;
  padding-right: 3.5rem;
}
.agency-checkout-lead {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.agency-step { display: none; }
.agency-step.is-active {
  display: block;
  animation: agency-step-in 0.38s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.agency-step.is-leaving {
  display: block;
  animation: agency-step-out 0.22s ease both;
  pointer-events: none;
}
@keyframes agency-step-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes agency-step-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-14px); }
}
.agency-step-pay.is-active.from-back { animation-name: agency-step-in-back; }
@keyframes agency-step-in-back {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

.agency-back {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem 3.5rem 0.25rem 0;
  margin: 0 0 0.35rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.agency-back:hover { color: #0B1220; }

.agency-checkout-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .agency-checkout-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
}
.agency-plan {
  position: relative;
  appearance: none;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1rem 1.05rem;
  background: #f8fafc;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
  transition:
    transform 0.22s cubic-bezier(0.22, 1.3, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.agency-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.1);
  border-color: #cbd5e1;
}
.agency-plan:active { transform: translateY(0) scale(0.985); }
.agency-plan-hot {
  border-color: #F7890B;
  background: #fff7ed;
}
.agency-plan.is-selected {
  border-color: #0B1220;
  background: #fff;
  box-shadow: 0 0 0 1px #0B1220, 0 14px 32px rgba(11, 18, 32, 0.12);
}
.agency-plan-hot.is-selected {
  border-color: #F7890B;
  box-shadow: 0 0 0 1px #F7890B, 0 14px 32px rgba(247, 137, 11, 0.22);
  background: #fffaf3;
}
.agency-plan-check {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 2px solid #cbd5e1;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s cubic-bezier(0.22, 1.5, 0.36, 1);
}
.agency-plan-check::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 0.7rem
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2L4.8 8.5 9.5 3.5'/%3E%3C/svg%3E");
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.22, 1.5, 0.36, 1);
}
.agency-plan.is-selected .agency-plan-check {
  background: #0B1220;
  border-color: #0B1220;
  transform: scale(1.05);
}
.agency-plan-hot.is-selected .agency-plan-check {
  background: #F7890B;
  border-color: #F7890B;
}
.agency-plan.is-selected .agency-plan-check::after {
  opacity: 1;
  transform: scale(1);
}
.agency-plan-badge-row {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  margin: 0 0 0.4rem;
}
.agency-plan-badge {
  display: inline-block;
  margin: 0;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #F7890B;
  color: #0B1220;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.agency-plan h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0B1220;
  padding-right: 1.6rem;
  line-height: 1.25;
  min-height: 1.35rem;
}
.agency-plan-price {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.1rem;
  color: #0B1220;
  /* Fixed block so £9 / £90 sit on one shared baseline across cards */
  min-height: 3.55rem;
}
.agency-plan-amount {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  height: 2rem;
  font-variant-numeric: tabular-nums;
}
.agency-plan-unit {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
  height: 1.1rem;
}
.agency-plan-then {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: #0B1220;
}
.agency-plan-sub {
  margin: 0.3rem 0 0.65rem;
  font-size: 0.84rem;
  color: #64748b;
}
.agency-plan-body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.agency-plan-chip {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.3;
  border: 1px solid rgba(99, 102, 241, 0.12);
}
.agency-plan-chip-hot {
  background: #fff7ed;
  color: #9a3412;
  border-color: rgba(247, 137, 11, 0.28);
}

.agency-plan-note {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  background: none;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 550;
  line-height: 1.35;
}
.agency-plan-note-hot {
  color: #c2410c;
  font-weight: 650;
}
.agency-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.4;
}
.agency-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.agency-plan-tick {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23059669' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2L4.8 8.5 9.5 3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.65rem;
}
.agency-plan-hot .agency-plan-tick {
  background-color: #fff7ed;
  border-color: rgba(247, 137, 11, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23C66A08' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2L4.8 8.5 9.5 3.5'/%3E%3C/svg%3E");
}
.agency-plan.is-selected .agency-plan-tick {
  background-color: #ecfdf5;
  border-color: #6ee7b7;
}
.agency-plan-hot.is-selected .agency-plan-tick {
  background-color: #fff7ed;
  border-color: rgba(247, 137, 11, 0.45);
}
.agency-plan ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.45;
}
.agency-plan ul li + li { margin-top: 0.2rem; }

.agency-pay-summary {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.agency-pay-summary-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.agency-pay-summary-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #0B1220;
}
.agency-pay-summary-price {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.4;
}

.agency-fields {
  display: grid;
  gap: 0.75rem;
}
.agency-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.agency-field label {
  font-size: 0.85rem;
  font-weight: 650;
  color: #334155;
}
.agency-field em {
  font-style: normal;
  font-weight: 500;
  color: #94a3b8;
}
.agency-req {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  margin-left: 0.25rem;
  text-transform: lowercase;
}
.agency-field input {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #0B1220;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.agency-field input:hover { border-color: #94a3b8; }
.agency-field input:focus {
  outline: none;
  border-color: #F7890B;
  box-shadow: 0 0 0 3px rgba(247, 137, 11, 0.25);
}

.agency-input-wrap {
  position: relative;
  width: 100%;
}
.agency-input-wrap input {
  padding-right: 2.75rem;
}
.agency-field-clear {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.agency-field-clear[hidden] { display: none !important; }
.agency-field-clear:hover,
.agency-field-clear:focus-visible {
  background: #f1f5f9;
  color: #0B1220;
}
.agency-field-clear:focus-visible {
  outline: 2px solid #F7890B;
  outline-offset: 1px;
}

/* Quiet attribution when fields are prefilled from data-suggest-* / brief. */
.agency-suggest-note {
  margin: -0.45rem 0 0.85rem;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 500;
}
.agency-suggest-note[hidden] { display: none !important; }


.agency-field.is-invalid input,
.agency-field input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.agency-field.is-valid input {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}
.agency-field-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}
.agency-field-msg {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b91c1c;
  line-height: 1.35;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.22s ease, opacity 0.2s ease, transform 0.2s ease, margin 0.2s ease;
}
.agency-field-msg.is-visible {
  max-height: 3rem;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.1rem;
}

/* Optional business details */
.agency-biz {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fafbfc;
  overflow: hidden;
}
.agency-biz-toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #0B1220;
  transition: background 0.15s ease;
}
.agency-biz-toggle:hover { background: #f1f5f9; }
.agency-biz-toggle-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.2s ease;
}
.agency-biz-toggle-icon::before,
.agency-biz-toggle-icon::after {
  content: "";
  position: absolute;
  background: #64748b;
  transition: transform 0.22s cubic-bezier(0.22, 1.3, 0.36, 1), opacity 0.15s ease;
}
.agency-biz-toggle-icon::before {
  width: 0.55rem;
  height: 1.5px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.agency-biz-toggle-icon::after {
  width: 1.5px;
  height: 0.55rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.agency-biz.is-open .agency-biz-toggle-icon {
  background: #F7890B;
  border-color: #F7890B;
}
.agency-biz.is-open .agency-biz-toggle-icon::before,
.agency-biz.is-open .agency-biz-toggle-icon::after {
  background: #0B1220;
}
.agency-biz.is-open .agency-biz-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.agency-biz-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.agency-biz-toggle-text strong {
  font-size: 0.95rem;
  font-weight: 750;
}
.agency-biz-toggle-hint {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}
.agency-biz-panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid transparent;
}
.agency-biz.is-open .agency-biz-panel {
  border-top-color: #e2e8f0;
  animation: agency-biz-in 0.28s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
@keyframes agency-biz-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.agency-biz-note {
  margin: 0.75rem 0 0.85rem;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.4;
}

.agency-checkout-actions {
  margin-top: 1.1rem;
  position: sticky;
  bottom: 0;
  padding-top: 0.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
}
.agency-btn {
  display: block;
  width: 100%;
  appearance: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 750;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.agency-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.agency-btn-primary {
  border: 0;
  background: #F7890B;
  color: #0B1220;
  box-shadow: 0 3px 0 #C66A08;
}
.agency-btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.agency-btn-primary:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #C66A08;
}
.agency-btn-primary.is-busy {
  opacity: 0.75;
  pointer-events: none;
}

.agency-checkout-status {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: #0B1220;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.2s ease;
}
.agency-checkout-status.is-visible {
  max-height: 5rem;
  opacity: 1;
}
.agency-checkout-status.is-ok { color: #15803d; }
.agency-checkout-status.is-err { color: #b91c1c; }
.agency-checkout-foot {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.agency-contact-open {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem 0.35rem;
  margin: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  color: #C66A08;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  -webkit-tap-highlight-color: transparent;
}
.agency-contact-open:hover { color: #9a4e06; }
.agency-contact-open:focus-visible {
  outline: 2px solid #F7890B;
  outline-offset: 3px;
  border-radius: 4px;
}
.agency-checkout-foot-trust {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  user-select: text;
}
.agency-checkout-foot-trust a {
  color: #64748b;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.agency-checkout-foot-trust a:hover { color: #C66A08; }
.agency-copy-email {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0 0.12rem;
  padding: 0.15rem 0.2rem;
  color: #64748b;
  cursor: pointer;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}
.agency-copy-email svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.agency-copy-email:hover { color: #C66A08; }
.agency-copy-email:focus-visible {
  outline: 2px solid #F7890B;
  outline-offset: 2px;
  border-radius: 4px;
}
.agency-copy-email.is-copied { color: #15803d; }
.agency-copy-email-feedback {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1;
}
.agency-checkout-foot > .agency-contact-open { color: #C66A08; font-weight: 650; }

.agency-contact-form { margin-top: 0.25rem; }
.agency-contact-fields { margin-bottom: 1.25rem; }
.agency-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #0B1220;
  background: #fff;
  resize: vertical;
  min-height: 6.5rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.agency-contact-form textarea:focus {
  outline: none;
  border-color: #F7890B;
  box-shadow: 0 0 0 3px rgba(247, 137, 11, 0.18);
}
.agency-field[data-field="contact-message"].is-invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.agency-contact-form > [data-agency-contact-submit] { margin-top: 0.35rem; width: 100%; }
.agency-contact-status {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.88rem;
  line-height: 1.4;
}
.agency-contact-status.is-err {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

@media (prefers-reduced-motion: reduce) {
  .agency-buy-link { animation: none !important; }

  .agency-checkout::backdrop,
  .agency-checkout-sheet,
  .agency-plan,
  .agency-buy-link,
  .agency-changes-link,
  .agency-btn,
  .agency-checkout-close,
  .agency-plan-check,
  .agency-plan-check::after,
  .agency-field input,
  .agency-field-msg,
  .agency-checkout-status,
  .agency-biz-toggle-icon,
  .agency-biz-toggle-icon::before,
  .agency-biz-toggle-icon::after {
    transition: none !important;
  }
  .agency-step.is-active,
  .agency-step.is-leaving,
  .agency-step-pay.is-active.from-back,
  .agency-biz.is-open .agency-biz-panel {
    animation: none !important;
  }
  .agency-checkout-sheet {
    transform: none;
    opacity: 1;
  }
  .agency-plan:hover { transform: none; }
}

/* —— Success / cancel return UI —— */
.agency-btn-ghost {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  color: #0B1220;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.agency-btn-ghost:hover { background: #f8fafc; border-color: #94a3b8; }
.agency-step-result .agency-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.agency-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.35rem 0.25rem 0.15rem;
}
.agency-result-celebrate {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
.agency-result.is-domain-flow .agency-result-celebrate {
  display: none;
}
.agency-result-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0.15rem auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  line-height: 0;
  background: #ecfdf5;
  color: #15803d;
  box-shadow: inset 0 0 0 1px rgba(21, 128, 61, 0.18);
  flex-shrink: 0;
}
.agency-result.is-success .agency-result-icon {
  animation: agency-pop 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) both;
  box-shadow:
    inset 0 0 0 1px rgba(21, 128, 61, 0.22),
    0 0 0 8px rgba(34, 197, 94, 0.12);
}
.agency-result.is-cancel .agency-result-icon {
  background: #fff7ed;
  color: #c2410c;
  box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.16);
  animation: none;
}
.agency-result-icon::before { content: none; }
.agency-result-mark {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
}
.agency-result-mark-cancel { display: none; }
.agency-result.is-cancel .agency-result-mark-check { display: none; }
.agency-result.is-cancel .agency-result-mark-cancel { display: block; }
.agency-result h2 {
  margin: 0 0 0.45rem;
  padding-right: 0; /* don’t offset for Close X — icon + title stay centered */
  text-align: center;
  width: 100%;
}
.agency-result.is-success h2 {
  color: #14532d;
}
.agency-result-celebrate > .agency-checkout-lead,
.agency-result-celebrate > [data-agency-result-lead] {
  text-align: center;
  width: 100%;
  padding-right: 0;
}
.agency-result-body {
  text-align: left;
  margin: 1rem 0 0.35rem;
  width: 100%;
  align-self: stretch;
}
.agency-domain-fork-label {
  margin: 0 0 0.65rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0B1220;
  text-align: center;
}
.agency-domain-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
@media (min-width: 480px) {
  .agency-domain-choices {
    grid-template-columns: 1fr 1fr;
  }
}
.agency-domain-choice {
  appearance: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.95rem 0.9rem;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #0B1220;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 1px 0 rgba(11, 18, 32, 0.04);
}
.agency-domain-choice:hover {
  border-color: #F7890B;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.08);
}
.agency-domain-choice:active { transform: translateY(1px) scale(0.99); }
.agency-domain-choice.is-active {
  border-color: #F7890B;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(247, 137, 11, 0.18);
}
.agency-domain-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #C66A08;
  box-shadow: inset 0 0 0 1px rgba(198, 106, 8, 0.18);
  line-height: 0;
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.agency-domain-choice-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.agency-domain-choice:hover .agency-domain-choice-icon,
.agency-domain-choice.is-active .agency-domain-choice-icon {
  background: #ffedd5;
  color: #C66A08;
  box-shadow: inset 0 0 0 1px rgba(247, 137, 11, 0.35);
}
.agency-domain-choice strong {
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.25;
}
.agency-domain-choice-hint {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #475569;
  font-weight: 500;
}
.agency-domain-panel {
  margin-top: 0.35rem;
  padding: 0.15rem 0 0.25rem;
  animation: agency-slide-in 0.28s ease both;
}
.agency-domain-panel[hidden] { display: none !important; }
.agency-domain-explain,
.agency-domain-after {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
}
.agency-domain-after {
  margin-top: 1rem;
  font-weight: 650;
  color: #0B1220;
}
.agency-domain-panel .agency-btn-primary {
  margin-top: 0.35rem;
}
.agency-buy-domain-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: fit-content;
  margin: 0.65rem auto 0.25rem;
  color: #334155;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.agency-buy-domain-link:hover,
.agency-buy-domain-link:focus-visible {
  color: #0B1220;
}
.agency-buy-domain-link span {
  font-size: 0.9em;
  text-decoration: none;
}
.agency-domain-steps {
  margin-top: 0.9rem;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  animation: agency-slide-in 0.32s ease both;
}
.agency-domain-steps[hidden] { display: none !important; }
.agency-domain-steps-title {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 750;
  color: #0B1220;
  line-height: 1.35;
}
.agency-domain-steps-kicker {
  display: block;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.agency-domain-steps-title strong {
  font-weight: 800;
}
.agency-domain-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.agency-domain-step {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
}
.agency-domain-steps.is-visible .agency-domain-step {
  animation: agency-slide-in 0.35s ease both;
  animation-delay: calc(var(--step-i, 0) * 0.09s);
}
.agency-domain-step-num {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid rgba(247, 137, 11, 0.35);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.agency-domain-step strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 750;
  color: #0B1220;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}
.agency-domain-step span,
.agency-domain-step > div > span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #475569;
}
.agency-domain-step code {
  font-size: 0.8rem;
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}
.agency-domain-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding: 0.55rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}
.agency-domain-cname {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.78rem !important;
  word-break: break-all;
  padding: 0.35rem 0.5rem !important;
  background: #f1f5f9 !important;
  color: #0B1220 !important;
  border-radius: 7px !important;
  max-width: 100%;
}
.agency-domain-copy-icon {
  flex: 0 0 auto;
  margin-left: 0.15rem;
}
.agency-domain-copy-icon .agency-copy-email-feedback {
  /* same as email: absolute / sr feedback via shared rules */
}
.agency-domain-copy-DEPRECATED {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0.35rem 0.7rem !important;
  font-size: 0.8rem !important;
  min-height: 0 !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
}
.agency-domain-copy:hover { background: #f8fafc !important; }
.agency-domain-email-note {
  margin: 0.95rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 550;
}
.agency-domain-help {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #64748b;
}
.agency-domain-help a {
  color: #0B1220;
  font-weight: 650;
}
.agency-result-reassure {
  margin: 1.1rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}
.agency-result.is-success .agency-result-body {
  animation: agency-slide-in 0.4s ease 0.12s both;
}

@keyframes agency-pop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes agency-slide-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.agency-toast {
  position: fixed;
  z-index: 10050;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: #0B1220;
  color: #f8fafc;
  font: 650 0.9rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.28s ease;
  pointer-events: none;
}
.agency-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .agency-toast { transition: none; }
  .agency-result.is-success .agency-result-icon,
  .agency-domain-panel,
  .agency-domain-steps,
  .agency-domain-steps.is-visible .agency-domain-step,
  .agency-result.is-success .agency-result-body {
    animation: none;
  }
  .agency-domain-steps.is-visible .agency-domain-step {
    opacity: 1;
    transform: none;
  }
  .agency-domain-choice:hover { transform: none; }
}


/* Quiet custom-feature quote path — secondary to the standard plans. */
.agency-custom-quote-prompt {
  margin: 0.85rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
}
.agency-custom-quote-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: #C66A08;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.agency-custom-quote-link:hover,
.agency-custom-quote-link:focus-visible { color: #0B1220; }
.agency-quote-form { margin-top: 0.25rem; }
.agency-quote-contact-fields { margin-bottom: 1.75rem; }
.agency-quote-form > [data-agency-quote-submit] { margin-top: 0.5rem; }
.agency-quote-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.agency-quote-options legend {
  width: 100%;
  margin: 0 0 0.45rem;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
}
.agency-quote-option {
  position: relative;
  cursor: pointer;
}
.agency-quote-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.agency-quote-option span {
  display: block;
  padding: 0.45rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.agency-quote-option:hover span { border-color: #94a3b8; }
.agency-quote-option input:checked + span {
  border-color: #F7890B;
  background: #fff7ed;
  color: #7c2d12;
}
.agency-quote-option input:focus-visible + span {
  outline: 2px solid #F7890B;
  outline-offset: 2px;
}
.agency-quote-other-field { margin-bottom: 0.75rem; }
.agency-quote-other-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 5rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  resize: vertical;
  font: inherit;
  font-size: 1rem;
  color: #0B1220;
}
.agency-quote-other-field textarea:focus {
  outline: none;
  border-color: #F7890B;
  box-shadow: 0 0 0 3px rgba(247, 137, 11, 0.25);
}
.agency-quote-status {
  margin: 0.8rem 0 0;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.88rem;
  line-height: 1.4;
}
.agency-quote-status.is-err {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

/* —— Mobile: full-page checkout (not floating card) —— */
@media (max-width: 640px) {
  html.agency-checkout-noscroll,
  html.agency-checkout-noscroll body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .agency-checkout,
  .agency-checkout[open] {
    position: fixed !important;
    inset: 0 !important;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    width: 100% !important;
    width: 100vw !important;
    max-width: none !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100svh !important;
    height: 100dvh !important;
    max-height: none !important;
    max-height: 100svh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-sizing: border-box;
  }
  .agency-checkout:not([open]) { display: none; }
  .agency-checkout::backdrop {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .agency-checkout-sheet {
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 100% !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-top: max(1.1rem, env(safe-area-inset-top, 0px));
    padding-right: max(1.1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1.1rem, env(safe-area-inset-left, 0px));
    transform: translateY(16px);
    /* no scale — looks wrong full-bleed */
  }
  .agency-checkout[open] .agency-checkout-sheet,
  .agency-checkout.is-open .agency-checkout-sheet {
    transform: translateY(0) scale(1);
  }

  .agency-checkout-close {
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .agency-checkout-actions {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin-top: 1rem;
    padding-top: 0.65rem;
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 22%);
  }

  .agency-checkout-foot {
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .agency-checkout-sheet {
    transform: none;
  }
}

/* Domain subflow: private-link reassure duplicates the preview topbar — hide it */
.agency-result.is-domain-flow .agency-result-reassure {
  display: none !important;
}
/* Domain CNAME copy: icon only (no "Copied" text label under/beside) */
.agency-domain-copy-icon .agency-copy-email-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.agency-domain-copy-icon {
  position: relative;
}



/* —— Mobile sticky Get this site (≤640px) —— */
.agency-mobile-buy {
  display: none;
}
@media (max-width: 640px) {
  .agency-mobile-buy {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(0.9rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.9rem, env(safe-area-inset-right, 0px));
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  }
  /* Hide sticky bar while checkout sheet is open */
  html.agency-checkout-noscroll .agency-mobile-buy,
  body:has(.agency-checkout[open]) .agency-mobile-buy {
    display: none;
  }
  .agency-mobile-buy-btn {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font: inherit;
    font-size: 1.02rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-align: center;
    background: #F7890B;
    color: #0B1220;
    box-shadow: 0 3px 0 #C66A08;
    -webkit-tap-highlight-color: transparent;
  }
  .agency-mobile-buy-btn:hover { filter: brightness(1.05); }
  .agency-mobile-buy-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #C66A08;
  }
  /* Keep page content clear of the sticky CTA */
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .agency-mobile-buy-btn { transition: none; }
}
