/* ==========================================================================
   Components (mobile first)
   ========================================================================== */

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--c-blue);
  --btn-fg: var(--c-white);
  --btn-border: var(--c-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}

.btn:hover {
  --btn-bg: var(--c-blue-dark);
  --btn-border: var(--c-blue-dark);
  color: var(--btn-fg);
  box-shadow: 0 10px 22px -12px rgba(0, 119, 182, 0.7);
}

.btn:hover svg.icon-arrow {
  transform: translateX(3px);
}

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

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-navy);
  --btn-border: var(--c-border-strong);
}

.btn--ghost:hover {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-blue);
  --btn-border: var(--c-blue);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--c-white);
  --btn-fg: var(--c-navy);
  --btn-border: var(--c-white);
}

.btn--light:hover {
  --btn-bg: var(--c-aqua-light);
  --btn-fg: var(--c-navy);
  --btn-border: var(--c-aqua-light);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--c-white);
  --btn-border: rgba(255, 255, 255, 0.45);
}

.btn--outline-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: var(--c-white);
  --btn-border: var(--c-white);
  box-shadow: none;
}

.btn--sm {
  min-height: 44px;
  padding: 0 var(--sp-4);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  min-height: 44px;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Icons ---------- */

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  color: var(--c-blue);
  margin-bottom: var(--sp-4);
}

.section--dark .icon-tile {
  background: rgba(144, 224, 239, 0.1);
  color: var(--c-aqua-light);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 85% 20%, rgba(144, 224, 239, 0.35), transparent 70%),
    var(--c-bg);
  padding-top: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding-bottom: clamp(4.5rem, 3rem + 5vw, 7rem);
}

.hero h1 {
  margin-bottom: var(--sp-5);
}

.hero h1 .accent {
  color: var(--c-blue);
}

.hero .lead {
  max-width: 560px;
  margin-bottom: var(--sp-6);
}

.hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__facts svg {
  width: 18px;
  height: 18px;
  color: var(--c-blue);
}

.hero__visual {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.hero__visual svg {
  width: 100%;
  height: auto;
}

.hero__badge {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(7, 29, 53, 0.22));
}

.hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(48px, 6vw, 90px);
  pointer-events: none;
}

.hero__waves svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  max-width: none; /* the global svg max-width would cut the 200% strip to 100% and leave a hard edge while it slides */
  height: 100%;
}

.hero__waves .w1 {
  fill: rgba(0, 180, 216, 0.16);
}

.hero__waves .w2 {
  fill: rgba(0, 119, 182, 0.12);
}

.hero__waves .w3 {
  fill: var(--c-white);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 90% 0%, rgba(144, 224, 239, 0.3), transparent 70%),
    var(--c-bg);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}

.page-hero h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 820px;
}

.page-hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

.page-hero .btn-row {
  margin-top: var(--sp-6);
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: var(--c-border-strong);
}

.breadcrumb a {
  color: var(--c-text-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--c-blue);
}

.page-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 40px;
  fill: var(--c-white);
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.card h3 {
  margin-bottom: var(--sp-2);
}

