/*
 * 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 {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-nav {
  max-width: 880px;
  margin: 0 auto;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.site-nav__toggle {
  display: none;
  align-self: flex-start;
  padding: 0.42rem 0.74rem;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
}

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

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  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);
}

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.2rem 1.2rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(120deg, #ffffff 0%, #f5f8ff 100%);
  display: grid;
  gap: 1rem;
}

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

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

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

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

.home-hero__title {
  margin-bottom: 0.5rem;
}

.home-hero__lead {
  max-width: 42rem;
  margin-bottom: 0.9rem;
}

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

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

.home-hero__action {
  display: inline-block;
  border-radius: 8px;
  text-decoration: none;
  padding: 0.46rem 0.8rem;
  border: 1px solid var(--line);
}

.home-hero__action--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.home-hero__action--secondary {
  background: #fff;
  color: var(--text);
}

.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.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  background: var(--surface);
}

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

.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: 0.9rem;
  margin-top: 1rem;
}

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

.home-proof__shot,
.home-flow__step {
  border: 1px solid var(--line);
  border-radius: 14px;
  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 #c7d3e5;
  border-radius: 16px;
  padding: 0.5rem;
  background: linear-gradient(180deg, #eef3fb 0%, #e5edf8 100%);
  box-shadow: 0 18px 40px rgba(14, 24, 39, 0.12);
}

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

.home-hero__overlay {
  position: absolute;
  top: -0.4rem;
  right: 1rem;
  width: min(35%, 285px);
}

.home-proof__image--overlay {
  border-radius: 18px;
  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-flow__steps {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.home-flow__step {
  padding: 0.95rem 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;
}

.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-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 .account-home__highlights {
  margin: 0.9rem 0 1rem;
}

.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__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-heading {
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 700;
}

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

#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__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-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;
}

.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__inline-action {
  margin: 0;
}

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

.auth-form__submit,
.auth-form__submit--secondary {
  min-width: 10rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.auth-form__submit {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.auth-form__submit:hover,
.auth-form__submit:focus-visible {
  background: #0b4ab0;
}

.auth-form__submit--secondary {
  background: #fff;
  color: var(--text);
}

.auth-form__submit--secondary:hover,
.auth-form__submit--secondary:focus-visible {
  background: #f2f5f9;
}

.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.22rem 0.65rem;
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: capitalize;
  font-size: 0.92rem;
}

.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-nav {
  margin-bottom: 1.15rem;
}

.account-nav__scroller {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.account-nav__item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

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

.account-nav__item--active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #eef5ff 0%, #f9fbff 100%);
  color: var(--accent);
}

.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__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;
}

.account-dashboard__settings {
  padding-top: 0.2rem;
}

.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.8rem;
}

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

.admin-accounts-list__item h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}

.chat-widget__launcher {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-weight: 600;
}

.chat-widget__launcher:hover,
.chat-widget__launcher:focus-visible {
  background: #0b4ab0;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(80vh, 46rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.chat-widget__header {
  padding: 0.65rem 0.8rem 0.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.chat-widget__header h2 {
  margin: 0;
  font-size: 1rem;
}

.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;
}

.chat-widget__form {
  margin: 0;
  padding: 0.7rem 0.8rem 0.55rem;
  display: grid;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.chat-widget__examples {
  margin: 0;
  padding: 0.65rem 0.8rem 0.2rem;
  border-bottom: 1px solid var(--line);
  background: #fbfcff;
}

.chat-widget__examples p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

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

.chat-widget__example-buttons button {
  margin: 0;
  text-align: left;
  padding: 0.34rem 0.58rem;
  font-size: 0.88rem;
  line-height: 1.3;
}

.chat-widget__response {
  flex: 1 1 auto;
  min-height: 15rem;
  padding: 0.45rem 0.8rem 0.7rem;
  overflow-y: auto;
}

.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 h2.chat-answer-heading {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.chat-widget__response h3.chat-answer-subheading {
  font-size: 0.98rem;
  margin-top: 0.55rem;
  margin-bottom: 0.25rem;
}

.chat-widget__full-page-link {
  margin: 0;
  padding: 0.55rem 0.8rem 0.75rem;
  border-top: 1px solid var(--line);
  background: #fafbfd;
  font-size: 0.92rem;
}

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

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

  .site-nav {
    padding: 0.7rem 0.9rem;
  }

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

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

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding-top: 0.15rem;
  }

  .site-nav__links--split {
    justify-content: flex-start;
    align-items: stretch;
  }

  .site-nav__group {
    width: 100%;
  }

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

  .site-nav[open] .site-nav__links {
    display: flex;
  }

  .site-nav__link {
    display: block;
    padding: 0.5rem 0.58rem;
  }

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

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

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

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

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

  .auth-card {
    padding: 1rem 0.95rem 0.9rem;
  }

  .account-nav {
    margin-inline: -0.15rem;
    overflow: hidden;
  }

  .account-nav__scroller {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0.15rem 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
  }

  .account-nav__scroller::-webkit-scrollbar {
    display: none;
  }

  .account-nav__item {
    scroll-snap-align: start;
  }

  .auth-form__label-row,
  .account-summary__row,
  .account-dashboard__intro {
    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.75rem;
  }

  .chat-widget {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .chat-widget__panel {
    right: -0.25rem;
    bottom: 3.2rem;
    width: min(25rem, calc(100vw - 1rem));
    max-height: min(85vh, calc(100vh - 1rem));
  }

  .chat-widget--expanded .chat-widget__panel {
    width: min(30rem, calc(100vw - 1rem));
    max-height: min(90vh, calc(100vh - 0.75rem));
  }

  .chat-widget__response {
    min-height: 12.5rem;
  }
}
