:root {
  --mint: #5cdb95;
  --mint-bright: #42d789;
  --mint-soft: #8ee4af;
  --mint-pale: #edf5e1;
  --green: #379683;
  --navy: #05386b;
  --navy-deep: #032b52;
  --white: #ffffff;
  --ink: #092d45;
  --muted: #587081;
  --coral: #f45b69;
  --yellow: #ffca58;
  --border: rgba(5, 56, 107, 0.14);
  --shadow: 0 24px 70px rgba(5, 56, 107, 0.14);
  --radius: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 94px;
  color: var(--navy);
  transition: height 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-sticky {
  position: fixed;
  height: 76px;
  background: rgba(92, 219, 149, 0.94);
  box-shadow: 0 12px 30px rgba(5, 56, 107, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 102;
  width: clamp(220px, 26vw, 330px);
}

.brand img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  transition: height 200ms ease;
}

.is-sticky .brand img {
  height: 58px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-nav > a:not(.button) {
  position: relative;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .login-link {
  margin-left: 4px;
}

.language-picker {
  display: inline-flex;
  height: 42px;
  padding: 0 8px;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(5, 56, 107, 0.25);
  border-radius: 10px;
}

.language-picker > .material-symbols-outlined {
  font-size: 18px;
}

.language-picker select {
  padding: 0;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.language-picker option {
  color: var(--navy);
  background: var(--mint-pale);
}

.language-picker .language-arrow {
  margin-left: -2px;
  font-size: 16px;
  pointer-events: none;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(5, 56, 107, 0.18);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  color: var(--navy);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(5, 56, 107, 0.2);
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.75rem;
}

.button-large {
  min-height: 60px;
  padding: 17px 28px;
}

.button .material-symbols-outlined {
  font-size: 20px;
  transition: transform 180ms ease;
}

.button:hover .material-symbols-outlined {
  transform: translateX(4px);
}

.button-outline {
  color: var(--navy);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy);
}

.button-full {
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(244, 91, 105, 0.15);
}

.hero {
  position: relative;
  display: grid;
  min-height: 900px;
  overflow: hidden;
  align-items: center;
  padding: 150px 0 92px;
  color: var(--navy);
  background: var(--mint);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  content: "";
  background: rgba(255, 255, 255, 0.13);
  transform: rotate(-14deg);
}

.hero::before {
  width: 145%;
  height: 190px;
  right: -22%;
  bottom: 60px;
}

.hero::after {
  width: 120%;
  height: 120px;
  right: -10%;
  top: 150px;
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-orb-one {
  width: 440px;
  height: 440px;
  top: -220px;
  right: 5%;
  background: rgba(142, 228, 175, 0.7);
}

.hero-orb-two {
  width: 240px;
  height: 240px;
  bottom: -100px;
  left: -80px;
  background: rgba(55, 150, 131, 0.3);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-copy .eyebrow {
  color: var(--navy);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 4.7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.headline-prefix,
.headline-suffix {
  display: block;
  white-space: nowrap;
}

.rotating-word {
  position: relative;
  display: block;
  min-height: 1em;
  color: var(--white);
  text-shadow: 0 4px 0 rgba(5, 56, 107, 0.06);
  white-space: nowrap;
}

.rotating-word.is-changing {
  animation: word-change 260ms ease both;
}

@keyframes word-change {
  50% { opacity: 0; transform: translateY(8px); }
}

.hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  padding: 8px 0;
  align-items: center;
  color: var(--navy);
  border-bottom: 2px solid currentColor;
  font-size: 0.93rem;
  font-weight: 700;
  transition: opacity 180ms ease;
}

.text-link:hover {
  opacity: 0.62;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-list .material-symbols-outlined {
  font-size: 20px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.visual-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  top: 44px;
  right: 10px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.dashboard-card {
  position: absolute;
  z-index: 3;
  width: min(100%, 470px);
  top: 30px;
  right: 0;
  padding: 30px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(5, 56, 107, 0.24);
  transform: rotate(2deg);
  backdrop-filter: blur(10px);
}

.dashboard-top,
.progress-label,
.dashboard-event,
.dashboard-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  color: #226a4d;
  background: rgba(92, 219, 149, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.live-pill span {
  width: 7px;
  height: 7px;
  background: var(--mint-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(92, 219, 149, 0.2);
}

.dashboard-event {
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--border);
}

.dashboard-event strong {
  display: block;
  margin-top: 5px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.card-kicker {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 16px;
  font-size: 30px;
}

.progress-label {
  margin-top: 24px;
  font-size: 0.85rem;
}

.progress-label span {
  color: var(--muted);
}

.progress-track {
  height: 10px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--mint-pale);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 82.4%;
  height: 100%;
  background: var(--mint);
  border-radius: inherit;
}

.dashboard-stats {
  gap: 12px;
  margin-top: 24px;
}

.dashboard-stats div {
  flex: 1;
  padding: 16px;
  background: #f5f8f7;
  border-radius: 14px;
}

.dashboard-stats span,
.dashboard-stats strong {
  display: block;
}

.dashboard-stats span {
  color: var(--muted);
  font-size: 0.7rem;
}

.dashboard-stats strong {
  margin-top: 3px;
  font-size: 1.08rem;
}

.scan-card {
  position: absolute;
  z-index: 5;
  right: -24px;
  bottom: 54px;
  display: flex;
  min-width: 300px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(5, 56, 107, 0.25);
}

.scan-card > .material-symbols-outlined:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 12px;
}

.scan-card div {
  flex: 1;
}

.scan-card strong,
.scan-card div span {
  display: block;
}

.scan-card strong {
  font-size: 0.88rem;
}

.scan-card div span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.7rem;
}

.scan-check {
  color: var(--mint);
}

.hero-people {
  position: absolute;
  z-index: 2;
  width: 82%;
  right: 14%;
  bottom: -60px;
  opacity: 0.25;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue .material-symbols-outlined {
  font-size: 18px;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  50% { transform: translateY(5px); }
}

.section-heading {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-heading h2,
.pricing-copy h2,
.app-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.pricing-copy > p,
.app-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.features {
  position: relative;
  background: var(--white);
}

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

.feature-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 32px 28px;
  background: #f7faf8;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: rgba(55, 150, 131, 0.5);
  box-shadow: 0 18px 45px rgba(5, 56, 107, 0.09);
  transform: translateY(-5px);
}

.feature-card-highlight {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
  grid-column: span 2;
}

.feature-card-highlight p {
  color: rgba(255, 255, 255, 0.68) !important;
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(5, 56, 107, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.feature-card-highlight .feature-number {
  color: rgba(255, 255, 255, 0.22);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 15px;
  font-size: 28px;
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--yellow);
}

.feature-card:nth-child(3n + 2) .feature-icon {
  background: rgba(244, 91, 105, 0.16);
  color: var(--coral);
}

.feature-card h3 {
  max-width: 260px;
  margin: 30px 0 12px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.section-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 54px;
}

.section-action p {
  margin: 0;
  font-weight: 600;
}

.pricing {
  position: relative;
  overflow: hidden;
  background: var(--mint-pale);
}

.pricing::after {
  position: absolute;
  width: 580px;
  height: 580px;
  right: -240px;
  bottom: -300px;
  content: "";
  background: rgba(92, 219, 149, 0.25);
  border-radius: 50%;
}

.pricing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(60px, 10vw, 130px);
  grid-template-columns: 1fr minmax(390px, 0.72fr);
}

.pricing-benefits {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  font-weight: 600;
}

.pricing-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-benefits .material-symbols-outlined {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 18px;
}

.price-card {
  position: relative;
  padding: 38px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-card::before {
  position: absolute;
  width: 90px;
  height: 90px;
  top: -18px;
  right: -18px;
  content: "";
  background: var(--mint);
  border-radius: 22px;
  opacity: 0.22;
  transform: rotate(18deg);
}

.price-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 8px 16px;
  grid-template-columns: 1fr auto;
}

.price-card-top > span {
  grid-row: span 2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card select {
  max-width: 200px;
  padding: 8px 32px 8px 10px;
  color: var(--white);
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 0.75rem;
}

.price {
  padding: 46px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.price span {
  display: block;
}

#price-value {
  color: var(--mint);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
}

.price span:last-child {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.free-ticket {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
}

.free-ticket > .material-symbols-outlined {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 13px;
}

.free-ticket strong,
.free-ticket div span {
  display: block;
}

.free-ticket div span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.price-card .button {
  color: var(--navy);
  background: var(--mint);
  border-color: var(--mint);
}

.price-card .button:hover {
  background: var(--white);
  border-color: var(--white);
}

.price-card small {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
  text-align: center;
}

.app-section {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.app-grid {
  display: grid;
  min-height: 650px;
  align-items: center;
  gap: clamp(70px, 10vw, 140px);
  grid-template-columns: minmax(390px, 0.9fr) 1fr;
}

.phone-stage {
  position: relative;
  min-height: 620px;
}

.phone-stage::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 70px;
  left: -100px;
  content: "";
  background: var(--mint);
  border-radius: 50%;
  opacity: 0.85;
}

.phone {
  position: absolute;
  overflow: hidden;
  background: #101a25;
  border: 9px solid #101a25;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.phone::before {
  position: absolute;
  z-index: 2;
  width: 82px;
  height: 20px;
  top: 8px;
  left: 50%;
  content: "";
  background: #101a25;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-front {
  z-index: 3;
  width: 246px;
  height: 520px;
  right: 30px;
  bottom: 12px;
  transform: rotate(4deg);
}

.phone-back {
  z-index: 2;
  width: 220px;
  height: 470px;
  top: 20px;
  left: 4px;
  opacity: 0.92;
  transform: rotate(-8deg);
}

.scan-badge {
  position: absolute;
  z-index: 5;
  right: -8px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  color: var(--navy);
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.scan-badge > .material-symbols-outlined {
  color: var(--green);
  font-size: 32px;
}

.scan-badge strong,
.scan-badge div span {
  display: block;
}

.scan-badge strong {
  font-size: 0.8rem;
}

.scan-badge div span {
  color: var(--muted);
  font-size: 0.67rem;
}

.app-copy {
  position: relative;
  z-index: 2;
}

.app-copy .eyebrow {
  color: var(--mint);
}

.app-copy h2 {
  color: var(--white);
}

.app-copy > p {
  color: rgba(255, 255, 255, 0.68);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-links a {
  transition: opacity 180ms ease, transform 180ms ease;
}

.store-links a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.store-links img {
  width: auto;
  height: 50px;
}

.text-link-dark {
  margin-top: 28px;
  color: var(--mint);
}

.site-footer {
  color: rgba(255, 255, 255, 0.65);
  background: var(--navy-deep);
}

.footer-top {
  display: grid;
  gap: 80px;
  padding-top: 78px;
  padding-bottom: 64px;
  grid-template-columns: 1.1fr 1fr;
}

.footer-brand img {
  width: min(300px, 100%);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  margin: 16px 0 0;
}

.footer-links {
  display: grid;
  gap: 44px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.82rem;
}

.footer-links a {
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  display: flex;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.72rem;
  justify-content: space-between;
}

@media (max-width: 1120px) {
  .primary-nav {
    gap: 18px;
  }

  .primary-nav > a:nth-child(4) {
    display: none;
  }

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

  .feature-card-highlight {
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .section {
    padding: 90px 0;
  }

  .site-header,
  .site-header.is-sticky {
    height: 76px;
  }

  .brand {
    width: 230px;
  }

  .brand img,
  .is-sticky .brand img {
    height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .no-js .site-header,
  .no-js .site-header.is-sticky {
    position: relative;
    height: auto;
    background: var(--mint);
  }

  .no-js .header-inner {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .no-js .menu-toggle {
    display: none;
  }

  .no-js .primary-nav {
    position: static;
    width: 100%;
    padding: 16px 0 4px;
    flex-flow: row wrap;
    gap: 4px 18px;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .no-js .primary-nav .login-link {
    margin: 0;
    border: 0;
  }

  .no-js .primary-nav .button {
    width: 100%;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(86vw, 380px);
    padding: 108px 32px 40px;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    background: var(--mint-pale);
    box-shadow: -20px 0 60px rgba(5, 56, 107, 0.18);
    transform: translateX(110%);
    transition: transform 220ms ease;
  }

  .primary-nav::before {
    position: fixed;
    z-index: -1;
    top: 0;
    right: min(86vw, 380px);
    bottom: 0;
    width: 100vw;
    content: "";
    background: rgba(3, 43, 82, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > a,
  .primary-nav > a:nth-child(4) {
    display: block;
    padding: 13px 4px;
    font-size: 1rem;
  }

  .primary-nav > a:not(.button)::after {
    display: none;
  }

  .primary-nav .login-link {
    margin: 12px 0 4px;
    border-top: 1px solid var(--border);
  }

  .primary-nav .language-picker {
    width: fit-content;
    margin: 8px 0;
  }

  .primary-nav .button {
    display: inline-flex;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 90px;
  }

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

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 580px);
    min-height: 520px;
    margin-inline: auto;
  }

  .scroll-cue {
    display: none;
  }

  .pricing-grid,
  .app-grid {
    gap: 70px;
    grid-template-columns: 1fr;
  }

  .price-card {
    width: min(100%, 540px);
  }

  .app-grid {
    min-height: auto;
  }

  .app-copy {
    max-width: 700px;
    order: -1;
  }

  .phone-stage {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top {
    gap: 48px;
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 76px 0;
  }

  .brand {
    width: 200px;
  }

  .hero {
    padding: 116px 0 70px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 3.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 410px;
  }

  .visual-glow {
    width: 320px;
    height: 320px;
    right: 0;
  }

  .dashboard-card {
    padding: 22px;
    border-radius: 22px;
    transform: none;
  }

  .dashboard-event strong {
    font-size: 1.22rem;
  }

  .scan-card {
    right: 4px;
    bottom: 14px;
    min-width: 270px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .price-card {
    padding: 26px 22px;
  }

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

  .price-card-top > span {
    grid-row: auto;
  }

  .price-card select {
    width: 100%;
    max-width: none;
  }

  .phone-stage {
    min-height: 500px;
    transform: scale(0.85);
    transform-origin: top center;
    margin-bottom: -80px;
  }

  .phone-stage::before {
    width: 430px;
    height: 430px;
    left: 50%;
    transform: translateX(-50%);
  }

  .phone-front {
    right: 12px;
  }

  .phone-back {
    left: 12px;
  }

  .scan-badge {
    right: 0;
  }

  .store-links img {
    height: 44px;
  }

  .footer-links {
    gap: 30px 18px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