.card p {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

.card--hover:hover {
  border-color: rgba(0, 119, 182, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(144, 224, 239, 0.14);
}

.section--dark .card p {
  color: var(--c-on-dark-2);
}

.check-list {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.check-list li {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c-blue);
}

.section--dark .check-list {
  color: var(--c-on-dark-2);
}

.section--dark .check-list svg {
  color: var(--c-aqua-light);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.split__media img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.pillars {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.pillar {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.pillar .icon-tile {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.pillar h3 {
  margin-bottom: var(--sp-1);
  font-size: var(--fs-base);
}

.pillar p {
  margin: 0;
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

/* ---------- Products ---------- */

.product-grid {
  display: grid;
  gap: var(--sp-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.product-card:hover {
  border-color: rgba(0, 119, 182, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 110%, rgba(0, 180, 216, 0.25), transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__media img {
  height: 84%;
  width: auto;
  object-fit: contain;
  transition: transform 420ms var(--ease);
}

/* Real product photos: square frame, image fills it edge to edge. */
.product-card__media--photo {
  aspect-ratio: 1 / 1;
}

.product-card__media.product-card__media--photo img,
.product-detail__media.product-detail__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__media--photo {
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-card:hover .product-card__media img {
  transform: translateY(-4px) scale(1.03);
}

.product-card__tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--c-bg-2);
  color: var(--c-blue-dark);
  font-size: var(--fs-xs);
  font-weight: 650;
}

.chip--muted {
  background: #f1f5f9;
  color: var(--c-text-2);
}

.product-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.product-card__desc {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
}

.product-card__price {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: var(--sp-3);
}

.product-card__price small {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-4);
}

.product-card__actions .btn {
  flex: 1 1 140px;
}

.product-detail {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-7);
  border-bottom: 1px solid var(--c-border);
}

.product-detail:last-child {
  border-bottom: 0;
}

.product-detail__media {
  border-radius: var(--r-lg);
  aspect-ratio: 1 / 1;
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 110%, rgba(0, 180, 216, 0.25), transparent 60%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%);
}

.product-detail__media img {
  height: 80%;
  width: auto;
}

.media-note {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
}

.spec-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: var(--sp-2) var(--sp-5);
  margin: var(--sp-5) 0;
  font-size: var(--fs-sm);
}

.spec-list dt {
  color: var(--c-muted);
  font-weight: 600;
}

.spec-list dd {
  margin: 0;
  color: var(--c-text);
  font-weight: 600;
}

/* ---------- Ecosystem ---------- */

.eco-grid {
  display: grid;
  gap: var(--sp-5);
}

.eco-card {
  display: flex;
  flex-direction: column;
}

.eco-card .text-link {
  margin-top: auto;
  padding-top: var(--sp-3);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--c-bg-2);
  color: var(--c-blue-dark);
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-pill--available {
  background: #e7f7ee;
  color: #166534;
}

.status-pill--soon {
  background: #fff4e0;
  color: #8a4b00;
}

.status-pill--planned {
  background: #f1f5f9;
  color: var(--c-text-2);
}

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
  padding-left: 72px;
  min-height: 56px;
}

.step__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-white);
  color: var(--c-blue);
  border: 1.5px solid var(--c-aqua-light);
  box-shadow: 0 0 0 6px var(--c-bg);
  z-index: 1;
}

.step__num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-bottom: var(--sp-1);
}

.step p {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin: 0;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(var(--c-aqua-light), var(--c-blue));
  opacity: 0.6;
}

.steps-note {
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ---------- Apps ---------- */

.app-list {
  display: grid;
  gap: var(--sp-7);
}

.app-showcase {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.app-showcase__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.app-icon {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--c-navy);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-icon__role {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1px 0;
  background: var(--c-blue);
  color: var(--c-white);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.app-showcase h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.app-showcase__desc {
  color: var(--c-text-2);
}

.section--dark .app-showcase__desc {
  color: var(--c-on-dark-2);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.store-badge {
  display: inline-flex;
  border-radius: 8px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-badge img {
  height: 48px;
  width: auto;
}

.store-badge img {
  max-width: none;
}

.store-badge.is-preferred {
  order: -1;
}

.store-soon {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 6px var(--sp-4);
  border: 1.5px dashed var(--c-border-strong);
  border-radius: var(--r-md);
  color: var(--c-text-2);
  background: var(--c-white);
  line-height: 1.2;
}

.store-soon svg {
  width: 20px;
  height: 20px;
  color: var(--c-muted);
}

.store-soon small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.store-soon strong {
  font-size: var(--fs-sm);
  color: var(--c-navy);
}

.section--dark .store-soon {
  background: transparent;
  border-color: rgba(144, 224, 239, 0.3);
}

.section--dark .store-soon strong {
  color: var(--c-white);
}

.section--dark .store-soon small,
.section--dark .store-soon svg {
  color: var(--c-on-dark-2);
}

.app-qr {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}

.app-qr img {
  width: 96px;
  height: 96px;
  padding: 6px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}

/* Phone mock-up */

.phone {
  position: relative;
  width: min(270px, 78vw);
  aspect-ratio: 9 / 19;
  margin-inline: auto;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #1b3555, var(--c-navy));
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}

.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 72px;
  height: 20px;
  border-radius: 12px;
  transform: translateX(-50%);
  background: #020c18;
  z-index: 2;
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: var(--c-bg);
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}

.phone__screen img.is-active {
  opacity: 1;
}

.phone__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 44px 14px 14px;
  gap: 10px;
}

.ph-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-bar img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.ph-line {
  height: 8px;
  border-radius: 4px;
  background: #dbe7f0;
}

.ph-card {
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  padding: 10px;
  display: grid;
  gap: 6px;
}

.ph-hero {
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-aqua));
  opacity: 0.85;
}

.ph-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ph-tile {
  height: 70px;
  border-radius: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
}

.phone__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(7, 29, 53, 0.88);
  color: var(--c-white);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.phone__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--sp-4);
}

.phone__dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone__dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border-strong);
  transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
}

.phone__dots button[aria-current="true"]::before {
  width: 20px;
  border-radius: 4px;
  background: var(--c-blue);
}

.app-teaser-grid {
  display: grid;
  gap: var(--sp-5);
}

.app-teaser {
  display: flex;
  flex-direction: column;
}

.app-teaser .app-showcase__head {
  margin-bottom: var(--sp-3);
}

.app-teaser .store-buttons {
  margin-top: auto;
  padding-top: var(--sp-4);
}

.empty-state {
  padding: var(--sp-6);
  border: 1.5px dashed var(--c-border-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--c-text-2);
  background: var(--c-white);
}

.empty-state p {
  margin: 0;
}

/* ---------- Quality ---------- */

.quality-grid {
  display: grid;
  gap: var(--sp-4);
}

.cert-grid {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.cert-card {
  display: flex;
  gap: var(--sp-4);
  align-items: center;
}

.cert-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}

.stat {
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  border-radius: var(--r-lg);
  border: 1px solid rgba(144, 224, 239, 0.14);
}

