:root {
  color-scheme: light;
  --ink: #081d35;
  --muted: #557088;
  --soft: #ecf7fb;
  --mist: #f7fbfd;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(37, 93, 126, 0.14);
  --blue: #0f6fec;
  --teal: #13b9bd;
  --cyan: #62d7f8;
  --shadow: 0 28px 90px rgba(19, 75, 119, 0.12);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f8fcff;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(98, 215, 248, 0.3),
      transparent 34rem
    ),
    linear-gradient(180deg, #f9fdff 0%, #eef8fc 48%, #f8fcff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.site-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 6px 12px 6px 15px;
  border: 1px solid rgba(37, 93, 126, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 18px 60px rgba(36, 92, 132, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 124px;
  aspect-ratio: 260 / 58;
  height: auto;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

.brand-logo-frame {
  position: relative;
  width: 124px;
  height: 55px;
  overflow: hidden;
}

.brand.brand-logo-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 124px;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #355672;
  font-size: 0.95rem;
  font-weight: 720;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  transition:
    transform 180ms var(--ease-premium),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease;
}

.nav-links a:hover,
.nav-links .active {
  background: rgba(15, 111, 236, 0.08);
  color: var(--ink);
}

.nav-links .nav-cta {
  border: 1px solid rgba(15, 111, 236, 0.22);
  background: rgba(232, 247, 252, 0.92);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 14px 30px rgba(15, 111, 236, 0.1);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  border-color: rgba(19, 185, 189, 0.34);
  background: rgba(213, 244, 250, 0.96);
  color: var(--ink);
}

.home-page .nav {
  border-color: rgba(15, 111, 236, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(98, 215, 248, 0.06),
    0 1px 0 rgba(15, 111, 236, 0.08),
    0 18px 58px rgba(15, 111, 236, 0.08);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(15, 111, 236, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #7891a7;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.language-toggle button {
  min-height: 0;
  border: 0;
  background: transparent;
  color: #557088;
  padding: 0;
  font: inherit;
  line-height: 1;
}

.language-toggle button.is-active {
  color: var(--blue);
}

.public-assistant-header .language-toggle {
  align-self: flex-start;
  margin-left: auto;
}

.hero,
.page-hero {
  padding: 80px 0 54px;
}

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

.hero-copy,
.page-hero.narrow {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 5vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.portal-hero h1 span {
  display: block;
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.hero-support {
  max-width: 1060px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.75vw, 1.32rem);
  line-height: 1.48;
}

.assistant-home {
  max-width: 990px;
  margin: 46px auto 0;
}

.assistant-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 10px 12px 10px 24px;
  border: 1px solid rgba(15, 111, 236, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home-page .assistant-bar {
  border-color: rgba(15, 111, 236, 0.17);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(98, 215, 248, 0.05),
    0 1px 0 rgba(15, 111, 236, 0.05),
    0 16px 42px rgba(19, 75, 119, 0.08);
}

.assistant-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(98, 215, 248, 0.12);
}

.assistant-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(98, 215, 248, 0.24);
  box-shadow: 0 0 18px rgba(98, 215, 248, 0.18);
  opacity: 0;
  transform: scale(0.78);
  pointer-events: none;
}

.assistant-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 680;
}

.assistant-bar input::placeholder {
  color: #7891a7;
}

.assistant-bar button,
.action-row button,
.mini-actions button {
  min-height: 46px;
  border: 1px solid rgba(15, 111, 236, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 18px;
  font-weight: 800;
}

.assistant-bar button {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 111, 236, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.chips {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.chips button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(37, 93, 126, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: #365a75;
  padding: 0 15px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.assistant-bar:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 236, 0.22);
  box-shadow: 0 30px 90px rgba(19, 75, 119, 0.14);
}

.home-page .assistant-bar:hover,
.home-page .assistant-bar:focus-within {
  border-color: rgba(15, 111, 236, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 0 0 4px rgba(98, 215, 248, 0.08),
    0 16px 44px rgba(19, 75, 119, 0.08);
}

.assistant-bar button:hover,
.chips button:hover {
  transform: translateY(-2px);
}

.assistant-bar button:hover {
  box-shadow: 0 22px 48px rgba(15, 111, 236, 0.26);
}

.assistant-bar button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
  box-shadow: 0 14px 30px rgba(15, 111, 236, 0.14);
}

.chips button:hover {
  border-color: rgba(15, 111, 236, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(19, 75, 119, 0.1);
}

.answer-panel {
  display: block;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(15, 111, 236, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  text-align: left;
}

.answer-panel > div {
  width: 100%;
}

.answer-panel[hidden] {
  display: none;
}

.answer-panel h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.answer-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.home-checklist {
  width: min(100%, 688px);
  margin: 42px auto 0;
  text-align: left;
}

.home-checklist ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 320px));
  grid-template-rows: repeat(5, auto);
  justify-content: center;
  gap: 22px 48px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-checklist li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  min-height: 28px;
  gap: 12px;
  padding: 0;
  color: #24465f;
  font-size: 0.96rem;
  font-weight: 770;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.home-checklist li span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(15, 111, 236, 0.95), rgba(19, 185, 189, 0.92));
  box-shadow: 0 8px 18px rgba(15, 111, 236, 0.17);
}

.home-checklist li span::after {
  content: "";
  width: 9px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

.home-checklist-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.home-checklist-cta .button.primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 111, 236, 0.18);
}

.phone-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 980px);
  margin: 74px auto 0;
  text-align: center;
}

