:root {
  --ink-950: #122033;
  --ink-800: #294059;
  --ink-600: #54667c;
  --ink-400: #8595aa;
  --line: rgba(17, 75, 95, 0.14);
  --brand-900: #103b4b;
  --brand-800: #114b5f;
  --brand-700: #16697a;
  --brand-600: #1b7c8f;
  --brand-500: #2798ad;
  --brand-100: #daf3f6;
  --brand-050: #eef9fb;
  --surface: #f7f6f2;
  --paper: #ffffff;
  --warm: #f0e7d8;
  --good: #dff6ea;
  --warn: #fff2dc;
  --bad: #fde6e3;
  --shadow-lg: 0 22px 60px rgba(15, 44, 63, 0.16);
  --shadow-md: 0 12px 36px rgba(16, 59, 75, 0.12);
  --shadow-sm: 0 6px 18px rgba(16, 59, 75, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --app-height: 100vh;
  --text-scale: 1;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-display: "Sora", sans-serif;
}

@supports (height: 100svh) {
  :root {
    --app-height: 100svh;
  }
}

@supports (height: 100dvh) {
  :root {
    --app-height: 100dvh;
  }
}

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

html,
body {
  margin: 0;
  height: 100%;
  background:
    radial-gradient(circle at top, rgba(39, 152, 173, 0.16), transparent 30%),
    linear-gradient(180deg, #f6fbfc 0%, #f7f6f2 100%);
  color: var(--ink-950);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  font-size: calc(100% * var(--text-scale));
}

[hidden] {
  display: none !important;
}

body {
  overflow-x: hidden;
}

.body--app {
  overflow: hidden;
  min-height: var(--app-height);
  height: var(--app-height);
  overscroll-behavior: none;
}

.body--contact {
  overflow-y: auto;
  min-height: var(--app-height);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: var(--brand-800);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.app-shell {
  min-height: 100%;
  height: 100%;
}

.home-screen,
.chat-screen {
  min-height: 100%;
  height: 100%;
}

.home-screen {
  min-height: var(--app-height);
}

.chat-screen {
  min-height: 0;
  overflow: hidden;
}

.home-screen {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.35rem;
  overflow-x: hidden;        /* Clip decorative orbs horizontally */
  overflow-y: auto;          /* Allow scroll on small screens */
  -webkit-overflow-scrolling: touch; /* Smooth momentum scroll on iOS */
}

.home-screen__orbs span {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.65;
  animation: drift 12s ease-in-out infinite;
}

.home-screen__orbs span:nth-child(1) {
  width: 230px;
  height: 230px;
  top: -40px;
  right: -55px;
  background: rgba(39, 152, 173, 0.26);
}

.home-screen__orbs span:nth-child(2) {
  width: 190px;
  height: 190px;
  bottom: 8%;
  left: -35px;
  background: rgba(240, 231, 216, 0.95);
  animation-delay: -2s;
}

.home-screen__orbs span:nth-child(3) {
  width: 120px;
  height: 120px;
  bottom: 30%;
  right: 15%;
  background: rgba(17, 75, 95, 0.13);
  animation-delay: -5s;
}

.home-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 1.45rem;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.home-utilitybar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.home-menu {
  position: relative;
  margin-left: auto;
}

.home-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0.62rem;
  border: 1px solid rgba(17, 75, 95, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  color: var(--brand-800);
}

.home-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.home-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.home-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.home-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-menu-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 10.5rem;
  padding: 0.42rem;
  border: 1px solid rgba(17, 75, 95, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.home-menu-link {
  display: block;
  padding: 0.85rem 0.92rem;
  border-radius: 14px;
  color: var(--ink-950);
  font-weight: 700;
  text-decoration: none;
}

.home-menu-link:hover,
.home-menu-link:focus-visible {
  background: var(--brand-050);
}

.text-size-control {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.22rem;
  border: 1px solid rgba(17, 75, 95, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.text-size-control--chat {
  position: absolute;
  top: calc(0.68rem + env(safe-area-inset-top));
  right: 0.72rem;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
}

.text-size-btn {
  min-width: 2.22rem;
  height: 2.2rem;
  padding: 0 0.56rem;
  border: 0;
  border-radius: 999px;
  color: var(--brand-800);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.text-size-btn--large {
  font-size: 0.96rem;
}

.text-size-btn[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
}

.text-size-btn:hover {
  transform: translateY(-1px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(238, 169, 83, 0.62);
  outline-offset: 3px;
}

.home-utilitylinks {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.home-card__topline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--brand-800);
  font-size: 0.8rem;
  font-weight: 700;
}

.home-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 16px;
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.08);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-contact-link:hover {
  transform: translateY(-1px);
  background: rgba(17, 75, 95, 0.12);
}

.home-contact-link--text {
  width: auto;
  min-width: 2.65rem;
  padding: 0 0.95rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3cc67a;
  box-shadow: 0 0 0 0 rgba(60, 198, 122, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

.home-card__eyebrow {
  margin: 1rem 0 0.3rem;
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-card h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.home-card__lead {
  margin: 0;
  color: var(--ink-800);
  font-size: 1rem;
  line-height: 1.65;
}

.floating-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.15rem;
}

.floating-topics span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.88rem;
  border-radius: 999px;
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.08);
  border: 1px solid rgba(17, 75, 95, 0.08);
  box-shadow: 0 10px 24px rgba(16, 59, 75, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  animation: floatTopic 7s ease-in-out infinite;
}

.floating-topics span:nth-child(2) {
  animation-delay: -1.2s;
}

.floating-topics span:nth-child(3) {
  animation-delay: -2.6s;
}

.floating-topics span:nth-child(4) {
  animation-delay: -3.4s;
}

.floating-topics span:nth-child(5) {
  animation-delay: -4.5s;
}

.home-whisper {
  margin-top: 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  color: var(--ink-800);
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.05), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(17, 75, 95, 0.08);
  font-size: 0.92rem;
  line-height: 1.62;
}

.scope-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.9rem;
  margin: 0.55rem 0 0;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  color: var(--brand-900);
  background: rgba(92, 157, 143, 0.16);
  border: 1px solid rgba(92, 157, 143, 0.22);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.scope-badge--home {
  margin-top: 0.72rem;
}

@media (min-width: 641px) {
  .home-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .home-utilitylinks {
    display: none;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.hero-badges span,
.preview-chip-row span,
.context-pill,
.suggestion-pill {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-badges span {
  padding: 0.5rem 0.82rem;
  color: var(--brand-900);
  background: var(--brand-100);
}

.phone-preview {
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 26px;
  border: 1px solid rgba(17, 75, 95, 0.12);
  background:
    linear-gradient(180deg, rgba(17, 75, 95, 0.04), rgba(255, 255, 255, 0.92)),
    var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.phone-preview__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.phone-preview__avatar,
.brand-lockup__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  overflow: hidden;
}

.phone-preview__avatar,
.brand-lockup__avatar {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fffdf8;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 20px rgba(22, 105, 122, 0.22);
}

.brand-lockup__avatar.has-avatar {
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.phone-preview__header strong,
.brand-lockup__content strong {
  display: block;
  font-size: 0.95rem;
}

.phone-preview__header span,
.brand-lockup__content span {
  color: var(--ink-600);
  font-size: 0.77rem;
}

.phone-preview__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.preview-bubble {
  max-width: 88%;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  line-height: 1.55;
  font-size: 0.86rem;
  box-shadow: var(--shadow-sm);
}

.preview-bubble--assistant {
  border-top-left-radius: 6px;
  background: #ffffff;
}

.preview-bubble--user {
  margin-left: auto;
  border-top-right-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
}

.preview-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.preview-chip-row span {
  padding: 0.42rem 0.72rem;
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.08);
}

.home-actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.button {
  min-height: 3.35rem;
  padding: 0.95rem 1.15rem;
  border-radius: 20px;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:active,
.action-chip:active,
.route-btn:active,
.reply-chip:active,
.inline-action-btn:active,
.transport-submit:active,
.chat-back-btn:active,
.contact-action:active {
  transform: scale(0.98);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 12px 28px rgba(17, 75, 95, 0.24);
  font-weight: 800;
}

.button--secondary {
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.08);
  border: 1px solid rgba(17, 75, 95, 0.12);
  font-weight: 700;
}

.home-card__meta {
  margin-top: 1.05rem;
  color: var(--ink-600);
  font-size: 0.84rem;
  line-height: 1.6;
}

.home-editorial {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(17, 75, 95, 0.14);
  background:
    radial-gradient(circle at top right, rgba(74, 168, 188, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(11, 49, 63, 0.98), rgba(17, 75, 95, 0.94));
  box-shadow: 0 24px 50px rgba(9, 39, 50, 0.16);
}

.home-editorial__heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-editorial__eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-editorial__grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.home-article-card {
  padding: 1rem 1rem 0.95rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(6, 31, 40, 0.12);
}

.home-article-card__kicker {
  margin: 0 0 0.35rem;
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-article-card h3 {
  margin: 0;
  color: var(--ink-950);
  font-size: 0.94rem;
  line-height: 1.38;
}

.home-article-card p {
  margin: 0.45rem 0 0;
  color: var(--ink-600);
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-article-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.home-article-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.home-article-link--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 10px 22px rgba(17, 75, 95, 0.2);
}

.home-article-link--secondary {
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.08);
  border: 1px solid rgba(17, 75, 95, 0.1);
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.45rem;
}

.home-made {
  margin: 1rem 0 0;
  color: var(--ink-400);
  font-size: 0.68rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-screen {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
    linear-gradient(180deg, var(--brand-050), #f8f4eb);
  box-shadow: var(--shadow-lg);
}

.chat-screen > * {
  min-width: 0;
}

.chat-back-btn {
  position: absolute;
  top: calc(0.68rem + env(safe-area-inset-top));
  left: 0.72rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 14px;
  border: 0;
  color: var(--brand-800);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.chat-timeline {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: calc(3.55rem + env(safe-area-inset-top)) 0.95rem 1rem;
  scroll-padding-top: calc(3.15rem + env(safe-area-inset-top));
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.chat-timeline::-webkit-scrollbar {
  width: 6px;
}

.chat-timeline::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.16);
}

.date-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-600);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 700;
}

.message {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  animation: messageIn 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.message--user {
  justify-content: flex-end;
}

.message__stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.bubble {
  max-width: min(86vw, 390px);
  padding: 0.92rem 1rem;
  border-radius: 22px;
  font-size: 0.94rem;
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}

.bubble--assistant {
  border-top-left-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(17, 75, 95, 0.08);
}

.bubble--user {
  margin-left: auto;
  border-top-right-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
}

.typing {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.typing span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(17, 75, 95, 0.42);
  animation: typing 1.1s ease-in-out infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.assistant-card {
  margin-bottom: 0.95rem;
  animation: messageIn 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.response-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  margin: 0 0 0.48rem 0.2rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.08);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.response-hint span[aria-hidden="true"] {
  font-size: 0.84rem;
  line-height: 1;
}

.rich-card {
  width: min(100%, 420px);
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 75, 95, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98)),
    var(--paper);
  box-shadow: var(--shadow-md);
}

.rich-card__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
}

.rich-card__heading-copy {
  min-width: 0;
}

.rich-card__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rich-card__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.rich-card__header .rich-card__title {
  margin-bottom: 0;
}

.rich-card__toggle {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(17, 75, 95, 0.12);
  border-radius: 999px;
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.06);
  box-shadow: 0 0.35rem 0.75rem rgba(17, 75, 95, 0.08);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.rich-card__toggle:hover {
  transform: translateY(-1px);
  background: rgba(17, 75, 95, 0.1);
}

.rich-card__toggle svg {
  transition: transform 0.22s ease;
}

.rich-card.is-collapsed .rich-card__toggle svg {
  transform: rotate(-180deg);
}

.rich-card__collapsible {
  position: relative;
  z-index: 1;
  max-height: 180rem;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.28s ease-in-out, opacity 0.2s ease-in-out;
}

.rich-card__collapsible > :first-child {
  margin-top: 0;
}

.rich-card.is-collapsed .rich-card__collapsible {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.rich-card__text,
.rich-card li,
.faq-answer,
.contact-copy,
.support-note {
  color: var(--ink-800);
  font-size: 0.9rem;
  line-height: 1.62;
}

.rich-card__text + .rich-card__text {
  margin-top: 0.45rem;
}

.onboarding-card {
  position: relative;
  overflow: hidden;
  padding-top: 0.92rem;
}

.onboarding-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -42% 28%;
  height: 8.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(238, 169, 83, 0.2), rgba(238, 169, 83, 0));
  pointer-events: none;
  animation: onboardingGlow 3.6s ease-in-out infinite;
}

.onboarding-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.34rem;
  width: min(9.5rem, 52vw);
  margin-bottom: 0.7rem;
  padding: 0.32rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
}

.onboarding-visual span {
  min-height: 0.56rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(17, 75, 95, 0.72), rgba(92, 157, 143, 0.86));
  box-shadow: 0 0.35rem 0.75rem rgba(17, 75, 95, 0.12);
  animation: onboardingDot 1.8s ease-in-out infinite;
}

.onboarding-visual span:nth-child(2) {
  background: linear-gradient(135deg, rgba(238, 169, 83, 0.82), rgba(248, 216, 166, 0.9));
  animation-delay: 0.12s;
}

.onboarding-visual span:nth-child(3) {
  background: linear-gradient(135deg, rgba(92, 157, 143, 0.82), rgba(184, 220, 204, 0.9));
  animation-delay: 0.24s;
}

.onboarding-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  margin: 0.78rem 0 0;
  padding: 0;
  list-style: none;
}

.onboarding-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  width: fit-content;
  min-height: 2rem;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.onboarding-points li span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--brand-700);
  font-size: 0.7rem;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.route-btn,
.reply-chip,
.inline-action-btn,
.action-chip,
.transport-submit,
.contact-action {
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.route-btn {
  padding: 0.95rem 0.85rem;
  border-radius: 20px;
  text-align: left;
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.06), rgba(17, 75, 95, 0.02));
  border: 1px solid rgba(17, 75, 95, 0.09);
}

.route-btn__icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-100);
  font-size: 1rem;
}

.route-btn__title {
  display: block;
  margin-top: 0.7rem;
  color: var(--ink-950);
  font-weight: 800;
  font-size: 0.88rem;
}

.route-btn__hint {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-600);
  font-size: 0.76rem;
  line-height: 1.45;
}

