/*
 * Global stylesheet baseline.
 */

:root {
  --bg: #fcfcfb;
  --surface: #ffffff;
  --text: #1d232b;
  --muted: #5b6470;
  --line: #e4e8ee;
  --accent: #0f5bd8;
  --accent-soft: #eaf1ff;
  --radius: 10px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 0.12em;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-nav {
  max-width: 880px;
  margin: 0 auto;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  width: auto;
  height: 2.08rem;
}

.site-nav--mobile {
  display: none;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(21, 38, 66, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  background: linear-gradient(180deg, #ffffff 0%, #eaf2ff 100%);
}

.site-nav__toggle::-webkit-details-marker {
  display: none;
}

.site-nav__toggle-bars {
  display: inline-flex;
  width: 1.12rem;
  height: 0.92rem;
  position: relative;
}

.site-nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #173560;
  transition: transform 160ms ease, opacity 160ms ease, top 160ms ease;
}

.site-nav__toggle-bars span:nth-child(1) {
  top: 0;
}

.site-nav__toggle-bars span:nth-child(2) {
  top: calc(50% - 1px);
}

.site-nav__toggle-bars span:nth-child(3) {
  top: calc(100% - 2px);
}

.site-nav--mobile[data-state="open"] .site-nav__toggle-bars span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.site-nav--mobile[data-state="open"] .site-nav__toggle-bars span:nth-child(2) {
  opacity: 0;
}

.site-nav--mobile[data-state="open"] .site-nav__toggle-bars span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.site-nav__drawer {
  position: absolute;
  z-index: 25;
  top: calc(100% + 0.35rem);
  right: 0.55rem;
  left: 0.55rem;
  padding: 0.5rem;
  border: 1px solid rgba(21, 38, 66, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 44px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(8px);
}

.site-nav__drawer-links {
  display: grid;
  gap: 0.15rem;
}

.site-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  border: 0;
  background: rgba(14, 23, 38, 0.18);
  cursor: default;
}

.site-nav__form--mobile {
  display: block;
  width: 100%;
}

.site-nav__button--mobile {
  width: 100%;
  text-align: left;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.site-nav__links--signed-out {
  gap: 0.25rem 0.35rem;
}

.site-nav__links--split {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1rem;
}

.site-nav__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.site-nav__group--account {
  justify-content: flex-end;
}

.site-nav__form {
  margin: 0;
  display: inline-flex;
}

.site-nav__link {
  display: inline-block;
  padding: 0.3rem 0.58rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav__button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  line-height: inherit;
  padding: 0.3rem 0.58rem;
  border-radius: 8px;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__button:hover,
.site-nav__button:focus-visible {
  color: var(--text);
  background: #f2f5f9;
}

.site-nav__link--active {
  color: var(--text);
  background: var(--accent-soft);
}

.page-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.1rem 2.6rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 1rem 1.1rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1rem;
}

.site-footer__brand {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
}

.site-footer__link {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.legal-page {
  max-width: 46rem;
}

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

.agents-page__hero-card,
.agents-page__panel,
.agents-page__state-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.agents-page__hero-card {
  padding: 1.2rem;
  align-self: start;
}

.agents-page__eyebrow {
  margin-bottom: 0.45rem;
  color: #7b341e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agents-page__endpoints {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.agents-page__endpoints dt {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.agents-page__endpoints dd {
  margin: 0;
}

.agents-page__hint {
  margin-bottom: 0;
  color: var(--muted);
}

.agents-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
}

.agents-page__panel {
  padding: 1.15rem;
}

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

.agents-page__compact-list {
  list-style: none;
  padding-left: 0;
}

.agents-page__compact-list li {
  display: grid;
  gap: 0.18rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.agents-page__compact-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.agents-page__compact-list span {
  color: var(--muted);
}

.agents-page__state-list {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.agents-page__state-card {
  padding: 0.95rem;
}

.agents-page__state-id,
.agents-page__meta {
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
}

h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin-top: 1.85rem;
}

p,
ul,
ol,
pre,
form {
  margin: 0 0 0.95rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.38rem;
}

section {
  margin-top: 1.6rem;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
}

code {
  background: #f3f6fb;
  border-radius: 6px;
  padding: 0.06rem 0.28rem;
}

pre {
  background: #f3f6fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  overflow-x: auto;
}

button,
input[type="submit"] {
  border: 1px solid #cfd8e6;
  background: #f7f9fc;
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: #eef3fb;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.home-hero {
  margin-top: 0.2rem;
  padding: 1.35rem 1.2rem 1.25rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(15, 91, 216, 0.12) 0%, rgba(15, 91, 216, 0) 34%),
    linear-gradient(135deg, #fffdf8 0%, #f3f7ff 52%, #eef4ff 100%);
  display: grid;
  gap: 1.4rem;
  overflow: hidden;
}

.home-hero__copy {
  max-width: 39rem;
}

.home-hero__media {
  margin: 0;
  position: relative;
  padding-top: 0.35rem;
  display: grid;
  gap: 1rem;
}

.home-hero--owner {
  margin-bottom: 0.7rem;
}

.home-hero__eyebrow {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f5bd8 0%, #3d7ff0 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 91, 216, 0.16);
}

.profile-avatar--hero {
  width: 5.75rem;
  height: 5.75rem;
}

.profile-avatar--editor {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}

.profile-avatar__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__initials {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-hero__kicker {
  margin-bottom: 0.55rem;
  color: #0f5bd8;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.home-hero__title {
  margin-bottom: 0.7rem;
  max-width: 10ch;
  font-size: clamp(2.1rem, 4.9vw, 3.55rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 650;
}

.home-hero__lead {
  max-width: 34rem;
  margin-bottom: 0.95rem;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.home-hero__primary-cta {
  display: none;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-hero__meta {
  margin: 1rem 0 0;
  color: var(--muted);
}

.home-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.9rem 0 0.55rem;
}

.home-hero__signals p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-hero__signals p::before {
  content: "\2022";
  margin-right: 0.45rem;
  color: #0f5bd8;
}

.home-hero__support {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.4rem;
  position: relative;
  z-index: 1;
}

.home-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  min-width: 11.5rem;
  border-radius: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-hero__action--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 91, 216, 0.14);
}

.home-hero__action--primary:hover,
.home-hero__action--primary:focus-visible {
  color: #fff;
  background: #0b4ab0;
  border-color: #0b4ab0;
}

.home-hero__action--secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-color: rgba(207, 216, 230, 0.95);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.home-hero__action--secondary:hover,
.home-hero__action--secondary:focus-visible {
  background: #f8fbff;
  border-color: rgba(15, 91, 216, 0.24);
}

.home-hero__action--primary:hover,
.home-hero__action--primary:focus-visible,
.home-hero__action--secondary:hover,
.home-hero__action--secondary:focus-visible {
  transform: translateY(-1px);
}

.home-section__eyebrow {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-proof,
.home-flow {
  margin-top: 1.35rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 24px;
  padding: 1.2rem 1.2rem 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.home-proof__intro,
.home-flow__intro {
  max-width: 46rem;
}

.home-proof__intro--wide {
  max-width: 40rem;
}

.home-proof__intro h2,
.home-flow__intro h2 {
  margin-bottom: 0.35rem;
}

.home-proof__intro p:last-child,
.home-flow__intro p:last-child {
  margin-bottom: 0;
}

.home-proof__grid,
.home-flow__steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

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

.home-proof__shot,
.home-flow__step {
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.home-proof__shot {
  padding: 0.85rem 0.9rem 0.9rem;
}

.home-proof__copy {
  max-width: 36rem;
  margin-bottom: 0.7rem;
}

.home-proof__label {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-proof__shot h3,
.home-flow__step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.home-proof__image {
  display: block;
  width: 100%;
  border: 1px solid rgba(142, 158, 184, 0.55);
  border-radius: 22px;
  padding: 0.55rem;
  background: linear-gradient(180deg, #eef3fb 0%, #e5edf8 100%);
  box-shadow: 0 24px 48px rgba(14, 24, 39, 0.12);
}

.home-proof__image--hero {
  border-radius: 22px;
}

.home-hero__overlay {
  position: absolute;
  right: -0.35rem;
  bottom: -1.6rem;
  width: min(43%, 300px);
}

.home-proof__image--overlay {
  border-radius: 22px;
  border-color: rgba(15, 91, 216, 0.45);
  padding: 0.35rem;
  background:
    linear-gradient(180deg, rgba(15, 91, 216, 0.14) 0%, rgba(15, 91, 216, 0.06) 100%),
    linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
  box-shadow:
    0 0 0 1px rgba(15, 91, 216, 0.16),
    0 26px 48px rgba(14, 24, 39, 0.18);
}

.home-proof__caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-hero__frame {
  border-radius: 24px;
}

.home-hero__frame-label {
  display: inline-flex;
  margin: 0 0 0.45rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #42516a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-story {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.home-story__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.9fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 254, 0.98) 100%);
}

.home-story__panel--accent {
  background:
    radial-gradient(circle at top right, rgba(15, 91, 216, 0.12) 0%, rgba(15, 91, 216, 0) 34%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.home-story__copy {
  max-width: 34rem;
}

.home-story__copy > :last-child {
  margin-bottom: 0;
}

.home-story__media {
  min-width: 0;
}

.home-flow__steps {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.home-flow__step {
  padding: 1.05rem 1rem;
}

.home-flow__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #0f5bd8;
  font-weight: 700;
}

.home-flow__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.home-testimonials {
  margin-top: 1.35rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 24px;
  padding: 1.2rem 1.2rem 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(15, 91, 216, 0.08) 0%, rgba(15, 91, 216, 0) 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.home-testimonials__intro {
  max-width: 42rem;
}

.home-testimonials__intro h2 {
  margin-bottom: 0.35rem;
}

.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 20rem));
  justify-content: start;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.home-testimonials__item {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem 1rem 0.9rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
}

.home-testimonials__quote {
  margin: 0;
}

.home-testimonials__quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.58;
}

.home-testimonials__quote p::before {
  content: "\201C";
  margin-right: 0.08rem;
  color: rgba(15, 91, 216, 0.6);
  font-size: 1.15em;
  font-weight: 600;
  vertical-align: 0.04em;
}

.home-testimonials__quote p::after {
  content: "\201D";
  margin-left: 0.06rem;
  color: rgba(15, 91, 216, 0.6);
  font-size: 1.15em;
  font-weight: 600;
  vertical-align: 0.04em;
}

.home-testimonials__attribution {
  display: grid;
  gap: 0.14rem;
}

.home-testimonials__attribution strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.home-testimonials__attribution p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.account-home__owner-review {
  margin-top: 0;
  border: 1px solid rgba(15, 91, 216, 0.18);
  border-radius: 12px;
  padding: 0.8rem 0.95rem 0.72rem;
  background: linear-gradient(120deg, #f7fbff 0%, #ffffff 100%);
}

.account-home__owner-review h2 {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.account-home__owner-review p {
  margin-bottom: 0.6rem;
}

.account-home__owner-review-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
}

.account-profile-hero {
  display: grid;
  gap: 1.1rem;
}

.account-profile-hero__identity {
  display: grid;
  justify-items: start;
}

.account-profile-hero--compact {
  gap: 0.9rem;
}

.account-profile-hero__depth {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid rgba(30, 49, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.account-profile-hero__depth-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-profile-hero__depth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.account-profile-hero__depth-item {
  display: grid;
  gap: 0.22rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(30, 49, 77, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: inherit;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.account-profile-hero__depth-item:hover,
.account-profile-hero__depth-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 91, 216, 0.25);
  box-shadow: 0 10px 24px rgba(15, 91, 216, 0.08);
}

.account-profile-hero__depth-label,
.account-profile-hero__depth-value {
  margin: 0;
}

.account-profile-hero__depth-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-profile-hero__depth-value {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
}

.account-profile-hero__context {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.account-home__highlights,
.account-home__grid {
  display: grid;
  gap: 0.9rem;
}

.account-home__highlights {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.account-home__highlight {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.account-home__chat-launch p {
  max-width: 60ch;
}

.account-home__chat-launch .chat-stub__example-buttons {
  margin-top: 0.75rem;
}

.account-home__summary-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.account-home__summary-card p {
  margin: 0;
}

.account-home__summary-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.account-home__question-label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.account-home__summary-link a {
  font-weight: 600;
}

.account-home__section-questions {
  margin-top: auto;
}

.account-home__section-questions button {
  text-align: left;
}

.account-home__product-funnel p {
  max-width: 64ch;
}

.home-dark-factory {
  margin-top: 1.4rem;
}

.about-page__hero {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem 0.85rem;
  background: #fff;
}

.about-page__hero h2 {
  margin-top: 0;
}

.contact-page__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-page__links li {
  margin: 0;
}

.contact-page__label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.about-page__actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
}

.about-page__status {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.work-page__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0.8rem;
}

.work-page__item {
  margin: 0 0 0.75rem;
  padding: 0.8rem 0.9rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.work-page__item h2 {
  margin-top: 0;
  margin-bottom: 0.28rem;
}

.work-page__summary {
  margin-bottom: 0.34rem;
}

.work-page__outcome {
  margin-bottom: 0;
  color: var(--muted);
}

.work-page__status {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.cv-page__experience-list {
  display: grid;
  gap: 0.7rem;
}

.cv-page__experience-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0.82rem 0.9rem 0.72rem;
}

.cv-page__experience-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.cv-page__experience-item p {
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.cv-page__experience-item ul {
  margin-bottom: 0;
}

.cv-page__status {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-stub__form {
  display: grid;
  gap: 0.55rem;
}

.chat-stub--profile {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.42rem;
}

.chat-stub--profile .chat-stub__examples {
  margin-top: 0.1rem;
  display: grid;
  gap: 0.32rem;
}

.chat-stub--profile .chat-stub__examples h2 {
  margin: 0;
}

.chat-stub--profile turbo-frame#chat-response {
  display: block;
  margin-top: 0.12rem;
}

.chat-stub--profile .chat-stub__form {
  margin: 0;
  gap: 0.28rem;
}

.chat-stub--profile .chat-stub__form label {
  margin: 0;
}

.chat-stub--profile .chat-stub__form textarea {
  min-height: 5.1rem;
  line-height: 1.45;
}

.chat-stub--profile .chat-stub__form input[type="submit"],
.chat-stub--profile .chat-stub__form button[type="submit"] {
  margin-top: -0.05rem;
}

.chat-stub--profile #answer {
  display: grid;
  gap: 0.22rem;
  margin-top: 0;
}

.chat-stub--profile .chat-answer-summary {
  margin: 0 0 0.28rem;
}

.chat-stub--profile turbo-frame#chat-response > section {
  margin-top: 0.58rem;
}

.chat-stub--profile turbo-frame#chat-response > section:first-child {
  margin-top: 0;
}

.chat-stub--profile .chat-answer-subheading {
  margin-top: 0.65rem;
  margin-bottom: 0.18rem;
}

.chat-stub--profile ul {
  margin: 0 0 0.32rem;
  padding-left: 1.05rem;
}

.chat-stub--profile li {
  margin-bottom: 0.22rem;
  line-height: 1.45;
}

.chat-stub--profile .chat-stub__example-buttons {
  gap: 0.35rem;
}

.chat-stub--profile .chat-stub__example-buttons button {
  padding: 0.34rem 0.72rem;
  line-height: 1.28;
}

.chat-stub__examples {
  margin-top: 0.2rem;
}

.chat-stub__example-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chat-stub__example-form {
  margin: 0;
}

.chat-stub__example-buttons button {
  text-align: left;
  background: #fff;
  border-color: #c8d3e3;
  box-shadow: 0 1px 0 rgba(15, 91, 216, 0.04);
}

.chat-answer-subheading {
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  font-weight: 700;
  margin-top: 1.45rem;
  margin-bottom: 0.4rem;
}

.chat-answer-summary {
  margin-bottom: 0.95rem;
  line-height: 1.6;
}

#chat-answer-state {
  color: var(--muted);
}

#chat-answer-state:empty {
  display: none;
}

.writing-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.writing-page__title {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 700;
}

.writing-page__intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

.writing-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.writing-page__item {
  margin: 0;
}

.writing-card {
  border: 1px solid rgba(19, 24, 33, 0.14);
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: #fff;
}

.writing-card__date {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.writing-card__title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.35;
}

.writing-card__excerpt {
  margin: 0.55rem 0 0;
  color: var(--text);
}

.writing-card__actions {
  margin: 0.65rem 0 0;
}

.writing-card__read-more {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.writing-card__read-more:hover,
.writing-card__read-more:focus-visible {
  text-decoration: underline;
}

.writing-page__link {
  color: var(--accent);
  transition: color 120ms ease;
  text-decoration: none;
}

.writing-page__link:hover,
.writing-page__link:focus-visible {
  color: #0b4ab0;
  text-decoration: underline;
}

.writing-page__text {
  color: var(--text);
}

.factory-status__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.factory-status__notice {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid #c9dafd;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}

.factory-status__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.factory-status__card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.factory-status__card h3 {
  margin-top: 0;
}

.factory-status__activity-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem 1.05rem 0.7rem;
}

.flash {
  margin-bottom: 1rem;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
}

.flash--notice {
  background: var(--accent-soft);
  border-color: #c9dafd;
}

.flash--alert {
  background: #fff4f2;
  border-color: #f1c4bd;
}

.auth-page {
  max-width: none;
  margin: 0.2rem 0 0;
}

.auth-page__intro {
  margin-bottom: 1rem;
}

.auth-page__back-link {
  margin: 0 0 1rem;
}

.auth-page__utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.auth-page__utility-links .auth-page__back-link {
  margin: 0;
}

.auth-page__utility-links .auth-page__back-link:last-child {
  margin-left: auto;
}

.auth-page__back-link-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.auth-page__back-link-anchor:hover,
.auth-page__back-link-anchor:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.auth-page__back-link-anchor--secondary {
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(207, 216, 230, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #43546d;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-page__back-link-anchor--secondary:hover,
.auth-page__back-link-anchor--secondary:focus-visible {
  color: var(--text);
  border-color: rgba(15, 91, 216, 0.24);
  background: #f8fbff;
}

.auth-page__eyebrow {
  margin-bottom: 0.32rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-page__title {
  margin-bottom: 0.45rem;
}

.auth-page__lead {
  max-width: 38rem;
  color: var(--muted);
}

.auth-page__lead--mobile,
.account-onboarding__mobile-step,
.account-onboarding__mobile-copy {
  display: none;
}

.auth-card {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1rem;
  background: linear-gradient(120deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.auth-card--nested {
  margin-top: 1rem;
  padding: 1rem;
  background: #fbfcff;
  box-shadow: none;
}

.auth-form {
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.auth-form__field {
  display: grid;
  gap: 0.38rem;
}

.profile-avatar-editor {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(207, 216, 230, 0.85);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.profile-avatar-editor__controls {
  display: grid;
  gap: 0.45rem;
}

.auth-form__field label,
.auth-form__label-row label {
  font-weight: 600;
}

.auth-form__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.auth-form__meta-link {
  font-size: 0.92rem;
  white-space: nowrap;
}

.auth-form__hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-form__group {
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}

.auth-form__group legend {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.auth-form__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.auth-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}

.auth-form__checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.auth-form__checkbox--consent {
  align-items: flex-start;
}

.auth-form__checkbox--consent label {
  font-weight: 500;
}

.auth-form__error {
  margin: -0.45rem 0 1rem;
  color: #b42318;
  font-size: 0.98rem;
}

.auth-form__inline-action {
  margin: 0;
}

.auth-form__actions,
.auth-card__actions,
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.app-actions {
  margin-top: 1rem;
}

.app-actions--footer {
  margin-top: 0.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(207, 216, 230, 0.75);
}

.app-actions--compact {
  gap: 0.5rem;
}

.app-actions .button_to,
.app-actions .button_to div {
  margin: 0;
}

.auth-card__actions--priority {
  margin-top: 0.75rem;
}

.auth-card__actions--priority .button_to {
  margin: 0;
}

.auth-card__actions--priority .home-hero__action,
.auth-card__actions--priority .button_to {
  flex: 1 1 14rem;
}

.auth-card__actions--priority .home-hero__action {
  text-align: center;
}

.auth-form__submit {
  cursor: pointer;
  width: fit-content;
}

.auth-form__submit--secondary {
  cursor: pointer;
}

.auth-card__footnote {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(207, 216, 230, 0.75);
  color: var(--muted);
}

.account-summary {
  margin: 0 0 1rem;
}

.account-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(207, 216, 230, 0.75);
}

.account-summary__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.account-summary__row:last-child {
  padding-bottom: 0;
}

.account-summary dt {
  color: var(--muted);
}

.account-summary dd {
  margin: 0;
  font-weight: 600;
}

.account-summary__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.account-resource-list {
  display: grid;
  gap: 0.9rem;
}

.account-resource-list__item {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(207, 216, 230, 0.75);
}

.account-resource-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.account-resource-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.account-resource-list__row h5 {
  margin: 0;
}

.account-resource-list__state {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.account-dashboard {
  margin-bottom: 1.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(207, 216, 230, 0.75);
}

.account-dashboard__welcome,
.account-dashboard__share-callout,
.registration-next-steps {
  margin-bottom: 1.15rem;
}

.account-dashboard__welcome,
.account-dashboard__share-callout {
  padding: 1rem 1.05rem 0.8rem;
  border: 1px solid rgba(207, 216, 230, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.account-dashboard__share-callout {
  background: linear-gradient(120deg, #edf6ff 0%, #f8fbff 100%);
  border-color: rgba(15, 91, 216, 0.22);
}

.account-dashboard__welcome h2,
.account-dashboard__share-callout h2,
.registration-next-steps h2 {
  margin-top: 0;
}

.account-dashboard__welcome-steps,
.registration-next-steps__list {
  margin: 0;
  padding-left: 1.15rem;
}

.account-section-stepper {
  margin-bottom: 1.15rem;
}

.account-section-stepper__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-section-stepper__item {
  position: relative;
  min-width: 0;
}

.account-section-stepper__link {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.account-section-stepper__circle {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.account-section-stepper__label {
  color: rgba(31, 41, 55, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.account-section-stepper__connector {
  position: absolute;
  top: 1rem;
  left: calc(50% + 1rem);
  right: calc(-50% + 1rem);
  height: 1px;
  background: #d7deea;
}

.account-section-stepper__item--complete .account-section-stepper__connector,
.account-section-stepper__item--current .account-section-stepper__connector {
  background: linear-gradient(90deg, rgba(15, 91, 216, 0.42) 0%, rgba(207, 216, 230, 0.9) 100%);
}

.account-section-stepper__item--complete .account-section-stepper__circle {
  border-color: rgba(15, 91, 216, 0.12);
  background: rgba(15, 91, 216, 0.12);
  color: var(--accent);
}

.account-section-stepper__item--current .account-section-stepper__circle {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 91, 216, 0.2);
}

.account-section-stepper__item--attention .account-section-stepper__circle {
  border-color: rgba(180, 83, 9, 0.26);
  background: rgba(255, 251, 235, 0.92);
  color: #9a3412;
}

.account-section-stepper__item--current .account-section-stepper__label {
  color: var(--text);
}

.account-section-stepper__item--complete .account-section-stepper__label {
  color: rgba(31, 41, 55, 0.84);
}

.account-section-stepper__item--attention .account-section-stepper__label {
  color: #7c2d12;
}

.account-section-stepper__item--upcoming .account-section-stepper__label {
  color: rgba(91, 100, 112, 0.88);
}

.account-onboarding-stepper {
  margin: 0 0 1rem;
  padding: 0.1rem 0 0.15rem;
}

.account-onboarding-stepper__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-onboarding-stepper__item {
  position: relative;
  min-width: 0;
}

.account-onboarding-stepper__link {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}

.account-onboarding-stepper__circle {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd8e6;
  background: #fff;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}

.account-onboarding-stepper__label {
  color: rgba(31, 41, 55, 0.84);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.account-onboarding-stepper__connector {
  position: absolute;
  top: 1rem;
  left: calc(50% + 1rem);
  right: calc(-50% + 1rem);
  height: 1px;
  background: #d7deea;
}

.account-onboarding-stepper__item--complete .account-onboarding-stepper__connector,
.account-onboarding-stepper__item--active .account-onboarding-stepper__connector {
  background: linear-gradient(90deg, rgba(15, 91, 216, 0.42) 0%, rgba(207, 216, 230, 0.9) 100%);
}

.account-onboarding-stepper__item--complete .account-onboarding-stepper__circle {
  border-color: rgba(15, 91, 216, 0.12);
  background: rgba(15, 91, 216, 0.12);
  color: var(--accent);
}

.account-onboarding-stepper__item--active .account-onboarding-stepper__circle {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 91, 216, 0.2);
}

.account-onboarding-stepper__item--active .account-onboarding-stepper__label {
  color: var(--text);
}

.account-onboarding-stepper__item--upcoming .account-onboarding-stepper__label {
  color: rgba(91, 100, 112, 0.88);
}

.account-dashboard__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.account-dashboard__intro h2,
.account-dashboard__checklist h3,
.account-dashboard__settings h2 {
  margin-top: 0;
}

.account-dashboard__message,
.account-dashboard__completion {
  color: var(--muted);
}

.account-dashboard__completion {
  font-size: 0.95rem;
}

.account-dashboard__checklist {
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem 0.7rem;
  background: #fff;
}

.account-dashboard__checklist--focus {
  padding: 1.05rem 1.1rem 1rem;
}

.account-dashboard__checklist--secondary {
  background: rgba(255, 255, 255, 0.88);
}

.account-dashboard__checklist--priority {
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.account-dashboard__primary-cta {
  min-width: 12rem;
  box-shadow: 0 12px 24px rgba(15, 91, 216, 0.16);
}

.account-dashboard__primary-cta:hover,
.account-dashboard__primary-cta:focus-visible {
  box-shadow: 0 14px 28px rgba(11, 74, 176, 0.2);
  transform: translateY(-1px);
}

.account-onboarding-step {
  display: grid;
  gap: 0.95rem;
}

.account-onboarding__footer {
  display: grid;
  gap: 0.75rem;
}

.account-onboarding__footer--compact {
  gap: 0.5rem;
}

.account-onboarding__primary-row,
.account-onboarding__secondary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.account-onboarding__primary-row--shared {
  justify-content: flex-start;
}

.account-onboarding__primary-row .button_to,
.account-onboarding__secondary-row .button_to {
  margin: 0;
}

.account-onboarding__primary {
  justify-content: center;
  text-align: center;
}

.account-onboarding__mobile-step {
  margin: 0 0 0.7rem;
  padding: 0.15rem 0.1rem 0.55rem;
  border-bottom: 1px solid rgba(207, 216, 230, 0.75);
}

.account-onboarding__mobile-step-kicker {
  margin-bottom: 0.12rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-onboarding__mobile-step-title {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 700;
}

.account-onboarding-help {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.account-onboarding-help__eyebrow,
.account-onboarding-help__response-question {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-onboarding-help__core-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-onboarding-help__prompt {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(181, 194, 216, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.account-onboarding-help__prompt:hover,
.account-onboarding-help__prompt:focus-visible {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 10px 22px rgba(15, 91, 216, 0.1);
  transform: translateY(-1px);
}

.account-onboarding-help__response {
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 91, 216, 0.16);
  background: linear-gradient(180deg, rgba(237, 245, 255, 0.82) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.account-onboarding-help__clear {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.account-onboarding-help__clear:hover,
.account-onboarding-help__clear:focus-visible {
  text-decoration: underline;
}

.account-dashboard__stepper {
  margin: 1rem 0;
}

.account-dashboard__stepper h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.account-dashboard__stepper-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.account-dashboard__stepper-item {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
  text-decoration: none;
  padding: 0.75rem 0.6rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
}

.account-dashboard__stepper-item:hover,
.account-dashboard__stepper-item:focus-visible {
  border-color: rgba(15, 91, 216, 0.35);
  background: #f8fbff;
}

.account-dashboard__stepper-item--active {
  border-color: rgba(15, 91, 216, 0.32);
  background: linear-gradient(180deg, #eef5ff 0%, #f9fbff 100%);
}

.account-dashboard__stepper-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}

.account-dashboard__stepper-item--active .account-dashboard__stepper-number {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.account-dashboard__stepper-label {
  font-weight: 700;
  text-align: center;
}

.account-dashboard__stepper-status {
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}

.auth-card--account .account-dashboard__settings {
  padding-top: 0;
}

.auth-card--account .account-dashboard__settings > :first-child {
  margin-top: 0;
}

.account-home__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-advanced-fields {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem 0.15rem;
  background: rgba(255, 255, 255, 0.78);
}

.account-advanced-fields summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.account-dashboard__footer-actions {
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(207, 216, 230, 0.75);
}

.admin-accounts-list {
  display: grid;
  gap: 0.65rem;
}

.admin-accounts-toolbar {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.admin-accounts-toolbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(12rem, 0.8fr) auto;
  gap: 0.55rem;
  align-items: end;
}

.admin-accounts-toolbar label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.28rem;
  text-transform: uppercase;
}

.admin-accounts-toolbar__field {
  min-width: 0;
}

.admin-accounts-toolbar input,
.admin-accounts-toolbar select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 2.55rem;
  padding: 0.58rem 0.72rem;
  font: inherit;
  background: #fff;
}

.admin-accounts-toolbar__actions {
  display: flex;
  gap: 0.45rem;
  align-items: end;
  justify-content: flex-start;
}

.admin-accounts-toolbar__actions > * {
  flex: 0 0 auto;
}

.admin-accounts-toolbar__filter {
  min-width: 0;
}

.admin-accounts-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.admin-accounts-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 68, 171, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: inherit;
  text-decoration: none;
  font-size: 0.84rem;
}

.admin-accounts-filter-chip strong {
  font-size: 0.76rem;
}

.admin-accounts-filter-chip--active {
  border-color: rgba(20, 68, 171, 0.32);
  background: rgba(217, 230, 255, 0.9);
}

.admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  min-width: 0;
  padding: 0.5rem 0.78rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(207, 216, 230, 0.95);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-action:hover,
.admin-action:focus-visible {
  transform: translateY(-1px);
}

.admin-action--primary {
  background: #153f91;
  border-color: #153f91;
  color: #fff;
  box-shadow: 0 6px 14px rgba(21, 63, 145, 0.14);
}

.admin-action--primary:hover,
.admin-action--primary:focus-visible {
  background: #11347a;
  border-color: #11347a;
  color: #fff;
}

.admin-action--secondary {
  background: rgba(247, 249, 253, 0.96);
  border-color: rgba(190, 201, 217, 0.95);
}

.admin-action--secondary:hover,
.admin-action--secondary:focus-visible {
  background: #fff;
  border-color: rgba(21, 63, 145, 0.24);
}

.admin-action--utility {
  min-height: 2rem;
  padding: 0.38rem 0.62rem;
  border-color: rgba(206, 214, 226, 0.85);
  background: rgba(250, 251, 253, 0.96);
  color: #43546d;
  font-size: 0.8rem;
  font-weight: 600;
}

.admin-action--utility:hover,
.admin-action--utility:focus-visible {
  color: var(--text);
  border-color: rgba(82, 102, 132, 0.4);
}

.admin-link {
  color: #264774;
  text-decoration: none;
}

.admin-link:hover,
.admin-link:focus-visible {
  color: #173258;
  text-decoration: underline;
}

.admin-link--quiet {
  color: #304860;
}

.admin-link--utility {
  font-size: 0.84rem;
  font-weight: 600;
  color: #526684;
}

.admin-link--truncate {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.admin-account-back-link {
  margin: 0 0 0.4rem;
}

.admin-accounts-list__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.66rem 0.78rem;
  background: #fff;
}

.admin-accounts-list__header {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: start;
}

.admin-accounts-list__item h2 {
  margin-top: 0;
  margin-bottom: 0.18rem;
  font-size: 1.04rem;
}

.admin-accounts-list__title-link {
  color: var(--text);
  text-decoration: none;
}

.admin-accounts-list__title-link:hover,
.admin-accounts-list__title-link:focus-visible {
  color: #173258;
  text-decoration: underline;
}

.admin-accounts-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem 0.6rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-accounts-list__meta span {
  display: inline-flex;
  gap: 0.28rem;
  align-items: baseline;
}

.admin-accounts-list__meta small {
  color: #7a899f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-accounts-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  justify-content: end;
}

.admin-accounts-badges--summary {
  justify-content: start;
  margin-bottom: 0.45rem;
}

.admin-accounts-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  background: rgba(230, 235, 244, 0.85);
  color: #29405f;
  font-size: 0.74rem;
  font-weight: 700;
}

.admin-accounts-badge--success {
  background: rgba(217, 248, 231, 0.95);
  color: #14643b;
}

.admin-accounts-badge--danger {
  background: rgba(255, 228, 228, 0.95);
  color: #8e2929;
}

.admin-accounts-badge--notice {
  background: rgba(229, 237, 255, 0.96);
  color: #1c4fa4;
}

.admin-accounts-badge--warning {
  background: rgba(255, 241, 214, 0.96);
  color: #8a5a08;
}

.admin-accounts-badge--muted {
  background: rgba(230, 235, 244, 0.85);
  color: #51657f;
}

.admin-accounts-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.5rem;
  margin: 0.55rem 0 0;
}

.admin-accounts-fields div {
  padding: 0.5rem 0.58rem;
  border-radius: 9px;
  background: rgba(246, 248, 252, 0.95);
  min-width: 0;
}

.admin-accounts-fields dt {
  margin: 0 0 0.14rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-accounts-fields dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.admin-accounts-list__next-action {
  margin: 0.45rem 0 0;
  padding: 0.34rem 0.5rem;
  border-left: 3px solid rgba(21, 63, 145, 0.28);
  background: rgba(246, 248, 252, 0.72);
  color: #3a4f68;
  font-size: 0.84rem;
  line-height: 1.35;
}

.admin-accounts-list__next-action span {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-accounts-list__next-action strong {
  color: var(--text);
  margin-right: 0.28rem;
}

.admin-accounts-list__next-action--summary {
  margin-top: 0;
}

.admin-accounts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.55rem;
}

.admin-accounts-actions form {
  margin: 0;
}

.admin-accounts-actions--primary {
  margin-top: 0.62rem;
}

.admin-accounts-actions--utility {
  margin-top: 0.28rem;
}

.admin-accounts-empty {
  padding: 1rem;
  border: 1px dashed rgba(82, 102, 132, 0.35);
  border-radius: 12px;
  background: rgba(250, 251, 253, 0.9);
}

.admin-account-panel {
  margin-bottom: 0.8rem;
}

.admin-account-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: start;
}

.admin-account-panel__actions {
  display: grid;
  gap: 0.3rem;
  justify-items: start;
}

.admin-account-panel__header h2,
.admin-account-panel h2 {
  margin-top: 0;
  margin-bottom: 0.28rem;
}

.admin-account-panel__lead {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-testimonials-guide {
  max-width: 34rem;
}

.admin-testimonials-list {
  display: grid;
  gap: 0.7rem;
}

.admin-testimonials-list__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #fff;
}

.admin-testimonials-list__quote {
  margin: 0.5rem 0 0;
  padding-left: 0.75rem;
  border-left: 3px solid rgba(15, 91, 216, 0.24);
}

.admin-testimonials-list__quote p {
  margin: 0;
  line-height: 1.5;
}

.admin-testimonials-list__source {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-testimonial-form__visibility {
  align-content: start;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(207, 216, 230, 0.75);
  border-radius: 12px;
  background: rgba(248, 250, 254, 0.92);
}

.admin-testimonial-form__visibility label:first-child {
  display: none;
}

.admin-testimonial-form__visibility .auth-form__checkbox {
  margin-bottom: 0.35rem;
}

.admin-account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.55rem;
  margin: 0;
  align-items: start;
}

.admin-account-grid div {
  padding: 0.62rem 0.72rem;
  border-radius: 10px;
  background: rgba(246, 248, 252, 0.95);
}

.admin-account-grid dt {
  margin: 0 0 0.14rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-account-grid dd {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.35;
}

.admin-alert {
  margin-top: 0.65rem;
  padding: 0.56rem 0.68rem;
  border: 1px solid rgba(82, 102, 132, 0.18);
  border-radius: 10px;
  background: rgba(250, 251, 253, 0.96);
}

.admin-alert__eyebrow {
  margin: 0 0 0.14rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-alert h3 {
  margin: 0 0 0.18rem;
  font-size: 0.94rem;
}

.admin-alert p:last-child {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.admin-alert--warning {
  border-color: rgba(208, 154, 29, 0.24);
  background: rgba(255, 249, 236, 0.98);
}

.admin-alert--danger {
  border-color: rgba(191, 69, 69, 0.22);
  background: rgba(255, 245, 245, 0.96);
}

.admin-account-checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.admin-account-check {
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(82, 102, 132, 0.18);
  background: #fff;
}

.admin-account-check__kicker {
  margin: 0 0 0.16rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-account-check h3 {
  margin: 0 0 0.2rem;
  font-size: 0.96rem;
}

.admin-account-check p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.admin-account-check--passed {
  border-color: rgba(28, 144, 84, 0.22);
  background: rgba(244, 252, 247, 0.95);
}

.admin-account-check--blocked {
  border-color: rgba(191, 69, 69, 0.22);
  background: rgba(255, 245, 245, 0.96);
}

.admin-account-check--warning {
  border-color: rgba(208, 154, 29, 0.24);
  background: rgba(255, 249, 236, 0.98);
}

.admin-account-history {
  display: grid;
  gap: 0.55rem;
}

.admin-account-history__item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(246, 248, 252, 0.95);
}

.admin-account-history__item h3 {
  margin: 0 0 0.12rem;
  font-size: 0.95rem;
}

.admin-account-history__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.admin-account-history__item time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .admin-accounts-toolbar__row {
    grid-template-columns: 1fr;
  }

  .admin-accounts-toolbar__actions {
    flex-wrap: wrap;
  }

  .admin-accounts-list__header {
    flex-direction: column;
  }

  .admin-accounts-badges {
    justify-content: start;
  }

  .admin-account-panel__header {
    flex-direction: column;
  }

  .admin-account-panel__actions {
    justify-items: start;
  }

  .admin-account-history__item {
    flex-direction: column;
  }
}

.chat-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 30;
}

.chat-widget__launcher {
  border: 1px solid rgba(20, 68, 171, 0.22);
  background: linear-gradient(135deg, #0f4fd1 0%, #2563eb 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 79, 209, 0.26);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  line-height: 1.2;
}

.chat-widget__launcher:hover,
.chat-widget__launcher:focus-visible {
  background: linear-gradient(135deg, #0c45b8 0%, #1d4fd3 100%);
  transform: translateY(-1px);
}

.chat-widget__launcher-kicker,
.chat-widget__launcher-title {
  display: block;
}

.chat-widget__launcher-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.chat-widget__launcher-title {
  font-size: 1rem;
  font-weight: 700;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(80vh, 46rem);
  border: 1px solid rgba(20, 68, 171, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, #eef4ff 0%, #f7faff 17%, #ffffff 38%);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  isolation: isolate;
}

.chat-widget__panel[hidden] {
  display: none;
}

.chat-widget__header {
  padding: 0.85rem 0.95rem 0.7rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.98) 0%, rgba(59, 130, 246, 0.9) 100%);
  color: #fff;
}

.chat-widget__header-copy {
  min-width: 0;
}

.chat-widget__header-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.chat-widget__header h2 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-widget__header-actions {
  display: inline-flex;
  gap: 0.35rem;
}

.chat-widget__size-toggle,
.chat-widget__minimize {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  font-family: inherit;
}

.chat-widget__form {
  margin: 0;
  padding: 0.85rem 0.95rem 0.65rem;
  display: grid;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(20, 68, 171, 0.12);
  background: rgba(255, 255, 255, 0.93);
  font-size: 0.95rem;
}

.chat-widget__form label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.chat-widget__form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
}

.chat-widget__form textarea::placeholder {
  color: #66768c;
}

.chat-widget__form input[type="submit"] {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-widget__examples {
  margin: 0;
  padding: 0.75rem 0.95rem 0.3rem;
  border-bottom: 1px solid rgba(20, 68, 171, 0.12);
  background: rgba(233, 243, 255, 0.92);
}

.chat-widget__examples p {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #31537e;
}

.chat-widget__example-buttons {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.chat-widget__example-buttons button {
  margin: 0;
  text-align: left;
  padding: 0.42rem 0.7rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  box-shadow: none;
}

.chat-widget__response {
  flex: 1 1 auto;
  min-height: 15rem;
  padding: 0.75rem 0.95rem 0.9rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.chat-widget__response section {
  margin-top: 0.7rem;
}

.chat-widget__response section:first-child {
  margin-top: 0;
}

.chat-widget__response p,
.chat-widget__response ul {
  margin-bottom: 0.62rem;
}

.chat-widget__response h3.chat-answer-subheading {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.38rem;
  line-height: 1.3;
}

.chat-widget__response .chat-answer-summary {
  margin-bottom: 0.9rem;
}

.chat-widget__response ul li + li {
  margin-top: 0.28rem;
}

.chat-widget__full-page-link {
  margin: 0;
  padding: 0.65rem 0.95rem 0.85rem;
  border-top: 1px solid rgba(20, 68, 171, 0.12);
  background: rgba(245, 249, 255, 0.98);
  font-size: 0.92rem;
  line-height: 1.35;
}

.chat-widget--expanded .chat-widget__panel {
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(84vh, 52rem);
}

.chat-widget--public .chat-widget__launcher {
  min-width: 12.75rem;
  padding: 0.8rem 1.02rem;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 79, 209, 0.22);
}

.chat-widget--public .chat-widget__panel {
  width: min(26.5rem, calc(100vw - 2rem));
}

.chat-widget--public.chat-widget--expanded .chat-widget__panel {
  width: min(36rem, calc(100vw - 2rem));
}

.chat-widget--app .chat-widget__launcher {
  padding: 0.64rem 0.92rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #eef4ff 0%, #dfeafe 100%);
  border-color: rgba(20, 68, 171, 0.18);
  color: #15408f;
  box-shadow: 0 8px 18px rgba(15, 79, 209, 0.12);
}

.chat-widget--app .chat-widget__launcher:hover,
.chat-widget--app .chat-widget__launcher:focus-visible {
  background: linear-gradient(135deg, #e2ecff 0%, #d4e3ff 100%);
}

.chat-widget--app .chat-widget__launcher-title {
  font-size: 0.95rem;
}

.chat-widget--app .chat-widget__panel {
  width: min(25rem, calc(100vw - 2rem));
}

.chat-widget--app.chat-widget--expanded .chat-widget__panel {
  width: min(34rem, calc(100vw - 2rem));
}

@media (min-width: 48.0625rem) {
  .account-profile-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.9fr);
    align-items: stretch;
    gap: 0.9rem;
  }

  .account-profile-hero--compact {
    grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.82fr);
    gap: 0.8rem;
  }

  .account-profile-hero__identity {
    align-content: center;
    min-height: 100%;
    padding-right: 0.35rem;
  }

  .account-profile-hero__depth {
    align-self: stretch;
    align-content: center;
    padding: 1.15rem 1.1rem;
    gap: 0.85rem;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 255, 0.94) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 18px 40px rgba(19, 60, 130, 0.06);
  }

  .account-profile-hero__depth-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .account-profile-hero__depth-item:last-child {
    grid-column: auto;
  }

  .account-profile-hero__depth-item {
    gap: 0.3rem;
    padding: 0.88rem 0.95rem;
    border-radius: 16px;
  }

  .account-profile-hero__depth-label {
    font-size: 0.74rem;
  }

  .account-profile-hero__depth-value {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .account-profile-hero--compact .account-profile-hero__identity {
    gap: 0.45rem;
  }

  .account-profile-hero--compact .account-profile-hero__context {
    max-width: 50ch;
    font-size: 0.93rem;
  }

  .account-profile-hero--compact .account-profile-hero__depth {
    padding: 1rem;
    gap: 0.7rem;
  }

  .account-profile-hero--compact .account-profile-hero__depth-item {
    padding: 0.8rem 0.88rem;
  }

  .account-profile-hero--compact .account-profile-hero__depth-value {
    font-size: 1.02rem;
  }

  .home-hero--compact {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0.9rem;
  }

  .home-hero--landing {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
  }

  .home-hero--landing .home-hero__copy {
    max-width: 34rem;
  }

  .home-hero--landing .home-hero__title {
    max-width: 10ch;
    font-size: clamp(2.45rem, 4.15vw, 3.85rem);
  }

  .home-hero--landing .home-hero__media {
    width: min(100%, 40rem);
    margin-left: auto;
    padding-top: 0;
    align-content: start;
  }

  .chat-widget--public .chat-widget__launcher {
    min-width: 14.35rem;
    padding: 0.88rem 1.08rem;
  }

  .chat-widget--app .chat-widget__launcher {
    min-width: 0;
  }

  .chat-widget--public .chat-widget__panel {
    bottom: 4rem;
  }

  .home-hero--landing .home-hero__overlay {
    right: -0.8rem;
    top: 3.9rem;
    bottom: auto;
    width: min(35%, 255px);
    z-index: 2;
  }

  .home-hero--landing .home-hero__support {
    width: min(100%, 28rem);
    margin-top: 1.15rem;
    padding-left: 0.35rem;
  }

  .home-hero--landing .home-hero__actions {
    justify-content: flex-start;
  }

  .home-story__panel {
    grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
    gap: 1rem;
    padding: 0.95rem;
  }

  .home-story__panel:nth-child(even) .home-story__copy {
    order: 2;
  }

  .home-story__panel:nth-child(even) .home-story__media {
    order: 1;
  }
}

@media (max-width: 48rem) {
  .page-content {
    padding-top: 0.85rem;
  }

  .site-nav {
    padding: 0.4rem 0.65rem;
    gap: 0.3rem;
    align-items: center;
  }

  .site-nav--desktop {
    display: none;
  }

  .site-nav--mobile {
    display: flex;
    position: relative;
  }

  .site-nav__toggle {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
  }

  .site-brand--mobile {
    min-height: 2.6rem;
  }

  .site-brand__logo {
    height: 1.64rem;
  }

  .site-nav__link {
    display: block;
    padding: 0.52rem 0.58rem;
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .site-nav__button--mobile {
    padding: 0.52rem 0.58rem;
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .site-nav__drawer {
    right: 0.65rem;
    left: 0.65rem;
    padding: 0.42rem;
  }

  .home-hero {
    padding: 0.95rem 0.92rem 1.05rem;
    gap: 1rem;
  }

  .home-hero--compact {
    padding-top: 0.9rem;
    padding-bottom: 0.95rem;
  }

  .account-profile-hero__depth {
    padding: 0.9rem;
    gap: 0.6rem;
  }

  .account-profile-hero__depth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-profile-hero__depth-item:last-child {
    grid-column: 1 / -1;
  }

  .account-profile-hero__depth-value {
    font-size: 0.95rem;
  }

  .home-proof,
  .home-flow {
    padding: 1rem 0.92rem 1.05rem;
  }

  .home-proof__grid,
  .home-flow__steps,
  .home-story__panel {
    grid-template-columns: 1fr;
  }

  .home-proof__shot--profile {
    grid-column: auto;
  }

  .factory-status__grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 0.88rem 0.95rem 0.82rem;
  }

  .auth-page {
    margin-top: 0;
  }

  .auth-page__intro {
    margin-bottom: 0.6rem;
  }

  .auth-page__back-link {
    margin-bottom: 0.75rem;
  }

  .auth-page__utility-links {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem 0.8rem;
    margin-bottom: 0.75rem;
  }

  .auth-page__utility-links .auth-page__back-link:last-child {
    margin-left: 0;
  }

  .auth-page__title {
    margin-bottom: 0.3rem;
  }

  .auth-page__lead--desktop,
  .account-onboarding__desktop-copy,
  .account-onboarding__mobile-step-title {
    display: none;
  }

  .auth-page__lead--mobile,
  .account-onboarding__mobile-step,
  .account-onboarding__mobile-copy {
    display: block;
  }

  .account-section-stepper {
    margin-bottom: 0.9rem;
    padding-top: 0;
  }

  .account-section-stepper__list {
    gap: 0.3rem;
  }

  .account-section-stepper__link {
    gap: 0.32rem;
  }

  .account-section-stepper__circle {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.84rem;
  }

  .account-section-stepper__connector {
    top: 0.85rem;
    left: calc(50% + 0.85rem);
    right: calc(-50% + 0.85rem);
  }

  .account-section-stepper__label {
    display: block;
    min-height: 2.5em;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .account-onboarding-stepper {
    margin-bottom: 0.48rem;
    padding: 0;
  }

  .account-onboarding-stepper__list {
    gap: 0.32rem;
  }

  .account-onboarding-stepper__link {
    gap: 0.28rem;
  }

  .account-onboarding-stepper__circle {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.84rem;
  }

  .account-onboarding-stepper__connector {
    top: 0.85rem;
    left: calc(50% + 0.85rem);
    right: calc(-50% + 0.85rem);
  }

  .account-onboarding-stepper__label {
    display: none;
  }

  .auth-page__lead {
    max-width: none;
    font-size: 0.96rem;
  }

  .auth-page__back-link-anchor {
    font-size: 0.92rem;
  }

  .auth-page__back-link-anchor--secondary {
    padding: 0.48rem 0.72rem;
    font-size: 0.88rem;
  }

  .auth-form__label-row,
  .account-summary__row,
  .account-dashboard__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-avatar-editor {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-home__cards,
  .account-dashboard__stepper-row {
    grid-template-columns: 1fr;
  }

  .home-proof__grid,
  .home-flow__steps {
    grid-template-columns: 1fr;
  }

  .home-hero__overlay {
    position: static;
    width: 100%;
    margin-top: 0.9rem;
  }

  .home-hero__title {
    max-width: none;
    margin-bottom: 0.55rem;
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .home-hero__lead {
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
  }

  .home-hero__signals {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.65rem;
  }

  .home-hero__media {
    gap: 0.55rem;
  }

  .home-hero__primary-cta {
    display: block;
    margin-bottom: 0.8rem;
  }

  .home-hero__support {
    order: 3;
    margin-top: 0;
    gap: 0.6rem;
  }

  .home-hero__frame--profile {
    order: 1;
  }

  .home-hero__actions {
    gap: 0.5rem;
  }

  .auth-card__actions--priority {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-card__actions--priority .home-hero__action,
  .auth-card__actions--priority .button_to,
  .auth-card__actions--priority .button_to button,
  .app-actions .home-hero__action,
  .app-actions .button_to,
  .app-actions .button_to button {
    width: 100%;
  }

  .app-actions,
  .auth-form__actions,
  .auth-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .account-onboarding__primary-row,
  .account-onboarding__secondary-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .account-onboarding__primary-row .home-hero__action,
  .account-onboarding__primary-row .button_to,
  .account-onboarding__primary-row .button_to button,
  .account-onboarding__secondary-row .home-hero__action,
  .account-onboarding__secondary-row .button_to,
  .account-onboarding__secondary-row .button_to button {
    width: 100%;
  }

  .account-onboarding-step {
    gap: 0.55rem;
  }

  .account-dashboard__checklist {
    margin: 0.52rem 0;
    padding: 0.72rem 0.8rem 0.62rem;
  }

  .account-dashboard__checklist--focus {
    padding: 0.74rem 0.84rem 0.68rem;
  }

  .account-dashboard__checklist--secondary {
    padding: 0.65rem 0.75rem 0.5rem;
  }

  .account-onboarding-help__core-actions {
    flex-direction: column;
  }

  .account-onboarding-help__prompt {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .account-dashboard__checklist p,
  .account-dashboard__checklist h3,
  .account-dashboard__checklist h4 {
    margin-bottom: 0.55rem;
  }

  .account-onboarding__footer {
    padding-top: 0.58rem;
    gap: 0.5rem;
  }

  .account-onboarding__footer--compact {
    gap: 0.4rem;
  }

  .account-onboarding__mobile-step {
    margin: 0 0 0.42rem;
    padding: 0.08rem 0.1rem 0.34rem;
  }

  .account-dashboard__primary-cta {
    min-width: 0;
  }

  .account-resource-list {
    gap: 0.55rem;
  }

  .account-resource-list__item {
    padding-top: 0.58rem;
  }

  .account-resource-list__row {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .account-resource-list__row h5 {
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .account-resource-list__state {
    font-size: 0.87rem;
  }

  .home-hero__action--desktop-primary {
    display: none;
  }

  .home-hero__overlay {
    order: 2;
    position: static;
    width: 100%;
    margin-top: 0.2rem;
  }

  .home-hero__frame-label {
    margin-bottom: 0.3rem;
  }

  .home-story {
    gap: 0.85rem;
  }

  .home-story__panel {
    padding: 0.9rem;
  }

  .chat-widget__panel {
    position: fixed;
    top: max(3.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(5rem + env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    max-height: none;
    border-radius: 16px;
  }

  .chat-widget--expanded .chat-widget__panel {
    top: max(0.75rem, env(safe-area-inset-top));
    bottom: calc(5rem + env(safe-area-inset-bottom));
    width: auto;
    max-height: none;
  }

  .chat-widget__response {
    min-height: 12.5rem;
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom));
  }

  .chat-widget__launcher {
    border-radius: 999px;
    padding: 0.72rem 0.95rem;
  }

  .chat-widget--public .chat-widget__launcher {
    min-width: 0;
    align-items: center;
    flex-direction: row;
    gap: 0.45rem;
    padding: 0.72rem 0.95rem;
  }

  .chat-widget--public .chat-widget__launcher-kicker {
    display: none;
  }

  .chat-widget--answered .chat-widget__panel {
    top: max(1rem, env(safe-area-inset-top));
  }

  .chat-widget--answered .chat-widget__form {
    padding-bottom: 0.45rem;
  }

  .chat-widget--answered .chat-widget__response {
    min-height: min(20rem, 46vh);
  }

  .chat-widget__example-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .chat-widget__example-buttons button:nth-child(n + 3) {
    display: none;
  }

  .chat-widget--answered .chat-widget__examples {
    display: none;
  }
}
