:root {
  --ink: #101e3b;
  --muted: #586a88;
  --paper: #fbfefe;
  --line: #dce6f0;
  --green: #36ad77;
  --green-ink: #125b39;
  background: var(--paper);
  color: var(--ink);
}
.site-header {
  height: 70px;
  max-width: 1280px;
  position: relative;
  z-index: 3;
  gap: 24px;
}
.wordmark {
  font-size: 21px;
  letter-spacing: -0.8px;
  gap: 8px;
}
.brand-suffix {
  font-size: 17px;
  padding: 0;
  border: 0;
  letter-spacing: 0;
  margin: 0;
  font-weight: 600;
}
.site-header nav {
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}
.header-account {
  background: #25865d;
  color: white;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
}
.header-account span {
  margin-left: 10px;
}
.site-footer {
  font-size: 12px;
  margin-top: 35px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.button.green,
.button:not(.outline) {
  background: #25865d;
  color: white;
}
.home-page {
  background: #fcfefe;
  isolation: isolate;
}
.home-page main {
  max-width: none;
  padding: 0;
  position: relative;
}
.home-world {
  position: absolute;
  inset: 0 0 auto;
  height: 1086px;
  background: url("/assets/world-desktop.png") center top/1448px auto no-repeat;
  z-index: -1;
  pointer-events: none;
}
.home-hero {
  text-align: center;
  padding: 51px 20px 14px;
}
.home-hero h1 {
  font-size: 66px;
  line-height: 1.08;
  letter-spacing: -3.6px;
  margin: 0;
  font-weight: 900;
}
.home-hero h1 span {
  background: linear-gradient(100deg, #5894d8, #287bba 40%, #248256);
  background-clip: text;
  color: transparent;
}
.home-hero > p {
  font-size: 17px;
  font-weight: 600;
  margin: 22px 0 0;
  color: var(--muted);
}
.mode-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  max-width: 793px;
  margin: 0 auto 30px;
}
.mode-choice {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  min-height: 96px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 8px 30px #163e6510;
}
.mode-choice.selected {
  border: 2px solid #29b879;
  padding: 15px;
}
.mode-choice strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.mode-choice small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.mode-avatar,
.mode-choice img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
}
.mode-avatar {
  background: #d9efff;
  display: grid;
  place-items: center;
  color: #1675c2;
}
.mode-avatar svg {
  width: 30px;
  height: 30px;
}
.mode-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}
.selected .mode-check {
  color: white;
  background: #25865d;
  border-color: #25865d;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  max-width: 878px;
  margin: 0 auto;
}
.offer {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffffed;
  padding: 18px 18px 13px;
}
.offer-featured {
  border: 2px solid #20a3d8;
  background: linear-gradient(130deg, #fff, #effbf5);
  padding: 17px 17px 12px;
}
.offer-tag {
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  background: #216bc0;
  color: white;
  white-space: nowrap;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
}
.offer-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  margin: 0 auto 7px;
}
.offer-icon svg {
  width: 25px;
  height: 25px;
}
.tone-0 {
  color: #168554;
  background: #e5f8ee;
}
.tone-1 {
  color: #a97000;
  background: #fff6df;
}
.tone-2 {
  color: #147cba;
  background: #e4f5ff;
}
.offer h2 {
  font-size: 17px;
  margin: 0 0 4px;
  letter-spacing: -0.4px;
}
.offer > p {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}
.offer-price {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.offer-price span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--muted);
}
.choose-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: #edf2f6;
  border-radius: 24px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 12px;
  margin-top: 14px;
  min-height: 40px;
}
.choose-plan svg {
  width: 16px;
  height: 16px;
}
.choose-plan.primary {
  background: #25865d;
  color: white;
}
.offer small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.pricing-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 14px 16px 22px;
}
.setup-panel {
  max-width: 878px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffffed;
  padding: 16px 24px 26px;
  text-align: center;
}
.setup-panel h2 {
  font-size: 17px;
  margin: 0 0 23px;
  letter-spacing: -0.4px;
}
.setup-steps {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
}
.setup-steps > div {
  position: relative;
}
.setup-steps svg {
  width: 50px;
  height: 50px;
  color: #237ac4;
}
.step-number {
  position: absolute;
  top: -8px;
  left: 15%;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #e2f7ee;
  color: #187a51;
  font-size: 14px;
  font-weight: 700;
}
.step-arrow {
  font-size: 32px;
  color: #afc5db;
}
.setup-steps h3 {
  font-size: 12px;
  margin: 12px 0 6px;
}
.setup-steps p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.connection-toggle {
  display: block;
  width: 68px;
  height: 33px;
  border-radius: 30px;
  background: #36ad77;
  margin: 8px auto 9px;
  position: relative;
}
.connection-toggle:after {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  background: white;
}
.device-panel {
  text-align: center;
  max-width: 878px;
  margin: 24px auto;
}
.device-panel h2 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 18px;
}
.device-panel h2:before,
.device-panel h2:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.device-panel > p {
  font-size: 12px;
  color: var(--muted);
}
.device-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.device-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  text-decoration: none;
  padding: 8px;
}
.device-links svg {
  width: 20px;
  height: 20px;
}
.device-links svg:last-child {
  width: 14px;
}
.home-benefits {
  display: flex;
  justify-content: space-around;
  max-width: 1210px;
  margin: 25px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.home-benefits span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  flex: 1;
}
.home-benefits span + span {
  border-left: 1px solid var(--line);
}
.home-benefits svg {
  width: 23px;
  height: 23px;
  color: var(--ink);
}
.nico-chat[hidden] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fun-active {
  height: var(--chat-viewport, 100dvh);
  overflow: hidden;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
}
.fun-active .site-header {
  flex: 0 0 70px;
  width: 100%;
}
.fun-active main {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.fun-active .home-world,
.fun-active .home-hero,
.fun-active .mode-picker,
.fun-active .serious-content,
.fun-active .site-footer {
  display: none;
}
.nico-chat {
  width: min(900px, 100%);
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: linear-gradient(180deg, #f4fbf8, #f8fcff);
  border: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.chat-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 24px;
  background: #ffffffd9;
  border-bottom: 1px solid var(--line);
}
.chat-heading img {
  border-radius: 50%;
  flex-shrink: 0;
}
.chat-heading h1 {
  font-size: 17px;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 0;
}
.chat-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
}
.chat-exit {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--ink);
}
.chat-exit svg {
  width: 15px;
  height: 15px;
}
.chat-transcript {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  scrollbar-gutter: stable;
  min-height: 0;
}
.chat-row {
  display: flex;
  margin-bottom: 18px;
  animation: message-in 0.2s ease-out;
}
.chat-row.user {
  justify-content: flex-end;
}
.chat-bubble {
  max-width: 78%;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #dde9e4;
  background: white;
  padding: 15px 18px;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.user .chat-bubble {
  background: #e1f4eb;
  border-color: #c9e6d8;
  border-radius: 18px 18px 4px 18px;
}
.chat-plan {
  white-space: normal;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}
.chat-plan p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}
.chat-controls {
  padding: 8px 24px max(12px, env(safe-area-inset-bottom));
  background: #ffffffef;
  border-top: 1px solid var(--line);
}
.chat-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 0 10px;
  scrollbar-width: thin;
}
.chat-suggestions button {
  white-space: nowrap;
  border: 1px solid #c9ddd3;
  border-radius: 25px;
  background: #f4fbf7;
  color: #24583f;
  font-size: 12px;
  padding: 9px 13px;
  min-height: 36px;
}
.chat-form {
  display: flex;
  gap: 10px;
  background: white;
  border: 1px solid #bbd4c7;
  border-radius: 28px;
  padding: 5px 6px 5px 17px;
}
.chat-form:focus-within {
  outline: 2px solid #26865d;
  outline-offset: 2px;
}
.chat-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  padding: 7px 0;
  font-size: 16px;
  border-radius: 0;
  color: var(--ink);
}
.chat-form input:focus-visible {
  outline: none;
}
.chat-send {
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #25865d;
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chat-send svg {
  width: 20px;
  height: 20px;
}
.chat-disclosure {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.4;
}
.chat-pending {
  font-size: 12px;
  color: var(--muted);
  padding: 0 18px;
}
.mode-choice,
.choose-plan,
.chat-suggestions button,
.header-account {
  transition:
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.choose-plan:hover,
.header-account:hover,
.mode-choice:hover {
  box-shadow: 0 4px 16px #163e6524;
}
@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 800px) {
  .site-header {
    padding: 0 20px;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header nav a:nth-child(-n + 2) {
    display: none;
  }
  .home-hero h1 {
    font-size: 52px;
  }
  .mode-picker,
  .offer-grid,
  .setup-panel,
  .device-panel {
    margin-left: 20px;
    margin-right: 20px;
  }
  .mode-choice {
    gap: 10px;
  }
  .mode-choice strong {
    font-size: 14px;
  }
  .mode-choice small {
    font-size: 11px;
  }
  .mode-avatar,
  .mode-choice img {
    width: 48px;
    height: 48px;
  }
  .offer {
    padding-left: 10px;
    padding-right: 10px;
  }
  .device-links {
    gap: 15px;
  }
}
@media (max-width: 540px) {
  .site-header,
  .fun-active .site-header {
    height: 67px;
    flex-basis: 67px;
    padding: 0 16px;
    gap: 12px;
  }
  .site-header .wordmark {
    font-size: 19px;
    gap: 5px;
  }
  .site-header .wordmark img {
    width: 29px;
    height: 29px;
  }
  .site-header .brand-suffix {
    font-size: 14px;
  }
  .site-header nav {
    display: none;
  }
  .header-account {
    font-size: 11px;
    padding: 11px 13px;
    margin-left: auto;
  }
  .header-account span {
    margin-left: 3px;
  }
  .home-world {
    height: 260px;
    top: 0;
    background: url("/assets/world-mobile.png") center 8px / auto 212px
      no-repeat;
  }
  .home-hero {
    padding: 216px 12px 19px;
  }
  .home-hero h1 {
    font-size: 34px;
    letter-spacing: -1.6px;
    line-height: 1.08;
  }
  .home-hero > p {
    font-size: 12px;
    margin-top: 13px;
  }
  .mode-picker {
    gap: 10px;
    margin: 0 16px 26px;
  }
  .mode-choice,
  .mode-choice.selected {
    min-height: 134px;
    padding: 13px 12px;
    position: relative;
    display: block;
  }
  .mode-choice strong {
    font-size: 13px;
    margin-top: 7px;
  }
  .mode-choice small {
    font-size: 10px;
    line-height: 1.4;
    margin-top: 4px;
  }
  .mode-avatar,
  .mode-choice img {
    width: 44px;
    height: 44px;
  }
  .mode-avatar svg {
    width: 25px;
    height: 25px;
  }
  .mode-check {
    position: absolute;
    right: 11px;
    top: 15px;
    width: 19px;
    height: 19px;
    font-size: 12px;
  }
  .offer-grid {
    gap: 8px;
    margin: 0 12px;
  }
  .offer,
  .offer-featured {
    border-radius: 14px;
    padding: 18px 6px 10px;
  }
  .offer-icon {
    width: 37px;
    height: 37px;
  }
  .offer-icon svg {
    width: 21px;
    height: 21px;
  }
  .offer h2 {
    font-size: 14px;
  }
  .offer > p {
    font-size: 10px;
    line-height: 1.4;
    min-height: 28px;
    margin-bottom: 9px;
  }
  .offer-price {
    font-size: 22px;
    letter-spacing: -1px;
  }
  .offer-price span {
    display: block;
    font-size: 10px;
    margin-top: 3px;
    letter-spacing: 0;
  }
  .offer-tag {
    font-size: 8px;
    padding: 5px 7px;
  }
  .choose-plan {
    font-size: 10px;
    padding: 10px 5px;
    gap: 4px;
    min-height: 40px;
    margin-top: 11px;
  }
  .choose-plan svg {
    width: 12px;
    height: 12px;
  }
  .offer small {
    font-size: 9px;
    line-height: 1.4;
    min-height: 25px;
  }
  .pricing-note {
    font-size: 10px;
    line-height: 1.5;
  }
  .setup-panel {
    margin: 0 12px;
    padding: 17px 10px 20px;
  }
  .setup-panel h2 {
    font-size: 15px;
  }
  .setup-steps {
    grid-template-columns: 1fr 15px 1fr 15px 1fr;
  }
  .setup-steps svg {
    width: 38px;
    height: 38px;
  }
  .step-number {
    width: 22px;
    height: 22px;
    left: 1%;
    font-size: 11px;
  }
  .step-arrow {
    font-size: 22px;
  }
  .setup-steps h3 {
    font-size: 10px;
    line-height: 1.4;
    min-height: 28px;
    margin-top: 12px;
  }
  .setup-steps p {
    font-size: 9px;
  }
  .connection-toggle {
    width: 54px;
    height: 28px;
    margin: 4px auto 6px;
  }
  .connection-toggle:after {
    width: 20px;
    height: 20px;
  }
  .device-panel {
    margin: 22px 16px;
  }
  .device-panel > p {
    font-size: 11px;
    line-height: 1.6;
  }
  .device-links {
    flex-wrap: wrap;
    gap: 5px;
  }
  .device-links a {
    font-size: 11px;
  }
  .home-benefits {
    gap: 8px;
    margin: 20px 12px 0;
    padding-top: 18px;
  }
  .home-benefits span {
    font-size: 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    line-height: 1.5;
  }
  .site-footer {
    margin-top: 22px;
  }
  .nico-chat {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .chat-heading {
    padding: 12px 16px;
    gap: 8px;
  }
  .chat-heading img {
    width: 37px;
    height: 37px;
  }
  .chat-heading h1 {
    font-size: 14px;
  }
  .chat-heading p {
    display: none;
  }
  .chat-exit {
    padding: 9px 11px;
    font-size: 11px;
  }
  .chat-exit svg {
    display: none;
  }
  .chat-transcript {
    padding: 18px 14px;
  }
  .chat-bubble {
    max-width: 92%;
    padding: 12px 14px;
    font-size: 14px;
  }
  .chat-controls {
    padding-left: 12px;
    padding-right: 12px;
  }
  .chat-suggestions button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .chat-disclosure {
    font-size: 9px;
  }
  .chat-plan .choose-plan {
    font-size: 12px;
  }
  .chat-form input {
    font-size: 16px;
  }
  .chat-heading > div {
    min-width: 0;
  }
}
@media (max-height: 460px) {
  .fun-active .site-header {
    height: 48px;
    flex-basis: 48px;
  }
  .chat-heading {
    padding: 7px 14px;
  }
  .chat-heading p,
  .chat-heading img,
  .chat-disclosure {
    display: none;
  }
  .chat-controls {
    padding-top: 3px;
    padding-bottom: 6px;
  }
  .chat-suggestions {
    padding-bottom: 5px;
  }
  .chat-suggestions button {
    min-height: 28px;
    padding: 5px 10px;
  }
  .chat-transcript {
    padding: 12px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.nico-chat > * {
  min-width: 0;
}
.chat-heading > div {
  min-width: 0;
  flex: 1;
}
.chat-exit {
  flex-shrink: 0;
}
.fun-active .site-header {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
}
.chat-form {
  margin: 0;
}
.fun-active main {
  margin: 0 auto;
}
.chat-transcript {
  width: 100%;
}
.chat-controls {
  width: 100%;
}
.chat-bubble {
  min-width: 0;
}
.site-header {
  min-height: 0;
  flex-wrap: nowrap;
  padding-top: 0;
  padding-bottom: 0;
}
/* Chat patterns adapted from beautifului.dev: question cards, compact activity,
   prompt bar and recommendation actions. Native DOM, using NicerVPN tokens. */
.fun-active .site-header {
  max-width: none;
  padding-left: clamp(16px, 4vw, 64px);
  padding-right: clamp(16px, 4vw, 64px);
}
.nico-chat {
  width: 100%;
  max-width: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(ellipse at top right, #e8f7f166, transparent 65%), #f8fcfb;
}
.chat-heading {
  padding: 14px clamp(16px, 4vw, 64px);
  gap: 12px;
}
.chat-heading > div {
  flex: 1;
}
.chat-heading h1 {
  font-size: 17px;
}
.chat-heading p {
  display: none;
}
.chat-progress {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.chat-restart {
  background: transparent;
  border: 0;
  border-radius: 20px;
  color: var(--muted);
  font-size: 12px;
  padding: 10px 12px;
  min-height: 40px;
}
.chat-exit {
  margin-left: 0;
  min-height: 40px;
}
.chat-transcript {
  padding: 28px clamp(16px, 4vw, 64px);
  scroll-padding-bottom: 24px;
}
.chat-row {
  gap: 12px;
  margin-bottom: 22px;
}
.chat-row.assistant:before {
  content: "";
  display: block;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f7ed url("/assets/nico.png") center/32px no-repeat;
  margin-top: 4px;
}
.chat-bubble {
  max-width: min(760px, 85%);
  font-size: 15px;
  background: white;
  border-color: #dde9e3;
  padding: 17px 20px;
  white-space: normal;
  box-shadow: 0 3px 15px #1a3f2a03;
}
.user .chat-bubble {
  max-width: min(650px, 80%);
  white-space: pre-wrap;
}
.chat-bubble > p {
  margin: 0 0 12px;
  line-height: 1.65;
}
.chat-bubble > p:last-child {
  margin-bottom: 0;
}
.chat-bubble strong {
  font-weight: 750;
  color: #123e2b;
}
.chat-bubble ul,
.chat-bubble ol {
  padding-left: 21px;
  margin: 10px 0;
  line-height: 1.7;
}
.chat-bubble code {
  font-size: 0.9em;
  background: #eaf2ee;
  border-radius: 4px;
  padding: 2px 4px;
}
.chat-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #587264;
  margin-top: 12px;
}
.chat-source svg {
  width: 13px;
  height: 13px;
}
.question-row {
  max-width: 810px;
}
.question-card {
  width: 100%;
  background: white;
  border: 1px solid #d8e8df;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 5px 24px #194d3105;
  margin: 0;
  min-width: 0;
}
.question-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #4d7560;
  margin-bottom: 20px;
}
.question-dots {
  display: flex;
  gap: 5px;
}
.question-dots span {
  height: 4px;
  width: 22px;
  border-radius: 3px;
  background: #e4eee8;
}
.question-dots .filled {
  background: #299868;
}
.question-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.question-card legend {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 750;
  padding: 0;
}
.question-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 18px;
}
.answer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.answer-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #dfe9e3;
  border-radius: 13px;
  min-height: 133px;
  padding: 15px;
  cursor: pointer;
  gap: 11px;
  background: #fcfefd;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.answer-option:hover {
  border-color: #64ad88;
  background: #f3fbf6;
}
.answer-option:has(input:checked) {
  border: 2px solid #28875d;
  padding: 14px;
  background: #eff9f3;
}
.answer-option:has(input:focus-visible) {
  outline: 3px solid #26865d;
  outline-offset: 3px;
}
.answer-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}
.answer-option:has(input:disabled) {
  cursor: wait;
  opacity: 0.65;
}
.answer-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e5f5ec;
  display: grid;
  place-items: center;
  color: #25865d;
}
.answer-icon svg {
  width: 21px;
  height: 21px;
}
.answer-option strong {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
.answer-option small {
  display: block;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 4px;
}
.answer-radio {
  position: absolute;
  right: 12px;
  top: 15px;
  border: 1.5px solid #b8cfc0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: white;
}
.answer-option:has(input:checked) .answer-radio {
  border: 4px solid #28875d;
}
.question-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid #edf2ee;
  padding-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.question-footer > div {
  display: flex;
  gap: 8px;
}
.question-footer button {
  border: 0;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 12px;
  min-height: 40px;
}
.question-skip {
  background: transparent;
  color: var(--muted);
}
.question-continue {
  background: #25865d;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.question-continue svg {
  width: 15px;
  height: 15px;
}
.question-continue:disabled {
  background: #e6eeea;
  color: #617b6a;
  opacity: 1;
  cursor: default;
}
.question-answered {
  margin-bottom: 14px;
}
.question-answered .question-card {
  padding: 11px 17px;
  background: #f6fbf8;
  box-shadow: none;
}
.question-recap {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.question-recap > svg {
  width: 18px;
  height: 18px;
  color: #28875d;
  flex-shrink: 0;
}
.question-recap strong {
  display: block;
  font-size: 13px;
  margin-top: 3px;
  color: var(--ink);
}
.chat-plan {
  border: 1px solid #cfe5d8;
  border-radius: 14px;
  background: linear-gradient(130deg, #f7fdf9, #edf8f1);
  padding: 16px;
  margin-top: 16px;
}
.recommendation-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #307650;
  margin-bottom: 14px;
}
.recommendation-label svg {
  width: 15px;
  height: 15px;
}
.recommendation-top {
  display: flex;
  gap: 11px;
  align-items: center;
}
.recommendation-icon {
  width: 39px;
  height: 39px;
  border: 1px solid #d9eadf;
  border-radius: 10px;
  background: white;
  display: grid;
  place-items: center;
  color: #25865d;
  flex-shrink: 0;
}
.recommendation-icon svg {
  width: 22px;
  height: 22px;
}
.recommendation-top h2 {
  font-size: 16px;
  margin: 0;
  letter-spacing: -0.3px;
}
.recommendation-top p {
  margin: 3px 0 0;
  font-size: 11px;
}
.recommendation-top > strong {
  margin-left: auto;
  white-space: nowrap;
  font-size: 24px;
  letter-spacing: -1px;
}
.chat-plan .recommendation-terms {
  margin: 12px 0;
  font-size: 11px;
}
.recommendation-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.recommendation-actions .choose-plan {
  margin: 0;
  width: auto;
  padding: 10px 17px;
}
.recommendation-alternatives {
  border: 1px solid #cbded2;
  background: white;
  border-radius: 24px;
  padding: 10px 14px;
  font-size: 11px;
  min-height: 40px;
  color: var(--ink);
}
.chat-plan > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.chat-controls {
  padding: 10px clamp(16px, 4vw, 64px) max(10px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e2ebe5;
}
.chat-form {
  border-radius: 18px;
  padding: 9px 9px 9px 17px;
  align-items: flex-end;
  background: #fcfefd;
}
.chat-form textarea {
  flex: 1;
  min-width: 0;
  margin: 0;
  min-height: 40px;
  max-height: 110px;
  resize: none;
  border: 0;
  background: transparent;
  outline: none;
  padding: 9px 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.chat-form textarea:focus-visible {
  outline: none;
}
.chat-send {
  border-radius: 12px;
}
.chat-suggestions {
  padding-bottom: 9px;
}
.chat-suggestions button {
  min-height: 34px;
  font-size: 11px;
  padding: 8px 12px;
  background: white;
  border-color: #dce8df;
  color: #41634f;
}
.chat-disclosure {
  font-size: 10px;
}
.chat-pending {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px 44px;
  padding: 0;
  min-height: 24px;
  color: #52735e;
  font-size: 12px;
}
.pixel-loader {
  display: grid;
  grid-template-columns: repeat(3, 3px);
  grid-template-rows: repeat(3, 3px);
  gap: 2px;
  flex-shrink: 0;
}
.pixel-loader i {
  background: #28875d;
  border-radius: 1px;
  animation: pixel-pulse 1.2s ease-in-out infinite;
}
.pixel-loader i:nth-child(3n) {
  animation-delay: 0.3s;
}
.pixel-loader i:nth-child(2n) {
  animation-delay: 0.6s;
}
.pending-time {
  color: #668371;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.chat-retry {
  display: block;
  margin-top: 12px;
  border: 1px solid #cbded2;
  border-radius: 20px;
  background: white;
  color: var(--ink);
  padding: 8px 13px;
  font-size: 12px;
  min-height: 38px;
}
.chat-error .chat-bubble {
  border-color: #dfceb8;
  background: #fffcf7;
}
@keyframes pixel-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 700px) {
  .chat-heading {
    gap: 9px;
    padding: 11px 16px;
  }
  .chat-heading h1 {
    font-size: 14px;
  }
  .chat-heading img {
    width: 37px;
    height: 37px;
  }
  .chat-restart {
    font-size: 11px;
    padding: 8px;
    min-height: 36px;
  }
  .chat-exit {
    font-size: 11px;
    padding: 8px 11px;
    min-height: 36px;
  }
  .chat-transcript {
    padding: 20px 16px;
  }
  .chat-row {
    gap: 8px;
  }
  .chat-row.assistant:before {
    flex-basis: 25px;
    height: 25px;
    background-size: 25px;
  }
  .chat-bubble {
    max-width: calc(100% - 33px);
    padding: 13px 15px;
    font-size: 14px;
  }
  .chat-row.user .chat-bubble {
    max-width: 88%;
  }
  .question-card {
    padding: 17px 16px;
    border-radius: 16px;
  }
  .question-card legend {
    font-size: 20px;
  }
  .question-eyebrow {
    font-size: 8px;
    margin-bottom: 16px;
  }
  .question-note {
    font-size: 11px;
  }
  .answer-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .answer-option {
    flex-direction: row;
    align-items: center;
    min-height: 65px;
    padding: 12px;
    gap: 11px;
  }
  .answer-option:has(input:checked) {
    padding: 11px;
  }
  .answer-option > span:nth-of-type(2) {
    padding-right: 16px;
  }
  .answer-option strong {
    font-size: 12px;
  }
  .answer-option small {
    font-size: 10px;
    margin-top: 2px;
  }
  .answer-radio {
    top: 50%;
    transform: translateY(-50%);
  }
  .answer-icon {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
  }
  .question-footer {
    margin-top: 15px;
    padding-top: 11px;
  }
  .question-footer button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .question-answered .question-card {
    padding: 10px 12px;
  }
  .question-recap {
    font-size: 10px;
  }
  .question-recap strong {
    font-size: 12px;
  }
  .chat-controls {
    padding-left: 12px;
    padding-right: 12px;
  }
  .chat-plan {
    padding: 12px;
  }
  .recommendation-top > strong {
    font-size: 21px;
  }
  .recommendation-top h2 {
    font-size: 14px;
  }
  .recommendation-top p {
    font-size: 10px;
  }
  .recommendation-icon {
    width: 32px;
    height: 32px;
  }
  .recommendation-actions {
    gap: 6px;
  }
  .recommendation-actions .choose-plan {
    font-size: 10px;
    padding: 10px;
  }
  .recommendation-alternatives {
    font-size: 10px;
    padding: 10px;
  }
  .chat-source {
    font-size: 9px;
    line-height: 1.4;
  }
  .chat-pending {
    margin-left: 33px;
  }
  .chat-disclosure {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .chat-restart {
    display: none;
  }
  .chat-bubble {
    max-width: 100%;
  }
  .chat-row.assistant:before {
    display: none;
  }
  .question-card legend {
    font-size: 18px;
  }
  .chat-heading h1 {
    font-size: 13px;
  }
  .chat-progress {
    font-size: 10px;
  }
  .chat-plan .recommendation-top {
    gap: 7px;
  }
  .recommendation-icon {
    display: none;
  }
  .chat-pending {
    margin-left: 0;
  }
}
@media (max-height: 460px) {
  .chat-heading {
    padding: 7px 16px;
  }
  .chat-progress {
    display: none;
  }
  .chat-controls {
    padding-top: 5px;
    padding-bottom: 6px;
  }
  .chat-form {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .chat-disclosure {
    display: none;
  }
  .chat-suggestions {
    padding-bottom: 6px;
  }
  .chat-transcript {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .chat-heading img {
    display: none;
  }
  .chat-heading h1 {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pixel-loader i {
    animation: none;
    opacity: 0.6;
  }
}
.question-card .answer-option {
  margin: 0;
  font-weight: 400;
}
.answer-option input {
  min-height: 0;
}
.chat-form textarea::placeholder {
  color: #677d70;
}
.chat-row.question-row {
  max-width: 810px;
}

/* The public storefront leads with the plans. Nico stays available as help. */
.home-hero {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 28px;
}
.home-eyebrow {
  color: #25865d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.hero-cta,
.hero-help {
  align-items: center;
  border-radius: 28px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}
.hero-cta {
  background: #25865d;
  color: white;
}
.hero-help {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.hero-cta svg,
.hero-help svg {
  height: 16px;
  width: 16px;
}
.plans-heading {
  margin: 4px auto 20px;
  max-width: 878px;
  text-align: center;
}
.plans-heading h2 {
  font-size: 26px;
  letter-spacing: -1px;
  margin: 0;
}
.plans-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}
.offer {
  min-height: 298px;
}
.offer-price {
  margin-top: 4px;
}
.offer-value {
  color: #25865d;
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.offer .choose-plan {
  margin-top: auto;
}

@media (max-width: 540px) {
  .home-hero {
    padding-bottom: 23px;
  }
  .home-eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }
  .hero-cta,
  .hero-help {
    font-size: 12px;
    min-height: 43px;
    width: 100%;
  }
  .plans-heading {
    margin: 0 16px 16px;
  }
  .plans-heading h2 {
    font-size: 21px;
  }
  .plans-heading > p:last-child {
    font-size: 12px;
    line-height: 1.5;
  }
  .offer {
    min-height: 288px;
  }
  .offer-value {
    font-size: 9px;
    line-height: 1.35;
    min-height: 24px;
  }
}