.route-btn__hint--badge {
  margin-top: 0.42rem;
  color: var(--brand-900);
  font-weight: 800;
}

.route-btn--result {
  width: 100%;
  margin-top: 0.65rem;
}

.route-btn:hover,
.reply-chip:hover,
.inline-action-btn:hover,
.action-chip:hover,
.transport-submit:hover,
.contact-action:hover,
.button:hover,
.suggestion-pill:hover,
.chat-back-btn:hover {
  transform: translateY(-1px);
}

.step-list,
.bullet-list,
.result-list,
.contact-list,
.checklist,
.faq-list,
.summary-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0.85rem 0 0;
  list-style: none;
}

.step-list li,
.bullet-list li,
.result-list li,
.contact-item,
.checklist-item,
.faq-list li,
.summary-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.step-index,
.bullet-dot,
.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.step-index {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.step-copy strong,
.contact-item strong,
.result-copy strong,
.checklist-copy strong {
  display: block;
  margin-bottom: 0.12rem;
  font-size: 0.89rem;
}

.step-copy span,
.contact-copy,
.result-copy span,
.checklist-copy span {
  display: block;
  color: var(--ink-600);
  font-size: 0.82rem;
  line-height: 1.52;
}

.checklist-copy .checklist-meta {
  color: var(--brand-800);
  font-size: 0.76rem;
  font-weight: 700;
}

.callout,
.support-note,
.summary-box {
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(17, 75, 95, 0.06);
}

.summary-box {
  display: grid;
  gap: 0.5rem;
}

.summary-box strong {
  font-size: 0.82rem;
  color: var(--brand-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.housing-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.support-panel {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(17, 75, 95, 0.04);
}

.support-panel strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--brand-800);
  font-size: 0.84rem;
}

.compact-list {
  gap: 0.55rem;
}

.info-card-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.info-card {
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 75, 95, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(17, 75, 95, 0.03));
}