.phone-preview-copy {
  max-width: 760px;
  margin: 0 auto;
}

.phone-preview-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.04;
}

.phone-preview-copy p:last-child {
  max-width: 700px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.58;
}

.phone-render-frame {
  display: block;
  width: min(100%, 680px);
  margin: 34px auto 0;
  filter:
    drop-shadow(0 36px 80px rgba(15, 111, 236, 0.12))
    drop-shadow(0 14px 40px rgba(8, 29, 53, 0.08));
}

.phone-render-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 62px 0;
}

.compact-section {
  padding-top: 20px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.section-heading .section-title-blue {
  color: var(--blue);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  font-weight: 900;
}

.steps-grid,
.use-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.soft-card,
.price-card,
.status-card,
.auth-card,
.final-note {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 70px rgba(19, 75, 119, 0.08);
}

.soft-card {
  padding: 28px;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-color: rgba(15, 111, 236, 0.16);
  background: rgba(232, 247, 252, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -18px 58px rgba(15, 111, 236, 0.05),
    0 22px 70px rgba(19, 75, 119, 0.1);
  backdrop-filter: blur(18px) saturate(135%);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.step-card::before {
  position: absolute;
  inset: 1px 1px auto;
  height: 44%;
  border-radius: 27px 27px 18px 18px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
  pointer-events: none;
}

.step-card::after {
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  background: rgba(15, 111, 236, 0.1);
  content: "";
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-7px);
  border-color: rgba(15, 111, 236, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -18px 58px rgba(15, 111, 236, 0.06),
    0 30px 82px rgba(19, 75, 119, 0.14);
}

.step-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.step-card-head span {
  display: inline-flex;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
}

.step-card h3 {
  color: var(--ink);
  text-shadow: none;
}

.soft-card h2,
.soft-card h3,
.price-card h2 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

.soft-card p,
.price-card p,
.final-note p,
.technical-note,
.auth-card p {
  color: var(--muted);
  line-height: 1.58;
}

.soft-card.step-card p {
  color: #3f5f78;
  font-weight: 650;
  text-shadow: none;
}

.step-card > p {
  position: relative;
  z-index: 1;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cta-row,
.centered-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 850;
  transition:
    transform 180ms var(--ease-premium),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 220ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 42px rgba(8, 29, 53, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.subtle-link {
  box-shadow: none;
}

.split-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 28px;
}

.split-hero .hero-support {
  margin-left: 0;
}

.status-card {
  padding: 24px;
}

dl {
  margin: 0;
}

.status-card div,
.price-card dl div,
.source-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.status-card div:last-child,
.price-card dl div:last-child,
.source-list div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  text-align: right;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 22px;
}

.project-hero {
  padding-bottom: 28px;
  text-align: center;
}

.project-hero-copy {
  max-width: 1040px;
  margin: 0 auto;
}

.project-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.project-status {
  max-width: 960px;
  margin: 0 auto 24px;
  padding: 8px 28px;
}

.project-status dl {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 26px;
}

.project-status div {
  display: grid;
  gap: 6px;
  padding: 18px 0;
}

.project-status dd {
  text-align: left;
}

.project-status a {
  display: inline-block;
  max-width: 100%;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(15, 111, 236, 0.38);
}

.project-status a:hover {
  color: #0b58c3;
  border-color: rgba(15, 111, 236, 0.7);
}

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

.assistant-ops {
  padding: 26px;
}

.assistant-ops header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.assistant-ops h2,
.assistant-ops p {
  margin-bottom: 0;
}

.assistant-ops h2 {
  max-width: 620px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.live-pill {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(19, 185, 189, 0.13);
  color: #087d89;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 850;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.ops-status {
  min-height: 138px;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 22px;
  background: rgba(247, 252, 254, 0.78);
  padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 32px rgba(19, 75, 119, 0.05);
}

.ops-status span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ops-status strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1;
}

.ops-status p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.ops-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: 14px;
  margin-top: 16px;
}

.ops-panel {
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  padding: 18px;
}

.ops-panel h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.question-review {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(37, 93, 126, 0.1);
}

.question-review:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.question-review p {
  color: #244b69;
  font-weight: 720;
  line-height: 1.35;
}

.question-review button,
.ops-action-list button {
  border: 1px solid rgba(15, 111, 236, 0.18);
  border-radius: 999px;
  background: rgba(239, 249, 253, 0.9);
  color: var(--ink);
  padding: 10px 13px;
  font-size: 0.86rem;
  font-weight: 820;
}

.ops-action-list {
  display: grid;
  gap: 10px;
}

.ops-action-list button {
  width: 100%;
  min-height: 43px;
  text-align: left;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.qr-card {
  text-align: center;
}

.qr-card a {
  color: var(--muted);
  font-weight: 720;
  white-space: nowrap;
}

.qr-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 150px;
  height: 150px;
  margin: 8px auto 22px;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.qr-box span {
  margin: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), #196a91);
}

.mini-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.two-columns > article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
}

.source-list strong {
  color: var(--blue);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin: 18px 0;
}

.dashboard-grid-three {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.knowledge-card,
.phone-preview-card {
  padding: 30px;
}

.phone-preview-card {
  text-align: center;
}

.phone-preview-heading {
  margin-bottom: 18px;
}

.phone-preview-heading h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.pipeline-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.pipeline-list p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 13px 15px;
  color: var(--muted);
  font-weight: 720;
}

.pipeline-list strong {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 0.82rem;
}

.phone-frame {
  width: min(310px, 100%);
  margin: 22px auto 0;
  border: 1px solid rgba(37, 93, 126, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(232, 247, 252, 0.76)
    ),
    #fff;
  padding: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 26px 66px rgba(15, 111, 236, 0.13);
}

.phone-top {
  width: 72px;
  height: 6px;
  margin: 2px auto 12px;
  border-radius: 999px;
  background: rgba(37, 93, 126, 0.2);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  border-radius: 26px;
  background: #fff;
  padding: 22px 16px 16px;
}

.phone-assistant-head {
  margin-bottom: 24px;
  text-align: center;
}

.phone-assistant-head h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.phone-sample-questions {
  display: grid;
  gap: 9px;
}

.phone-sample-questions button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 16px;
  background: rgba(247, 252, 254, 0.94);
  color: #31536c;
  font-size: 0.86rem;
  font-weight: 780;
  text-align: left;
  transition:
    transform 200ms var(--ease-premium),
    border-color 200ms ease,
    box-shadow 220ms ease;
}

