:root {
  --blue: #005eb8;
  --blue-dark: #003f7f;
  --blue-soft: #eaf5ff;
  --green: #007f3b;
  --green-soft: #edf8f1;
  --purple: #5b3b85;
  --purple-soft: #f3edf8;
  --ink: #102033;
  --muted: #5d6b7c;
  --line: #dce6f0;
  --bg: #f6f9fc;
  --white: #fff;
  --amber: #ffb81c;
  --red: #d5281b;
  --shadow: 0 22px 60px rgba(16, 32, 51, 0.13);
  --radius: 26px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body > * {
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.container {
  width: min(1180px, calc(100% - 40px));
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.topbar {
  padding: 9px 0;
  color: #fff;
  background: var(--blue-dark);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.topbar .container > div {
  overflow-wrap: anywhere;
}

.topbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  justify-content: flex-end;
}

.topbar-meta span {
  display: inline-flex;
  align-items: center;
}

.topbar-meta span + span::before {
  margin-right: 10px;
  content: "·";
}

.topbar .container > div,
.hero-grid > *,
.demo-layout > *,
.nav-inner > *,
.signup-grid > *,
.problem-grid > *,
.receipt-grid > *,
.pricing > *,
.included-grid > *,
.examples > * {
  min-width: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #00a3e0);
  box-shadow: 0 12px 28px rgba(0, 94, 184, 0.24);
  font-size: 25px;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  color: #293d55;
  font-size: 15px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 94, 184, 0.24);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-light {
  color: var(--blue);
  background: #fff;
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  color: var(--blue);
  border-color: var(--blue);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 163, 224, 0.4), transparent 30%),
    linear-gradient(135deg, #005eb8 0%, #004b93 50%, #08284d 100%);
}

.hero .container {
  width: min(1280px, calc(100% - 40px));
  max-width: calc(100% - 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(520px, 0.98fr);
  gap: 58px;
  align-items: center;
}

.hero-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 900;
}

.hero h1 {
  max-width: 630px;
  margin-bottom: 22px;
  font-size: clamp(46px, 4.6vw, 70px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.lead {
  width: min(700px, 100%);
  margin-bottom: 18px;
  color: #e9f6ff;
  font-size: clamp(20px, 2vw, 26px);
  overflow-wrap: anywhere;
}

.support {
  width: min(610px, 100%);
  margin-bottom: 28px;
  color: #d9ecff;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0;
}

.trust-row {
  max-width: 600px;
  margin-top: 20px;
}

.trust-pill {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.trust-pill::before {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: #00a65a;
  content: "✓";
  font-size: 13px;
}

.demo-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  max-width: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 31, 63, 0.28);
}

.demo-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.demo-title span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.live-badge {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green);
  background: #e7f6ed;
  font-size: 12px;
  font-weight: 900;
}

.demo-layout {
  display: grid;
  flex: 1;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.poster-shell {
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7fbff;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.1);
}

.poster-shell img {
  width: 100%;
  aspect-ratio: 1600 / 820;
  object-fit: contain;
  object-position: top center;
}

.poster-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.poster-strip img {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

.animated-flow {
  position: relative;
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 9px;
  align-content: center;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #d8e6f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.06);
  opacity: 0.72;
  transform: translateX(0);
  animation: flowPulse 10s infinite;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-step-1 {
  animation-delay: 0s;
}

.flow-step-2 {
  animation-delay: 2s;
}

.flow-step-3 {
  animation-delay: 4s;
}

.flow-step-4 {
  animation-delay: 6s;
}

.flow-step-5 {
  animation-delay: 8s;
}

@keyframes flowPulse {
  0%,
  18% {
    border-color: rgba(0, 94, 184, 0.42);
    background: linear-gradient(90deg, #eaf5ff, #fff);
    box-shadow: 0 16px 34px rgba(0, 94, 184, 0.2);
    opacity: 1;
    transform: translateX(8px);
  }

  24%,
  100% {
    border-color: #d8e6f4;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.06);
    opacity: 0.72;
    transform: translateX(0);
  }
}

.step-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 900;
  animation: stepIconPulse 10s infinite;
}

.flow-step-1 .step-icon {
  animation-delay: 0s;
}

.flow-step-2 .step-icon {
  animation-delay: 2s;
}

.flow-step-3 .step-icon {
  animation-delay: 4s;
}

.flow-step-4 .step-icon {
  animation-delay: 6s;
}

.flow-step-5 .step-icon {
  animation-delay: 8s;
}

@keyframes stepIconPulse {
  0%,
  18% {
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(0, 127, 59, 0.12);
  }

  24%,
  100% {
    background: var(--blue);
    box-shadow: none;
  }
}

.flow-step strong {
  display: block;
  font-size: 15px;
}

.flow-step span {
  display: block;
  margin-top: 2px;
  color: #4f6175;
  font-size: 13px;
}

.scan-beam {
  display: none;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  max-width: 830px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head-left {
  max-width: none;
  margin: 0 0 22px;
  text-align: left;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.problem-grid,
.pricing,
.included-grid,
.examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel,
.step-card,
.mini-feature,
.example,
.included,
.price-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06);
}

.panel {
  padding: 28px;
  border-radius: var(--radius);
}

.panel h3 {
  margin-bottom: 18px;
  font-size: 27px;
}

.bad h3 {
  color: #9a1f1f;
}

.good h3 {
  color: var(--green);
}

.list {
  display: grid;
  gap: 12px;
}

.list-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 750;
}

.list-row span {
  display: grid;
  flex: 0 0 28px;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.bad .list-row span {
  background: var(--red);
}

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

.step-card {
  padding: 28px;
  border-radius: var(--radius);
}

.num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pathway-carousel {
  position: relative;
  width: min(980px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 58px 42px;
  overflow: hidden;
}

.pathway-track {
  display: grid;
  grid-auto-columns: minmax(360px, 76%);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 0 32px;
  scroll-behavior: smooth;
  scroll-padding-inline: 12%;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pathway-track::-webkit-scrollbar {
  display: none;
}

.pathway-track:focus-visible {
  outline: 3px solid rgba(0, 94, 184, 0.26);
  outline-offset: 8px;
}

.pathway-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 52px rgba(16, 32, 51, 0.13);
  opacity: 0.74;
  scroll-snap-align: center;
  transform: scale(0.92);
  transition: 0.18s ease;
}

.pathway-card.is-active,
.pathway-card:hover {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow);
}

.pathway-card.green,
.pathway-card.blue,
.pathway-card.purple {
  border-top: 5px solid #fff;
}

.pathway-image-wrap {
  aspect-ratio: 1600 / 820;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(0, 163, 224, 0.28), transparent 38%),
    linear-gradient(135deg, #eef6ff, #ffffff);
}

.pathway-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.pathway-body {
  padding: 18px 20px 20px;
}

.pathway-body h3 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.05;
}

.pathway-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 94, 184, 0.16);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 32px rgba(0, 94, 184, 0.24);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.18s ease;
}

.carousel-button:hover {
  background: var(--blue-dark);
}

.carousel-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.carousel-button-prev {
  left: 0;
}

.carousel-button-next {
  right: 0;
}

.carousel-dots {
  position: absolute;
  right: 58px;
  bottom: 0;
  left: 58px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #afc4d8;
  cursor: pointer;
  transition: 0.18s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--blue);
}