.info-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-800);
  font-size: 0.84rem;
}

.action-row,
.reply-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.comparison-table {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.comparison-table__row {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.comparison-table__row--head .comparison-table__cell {
  background: rgba(17, 75, 95, 0.08);
}

.comparison-table__cell {
  min-width: 0;
  padding: 0.72rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-800);
  font-size: 0.76rem;
  line-height: 1.45;
}

.comparison-table__cell--criterion {
  font-weight: 800;
  color: var(--ink-950);
}

.comparison-table__badge {
  margin-top: 0.45rem;
}

@media (max-width: 640px) {
  .comparison-table__row {
    grid-template-columns: 1fr;
  }
}

.action-chip,
.reply-chip,
.inline-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.reply-chip {
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.08);
}

.action-chip {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 0.55rem 1rem rgba(17, 75, 95, 0.12);
}

.action-chip::after {
  content: "↗";
  margin-left: 0.42rem;
  font-size: 0.74rem;
  opacity: 0.82;
}

.action-chip[href]::after {
  content: "↗";
}

.action-chip:not([href])::after {
  content: "→";
}

.action-chip.is-disabled,
.reply-chip.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.inline-action-btn {
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
}

.checklist-item {
  padding: 0.8rem 0.8rem 0.8rem 0.75rem;
  border-radius: 18px;
  background: rgba(17, 75, 95, 0.04);
}