.phone-sample-questions button:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 236, 0.2);
  box-shadow: 0 12px 28px rgba(15, 111, 236, 0.09);
}

.phone-typebox {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  text-align: left;
}

.phone-typebox span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.phone-typebox input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(37, 93, 126, 0.16);
  border-radius: 999px;
  background: rgba(247, 252, 254, 0.96);
  padding: 0 16px;
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 30px rgba(19, 75, 119, 0.08);
}

.public-assistant-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 34px 18px;
}

.public-phone-shell {
  width: min(440px, 100%);
  border: 1px solid rgba(37, 93, 126, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95),
      rgba(247, 252, 254, 0.9)
    ),
    #fff;
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 28px 88px rgba(19, 75, 119, 0.13);
}

.public-assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.public-assistant-header h1 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 12vw, 3.45rem);
}

.public-chips {
  margin: 18px 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-bottom: 4px;
}

.public-chat {
  display: grid;
  gap: 12px;
}

.public-chat .message {
  max-width: none;
  margin-bottom: 0;
}

.public-user-message {
  margin-left: 34px;
  background: rgba(15, 111, 236, 0.09);
  color: var(--ink);
}

.public-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 16px;
}

.public-input-row button {
  min-height: 52px;
  border: 1px solid rgba(15, 111, 236, 0.34);
  border-radius: 16px;
  background: rgba(232, 247, 252, 0.92);
  color: var(--ink);
  padding: 0 16px;
  font-weight: 850;
}

.public-contact {
  width: 100%;
  margin-top: 16px;
}

.metric-panel {
  display: grid;
  min-height: 142px;
  align-content: center;
  justify-items: center;
  border-color: rgba(37, 93, 126, 0.16);
  border-radius: 24px;
  padding: 22px 18px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 16px 52px rgba(19, 75, 119, 0.07);
}

.metric-panel .eyebrow {
  margin-bottom: 12px;
  color: #47657c;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.metric-panel strong {
  display: block;
  max-width: 13ch;
  margin-bottom: 7px;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  font-weight: 850;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.metric-panel span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

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

.metric-grid div {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.metric-grid strong {
  display: block;
  font-size: 2rem;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 720;
}

.final-note {
  margin-bottom: 86px;
  padding: 30px;
}

.final-note p {
  max-width: 820px;
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 18px 0 38px;
}

.price-card {
  padding: 30px;
}

.price-card.featured {
  border-color: rgba(15, 111, 236, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 111, 236, 0.08), rgba(98, 215, 248, 0.12)),
    #fff;
}

.price-card dd {
  font-size: 1.15rem;
}

.pricing-page {
  position: relative;
  padding-bottom: 90px;
}

.pricing-page::before {
  position: absolute;
  z-index: -1;
  inset: 92px 0 auto;
  height: 520px;
  background:
    radial-gradient(circle at 50% 0%, rgba(98, 215, 248, 0.15), transparent 48%),
    linear-gradient(180deg, rgba(232, 247, 252, 0.46), rgba(255, 255, 255, 0));
  pointer-events: none;
  content: "";
}

.pricing-hero {
  padding-bottom: 14px;
  text-align: center;
}

.pricing-hero h1 {
  max-width: 1160px;
  margin-bottom: 0;
  margin-right: auto;
  margin-left: auto;
}

.pricing-hero h1 span {
  display: block;
}

.pricing-section {
  padding: 28px 0 48px;
}

.section-heading p {
  max-width: 780px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.pay-card,
.custom-note {
  border: 1px solid rgba(37, 93, 126, 0.13);
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.86),
      rgba(236, 247, 251, 0.66)
    ),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(19, 75, 119, 0.08);
  backdrop-filter: blur(18px);
}