.receipt-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.receipt {
  max-width: 420px;
  margin: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  font-family: "Courier New", monospace;
}

.receipt-head {
  margin-bottom: 13px;
  padding-bottom: 13px;
  border-bottom: 1px dashed #aebccc;
  text-align: center;
}

.receipt h3 {
  margin-bottom: 0;
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
}

.receipt-qr {
  width: 156px;
  height: 156px;
  margin: 18px auto;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  image-rendering: pixelated;
  object-fit: contain;
}

.receipt-foot {
  text-align: center;
}

.mini-features {
  display: grid;
  gap: 12px;
}

.mini-feature {
  padding: 18px;
  border-radius: 16px;
}

.mini-feature h3 {
  margin-bottom: 6px;
  color: var(--blue);
}

.mini-feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.example {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.example h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.example ol {
  margin: 0;
  padding-left: 20px;
  color: #33465d;
}

.example li {
  margin: 9px 0;
}

.price-card {
  padding: 30px;
  border-width: 2px;
  border-radius: var(--radius);
}

.price-card.featured {
  border-color: var(--blue);
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #2b2100;
  background: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.price {
  color: var(--blue);
  font-size: 56px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.included {
  padding: 28px;
  border-radius: var(--radius);
}

.included h3 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 25px;
}

.signup {
  color: #fff;
  background: linear-gradient(135deg, #003f7f, #005eb8);
}

.signup .container {
  width: min(1260px, calc(100% - 40px));
  max-width: calc(100% - 40px);
}

.signup-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

.signup h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.signup p {
  color: #e3f2ff;
  font-size: 17px;
}

.form {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.signup-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.lookup-field,
.email-field {
  grid-column: auto;
}

.field span,
legend {
  color: #33465d;
  font-size: 13px;
  font-weight: 900;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 9px;
}

.selected-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.selected-plan legend {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px;
  border: 1px solid #c9d6e2;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
}

.choice,
.checkbox {
  display: flex;
  gap: 10px;
  color: #33465d;
  font-size: 14px;
}

.choice {
  align-items: flex-start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.choice:focus-within,
.plan-choice:has(input:checked) {
  border-color: rgba(0, 94, 184, 0.5);
  background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.12);
}

.choice input,
.checkbox input {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.choice strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.choice small {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #2b2100;
  background: #fff3cf;
  font-size: 12px;
  font-weight: 900;
}

.pharmacy-lookup {
  position: relative;
  display: block;
  min-width: 0;
}

.pharmacy-lookup input,
.password-control input {
  padding-right: 54px;
}

.password-control {
  position: relative;
  display: block;
  min-width: 0;
}

.input-icon-button {
  position: absolute;
  top: 50%;
  right: 7px;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.18s ease;
}

.input-icon-button:hover {
  color: #fff;
  background: var(--blue);
}

.input-icon-button:focus-visible {
  outline: 3px solid rgba(0, 94, 184, 0.26);
  outline-offset: 2px;
}

.input-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.password-toggle .icon-eye-off,
.password-toggle.is-visible .icon-eye {
  display: none;
}

.password-toggle.is-visible .icon-eye-off {
  display: block;
}

.agreement {
  align-items: flex-start;
  margin: 0;
}

.form-button {
  width: 100%;
}

.pharmacy-result {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border: 1px solid rgba(0, 127, 59, 0.3);
  border-radius: 12px;
  color: #15362c;
  background: var(--green-soft);
  font-weight: 700;
}

.pharmacy-result[hidden] {
  display: none;
}

.pharmacy-result strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.pharmacy-result span {
  color: var(--muted);
}

.form-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  color: #162b42;
  background: #eef7ff;
  font-size: 14px;
  font-weight: 800;
}

.signup .form-note {
  color: #07182b;
}

.form-note [data-form-note-message] {
  color: inherit;
}

.form-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.form-note--loading {
  border-color: rgba(0, 94, 184, 0.32);
  color: #102f4d;
  background: #eaf5ff;
}

.signup .form-note--loading {
  color: #06233d;
}

.form-note--success {
  border-color: rgba(0, 127, 59, 0.42);
  color: #123d29;
  background: #e7f7ef;
}

.signup .form-note--success {
  color: #052b1b;
}

.form-note--error {
  border-color: rgba(213, 40, 27, 0.32);
  color: #7f1d16;
  background: #fff0ee;
}

.signup .form-note--error {
  color: #5f120d;
}

.form-note--loading .form-note__icon,
.form-note--success .form-note__icon,
.form-note--error .form-note__icon {
  font-size: 0;
}

.form-note--loading .form-note__icon::before {
  content: "...";
  font-size: 0.9rem;
}

.form-note--success .form-note__icon {
  background: var(--green);
}

.form-note--success .form-note__icon::before {
  display: block;
  width: 9px;
  height: 5px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}

.form-note--error .form-note__icon {
  background: var(--red);
}

.form-note--error .form-note__icon::before {
  content: "!";
  font-size: 0.9rem;
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq details {
  margin: 12px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.faq summary {
  color: #243a53;
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

footer {
  padding: 38px 0;
  color: #d7e7f8;
  background: #07182b;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.small {
  max-width: 560px;
  color: #9fb7d1;
  font-size: 13px;
}

input:focus,
select:focus,
textarea:focus,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 94, 184, 0.26);
  outline-offset: 2px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .problem-grid,
  .receipt-grid,
  .pricing,
  .signup-grid,
  .examples,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .pathway-track {
    grid-auto-columns: minmax(330px, 82%);
    scroll-padding-inline: 9%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 760px) {
  .lookup-field,
  .email-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
    max-width: calc(100% - 28px);
  }

  .topbar .container {
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    text-align: center;
  }

  .topbar-meta {
    justify-content: center;
  }

  .topbar-meta span:last-child {
    flex-basis: 100%;
    justify-content: center;
  }

  .topbar-meta span:last-child::before {
    content: "";
    margin-right: 0;
  }

  .topbar .container > div,
  .lead,
  .support,
  .demo-title span,
  .flow-step strong,
  .flow-step span {
    overflow-wrap: anywhere;
  }

  .topbar .container > div {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .topbar {
    font-size: 13px;
  }

  .hero h1,
  .lead,
  .support {
    max-width: 340px;
  }

  .lead {
    font-size: 20px;
  }

  .nav-inner {
    min-height: 70px;
  }

  .brand small {
    font-size: 11px;
  }

  .nav .btn {
    display: none;
  }

  .hero {
    padding: 50px 0;
  }

  .demo-stage {
    min-height: 0;
    padding: 14px;
  }

  .demo-title {
    font-size: 16px;
  }

  .poster-shell img {
    height: auto;
    aspect-ratio: auto;
  }

  .poster-strip img {
    height: 48px;
  }

  .animated-flow {
    gap: 9px;
  }

  .flow-step {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 11px;
  }

  .step-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 16px;
  }

  .flow-step strong {
    font-size: 15px;
  }

  .flow-step span {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions .btn,
  .price-card .btn {
    width: 100%;
  }

  .form-grid,
  .selected-plan {
    grid-template-columns: 1fr;
  }

  .pathway-track {
    grid-auto-columns: minmax(258px, 88%);
    gap: 16px;
    scroll-padding-inline: 6%;
  }

  .pathway-carousel {
    padding: 0 38px 42px;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .carousel-button-prev {
    left: 0;
  }

  .carousel-button-next {
    right: 0;
  }

  .carousel-dots {
    right: 38px;
    left: 38px;
  }

  .pathway-body h3 {
    font-size: 20px;
  }

  .pathway-body p {
    font-size: 13px;
  }

  .field.full {
    grid-column: auto;
  }

  .poster-strip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-step,
  .step-icon {
    animation: none;
  }

  .flow-step-1 {
    border-color: rgba(0, 94, 184, 0.42);
    background: linear-gradient(90deg, #eaf5ff, #fff);
    box-shadow: 0 16px 34px rgba(0, 94, 184, 0.2);
    opacity: 1;
  }

  .flow-step-1 .step-icon {
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(0, 127, 59, 0.12);
  }
}
