:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #fbf8f0;
  --panel: #ffffff;
  --navy: #14396f;
  --teal: #16736f;
  --gold: #c4922f;
  --rose: #b75363;
  --shadow: 0 18px 50px rgba(20, 32, 51, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 248, 240, 0.92), rgba(239, 246, 246, 0.88)),
    radial-gradient(circle at top left, rgba(196, 146, 47, 0.14), transparent 34%),
    #f7f3ea;
  color: var(--ink);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 222, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  display: block;
  width: 44px;
  height: 44px;
}

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

sup {
  font-size: 0.56em;
  margin-left: 2px;
  vertical-align: super;
}

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

nav {
  display: flex;
  gap: 18px;
  color: #344054;
  font-size: 0.94rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

nav a:hover {
  color: var(--navy);
}

nav a.active {
  color: var(--navy);
  font-weight: 900;
}

.account-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.account-icon::before,
.account-icon::after {
  position: absolute;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}

.account-icon::before {
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.account-icon::after {
  bottom: 3px;
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.account-icon.large {
  width: 34px;
  height: 34px;
  color: var(--navy);
}

.account-icon.large::before {
  top: 7px;
  width: 8px;
  height: 8px;
}

.account-icon.large::after {
  bottom: 7px;
  width: 17px;
  height: 8px;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

body[data-view="home"] main > section:not(#home),
body[data-view="create"] main > section:not(#create),
body[data-view="give"] main > section:not(#give),
body[data-view="dashboard"] main > section:not(#dashboard) {
  display: none;
}

body[data-view="create"] .workspace,
body[data-view="give"] .workspace,
body[data-view="dashboard"] .workspace {
  margin-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: 56px 0 40px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 5.45rem);
  line-height: 0.97;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: #475467;
  font-size: 1.14rem;
  line-height: 1.65;
}

.hero-actions,
.form-grid {
  display: flex;
  gap: 12px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  white-space: normal;
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.62);
}

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

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.trust-list div,
.workspace,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 35px rgba(20, 32, 51, 0.07);
}

.trust-list div {
  padding: 16px;
}

dt {
  font-weight: 900;
}

dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-seal {
  text-align: center;
}

.hero-seal p {
  margin: 16px 0 0;
  color: var(--muted);
}

.seal-preview {
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.seal-preview svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 26px rgba(20, 32, 51, 0.16));
}

.seal-preview.compact {
  width: 220px;
}

.workspace {
  margin: 28px 0;
  padding: clamp(20px, 4vw, 34px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

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

.section-actions,
.dashboard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.section-actions {
  grid-column: 2;
  justify-self: end;
  margin-top: -12px;
}

.dashboard-heading {
  align-items: start;
}

.dashboard-heading .eyebrow {
  grid-column: auto;
  margin-bottom: 10px;
}

.dashboard-heading-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.dashboard-actions {
  justify-self: end;
}

.icon-button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.icon-button:hover,
.icon-button.active {
  border-color: var(--navy);
  background: #eef5ff;
}

.back-icon,
.refresh-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}

.back-icon::before {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.back-icon::after {
  position: absolute;
  top: 10px;
  right: 3px;
  left: 5px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.refresh-icon {
  border: 3px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}

.refresh-icon::before {
  position: absolute;
  right: -2px;
  top: 1px;
  width: 0;
  height: 0;
  border-top: 6px solid currentColor;
  border-left: 6px solid transparent;
  content: "";
  transform: rotate(22deg);
}

.gear-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.gear-icon::before,
.gear-icon::after {
  position: absolute;
  inset: -8px 7px;
  border-top: 5px solid currentColor;
  border-bottom: 5px solid currentColor;
  content: "";
}

.gear-icon::after {
  transform: rotate(90deg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.temp-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.premium-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #cfd6e2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 12px;
}

select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 115, 111, 0.12);
}

.input-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #cfd6e2;
  border-radius: var(--radius);
  background: #fff;
}

.input-row span {
  color: var(--muted);
  text-align: center;
}

.input-row input {
  border: 0;
  border-left: 1px solid #e1e6ef;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: none;
}

.autocomplete-wrap {
  position: relative;
  display: grid;
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 15;
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 6px;
}

.suggestions-list[hidden] {
  display: none;
}

.suggestions-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
}

.suggestions-list button:hover,
.suggestions-list button:focus {
  background: #eef5ff;
  outline: none;
}

.suggestions-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.suggestion-empty {
  color: var(--muted);
  padding: 10px;
}

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

.checkbox {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
}

.split-panel {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 26px;
}

.note {
  border-left: 4px solid var(--gold);
  padding: 18px;
  background: #fff9eb;
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

.request-context {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  border: 1px solid #b9c7dd;
  border-radius: var(--radius);
  background: #f3f7ff;
  color: var(--navy);
  padding: 14px 16px;
}

.request-context strong,
.request-context span,
.request-context p {
  margin: 0;
}

.request-context span {
  font-weight: 900;
}

.request-pin-panel {
  margin-bottom: 18px;
  border: 1px solid #b9c7dd;
  border-radius: var(--radius);
  background: #f8fbff;
  padding: 14px 16px;
}

.request-pin-panel .mini-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.request-pin-panel .muted {
  grid-column: 1 / -1;
  margin: 0;
}

.call-feedback-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(18px, 4vw, 26px);
  box-shadow: var(--shadow-soft);
}

.call-feedback-form[hidden],
.call-analytics[hidden] {
  display: none;
}

.call-form-head {
  text-align: center;
}

.call-form-head h3 {
  margin: 4px 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.call-form-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.call-feedback-form fieldset {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.call-feedback-form legend {
  color: #344054;
  font-weight: 900;
}

.star-rating,
.choice-grid {
  display: grid;
  gap: 8px;
}

.star-rating {
  grid-template-columns: repeat(5, 44px);
  justify-content: center;
}

.star-rating button,
.choice-grid button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.star-rating button {
  color: #b8c0cc;
  font-size: 1.55rem;
  line-height: 1;
}

.star-rating button.active,
.choice-grid button.active {
  border-color: var(--gold);
  background: #fff8e6;
  color: var(--navy);
}

.star-rating button.active {
  color: var(--gold);
}

.choice-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.choice-grid.nps {
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 5px;
}

.choice-grid.nps button {
  min-height: 36px;
  padding: 0;
}

.scale-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.call-analytics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.call-analytics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px;
}

.call-analytics span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.call-analytics strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 1.25rem;
}

.call-template-editor {
  display: grid;
  grid-column: 1 / -1;
  gap: 14px;
  border-top: 1px solid #edf0f5;
  padding-top: 14px;
}

.call-template-editor[hidden] {
  display: none;
}

.template-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 12px;
  align-items: end;
}

.template-editor-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

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

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

.request-builder {
  display: none;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.dashboard[data-dashboard-unlocked="true"] .request-builder {
  display: grid;
}

.dashboard[data-settings-open="true"] .request-builder {
  display: none;
}

.request-builder-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.request-form,
.request-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.request-link-panel {
  grid-column: 1 / -1;
  align-items: end;
  border-top: 1px solid #edf0f5;
  padding-top: 14px;
}

#requestLinkInput {
  font-size: 0.82rem;
}

.dashboard-tools {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.dashboard[data-dashboard-unlocked="true"] .dashboard-tools {
  display: flex;
}

.status-panel {
  margin: 14px 0 18px;
  border: 1px solid #b9c7dd;
  border-radius: var(--radius);
  background: #f3f7ff;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.45;
  padding: 14px 16px;
}

.status-panel.error {
  border-color: #e0a8b2;
  background: #fff4f5;
  color: #8d2638;
}

.status-panel.success {
  border-color: #8fc9b9;
  background: #edf9f5;
  color: #0e5f5a;
}

.inline-status {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
}

.inline-status.error {
  color: #8d2638;
}

.inline-status.success {
  color: #0e5f5a;
}

.auth-note {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.account-settings {
  display: none;
  gap: 16px;
  margin: 0 0 18px;
}

.dashboard[data-settings-open="true"] .account-settings {
  display: grid;
}

.dashboard[data-settings-open="true"] .dashboard-tools,
.dashboard[data-settings-open="true"] .inbox-list,
.dashboard[data-settings-open="true"] #unlockForm,
.dashboard[data-settings-open="true"] #unlockInlineStatus,
.dashboard[data-settings-open="true"] #dashboardStatus {
  display: none;
}

.settings-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.settings-bar .eyebrow,
.settings-bar h3 {
  margin: 0;
}

.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settings-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 900;
  padding: 0 14px;
}

.settings-tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.account-card.settings-screen {
  display: none;
}

.account-card.settings-screen.active {
  display: grid;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(260px, 0.95fr);
  gap: 14px;
  margin: 0 0 18px;
}

.account-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.account-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.account-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf0f5;
  padding-top: 10px;
}

.account-facts dt,
.account-facts dd {
  margin: 0;
}

.account-facts dd {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.mini-form {
  display: grid;
  gap: 10px;
}

.chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 800;
  padding: 0 14px;
}

.chip.active {
  border-color: var(--teal);
  background: #e8f5f3;
  color: #0e5f5a;
}

.bin-view-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #344054;
  cursor: pointer;
  font-weight: 900;
  padding: 0 12px;
}