.pay-card {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.pay-card h3,
.plan-card h3,
.custom-note h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.pay-card p,
.plan-card p,
.custom-note p {
  color: var(--muted);
  line-height: 1.58;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: #244b67;
  font-weight: 700;
  line-height: 1.42;
}

.clean-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 0 0 4px rgba(19, 185, 189, 0.1);
  content: "";
}

.plan-grid {
  padding: 0;
}

.single-plan-grid {
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.plan-card {
  display: flex;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  gap: 22px;
  padding: 38px 34px 34px;
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(247, 251, 253, 0.8)
    ),
    #fff;
}

.single-plan-card {
  gap: 20px;
  padding: 34px;
  border-color: rgba(15, 111, 236, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 253, 0.82)),
    rgba(247, 252, 254, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -34px 70px rgba(15, 111, 236, 0.045),
    0 30px 90px rgba(19, 75, 119, 0.13);
  backdrop-filter: blur(18px) saturate(125%);
}

.plan-card .eyebrow {
  margin-bottom: 18px;
}

.plan-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.25vw, 2.08rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.single-plan-card h3 {
  margin: 0 auto 2px;
  max-width: 620px;
  text-align: center;
  white-space: normal;
}

.plan-card > p:not(.eyebrow) {
  min-height: 76px;
  margin-bottom: 0;
}

.single-plan-card > p:not(.eyebrow) {
  min-height: 0;
}

.plan-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  content: "";
}

.featured-plan {
  border-color: rgba(15, 111, 236, 0.22);
  background:
    linear-gradient(135deg, rgba(15, 111, 236, 0.08), rgba(19, 185, 189, 0.1)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 90px rgba(15, 111, 236, 0.12);
}

.featured-plan::before {
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--cyan));
}

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

.single-plan-card .price-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-stack div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88),
      rgba(249, 253, 255, 0.72)
    ),
    rgba(255, 255, 255, 0.78);
  padding: 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.single-plan-card .price-stack div {
  display: grid;
  grid-template-rows: 18px auto 18px;
  align-items: center;
  justify-items: center;
  min-height: 126px;
  border: 1px solid rgba(54, 107, 137, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(233, 248, 253, 0.86)),
    rgba(246, 252, 254, 0.84);
  padding: 24px 20px;
  row-gap: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 34px rgba(19, 75, 119, 0.075);
  text-align: center;
}

.single-plan-card .clean-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}

.price-stack span,
.plan-detail h4 {
  display: block;
  margin-bottom: 8px;
  color: #5d7890;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-plan-card .price-stack > div > span {
  margin: 0;
  color: #648098;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  line-height: 1;
}

.price-stack strong {
  display: block;
  color: var(--ink);
  line-height: 1.1;
}

.single-plan-card .price-stack strong {
  align-self: center;
  min-width: 0;
  margin: 0;
}

.price-stack .price-amount,
.price-period {
  display: block;
}