.checklist-item input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-700);
}

.checklist-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-900);
  font-size: 0.76rem;
  font-weight: 800;
}

.result-list li {
  padding: 0.75rem;
  border-radius: 18px;
  background: rgba(17, 75, 95, 0.04);
}

.result-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
}

.result-icon--good {
  background: var(--good);
}

.result-icon--warn {
  background: var(--warn);
}

.result-icon--bad {
  background: var(--bad);
}

.faq-answer {
  margin-top: 0.5rem;
}

.faq-list button {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(17, 75, 95, 0.1);
  border-radius: 18px;
  text-align: left;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-950);
}

.transport-form,
.email-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.transport-row,
.email-row {
  display: flex;
  gap: 0.55rem;
}

.transport-input,
.email-input {
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(17, 75, 95, 0.12);
  background: rgba(255, 255, 255, 0.96);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.transport-input,
.email-input {
  min-height: 3rem;
  padding: 0.82rem 0.95rem;
}

.transport-input:focus,
.email-input:focus {
  border-color: rgba(17, 75, 95, 0.35);
  box-shadow: 0 0 0 4px rgba(17, 75, 95, 0.08);
  background: #fff;
}

.transport-submit,
.contact-action {
  flex: 0 0 auto;
  padding: 0.82rem 1rem;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  font-weight: 800;
}

.transport-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.transport-hint-btn {
  border: 0;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 0.55rem 1rem rgba(17, 75, 95, 0.12);
  font-size: 0.8rem;
  font-weight: 800;
}

.transport-results {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.vsl-card {
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(17, 75, 95, 0.04);
}

.vsl-card h4 {
  margin: 0 0 0.32rem;
  font-size: 0.9rem;
}

.vsl-meta,
.transport-caption,
.email-caption {
  color: var(--ink-600);
  font-size: 0.78rem;
  line-height: 1.55;
}

.vsl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-900);
  font-size: 0.74rem;
  font-weight: 800;
}