.bin-view-button.active {
  border-color: #8d2638;
  background: #fff4f5;
  color: #8d2638;
}

.bin-view-button strong {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--ink);
  font-size: 0.78rem;
}

.bin-view-button.active strong {
  background: #8d2638;
  color: #fff;
}

#searchInput {
  width: min(100%, 340px);
  margin-left: auto;
}

#sortInput {
  min-height: 42px;
  border: 1px solid #cfd6e2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  padding: 0 10px;
}

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

.feedback-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}

.feedback-meta,
.feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.feedback-meta .icon-action {
  margin-left: auto;
}

.icon-action {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.icon-action:hover {
  border-color: currentColor;
  background: #f7f9fc;
}

.icon-action.danger {
  color: #8d2638;
}

.icon-action.restore {
  color: #0e5f5a;
}

.bin-icon {
  position: relative;
  width: 14px;
  height: 15px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.bin-icon.large {
  width: 17px;
  height: 19px;
}

.bin-icon::before {
  position: absolute;
  top: -6px;
  left: -3px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.bin-icon::after {
  position: absolute;
  top: -9px;
  left: 3px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.restore-icon {
  position: relative;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.restore-icon::before {
  position: absolute;
  top: -4px;
  left: -2px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(22deg);
}

.feedback-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 12px;
}

.tag {
  border-radius: 999px;
  background: #eef5ff;
  color: var(--navy);
  padding: 4px 9px;
  font-weight: 800;
}

.tag.danger {
  background: #fff4f5;
  color: #8d2638;
}

.call-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0;
}

.bin-empty-button[hidden] {
  display: none;
}

.empty-state {
  margin: 0;
  border: 1px dashed #bdc7d8;
  border-radius: var(--radius);
  color: var(--muted);
  padding: 24px;
  text-align: center;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  padding: 34px 0 70px;
}

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

.price-card {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.price-card span,
.price-card small {
  color: var(--muted);
}

.price-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(420px, calc(100% - 36px));
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
  padding: 14px 16px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  main {
    width: min(100% - 28px, 980px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 34px;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .section-actions {
    grid-column: auto;
    justify-self: start;
    margin-top: 0;
  }

  .dashboard-tools {
    align-items: stretch;
  }

  #searchInput {
    width: 100%;
    margin-left: 0;
  }
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 0 10px;
  }

  .hero,
  .account-grid,
  .request-builder,
  .request-form,
  .request-link-panel,
  .request-pin-panel .mini-form,
  .call-analytics,
  .template-editor-head,
  .template-grid,
  .section-heading,
  .form-grid,
  .split-panel,
  .pricing,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-seal {
    order: -1;
  }

  .seal-preview {
    width: min(100%, 280px);
  }

  .choice-grid.five,
  .choice-grid.nps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

  .dashboard-heading-copy,
  .settings-bar {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    justify-self: start;
  }

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

  .dashboard-tools > *,
  #searchInput,
  #sortInput,
  .bin-view-button,
  .bin-empty-button {
    width: 100%;
  }

  .chip,
  .bin-view-button {
    justify-content: center;
  }

  .feedback-meta .icon-action {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  main {
    width: calc(100% - 20px);
  }

  .site-header {
    gap: 12px;
    padding: 12px 10px;
  }

  .brand-mark,
  .brand-mark img {
    width: 38px;
    height: 38px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .workspace {
    margin: 18px 0;
    padding: 16px;
  }

  .hero-actions .button,
  .temp-form .button,
  #unlockButton,
  #upgradeButton,
  #checkoutButton,
  #copyRequestLinkButton {
    width: 100%;
  }

  .input-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .note {
    border-left: 0;
    border-top: 4px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 14px;
  }

  .request-context,
  .status-panel,
  .empty-state {
    padding: 14px;
  }

  .call-feedback-form {
    padding: 16px;
  }

  .star-rating,
  .choice-grid.five,
  .choice-grid.three,
  .choice-grid.nps {
    grid-template-columns: 1fr;
  }

  .settings-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .feedback-card {
    padding: 14px;
  }

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

  .feedback-actions button {
    width: 100%;
  }

  .price-card strong {
    font-size: 2.1rem;
  }

  .toast {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
}