.price-stack .price-amount {
  color: var(--ink);
  font-size: clamp(1.58rem, 2vw, 1.92rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
  white-space: nowrap;
}

.price-stack .price-amount span {
  display: inline;
  font-size: 0.72em;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.price-stack .price-period {
  margin-top: 7px;
  color: #47677f;
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
}

.price-stack small {
  align-self: center;
  min-height: 18px;
  margin: 0;
  color: #54748b;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.plan-detail {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.plan-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  color: #41627a;
  font-size: 0.9rem;
  font-weight: 850;
}

.plan-reassurance span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(19, 185, 189, 0.12);
  color: #14735e;
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-card .button {
  align-self: center;
  margin-top: 0;
}

.pricing-button {
  min-height: 54px;
  border: 1px solid rgba(15, 111, 236, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(232, 247, 252, 0.78)
    ),
    rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 34px rgba(15, 111, 236, 0.1);
}

.single-plan-card .pricing-button {
  min-width: min(100%, 240px);
  background:
    linear-gradient(180deg, rgba(20, 146, 241, 0.98), rgba(10, 103, 215, 0.98)),
    var(--blue);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 44px rgba(15, 111, 236, 0.22);
}

.pricing-button:hover {
  border-color: rgba(19, 185, 189, 0.36);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(213, 244, 250, 0.86)
    ),
    rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.single-plan-card .pricing-button:hover {
  border-color: rgba(15, 111, 236, 0.34);
  background:
    linear-gradient(180deg, rgba(35, 156, 246, 1), rgba(8, 94, 205, 1)),
    var(--blue);
  color: #ffffff;
}

.custom-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin: 22px 0 52px;
  padding: 34px 34px 34px 36px;
}

.custom-note > div {
  display: grid;
  gap: 10px;
  max-width: 740px;
}

.custom-note h2 {
  margin-bottom: 0;
}

.custom-note p {
  max-width: none;
  margin-bottom: 0;
}

.custom-note .pricing-button {
  flex-shrink: 0;
  min-width: 174px;
  border-color: rgba(15, 111, 236, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(15, 111, 236, 0.13);
}

.auth-main {
  display: grid;
  min-height: calc(100vh - 130px);
  place-items: center;
  padding: 54px 0 86px;
}

.auth-card {
  width: min(520px, 100%);
  border-color: rgba(37, 93, 126, 0.22);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(250, 254, 255, 0.9)
    ),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 70px rgba(19, 75, 119, 0.11),
    0 0 0 1px rgba(98, 215, 248, 0.1);
  padding: 34px;
}

.auth-card.wide {
  width: min(720px, 100%);
}

.auth-card h1 {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  white-space: normal;
}

.auth-card .login-title {
  font-size: clamp(3.4rem, 6.2vw, 4.55rem);
  white-space: nowrap;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.two-field-form {
  grid-template-columns: repeat(2, 1fr);
}

.two-field-form > label:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: #365a75;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 0 15px;
  outline: 0;
  transition:
    transform 180ms var(--ease-premium),
    border-color 180ms ease,
    box-shadow 220ms ease,
    background 180ms ease;
}

textarea {
  min-height: 112px;
  resize: vertical;
  padding: 14px 15px;
  line-height: 1.45;
}

select {
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, #557088 50%),
    linear-gradient(135deg, #557088 50%, transparent 50%),
    linear-gradient(180deg, #ffffff, #fafdff);
  background-position:
    calc(100% - 22px) 23px,
    calc(100% - 16px) 23px,
    0 0;
  background-repeat: no-repeat;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
}

form .button {
  width: 100%;
  margin-top: 8px;
}

.auth-submit {
  border: 1px solid rgba(15, 111, 236, 0.42);
  background:
    linear-gradient(180deg, rgba(44, 160, 245, 0.98), rgba(15, 111, 236, 0.96)),
    #0f6fec;
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 42px rgba(15, 111, 236, 0.22);
}

.auth-submit:hover {
  border-color: rgba(19, 185, 189, 0.5);
  background:
    linear-gradient(180deg, rgba(48, 184, 245, 0.98), rgba(13, 100, 219, 0.98)),
    #0d64db;
}

.two-field-form .button {
  grid-column: 1 / -1;
}

.full-span {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #31536c;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.45;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(37, 93, 126, 0.1);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 720;
  line-height: 1.45;
  text-align: center;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  text-underline-offset: 4px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.auth-switch a:hover {
  color: #0d64db;
  text-decoration: underline;
  text-decoration-color: rgba(15, 111, 236, 0.34);
}

.dashboard-main {
  padding: 48px 0 90px;
  max-width: 1160px;
  margin: 0 auto;
}

.dashboard-main .field-group,
.dashboard-main label {
  display: grid;
  gap: 11px;
  align-content: start;
  margin: 0 0 10px;
  line-height: 1.35;
}

.dashboard-main .field-label,
.dashboard-main label {
  color: #365a75;
  font-size: 0.91rem;
  font-weight: 820;
}

.dashboard-main .field-input,
.dashboard-main input:not([type="checkbox"]),
.dashboard-main select,
.dashboard-main textarea {
  min-height: 56px;
  padding: 0 16px;
  line-height: 1.35;
}

.dashboard-main textarea {
  padding: 16px;
  line-height: 1.55;
}

.field-hint {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-main select {
  padding-right: 46px;
  background-position:
    calc(100% - 23px) 25px,
    calc(100% - 17px) 25px,
    0 0;
}

.dashboard-main .button,
.dashboard-main button {
  min-height: 48px;
}

.dashboard-main .two-field-form {
  gap: 28px 18px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.dashboard-hero > div {
  max-width: 720px;
  min-width: 0;
  margin: 0 auto;
}

.dashboard-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  overflow-wrap: anywhere;
}

.dashboard-hero p {
  max-width: 48ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto 22px;
}

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

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

.dashboard-url {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem) !important;
  overflow-wrap: anywhere;
}

.setup-progress {
  overflow: hidden;
  height: 12px;
  margin: 28px 0 24px;
  border-radius: 999px;
  background: rgba(37, 93, 126, 0.1);
}

.setup-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.setup-checklist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: setup;
}

.setup-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 16px;
  background: rgba(247, 252, 254, 0.8);
  padding: 9px 11px;
  color: #31536c;
  font-weight: 780;
  counter-increment: setup;
}

.setup-checklist li::before {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 111, 236, 0.1);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  content: counter(setup);
}

.setup-checklist .is-current {
  border-color: rgba(15, 111, 236, 0.24);
  background: rgba(232, 247, 252, 0.94);
  color: var(--ink);
}

.dashboard-build-form {
  display: grid;
  gap: 22px;
  margin-top: 0;
}

.dashboard-sequence {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 22px;
  background: rgba(247, 252, 254, 0.72);
  padding: 14px;
  text-align: center;
}

.dashboard-sequence span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  color: #31536c;
  font-size: 0.86rem;
  font-weight: 850;
}

.nested-form {
  margin-top: 0;
}

.intake-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  border: 1px solid rgba(37, 93, 126, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  padding: 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 14px 34px rgba(19, 75, 119, 0.045);
}

.intake-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 760px;
}

.intake-step span {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.intake-step h3 {
  margin-bottom: 7px;
  font-size: 1.34rem;
  letter-spacing: 0;
}

.intake-step p {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.48;
}

.intake-fields {
  display: grid;
  gap: 28px;
  width: 100%;
}

.intake-fields textarea {
  min-height: 88px;
}

.luga-context-fields {
  gap: 18px;
}

.luga-context-editor {
  display: grid;
  gap: 24px;
}

.luga-context-editor[hidden],
.luga-context-preview[hidden] {
  display: none;
}

.luga-context-field textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
}