.vsl-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.contact-action {
  min-height: auto;
  padding: 0.58rem 0.8rem;
  text-decoration: none;
}

.contact-action--ghost {
  color: var(--brand-800);
  background: rgba(17, 75, 95, 0.08);
}

.email-caption {
  margin: 0;
}

.email-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink-600);
  font-size: 0.76rem;
  line-height: 1.45;
}

.email-consent input {
  margin-top: 0.15rem;
  accent-color: var(--brand-700);
}

.contact-page,
.faq-page,
.blog-page {
  position: relative;
  min-height: var(--app-height);
  display: grid;
  place-items: center;
  padding: 1.35rem;
}

.contact-card,
.faq-card,
.blog-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 1.4rem;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.faq-card {
  width: min(100%, 860px);
}

.blog-card {
  width: min(100%, 860px);
}

.article-card {
  width: min(100%, 760px);
}

.contact-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--brand-800);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.faq-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-card__eyebrow {
  margin: 0 0 0.3rem;
  color: var(--brand-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card h1,
.faq-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.contact-card__lead,
.faq-card__lead,
.contact-card__meta,
.contact-field span {
  color: var(--ink-800);
  font-size: 0.92rem;
  line-height: 1.62;
}

.contact-card__lead {
  margin: 0.75rem 0 0;
}

.faq-card__lead {
  margin: 0.75rem 0 0;
  max-width: 62ch;
}

.contact-form-page {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.contact-field {
  display: grid;
  gap: 0.38rem;
}

.contact-field span {
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-textarea {
  min-height: 8.75rem;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-card__meta {
  margin: 0.85rem 0 0;
  color: var(--ink-600);
  font-size: 0.8rem;
}

.faq-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.faq-theme-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.08);
  border: 1px solid rgba(17, 75, 95, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.faq-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.blog-theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.blog-filter-chip {
  cursor: pointer;
}

.blog-filter-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-color: rgba(17, 75, 95, 0.22);
  box-shadow: 0 10px 24px rgba(17, 75, 95, 0.16);
}

.blog-articles {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.blog-article {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 75, 95, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.99)),
    var(--paper);
  box-shadow: var(--shadow-md);
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

.blog-article__meta {
  margin-bottom: 0.42rem;
  color: var(--brand-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-article h2 {
  margin: 0;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.blog-article p {
  margin: 0.78rem 0 0;
  color: var(--ink-800);
  font-size: 0.91rem;
  line-height: 1.68;
}

.blog-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.blog-cta-row .action-chip {
  text-decoration: none;
}

.blog-footer-note {
  margin: 1.2rem 0 0;
  color: var(--ink-600);
  font-size: 0.8rem;
  line-height: 1.6;
}

.article-body {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.article-body > * {
  margin: 0;
}

.article-body h2,
.article-body h3 {
  color: var(--ink-950);
  font-family: var(--font-display);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.article-body h2 {
  margin-top: 0.45rem;
  font-size: 1.18rem;
}

.article-body h3 {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.article-body p,
.article-body li {
  color: var(--ink-800);
  font-size: 0.95rem;
  line-height: 1.72;
}

.article-body ul,
.article-body ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.48rem;
}

.blog-summary {
  display: grid;
  gap: 0.58rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(17, 75, 95, 0.1);
  background: rgba(17, 75, 95, 0.05);
}

.blog-summary__title {
  margin: 0;
  color: var(--brand-800);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-summary ul {
  margin: 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.52rem;
}

.blog-summary li {
  color: var(--ink-800);
  font-size: 0.9rem;
  line-height: 1.62;
}

.blog-related {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 75, 95, 0.1);
}

.blog-related h2 {
  margin: 0 0 0.7rem;
  color: var(--brand-900);
  font-size: 1rem;
}

.blog-related__list {
  display: grid;
  gap: 0.6rem;
}

.blog-related__link {
  display: block;
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-900);
  text-decoration: none;
}

.blog-related__link strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
}

.blog-related__link span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-600);
  font-size: 0.8rem;
}

.home-seo-block {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.home-seo-block h2 {
  margin: 0;
  color: var(--ink-950);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.home-seo-block__image {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(17, 75, 95, 0.14);
}

.home-seo-block p {
  margin: 0.72rem 0 0;
  color: var(--ink-800);
  font-size: 0.92rem;
  line-height: 1.68;
}

.home-seo-links {
  display: grid;
  gap: 0.38rem;
  margin: 0.9rem 0 0;
  padding-left: 1rem;
}

.home-seo-links a {
  color: var(--brand-800);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-callout {
  margin-top: 1rem;
  padding: 0.9rem 0.95rem;
  border-radius: 20px;
  background: rgba(17, 75, 95, 0.05);
}

.article-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-800);
  font-size: 0.84rem;
}

.faq-group {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 75, 95, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.99)),
    var(--paper);
  box-shadow: var(--shadow-md);
}

.faq-group h2 {
  margin: 0;
  color: var(--brand-800);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.faq-group__copy {
  margin: 0.45rem 0 0;
  color: var(--ink-600);
  font-size: 0.88rem;
  line-height: 1.58;
}

.faq-entry-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.faq-entry {
  border-radius: 20px;
  border: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(17, 75, 95, 0.03);
  overflow: hidden;
}

.faq-entry summary {
  display: block;
  position: relative;
  padding: 0.95rem 3rem 0.95rem 0.95rem;
  color: var(--ink-950);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-entry summary::-webkit-details-marker {
  display: none;
}

.faq-entry summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.95rem;
  transform: translateY(-50%);
  color: var(--brand-700);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-entry[open] summary::after {
  content: "−";
}

.faq-entry p {
  margin: 0;
  padding: 0 0.95rem 0.95rem;
  color: var(--ink-800);
  font-size: 0.9rem;
  line-height: 1.65;
}

.expandable-panel {
  margin-top: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(17, 75, 95, 0.03);
  overflow: hidden;
}

.expandable-panel summary {
  display: block;
  position: relative;
  padding: 0.9rem 2.9rem 0.9rem 0.95rem;
  color: var(--brand-800);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.expandable-panel summary::-webkit-details-marker {
  display: none;
}

.expandable-panel summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.95rem;
  transform: translateY(-50%);
  color: var(--brand-700);
  font-size: 1.1rem;
}

.expandable-panel[open] summary::after {
  content: "−";
}

.expandable-panel .transport-results {
  margin-top: 0;
  padding: 0 0.75rem 0.75rem;
}

.faq-footer-note {
  margin-top: 1.2rem;
  color: var(--ink-600);
  font-size: 0.8rem;
  line-height: 1.55;
}

.suggestions-strip {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 0.15rem;
}

.suggestions-strip::-webkit-scrollbar {
  display: none;
}

.suggestions-strip__summary,
.suggestions-strip__extra {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestions-strip__extra {
  padding-top: 0.05rem;
}

.suggestion-pill {
  flex: 0 0 auto;
  padding: 0.64rem 0.85rem;
  border: 0;
  color: var(--brand-900);
  background: rgba(17, 75, 95, 0.08);
}

.suggestion-pill--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  box-shadow: 0 0.55rem 1rem rgba(17, 75, 95, 0.12);
}

.suggestion-pill--menu,
.suggestion-pill--secondary {
  border: 1px solid rgba(17, 75, 95, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.composer-shell {
  z-index: 15;
  display: grid;
  gap: 0.55rem;
  padding: 0.68rem 0.95rem calc(0.8rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(17, 75, 95, 0.08);
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(18px);
}

.chat-progress {
  display: grid;
  gap: 0.45rem;
  padding: 0.72rem 0.78rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 75, 95, 0.1);
  background: rgba(255, 255, 255, 0.82);
}

.chat-progress__meta {
  display: grid;
  gap: 0.14rem;
}

.chat-progress__meta strong {
  color: var(--brand-900);
  font-size: 0.79rem;
  line-height: 1.3;
}

.chat-progress__meta p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.74rem;
  line-height: 1.45;
}

.chat-progress__track {
  position: relative;
  overflow: hidden;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
}

.chat-progress__bar {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-500));
  transition: width 0.26s ease;
}

.chat-progress__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.chat-progress__chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  color: var(--ink-700);
  background: rgba(17, 75, 95, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
}

.chat-progress__chip.is-done {
  color: var(--brand-900);
  background: rgba(92, 157, 143, 0.18);
}

.composer-note {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.76rem;
  line-height: 1.45;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.15rem + env(safe-area-inset-bottom));
  z-index: 100;
  transform: translate(-50%, 120%);
  padding: 0.82rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 32, 51, 0.94);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 0.28s ease;
  white-space: nowrap;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 12px, 0) scale(1.04);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 198, 122, 0.5);
  }
  75% {
    box-shadow: 0 0 0 10px rgba(60, 198, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 198, 122, 0);
  }
}