.stat__value {
  display: block;
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-on-dark-2);
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  gap: var(--sp-5);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.testimonial blockquote {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--c-text);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  font-weight: 700;
  color: var(--c-navy);
}

.testimonial figcaption img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial figcaption small {
  display: block;
  font-weight: 500;
  color: var(--c-muted);
}

.rating {
  display: flex;
  gap: 2px;
  color: var(--c-sun);
}

.rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.rating .is-empty {
  color: var(--c-border-strong);
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--c-border);
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__q {
  margin: 0;
  font-size: var(--fs-base);
}

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  padding: var(--sp-4) var(--sp-1);
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--c-navy);
  cursor: pointer;
}

.faq__btn:hover {
  color: var(--c-blue);
}

.faq__btn .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-blue);
  transition: transform var(--dur) var(--ease);
}

.faq__btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease);
}

.faq__panel.is-open {
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  margin: 0;
  padding: 0 var(--sp-1) var(--sp-5);
  color: var(--c-text-2);
  max-width: 720px;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--c-navy);
  color: var(--c-on-dark);
  isolation: isolate;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 180, 216, 0.35), transparent);
  z-index: -1;
}

.cta-band h2 {
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.cta-band p {
  color: var(--c-on-dark-2);
  max-width: 560px;
}

.cta-band .btn-row {
  margin-top: var(--sp-5);
}

/* ---------- Partners ---------- */

.partner-grid {
  display: grid;
  gap: var(--sp-5);
}

.partner-card {
  display: flex;
  flex-direction: column;
}

.partner-card .btn-row {
  margin-top: auto;
  padding-top: var(--sp-5);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  gap: var(--sp-6);
  align-items: start;
}

/* Let long values (e.g. the email address) wrap instead of widening the page. */
.contact-layout > *,
.contact-item > div {
  min-width: 0;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: var(--sp-3);
}

.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
}

.contact-item .icon-tile {
  margin: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.contact-item small {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.contact-item a,
.contact-item span {
  font-weight: 650;
  color: var(--c-navy);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contact-item a {
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--c-blue);
  text-decoration: underline;
}

.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: var(--sp-4);
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--c-navy);
}

.field .optional {
  font-weight: 500;
  color: var(--c-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  margin: 6px 0 0;
  font-size: var(--fs-xs);
  color: #b42318;
  font-weight: 600;
}

.form-note {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-bg);
  font-size: var(--fs-xs);
  color: var(--c-text-2);
}

.form-note svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--c-blue);
}

.form-status {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy);
}

.notice {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid #fde2b3;
  background: #fff8eb;
  color: #6b3d00;
  font-size: var(--fs-sm);
}

.notice svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.notice p {
  margin: 0;
}

/* ---------- Legal prose ---------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-7);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--c-text-2);
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: var(--sp-4);
}

.prose li {
  margin-bottom: var(--sp-2);
}

.prose .placeholder {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff4e0;
  color: #8a4b00;
  font-weight: 600;
}

.legal-meta {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.not-found__code {
  font-size: clamp(4rem, 3rem + 6vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--c-blue), var(--c-aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-4);
}

.not-found .btn-row {
  justify-content: center;
  margin-top: var(--sp-5);
}

/* ---------- Small helpers ---------- */

.h3-size {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.btn-row[data-center] {
  justify-content: center;
}

.form-intro {
  color: var(--c-text-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}

.form-card .notice {
  margin-bottom: var(--sp-5);
}

.social-title {
  margin-top: var(--sp-6);
}

.social-links--light a {
  border-color: var(--c-border);
  color: var(--c-navy);
  background: var(--c-white);
}

.social-links--light a:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: var(--c-white);
}

.contact-list + .notice {
  margin-top: var(--sp-3);
}

.contact-list:empty {
  display: none;
}

.hero__waves svg.w3 {
  width: 100%;
}

.app-showcase .status-pill {
  margin-bottom: var(--sp-4);
}

.app-teaser .status-pill {
  margin-bottom: 0;
  margin-top: 4px;
}

/* Store badges sitting next to the hero's main button */
.hero__stores {
  margin-top: 0;
  align-items: center;
}

/* ---------- Space reserved for config-rendered blocks ----------
   These blocks are filled in by JavaScript just after the first paint. Reserving
   roughly their final height stops the content below from jumping (CLS). Applies
   only while the block is still empty, and only when scripts can run. Heights are
   measured for the current content (2 products, 3 contact rows). */
@media (scripting: enabled) {
  #product-details:empty {
    display: block;
    min-height: 1750px;
  }

  [data-products="cards"]:empty {
    display: block;
    min-height: 1400px;
  }

  .contact-list#contact-list:empty {
    display: block;
    min-height: 270px;
  }

  .hero__stores:empty {
    min-height: 48px;
  }
}

@media (scripting: enabled) and (min-width: 768px) {
  #product-details:empty {
    min-height: 1000px;
  }

  [data-products="cards"]:empty {
    min-height: 730px;
  }
}