.luga-context-preview {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(19, 185, 189, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 251, 252, 0.78)),
    #ffffff;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.luga-context-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.luga-context-preview-head div {
  display: grid;
  gap: 5px;
}

.luga-context-preview-head span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.luga-context-preview-head strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.luga-context-preview p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #365a75;
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.source-groups {
  gap: 22px;
}

.source-group {
  display: grid;
  gap: 22px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 252, 254, 0.68)),
    rgba(247, 252, 254, 0.58);
  padding: 24px;
}

.source-group h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}

.social-field-grid,
.quick-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 18px;
}

.social-save-field {
  position: relative;
}

.social-save-field.is-saved::after {
  content: "Guardado";
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid rgba(21, 155, 112, 0.2);
  border-radius: 999px;
  background: rgba(232, 250, 244, 0.92);
  color: #147a5a;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.social-save-field.is-saved input {
  border-color: rgba(21, 155, 112, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 253, 249, 0.96)),
    #fff;
  box-shadow: 0 0 0 4px rgba(21, 155, 112, 0.08);
}

.social-save-field.is-dirty::after {
  content: "Editado";
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid rgba(15, 111, 236, 0.16);
  border-radius: 999px;
  background: rgba(236, 247, 255, 0.92);
  color: #1265c7;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.inline-action {
  width: fit-content;
  min-width: 210px;
}

.file-upload-field {
  border: 1px dashed rgba(15, 111, 236, 0.28);
  border-radius: 18px;
  background: rgba(239, 249, 253, 0.65);
  padding: 16px;
}

.document-upload-fields {
  gap: 24px;
}

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

.premium-upload {
  position: relative;
  min-height: 188px;
  border-style: solid;
  border-color: rgba(37, 93, 126, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 252, 254, 0.72)),
    rgba(247, 252, 254, 0.72);
  padding: 24px;
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    transform 260ms var(--ease-premium);
}

.premium-upload::after {
  display: inline-grid;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(15, 111, 236, 0.18);
  border-radius: 999px;
  background: rgba(15, 111, 236, 0.08);
  padding: 0 15px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 880;
  content: "Elegir archivo";
}

.premium-upload:hover,
.premium-upload:focus-within {
  transform: translateY(-2px);
  border-color: rgba(15, 111, 236, 0.28);
  box-shadow: 0 22px 70px rgba(19, 75, 119, 0.1);
}

.premium-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.premium-upload .upload-kicker {
  margin: 0;
  color: #47657c;
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-upload strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}

.premium-upload em,
.premium-upload small {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 730;
  line-height: 1.35;
}

.premium-upload small {
  max-width: 40ch;
  font-size: 0.82rem;
}

.upload-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.upload-file-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 8px;
  border: 1px solid rgba(37, 93, 126, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 6px 10px 6px 7px;
  color: #31536c;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(19, 75, 119, 0.06);
}

.upload-file-chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-file-thumb {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15, 111, 236, 0.18);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 246, 255, 0.9)),
    rgba(15, 111, 236, 0.08);
  color: #1265c7;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 -8px 14px rgba(15, 111, 236, 0.08);
}

.file-upload-field input {
  min-height: auto;
  margin-top: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.dashboard-main .file-upload-field input {
  min-height: auto;
  padding: 0;
}

.dashboard-main .premium-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload-field span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-builder {
  position: relative;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 22px;
  background: rgba(247, 252, 254, 0.72);
  padding: 22px;
}

.faq-builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.faq-builder h4 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1rem;
}