@keyframes floatTopic {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typing {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes onboardingDot {
  0%,
  100% {
    transform: translateY(0) scaleX(0.92);
    opacity: 0.72;
  }
  50% {
    transform: translateY(-2px) scaleX(1);
    opacity: 1;
  }
}

@keyframes onboardingGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.64;
  }
  50% {
    transform: translate3d(-4%, -3%, 0) scale(1);
    opacity: 0.9;
  }
}

@media (min-width: 700px) {
  body {
    padding: 1rem;
  }

  .app-shell {
    display: grid;
    place-items: center;
  }

  .chat-screen {
    height: calc(var(--app-height) - 2rem);
    min-height: unset;
    border-radius: 34px;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .home-screen,
  .contact-page,
  .faq-page,
  .blog-page {
    padding: calc(0.9rem + env(safe-area-inset-top)) 0.9rem calc(0.9rem + env(safe-area-inset-bottom));
  }

  .home-card,
  .contact-card,
  .faq-card,
  .blog-card {
    padding: 1.15rem;
    border-radius: 28px;
  }

  .home-card h1,
  .contact-card h1,
  .faq-card h1,
  .blog-card h1 {
    font-size: clamp(1.72rem, 8vw, 2.05rem);
  }

  .floating-topics {
    gap: 0.55rem;
  }

  .floating-topics span {
    padding: 0.56rem 0.78rem;
    font-size: 0.76rem;
  }

  .button {
    min-height: 3rem;
  }

  .home-editorial {
    padding: 0.92rem;
    border-radius: 22px;
  }

  .home-editorial__heading h2 {
    font-size: 0.98rem;
  }

  .home-article-card {
    padding: 0.82rem 0.88rem;
    border-radius: 18px;
  }

  .home-article-card h3 {
    font-size: 0.86rem;
  }

  .home-article-card p {
    font-size: 0.79rem;
  }

  .chat-timeline {
    padding-top: calc(3.2rem + env(safe-area-inset-top));
    padding-inline: 0.8rem;
  }

  .composer-shell {
    gap: 0.6rem;
    padding-inline: 0.8rem;
  }

  .chat-back-btn {
    top: calc(0.6rem + env(safe-area-inset-top));
    left: 0.65rem;
    width: 2.2rem;
    height: 2.2rem;
  }

  .text-size-control--chat {
    top: calc(0.6rem + env(safe-area-inset-top));
    right: 0.65rem;
  }

  .text-size-btn {
    min-width: 2.05rem;
    height: 2.05rem;
    padding-inline: 0.48rem;
  }

  .bubble {
    max-width: min(88vw, 390px);
    padding: 0.86rem 0.92rem;
    font-size: 0.91rem;
  }

  .rich-card {
    padding: 0.92rem;
    border-radius: 22px;
  }

  .rich-card__title {
    font-size: 0.98rem;
  }

  .rich-card__header {
    gap: 0.55rem;
  }

  .rich-card__toggle {
    width: 2rem;
    height: 2rem;
  }

  .onboarding-visual {
    width: min(8.4rem, 48vw);
  }

  .onboarding-points li {
    min-height: 1.9rem;
    padding: 0.36rem 0.55rem;
    font-size: 0.78rem;
  }

  .suggestions-strip {
    gap: 0.42rem;
    max-height: 5.8rem;
  }

  .suggestion-pill,
  .action-chip,
  .reply-chip {
    padding: 0.6rem 0.8rem;
    font-size: 0.78rem;
  }

  .blog-theme-list,
  .blog-cta-row {
    gap: 0.48rem;
  }

  .blog-article {
    padding: 0.92rem;
    border-radius: 22px;
  }

  .blog-article h2 {
    font-size: 1rem;
  }

  .blog-article p {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .article-body {
    gap: 0.82rem;
  }

  .article-callout {
    padding: 0.82rem 0.88rem;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .faq-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-theme-list {
    gap: 0.5rem;
  }

  .faq-theme-chip {
    width: 100%;
    justify-content: center;
  }

  .blog-theme-list .faq-theme-chip,
  .blog-cta-row .action-chip,
  .home-article-card__actions .suggestion-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-height: 760px) {
  .home-screen {
    place-items: start center;
    padding-top: calc(0.9rem + env(safe-area-inset-top));
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
  }

  .home-card {
    padding: 1.1rem;
    border-radius: 28px;
  }

  .home-card__eyebrow {
    margin-top: 0.7rem;
  }

  .floating-topics,
  .home-whisper,
  .home-actions,
  .home-card__meta,
  .home-editorial {
    margin-top: 0.9rem;
  }

  .chat-timeline {
    padding-top: calc(3.05rem + env(safe-area-inset-top));
  }

  .suggestions-strip {
    max-height: 4.8rem;
  }

  .composer-shell {
    gap: 0.48rem;
    padding-top: 0.58rem;
  }

  .composer-note {
    font-size: 0.72rem;
  }
}

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