.faq-builder p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.small-button {
  width: auto;
  min-height: 40px;
  margin-top: 0;
  padding: 0 14px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.faq-builder-head .button {
  flex: 0 0 auto;
  width: auto;
  min-width: 190px;
  margin-top: 0;
}

.faq-builder.is-saved {
  border-color: rgba(21, 155, 112, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(243, 253, 249, 0.72)),
    rgba(247, 252, 254, 0.58);
}

.faq-builder.is-saved .faq-builder-head h4::after {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 10px;
  border: 1px solid rgba(21, 155, 112, 0.2);
  border-radius: 999px;
  background: rgba(232, 250, 244, 0.96);
  color: #147a5a;
  padding: 3px 9px;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  content: "Guardado";
}

.faq-list {
  display: grid;
  gap: 26px;
}

.faq-pair {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  border-top: 1px solid rgba(37, 93, 126, 0.1);
  padding-top: 22px;
}

.faq-pair.is-saved input,
.faq-pair.is-saved textarea {
  border-color: rgba(21, 155, 112, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 253, 249, 0.96)),
    #fff;
  box-shadow:
    0 0 0 4px rgba(21, 155, 112, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.faq-pair.is-saved::after {
  position: absolute;
  top: 20px;
  right: 0;
  border: 1px solid rgba(21, 155, 112, 0.24);
  border-radius: 999px;
  background: rgba(232, 250, 244, 0.98);
  color: #147a5a;
  padding: 5px 11px;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  content: "Respuesta guardada";
}

.faq-pair:first-child.is-saved::after {
  top: -2px;
}

.faq-pair.is-dirty input,
.faq-pair.is-dirty textarea {
  border-color: rgba(15, 111, 236, 0.28);
  box-shadow: 0 0 0 4px rgba(15, 111, 236, 0.06);
}

.faq-pair:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq-pair textarea {
  height: 56px;
  min-height: 56px;
  resize: vertical;
}

.faq-row-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 8px;
}

.faq-row-actions .button {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  margin-top: 0;
}

.faq-row-actions .button.ghost {
  border: 1px solid rgba(37, 93, 126, 0.16);
  background: transparent;
  color: #31536c;
  box-shadow: none;
}

.source-status-grid,
.knowledge-block-grid,
.missing-list,
.publish-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.source-status-grid article,
.knowledge-block-grid article,
.missing-list article,
.publish-grid article {
  display: grid;
  gap: 14px;
  min-height: 124px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(19, 75, 119, 0.045);
}

.source-card {
  align-content: start;
}

.source-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.source-card p {
  margin: 0;
  color: #31536c;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.source-type-badge,
.status-badge,
.knowledge-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.source-type-badge {
  flex: 0 0 auto;
  background: rgba(37, 93, 126, 0.08);
  color: #31536c;
}

.status-badge {
  background: rgba(15, 111, 236, 0.09);
  color: var(--blue);
}

.source-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.source-card-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-card-actions button,
.knowledge-actions button,
.knowledge-state-card button,
.knowledge-state-card a {
  min-height: 36px;
  border: 1px solid rgba(37, 93, 126, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0 13px;
  color: #31536c;
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.knowledge-state-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 18px;
  background: rgba(247, 252, 254, 0.78);
  padding: 16px;
  color: #31536c;
  font-weight: 780;
  line-height: 1.45;
}

.knowledge-state-card[hidden],
.knowledge-section-label[hidden] {
  display: none;
}

.knowledge-section-label {
  width: fit-content;
  margin-bottom: -12px;
  border-radius: 999px;
  background: rgba(28, 147, 118, 0.1);
  padding: 8px 13px;
  color: #14735e;
  font-size: 0.82rem;
  font-weight: 900;
}

.source-status-grid strong,
.knowledge-block-grid strong,
.missing-list strong,
.publish-grid strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.source-status-grid span,
.knowledge-block-grid span,
.missing-list span,
.publish-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.knowledge-block-grid article {
  min-height: 136px;
  gap: 14px;
}

.knowledge-block-grid article.is-approved {
  border-color: rgba(28, 147, 118, 0.24);
  background: rgba(237, 250, 246, 0.75);
}

.knowledge-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.knowledge-card-head span {
  flex: 0 0 auto;
  background: rgba(15, 111, 236, 0.09);
  color: var(--blue);
}

.knowledge-block-grid p {
  margin: 0;
  color: #31536c;
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.45;
}

.knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
}

.faq-add-button {
  width: fit-content;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
}

.dashboard-test-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
}

.dashboard-test-panel .button {
  width: auto;
  margin-top: 0;
}

.dashboard-test-panel input,
.dashboard-test-panel .button {
  min-height: 56px;
}

.dashboard-test-answer {
  min-height: 88px;
  border: 1px solid rgba(37, 93, 126, 0.1);
  border-radius: 18px;
  background: rgba(247, 252, 254, 0.78);
  padding: 16px;
  color: #31536c;
  font-weight: 760;
  line-height: 1.5;
}

.publish-section {
  opacity: 0.88;
}

.compact-checklist {
  margin-top: 16px;
}

.compact-checklist li {
  min-height: 36px;
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 0.92rem;
}

.compact-checklist li::before {
  width: 22px;
  height: 22px;
  font-size: 0.74rem;
}

.compact-qr {
  width: 118px;
  height: 118px;
  margin-bottom: 16px;
}

small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 240ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-load-fade {
  opacity: 1;
  transform: translateY(0);
}

.step-card.reveal-on-scroll.is-visible:hover {
  transform: translateY(-7px);
}

.steps-grid .reveal-on-scroll:nth-child(2) {
  transition-delay: 70ms;
}

.steps-grid .reveal-on-scroll:nth-child(3) {
  transition-delay: 140ms;
}

@media (prefers-reduced-motion: no-preference) {
  .page-load-fade {
    animation: page-load-fade-up 800ms var(--ease-premium) both;
    will-change: opacity, transform;
  }

  .page-load-delay-1 {
    animation-delay: 90ms;
  }

  .page-load-delay-2 {
    animation-delay: 180ms;
  }

  .page-load-delay-3 {
    animation-delay: 270ms;
  }

  .assistant-dot {
    animation: assistant-dot-pulse 2.8s ease-in-out infinite;
  }

  .assistant-dot::after {
    animation: assistant-dot-glow 2.8s ease-out infinite;
  }

  .nav-links a:hover,
  .button:hover,
  .pricing-button:hover,
  .auth-submit:hover,
  .assistant-bar button:hover,
  .chips button:hover {
    transform: translateY(-2px);
  }

  .button:active,
  .pricing-button:active,
  .auth-submit:active,
  .assistant-bar button:active,
  .chips button:active {
    transform: translateY(0) scale(0.99);
  }

  .soft-card,
  .price-card,
  .plan-card,
  .custom-note,
  .auth-card,
  .project-status,
  .metric-panel,
  .price-stack div {
    transition:
      transform 260ms var(--ease-premium),
      border-color 220ms ease,
      background 220ms ease,
      box-shadow 260ms ease;
  }

  .soft-card:hover,
  .price-card:hover,
  .plan-card:hover,
  .custom-note:hover,
  .project-status:hover,
  .metric-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 111, 236, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 28px 86px rgba(15, 111, 236, 0.13);
  }

  .price-stack div:hover {
    transform: translateY(-3px);
    border-color: rgba(19, 185, 189, 0.26);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 16px 36px rgba(15, 111, 236, 0.1);
  }

  input:focus,
  select:focus,
  textarea:focus {
    transform: translateY(-1px);
    border-color: rgba(15, 111, 236, 0.35);
    background: #ffffff;
    box-shadow:
      0 0 0 4px rgba(98, 215, 248, 0.16),
      0 14px 28px rgba(15, 111, 236, 0.08);
  }

  .nav-cta:hover,
  .pricing-button:hover,
  .auth-submit:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 20px 48px rgba(15, 111, 236, 0.2);
  }

  .single-plan-card .price-stack div:hover {
    border-color: rgba(15, 111, 236, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(229, 247, 253, 0.86)),
      rgba(255, 255, 255, 0.8);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 18px 40px rgba(15, 111, 236, 0.1);
  }
}

@keyframes page-load-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes assistant-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(98, 215, 248, 0.12);
  }

  48% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(98, 215, 248, 0.16);
  }
}

@keyframes assistant-dot-glow {
  0% {
    opacity: 0;
    transform: scale(0.78);
  }

  36% {
    opacity: 0.5;
  }

  72%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .assistant-dot,
  .assistant-dot::after {
    animation: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .steps-grid,
  .pricing-grid,
  .pay-grid,
  .plan-grid,
  .dashboard-overview,
  .project-status dl,
  .ops-grid,
  .ops-panel-grid,
  .dashboard-intake-layout,
  .intake-section,
  .social-field-grid,
  .quick-question-grid,
  .faq-pair,
  .source-status-grid,
  .document-upload-grid,
  .knowledge-block-grid,
  .missing-list,
  .publish-grid,
  .dashboard-test-panel,
  .dashboard-grid,
  .dashboard-grid-three,
  .split-hero,
  .demo-layout,
  .phone-preview,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .custom-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .single-plan-card .price-stack {
    grid-template-columns: 1fr;
  }

  .single-plan-card .clean-list {
    grid-template-columns: 1fr;
  }

  .faq-row-actions {
    grid-column: 1 / -1;
  }

  .faq-builder-head .button {
    width: 100%;
    min-width: 0;
  }

  .faq-pair textarea {
    height: 82px;
  }

  .dashboard-hero {
    align-items: center;
    flex-direction: column;
  }

  .home-checklist ul {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .phone-preview {
    width: min(100%, 680px);
    margin-top: 58px;
    text-align: center;
  }

  .phone-preview-copy {
    max-width: 620px;
    margin: 0 auto;
  }

  .project-status {
    max-width: 100%;
  }

  .project-status a,
  .qr-card a {
    font-size: 0.88rem;
  }

  .assistant-ops header,
  .question-review,
  .faq-builder-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .nav-wrap {
    padding: 12px 0;
  }

  .nav {
    border-radius: 20px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 7px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .language-toggle {
    min-height: 36px;
    gap: 3px;
    padding: 0 5px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .hero,
  .page-hero {
    padding: 54px 0 34px;
  }

  h1 {
    max-width: min(100%, 9.2em);
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2rem, 8vw, 2.25rem);
  }

  .hero-support {
    max-width: 34ch;
    font-size: 1rem;
  }

  .auth-card .login-title {
    font-size: clamp(2.65rem, 12vw, 3.3rem);
  }

  .chips {
    flex-wrap: wrap;
  }

  .assistant-bar {
    grid-template-columns: auto 1fr;
    width: 100%;
    min-width: 0;
    padding: 16px;
  }

  .assistant-bar input {
    min-width: 0;
    text-overflow: ellipsis;
  }

  .assistant-bar button {
    grid-column: 1 / -1;
  }

  .answer-panel {
    padding: 20px;
  }

  .home-checklist {
    width: min(100% - 28px, 688px);
    margin-top: 34px;
  }

  .home-checklist li {
    font-size: 0.92rem;
  }

  .phone-preview {
    margin-top: 48px;
  }

  .phone-preview-copy h2 {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.5rem;
    line-height: 1.08;
    text-wrap: balance;
  }

  .phone-preview-copy p:last-child {
    max-width: 34ch;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.98rem;
  }

  .phone-render-frame {
    width: min(100%, 350px);
    margin-top: 24px;
  }

  .soft-card,
  .price-card,
  .pay-card,
  .auth-card,
  .custom-note,
  .assistant-ops,
  .two-columns > article {
    padding: 22px;
    border-radius: 24px;
  }

  .pricing-logic {
    border-radius: 22px;
    text-align: left;
  }

  .auth-switch {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .price-stack {
    grid-template-columns: 1fr;
  }

  .plan-card h3 {
    white-space: normal;
  }

  .plan-card > p:not(.eyebrow) {
    min-height: auto;
  }

  .two-field-form {
    grid-template-columns: 1fr;
  }
}
