/* Basildon Delivery public marketplace stylesheet.
   Loaded for the platform homepage, public product search and shop directory. */

/* Public account entry, homepage foundations, shop recruitment and shop registration.
   These blocks retain their original order ahead of the newer marketplace/search layer. */

/* Mobile-first login */
.login-page .login-shell {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

.login-page .login-card {
  width: min(100%, 460px);
}

.login-card-heading {
  margin-bottom: 18px;
}

.login-form {
  grid-template-columns: 1fr !important;
  gap: 14px;
}

.login-secondary-actions {
  justify-content: center;
  margin-top: 14px;
}

@media (max-width: 760px) {
  .login-page .login-shell {
    padding: 16px 0;
  }

  .login-page .login-card {
    border-radius: 18px;
  }
}

/* Pre-launch shop and rider recruitment */
.join-page {
  background:
    radial-gradient(circle at 8% 4%, rgba(115, 191, 67, 0.2), transparent 28rem),
    radial-gradient(circle at 94% 12%, rgba(24, 111, 175, 0.16), transparent 30rem),
    linear-gradient(180deg, #f1f9f3 0%, #f5f8fb 440px, #f5f7fb 100%);
}

.join-main {
  display: grid;
  gap: 20px;
}

.join-hero,
.join-routes,
.join-process,
.join-final-cta {
  border: 1px solid rgba(188, 204, 220, 0.74);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.join-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(26px, 5vw, 58px);
  overflow: hidden;
}

.join-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(115, 191, 67, 0.1);
  pointer-events: none;
}

.join-hero-copy,
.join-hero-card {
  position: relative;
  z-index: 1;
}

.join-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: #0f2f46;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.057em;
}

.join-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  line-height: 1.67;
}

.join-status {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  width: fit-content;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid rgba(39, 114, 71, 0.24);
  border-radius: 14px;
  background: #effbea;
  color: #1f6840;
}

.join-status span {
  color: #456456;
}

.join-hero-actions {
  margin-top: 24px;
}

.join-hero-card {
  padding: 24px;
  border: 1px solid rgba(188, 204, 220, 0.78);
  border-radius: 24px;
  background: linear-gradient(145deg, #f2faee, #ffffff);
}

.join-hero-card h2,
.join-section-heading h2,
.join-final-cta h2 {
  margin: 0;
  color: #0f2f46;
}

.join-check-list,
.join-route-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.join-check-list li,
.join-route-card li {
  position: relative;
  padding-left: 26px;
  color: #405a6d;
  line-height: 1.48;
}

.join-check-list li::before,
.join-route-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #277247;
  font-weight: 900;
}

.join-routes,
.join-process {
  padding: clamp(24px, 4vw, 40px);
}

.join-section-heading {
  margin-bottom: 22px;
}

.join-section-heading h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}

.join-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.join-route-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.join-route-shop {
  background: linear-gradient(145deg, #f1fbea, #ffffff 58%);
}

.join-route-rider {
  background: linear-gradient(145deg, #edf7ff, #ffffff 58%);
}

.join-route-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #277247;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.join-route-rider .join-route-icon {
  background: #186faf;
}

.join-route-card h3 {
  margin: 0;
  color: #0f2f46;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.12;
}

.join-route-card > p:not(.page-kicker) {
  color: var(--muted);
  line-height: 1.62;
}

.join-route-card ul {
  margin-bottom: 24px;
}

.join-route-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.join-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-process-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.join-process-steps li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f2f46;
  color: #fff;
  font-weight: 900;
}

.join-process-steps h3 {
  margin: 3px 0 7px;
  color: #0f2f46;
  font-size: 1rem;
}

.join-process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.join-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #effbea, #ffffff 62%);
}

.join-final-cta p:not(.page-kicker) {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .join-hero,
  .join-route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .join-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .join-main {
    gap: 12px;
  }

  .join-hero,
  .join-routes,
  .join-process,
  .join-final-cta,
  .join-route-card {
    padding: 18px;
    border-radius: 22px;
  }

  .join-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

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

  .join-final-cta,
  .join-route-actions,
  .join-hero-actions {
    display: grid;
  }

  .join-final-cta .button,
  .join-route-actions .button,
  .join-hero-actions .button {
    width: 100%;
  }
}

/* Platform homepage shop-first layout - May 2026 */
.platform-home-page .app-shell {
  width: min(1220px, calc(100% - 32px));
}

.platform-home-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(24, 111, 175, 0.20), transparent 30rem),
    radial-gradient(circle at 92% 16%, rgba(16, 42, 67, 0.12), transparent 26rem),
    linear-gradient(180deg, #f0f7ff 0%, #f7fbff 34%, #f5f7fb 100%);
}

.platform-home-nav {
  margin-bottom: 18px;
}

.platform-shopfront-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 20px;
  align-items: stretch;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(188, 204, 220, 0.78);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 85% 0%, rgba(24, 111, 175, 0.16), transparent 22rem);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.platform-shopfront-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(24, 111, 175, 0.10);
  pointer-events: none;
}

.platform-hero-copy,
.platform-hero-shop-window {
  position: relative;
  z-index: 1;
}

.platform-hero-copy {
  align-self: center;
}

.platform-hero-copy h1 {
  margin: 0;
  max-width: 720px;
  color: #08233d;
  font-size: clamp(2.55rem, 5.8vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.058em;
}

.platform-hero-copy p:not(.page-kicker) {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.72;
}

.platform-hero-copy .platform-hero-supporting-copy {
  margin-top: 10px;
  color: #21415f;
  font-weight: 760;
}

.platform-hero-actions {
  margin-top: 22px;
}

.platform-quick-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.platform-quick-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(188, 204, 220, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #304a63;
  font-weight: 850;
  font-size: 0.92rem;
}

.platform-hero-shop-window {
  display: grid;
  align-items: center;
}

.platform-featured-shop-card,
.platform-shop-card,
.platform-empty-shops,
.platform-account-strip,
.platform-shop-owner-footer {
  border: 1px solid rgba(188, 204, 220, 0.78);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.platform-featured-shop-card {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 360px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(24, 111, 175, 0.20), transparent 13rem),
    linear-gradient(160deg, #ffffff, #f6fbff);
}

.platform-featured-shop-card.is-empty {
  background:
    radial-gradient(circle at 90% 0%, rgba(24, 111, 175, 0.12), transparent 13rem),
    linear-gradient(160deg, #ffffff, #f8fbff);
}

.platform-featured-shop-card h2,
.platform-empty-shops h2,
.platform-account-strip h2,
.platform-shop-owner-footer h2,
.platform-shop-section h2 {
  margin: 0;
  color: #08233d;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.platform-featured-shop-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.platform-featured-shop-card p:not(.page-kicker),
.platform-shop-card p,
.platform-empty-shops p,
.platform-account-strip p,
.platform-shop-owner-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.platform-featured-shop-top,
.platform-shop-card-header,
.platform-shop-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-shop-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b2d4a, #1b78b8);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.platform-shop-avatar.large {
  width: 74px;
  height: 74px;
  border-radius: 26px;
  font-size: 2rem;
}

.platform-shop-meta-row {
  justify-content: flex-start;
  color: #405a73;
  font-size: 0.92rem;
  font-weight: 850;
}

.platform-shop-meta-row span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid rgba(188, 204, 220, 0.76);
}

.platform-shop-section {
  padding: clamp(18px, 3vw, 24px);
  margin-bottom: 20px;
  border: 1px solid rgba(188, 204, 220, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.platform-section-heading {
  margin-bottom: 18px;
}

.platform-section-heading .muted {
  margin: 8px 0 0;
}

.platform-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-shop-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border-radius: 24px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.platform-shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(24, 111, 175, 0.34);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

.platform-shop-card h3 {
  margin: 0;
  color: #08233d;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.platform-shop-card .button {
  justify-self: stretch;
  text-align: center;
}

.platform-empty-shops {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
}

.platform-account-strip,
.platform-shop-owner-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 24px);
  margin-bottom: 18px;
  border-radius: 26px;
}

.platform-account-strip {
  background:
    linear-gradient(135deg, #0d2d49, #165f98);
  color: #fff;
}

.platform-account-strip h2,
.platform-account-strip p,
.platform-account-strip .page-kicker {
  color: #fff;
}

.platform-account-strip .button.primary {
  background: #fff;
  color: #0d2d49;
}

.platform-shop-owner-footer {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.platform-shop-owner-footer h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

@media (max-width: 1040px) {
  .platform-shopfront-hero,
  .platform-shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .platform-hero-copy {
    grid-column: 1 / -1;
  }

  .platform-hero-shop-window {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .platform-home-page .app-shell {
    width: min(100% - 18px, 1220px);
  }

  .platform-shopfront-hero,
  .platform-shop-grid {
    grid-template-columns: 1fr;
  }

  .platform-shopfront-hero,
  .platform-shop-section,
  .platform-account-strip,
  .platform-shop-owner-footer {
    border-radius: 22px;
  }

  .platform-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .platform-featured-shop-card {
    min-height: auto;
  }

  .platform-empty-shops,
  .platform-account-strip,
  .platform-shop-owner-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-account-strip .button,
  .platform-shop-owner-footer .button,
  .platform-empty-shops .button {
    width: 100%;
  }
}

/* Front page visual polish */
.platform-home-page {
  --brand-green: #73bf43;
  --brand-green-deep: #277247;
  --brand-ink: #0f2f46;
  background:
    radial-gradient(circle at 12% 4%, rgba(115, 191, 67, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(24, 111, 175, 0.16), transparent 30rem),
    linear-gradient(180deg, #eef8f1 0%, #f5f8fb 310px, #f4f7fb 100%);
}

.platform-home-page .app-shell {
  padding-bottom: 30px;
}

.platform-home-nav {
  margin-bottom: 16px;
}

.platform-shopfront-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(234, 253, 240, 0.96) 30%, rgba(232, 245, 255, 0.94) 58%, rgba(255, 251, 235, 0.90) 100%);
  background-size: 240% 240%;
  box-shadow: 0 22px 60px rgba(15, 47, 70, 0.13);
  animation: platform-hero-colour-shift 18s ease-in-out infinite;
}

.platform-shopfront-hero::before {
  content: none;
}

.platform-shopfront-hero::after {
  content: "";
  position: absolute;
  left: clamp(0px, 3vw, 42px);
  top: clamp(22px, 5vw, 62px);
  width: clamp(310px, 40vw, 520px);
  aspect-ratio: 1;
  background: url("../img/basildon-delivery-icon.png") center / contain no-repeat;
  opacity: 0.105;
  filter: saturate(1.2);
  transform: rotate(-10deg) scale(1);
  transform-origin: center;
  animation: platform-logo-float 24s ease-in-out infinite;
  pointer-events: none;
}

.platform-hero-copy::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -82px;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1;
  background: url("../img/basildon-delivery-icon.png") center / contain no-repeat;
  opacity: 0.035;
  transform: rotate(18deg);
  animation: platform-logo-float-secondary 30s ease-in-out infinite;
  pointer-events: none;
}

@keyframes platform-logo-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-10deg) scale(1);
  }
  50% {
    transform: translate3d(16px, 12px, 0) rotate(-6deg) scale(1.05);
  }
}

@keyframes platform-logo-float-secondary {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(18deg) scale(1);
  }
  50% {
    transform: translate3d(14px, -10px, 0) rotate(12deg) scale(1.04);
  }
}

@keyframes platform-hero-colour-shift {
  0%, 100% {
    background-position: 0% 45%;
  }
  50% {
    background-position: 100% 55%;
  }
}

.platform-hero-copy,
.platform-hero-shop-window {
  position: relative;
  z-index: 1;
}

.platform-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.platform-hero-copy .page-kicker,
.platform-section-heading .page-kicker,
.platform-how-it-works .page-kicker,
.platform-account-strip .page-kicker,
.platform-shop-owner-footer .page-kicker {
  color: var(--brand-green-deep);
}

.platform-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.platform-hero-copy > p:not(.page-kicker) {
  max-width: 58ch;
  margin: 16px 0 0;
  color: #34516a;
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  line-height: 1.62;
}

.platform-hero-actions {
  margin-top: 22px;
}

.platform-hero-actions .button.primary,
.platform-featured-shop-card .button.primary,
.platform-shop-card .button.primary,
.platform-account-strip .button.primary {
  background: var(--brand-green-deep);
  border-color: rgba(39, 114, 71, 0.22);
}

.platform-hero-actions .button.secondary {
  background: var(--brand-ink);
  border-color: rgba(15, 47, 70, 0.22);
  color: #fff;
}

.platform-quick-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.platform-quick-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(39, 114, 71, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #234b36;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(15, 47, 70, 0.06);
}

.platform-featured-shop-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(39, 114, 71, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fff9 100%);
  box-shadow: 0 18px 42px rgba(15, 47, 70, 0.12);
}

.platform-featured-shop-top,
.platform-shop-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.platform-shop-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-deep));
  color: #fff;
  font-weight: 950;
}

.platform-shop-avatar.large {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  font-size: 1.6rem;
}

.platform-shop-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platform-featured-shop-card h2,
.platform-shop-card h3,
.platform-how-it-works h2,
.platform-account-strip h2,
.platform-shop-owner-footer h2 {
  margin: 0;
  color: var(--brand-ink);
  letter-spacing: 0;
}

.platform-featured-shop-card p:not(.page-kicker),
.platform-shop-card p,
.platform-how-grid p {
  margin: 0;
  color: #486581;
  line-height: 1.52;
}

.platform-shop-meta-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.platform-shop-meta-row span,
.platform-shop-card-footnote span,
.platform-featured-shop-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef8f1;
  color: #285c3c;
  font-size: 0.8rem;
  font-weight: 900;
}

.platform-featured-shop-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.platform-featured-shop-summary span {
  display: grid;
  min-height: 62px;
  align-content: center;
  border-radius: 16px;
  background: #f5fbff;
}

.platform-featured-shop-summary strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1.2rem;
}

.platform-how-it-works,
.platform-shop-section,
.platform-cta-grid,
.platform-account-strip,
.platform-shop-owner-footer {
  margin-top: 18px;
}

.platform-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.platform-how-it-works {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
}

.platform-how-it-works-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.platform-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-how-grid article {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 20px;
  background: #fff;
}

.platform-how-grid article span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e8f7ef;
  color: var(--brand-green-deep);
  font-weight: 950;
}

.platform-how-grid h3 {
  margin: 0;
  color: var(--brand-ink);
}

.platform-section-heading {
  padding: 0 4px;
}

.platform-section-heading h2 {
  color: var(--brand-ink);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.platform-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}

.platform-shop-card {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 17px;
  border: 1px solid rgba(188, 204, 220, 0.76);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 47, 70, 0.07);
}

.platform-shop-card h3 {
  font-size: 1.22rem;
}

.platform-shop-card .button {
  margin-top: auto;
}

.platform-shop-card-footnote {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.platform-account-strip,
.platform-shop-owner-footer,
.platform-empty-shops {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.platform-cta-grid .platform-account-strip,
.platform-cta-grid .platform-shop-owner-footer {
  min-height: 100%;
  margin-top: 0;
  display: grid;
  align-content: space-between;
  align-items: start;
}

.platform-account-strip .button,
.platform-shop-owner-footer .button {
  flex: 0 0 auto;
  width: auto;
  max-width: 220px;
  min-height: 44px;
  justify-self: start;
  align-self: end;
}

.platform-account-strip .button.primary {
  color: #fff;
}

.platform-account-strip {
  background:
    linear-gradient(135deg, #f0fff6 0%, #ffffff 68%);
}

.platform-account-strip p,
.platform-shop-owner-footer p {
  margin-bottom: 0;
}

.platform-account-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(17px, 2.5vw, 22px) clamp(18px, 3vw, 26px);
  border: 1px solid rgba(39, 114, 71, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(232, 249, 238, 0.98) 0%, rgba(255, 255, 255, 0.96) 72%);
  box-shadow: 0 12px 32px rgba(15, 47, 70, 0.07);
}

.platform-account-banner > div {
  display: grid;
  gap: 3px;
}

.platform-account-banner .page-kicker,
.platform-partner-section .page-kicker {
  color: var(--brand-green-deep);
}

.platform-account-banner h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0;
}

.platform-account-banner p:not(.page-kicker) {
  margin: 0;
  color: #3f5f78;
  line-height: 1.5;
}

.platform-account-banner .button {
  flex: 0 0 auto;
  min-height: 44px;
  background: var(--brand-green-deep);
  border-color: rgba(39, 114, 71, 0.22);
}

.platform-partner-section {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: clamp(20px, 3.5vw, 30px);
  border: 1px solid rgba(188, 204, 220, 0.76);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(24, 111, 175, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 247, 0.92));
  box-shadow: 0 18px 44px rgba(15, 47, 70, 0.09);
}

.platform-partner-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.platform-partner-heading > div {
  display: grid;
  gap: 4px;
}

.platform-partner-heading h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: 0;
}

.platform-partner-heading p:not(.page-kicker) {
  max-width: 66ch;
  margin: 0;
  color: #486581;
  line-height: 1.55;
}

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

.platform-partner-card {
  display: grid;
  gap: 22px;
  align-content: space-between;
  min-height: 230px;
  padding: clamp(18px, 2.7vw, 24px);
  border: 1px solid rgba(188, 204, 220, 0.76);
  border-radius: 22px;
  background: #fff;
}

.platform-partner-card-shop {
  border-color: rgba(39, 114, 71, 0.2);
  background: linear-gradient(145deg, #f0fff6 0%, #ffffff 70%);
}

.platform-partner-card-rider {
  border-color: rgba(24, 111, 175, 0.2);
  background: linear-gradient(145deg, #eef7ff 0%, #ffffff 70%);
}

.platform-partner-card > div:first-child {
  display: grid;
  gap: 7px;
}

.platform-partner-label {
  width: fit-content;
  margin: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e6f6ec;
  color: #285c3c;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.platform-partner-card-rider .platform-partner-label {
  background: #e5f2fc;
  color: #185a8a;
}

.platform-partner-card h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: 0;
}

.platform-partner-card p:not(.platform-partner-label) {
  max-width: 48ch;
  margin: 0;
  color: #486581;
  line-height: 1.55;
}

.platform-partner-card .card-actions {
  align-items: center;
}

.platform-partner-card .button {
  min-height: 44px;
}

.platform-partner-card-shop .button.primary {
  background: var(--brand-green-deep);
  border-color: rgba(39, 114, 71, 0.22);
}

.platform-partner-card-rider .button.primary {
  background: #186faf;
  border-color: rgba(24, 111, 175, 0.24);
}

@media (max-width: 980px) {
  .platform-shopfront-hero,
  .platform-how-grid {
    grid-template-columns: 1fr;
  }

  .platform-featured-shop-card {
    min-height: 0;
  }

  .platform-cta-grid {
    grid-template-columns: 1fr;
  }

  .platform-partner-grid {
    grid-template-columns: 1fr;
  }

  .platform-empty-shops {
    display: grid;
    align-items: start;
  }

  .platform-empty-shops .button {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .platform-home-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .platform-home-nav {
    margin-bottom: 10px;
  }

  .platform-home-nav .platform-brand-image {
    height: 46px;
  }

  .platform-home-nav .shop-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .platform-home-nav .shop-nav-link {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .platform-shopfront-hero {
    gap: 15px;
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .platform-shopfront-hero::after {
    left: -44px;
    top: 34px;
    width: 300px;
    opacity: 0.075;
  }

  .platform-hero-copy::after {
    display: none;
  }

  .platform-hero-copy h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 0.98;
  }

  .platform-hero-copy > p:not(.page-kicker) {
    margin-top: 11px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .platform-hero-actions {
    display: grid;
    width: 100%;
    gap: 8px;
    margin-top: 15px;
  }

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

  .platform-quick-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    margin-top: 14px;
  }

  .platform-quick-points span {
    justify-content: center;
    min-height: 44px;
    padding: 7px 8px;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.15;
    white-space: normal;
  }

  .platform-featured-shop-card {
    gap: 11px;
    padding: 14px;
    border-radius: 20px;
  }

  .platform-featured-shop-top {
    align-items: center;
  }

  .platform-shop-avatar.large {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    font-size: 1.25rem;
  }

  .platform-featured-shop-summary {
    grid-template-columns: 1fr 1fr;
  }

  .platform-featured-shop-summary span {
    min-height: 52px;
    padding: 8px;
  }

  .platform-how-it-works,
  .platform-account-strip,
  .platform-shop-owner-footer,
  .platform-empty-shops {
    margin-top: 14px;
    padding: 15px;
    border-radius: 22px;
  }

  .platform-how-it-works-head,
  .platform-account-strip,
  .platform-shop-owner-footer,
  .platform-empty-shops,
  .platform-section-heading {
    display: grid;
    align-items: start;
  }

  .platform-cta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .platform-account-banner,
  .platform-partner-section {
    margin-top: 14px;
    border-radius: 22px;
  }

  .platform-account-banner {
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .platform-account-banner .button {
    width: 100%;
  }

  .platform-partner-section {
    gap: 13px;
    padding: 16px;
  }

  .platform-partner-grid {
    gap: 10px;
  }

  .platform-partner-card {
    min-height: 0;
    gap: 18px;
    padding: 16px;
    border-radius: 19px;
  }

  .platform-partner-card .card-actions {
    display: grid;
  }

  .platform-partner-card .button {
    width: 100%;
  }

  .platform-how-grid {
    gap: 9px;
  }

  .platform-how-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .platform-how-grid article span {
    grid-row: span 2;
  }

  .platform-how-grid p {
    font-size: 0.88rem;
  }

  .platform-section-heading h2 {
    font-size: 1.55rem;
  }

  .platform-section-heading .button,
  .platform-account-strip .button,
  .platform-shop-owner-footer .button,
  .platform-empty-shops .button {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .platform-shop-grid {
    gap: 10px;
  }

  .platform-shop-card {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 14px;
    border-radius: 20px;
  }

  .platform-shop-card-header {
    align-items: center;
  }

  .platform-shop-card p {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .platform-shop-meta-row span,
  .platform-shop-card-footnote span {
    min-height: 28px;
    padding: 6px 9px;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-shopfront-hero,
  .platform-shopfront-hero::after,
  .platform-hero-copy::after {
    animation: none;
  }
}

@media (max-width: 420px) {
  .platform-quick-points {
    grid-template-columns: 1fr;
  }

  .platform-featured-shop-summary {
    grid-template-columns: 1fr;
  }
}

/* Shop recruitment landing page */
.for-shops-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(115, 191, 67, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(24, 111, 175, 0.14), transparent 30rem),
    linear-gradient(180deg, #eef8f1 0%, #f4f7fb 360px);
}

.for-shops-main {
  display: grid;
  gap: 20px;
}

.for-shops-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 20px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.for-shops-hero-copy h1 {
  max-width: 15ch;
  margin: 0;
  color: #0f2f46;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.for-shops-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.for-shops-tagline {
  margin: 14px 0 0;
  color: #277247;
  font-weight: 800;
}

.for-shops-actions {
  margin-top: 24px;
}

.for-shops-approval-card,
.for-shops-feature-card,
.for-shops-section,
.for-shops-final-cta {
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.for-shops-approval-card {
  align-self: stretch;
  padding: 24px;
  background: linear-gradient(145deg, #effbea, #fff);
}

.for-shops-approval-card h2,
.for-shops-interface-preview h2,
.for-shops-section h2,
.for-shops-feature-card h2,
.for-shops-final-cta h2 {
  margin: 0;
  color: #0f2f46;
}

.for-shops-approval-card p:last-child,
.for-shops-interface-copy > p:not(.page-kicker),
.for-shops-feature-card p,
.for-shops-final-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.for-shops-interface-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(440px, 1.3fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(115, 191, 67, 0.14), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 248, 255, 0.94));
  box-shadow: var(--shadow);
}

.for-shops-interface-copy {
  min-width: 0;
}

.for-shops-interface-copy h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  line-height: 1.08;
}

.for-shops-interface-copy > p:not(.page-kicker) {
  margin: 14px 0 0;
}

.for-shops-interface-copy .for-shops-interface-note {
  color: #526b7d;
  font-size: 0.88rem;
}

.for-shops-interface-media {
  display: grid;
  gap: 9px;
  width: min(100%, 720px);
  margin: 0;
  justify-self: end;
}

.for-shops-video-frame {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: #092f48;
  box-shadow: 0 20px 48px rgba(15, 47, 70, 0.22);
}

.for-shops-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  background: #061f31;
  object-fit: contain;
}

.for-shops-interface-media figcaption {
  color: #526b7d;
  font-size: 0.82rem;
  text-align: right;
}

.for-shops-section {
  padding: clamp(22px, 4vw, 38px);
}

.for-shops-section[id] {
  scroll-margin-top: 98px;
}

.for-shops-section-heading {
  margin-bottom: 20px;
}

.for-shops-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.for-shops-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.for-shops-steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #277247;
  color: #fff;
  font-weight: 800;
}

.for-shops-steps h3 {
  margin: 4px 0 7px;
  font-size: 1rem;
}

.for-shops-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.for-shops-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.for-shops-feature-card {
  padding: clamp(22px, 4vw, 34px);
}

.for-shops-bestsellers {
  background: linear-gradient(135deg, #eef8ff, #fff);
}

.for-shops-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0f2f46, #185c78);
  color: #fff;
}

.for-shops-pricing h2,
.for-shops-pricing .page-kicker {
  color: #fff;
}

.for-shops-cost-note {
  color: #dcebf2;
  line-height: 1.55;
}

.for-shops-price-card {
  display: grid;
  gap: 5px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.for-shops-price-card strong {
  font-size: 3.5rem;
  line-height: 1;
}

.for-shops-price-card span {
  font-weight: 800;
}

.for-shops-price-card small {
  color: #dcebf2;
}

.for-shops-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.for-shops-payment-grid article {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel-soft);
}

.for-shops-payment-grid h3 {
  margin-top: 0;
}

.for-shops-payment-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.for-shops-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.for-shops-faq details {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-soft);
}

.for-shops-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.for-shops-faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.for-shops-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
}

.shop-registration-info-links {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .for-shops-hero,
  .for-shops-interface-preview,
  .for-shops-pricing {
    grid-template-columns: 1fr;
  }

  .for-shops-interface-media {
    justify-self: stretch;
  }

  .for-shops-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .for-shops-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .for-shops-section[id] {
    scroll-margin-top: 16px;
  }

  .for-shops-main {
    gap: 12px;
  }

  .for-shops-hero,
  .for-shops-interface-preview,
  .for-shops-section,
  .for-shops-feature-card,
  .for-shops-final-cta {
    padding: 18px;
    border-radius: 22px;
  }

  .for-shops-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .for-shops-actions,
  .for-shops-final-cta {
    display: grid;
  }

  .for-shops-actions .button,
  .for-shops-final-cta .button {
    width: 100%;
  }

  .for-shops-feature-grid,
  .for-shops-payment-grid,
  .for-shops-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .for-shops-steps {
    grid-template-columns: 1fr;
  }
}

/* Shop registration page */
.shop-registration-page {
  background:
    radial-gradient(circle at 12% 4%, rgba(115, 191, 67, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 8%, rgba(24, 111, 175, 0.14), transparent 30rem),
    linear-gradient(180deg, #eef8f1 0%, #f4f7fb 360px);
}

.shop-registration-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.shop-registration-hero-copy h1 {
  margin: 0;
  color: #0f2f46;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.shop-registration-hero-copy > p:not(.page-kicker) {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.shop-registration-hero-points {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.shop-registration-hero-points span {
  padding: 8px 11px;
  border: 1px solid rgba(39, 114, 71, 0.18);
  border-radius: 999px;
  background: #effbea;
  color: #277247;
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-registration-approval {
  padding: 22px;
  border: 1px solid rgba(39, 114, 71, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, #effbea, #fff);
}

.shop-registration-approval h2 {
  margin: 0;
  color: #0f2f46;
}

.shop-registration-approval p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.shop-registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.shop-registration-form-panel,
.shop-registration-guidance-card {
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.shop-registration-form-panel {
  padding: clamp(20px, 3vw, 32px);
}

.shop-registration-panel-heading h2 {
  margin: 0;
  color: #0f2f46;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.shop-registration-panel-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.shop-registration-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.shop-registration-form-section {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel-soft);
}

.shop-registration-form-section legend {
  padding: 0 8px;
  color: #0f2f46;
  font-size: 1.08rem;
  font-weight: 900;
}

.shop-registration-section-note {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.45;
}

.shop-registration-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.shop-registration-field-grid label {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #0f2f46;
  font-weight: 800;
}

.shop-registration-field-grid label small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.shop-registration-field-grid input[aria-invalid="true"],
.shop-registration-terms input[aria-invalid="true"] {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.shop-registration-field-error {
  display: block;
  color: #991b1b !important;
  font-weight: 750 !important;
  line-height: 1.4;
}

.shop-registration-handle-status:empty {
  display: none;
}

.shop-registration-handle-status.is-available {
  color: #166534 !important;
  font-weight: 750 !important;
}

.shop-registration-handle-status.is-unavailable {
  color: #991b1b !important;
  font-weight: 750 !important;
}

.shop-registration-password-status.is-valid {
  color: #166534 !important;
  font-weight: 750 !important;
}

.shop-registration-password-status.is-invalid {
  color: #991b1b !important;
  font-weight: 750 !important;
}

.shop-registration-field-wide {
  grid-column: 1 / -1;
}

.shop-registration-login-email {
  grid-column: 1 / -1;
}

.shop-registration-email-copy {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 12px 13px;
  border: 1px solid rgba(24, 111, 175, 0.16);
  border-radius: 14px;
  background: #eef7ff;
}

.shop-registration-email-copy input {
  width: auto;
  margin-top: 2px;
}

.shop-registration-country {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: #0f2f46;
}

.shop-registration-country > span,
.shop-registration-country > strong {
  font-weight: 800;
}

.shop-registration-country > small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.4;
}

.shop-registration-slug-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
}

.shop-registration-slug-input > span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-right: 1px solid var(--border);
  background: #eef4f8;
  color: var(--muted);
  font-weight: 800;
}

.shop-registration-slug-input input {
  border: 0;
  border-radius: 0;
}

.shop-registration-slug-input:focus-within {
  outline: 3px solid rgba(24, 111, 175, 0.15);
  border-color: var(--accent);
}

.shop-registration-slug-input.is-invalid {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.shop-registration-slug-input input:focus {
  outline: 0;
}

.shop-registration-terms {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(24, 111, 175, 0.18);
  border-radius: 16px;
  background: #eef7ff;
  line-height: 1.5;
}

.shop-registration-terms input {
  width: auto;
  margin-top: 3px;
}

.shop-registration-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.shop-registration-actions p {
  flex-basis: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-registration-guidance {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.shop-registration-guidance-card {
  padding: 20px;
}

.shop-registration-next-steps {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-registration-next-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.shop-registration-next-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #277247;
  color: #fff;
  font-weight: 900;
}

.shop-registration-next-steps strong,
.shop-registration-next-steps small {
  display: block;
}

.shop-registration-next-steps small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.shop-registration-email-guide {
  display: grid;
  gap: 10px;
}

.shop-registration-email-guide > div {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-soft);
}

.shop-registration-email-guide strong,
.shop-registration-email-guide span {
  display: block;
}

.shop-registration-email-guide span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.shop-registration-help-card h2 {
  margin: 0;
  color: #0f2f46;
  font-size: 1.15rem;
}

.shop-registration-help-card > p {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .shop-registration-hero,
  .shop-registration-layout {
    grid-template-columns: 1fr;
  }

  .shop-registration-guidance {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-registration-help-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .shop-registration-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .shop-registration-hero,
  .shop-registration-form-panel,
  .shop-registration-guidance-card {
    padding: 17px;
    border-radius: 21px;
  }

  .shop-registration-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .shop-registration-field-grid,
  .shop-registration-guidance {
    grid-template-columns: 1fr;
  }

  .shop-registration-help-card {
    grid-column: auto;
  }

  .shop-registration-actions {
    display: grid;
  }

  .shop-registration-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shop-registration-hero-points {
    display: grid;
  }

  .shop-registration-form-section {
    padding: 15px;
  }

  .shop-registration-slug-input {
    grid-template-columns: 1fr;
  }

  .shop-registration-slug-input > span {
    justify-content: start;
    min-height: 38px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

/* Public search polish */
.global-product-search-page {
  --brand-green: #73bf43;
  --brand-green-deep: #277247;
  --brand-ink: #0f2f46;
  background:
    radial-gradient(circle at 12% 4%, rgba(115, 191, 67, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(24, 111, 175, 0.16), transparent 30rem),
    linear-gradient(180deg, #eef8f1 0%, #f5f8fb 310px, #f4f7fb 100%);
}

.global-product-search-page .app-shell {
  padding-bottom: 30px;
}

.platform-product-search-form,
.global-search-form {
  display: grid;
  gap: 10px;
  width: min(100%, 760px);
  margin-top: 24px;
  padding: clamp(13px, 2vw, 17px);
  border: 1px solid rgba(39, 114, 71, 0.20);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 42px rgba(15, 47, 70, 0.12);
}

.platform-product-search-form label,
.global-search-form label {
  color: var(--brand-ink, #0f2f46);
  font-size: 0.94rem;
  font-weight: 950;
}

.platform-product-search-row,
.global-search-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.platform-product-search-row input,
.global-search-input-row input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(188, 204, 220, 0.98);
  border-radius: 17px;
  background: #fff;
  color: var(--brand-ink, #0f2f46);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.platform-product-search-row input:focus,
.global-search-input-row input:focus {
  border-color: rgba(39, 114, 71, 0.42);
  box-shadow: 0 0 0 4px rgba(115, 191, 67, 0.16);
  outline: none;
}

.platform-product-search-row .button,
.global-search-input-row .button {
  min-height: 54px;
  padding-inline: 22px;
  border-radius: 17px;
  background: var(--brand-green-deep, #277247);
  border-color: rgba(39, 114, 71, 0.22);
  color: #fff;
}

.platform-search-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.platform-search-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(39, 114, 71, 0.16);
  border-radius: 999px;
  background: #eef8f1;
  color: #285c3c;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.platform-search-chips a:hover,
.platform-search-chips a:focus-visible {
  background: #e1f4e9;
  color: #17492c;
}

.global-search-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 0%, rgba(234, 253, 240, 0.96) 30%, rgba(232, 245, 255, 0.94) 62%, rgba(255, 251, 235, 0.90) 100%);
  background-size: 240% 240%;
  box-shadow: 0 22px 60px rgba(15, 47, 70, 0.13);
  animation: platform-hero-colour-shift 18s ease-in-out infinite;
}

.global-search-hero::after {
  content: "";
  position: absolute;
  left: clamp(-34px, 2vw, 28px);
  top: clamp(12px, 5vw, 56px);
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 1;
  background: url("../img/basildon-delivery-icon.png") center / contain no-repeat;
  opacity: 0.085;
  transform: rotate(-10deg);
  pointer-events: none;
}

.global-search-hero-copy,
.global-search-form {
  position: relative;
  z-index: 1;
}

.global-search-hero-copy .page-kicker,
.global-search-suggestions .page-kicker,
.global-search-results-heading .page-kicker {
  color: var(--brand-green-deep, #277247);
}

.global-search-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--brand-ink, #0f2f46);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.global-search-hero-copy > p:not(.page-kicker) {
  max-width: 62ch;
  margin: 16px 0 0;
  color: #34516a;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.62;
}

.global-search-form {
  margin-top: 0;
  justify-self: stretch;
}

.global-search-suggestions,
.global-search-results-section {
  margin-top: 18px;
}

.global-search-suggestions {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
}

.global-search-suggestions h2,
.global-search-empty h2,
.global-product-card h3 {
  color: var(--brand-ink, #0f2f46);
}

.global-search-suggestion-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.global-search-suggestion-list .chip,
.global-product-fulfilment .chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(39, 114, 71, 0.16);
  border-radius: 999px;
  background: #eef8f1;
  color: #285c3c;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.global-product-fulfilment .chip.delivery {
  border-color: rgba(30, 95, 150, 0.18);
  background: #eef7ff;
  color: #225f92;
}

.global-product-fulfilment .chip.collection {
  border-color: rgba(39, 114, 71, 0.2);
  background: #edf8f1;
  color: #277247;
}

.global-product-fulfilment .chip.browse {
  border-color: rgba(51, 85, 115, 0.18);
  background: #f2f6fa;
  color: #405a70;
}

.global-product-fulfilment .chip.closed {
  border-color: rgba(179, 107, 24, 0.22);
  background: #fff5e8;
  color: #915716;
}

.global-search-results-heading {
  padding: 0 4px;
}

.global-search-results-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.global-product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(188, 204, 220, 0.74);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(15, 47, 70, 0.08);
}

.global-product-image {
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 20px;
  background: linear-gradient(135deg, #f0fff6 0%, #eef6ff 100%);
  color: #486581;
  font-weight: 900;
  text-decoration: none;
}

.global-product-image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  max-height: 180px;
  object-fit: cover;
}

.global-product-body {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.global-product-topline,
.global-product-price-row,
.global-product-fulfilment,
.global-product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.global-product-topline {
  justify-content: space-between;
}

.global-product-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.08;
}

.global-product-card h3 a,
.global-product-shop a {
  color: inherit;
  text-decoration: none;
}

.global-product-card h3 a:hover,
.global-product-shop a:hover {
  text-decoration: underline;
}

.global-product-price-row .price-tag {
  background: #edf8f1;
  border: 1px solid rgba(39, 114, 71, 0.2);
  color: var(--brand-green-deep, #277247);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
  font-weight: 950;
}

.global-product-price-row span:not(.price-tag) {
  color: #607089;
  font-size: 0.88rem;
  font-weight: 850;
}

.global-product-shop,
.global-product-category,
.global-product-card .shop-product-description {
  margin: 0;
  color: #486581;
  line-height: 1.45;
}

.global-product-shop {
  font-weight: 900;
}

.global-product-category {
  font-size: 0.88rem;
  font-weight: 850;
}

.global-product-actions {
  margin-top: 3px;
}

.global-product-actions .button.primary {
  background: var(--brand-green-deep, #277247);
  border-color: rgba(39, 114, 71, 0.22);
}

.global-search-empty {
  padding: clamp(18px, 3vw, 24px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .global-search-hero {
    grid-template-columns: 1fr;
  }

  .global-search-form {
    width: 100%;
  }

  .global-search-suggestions {
    display: grid;
    align-items: start;
  }

  .global-search-suggestion-list {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .global-product-search-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .platform-product-search-form,
  .global-search-form {
    margin-top: 15px;
    padding: 12px;
    border-radius: 20px;
  }

  .platform-product-search-row,
  .global-search-input-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .platform-product-search-row input,
  .global-search-input-row input,
  .platform-product-search-row .button,
  .global-search-input-row .button {
    min-height: 48px;
    border-radius: 15px;
  }

  .global-search-hero {
    gap: 14px;
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 24px;
  }

  .global-search-hero::after {
    left: -52px;
    top: 36px;
    width: 300px;
    opacity: 0.065;
  }

  .global-search-hero h1 {
    font-size: clamp(2.05rem, 11vw, 3.25rem);
  }

  .global-search-hero-copy > p:not(.page-kicker) {
    margin-top: 11px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .global-product-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
    border-radius: 20px;
  }

  .global-product-image,
  .global-product-image img {
    min-height: 112px;
    max-height: 132px;
    border-radius: 16px;
  }

  .global-product-body {
    gap: 7px;
  }

  .global-product-card h3 {
    font-size: 1.14rem;
  }

  .global-product-price-row .price-tag {
    font-size: 1.14rem;
  }

  .global-product-actions .button {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }
}

@media (max-width: 520px) {
  .global-product-card {
    grid-template-columns: 1fr;
  }

  .global-product-image,
  .global-product-image img {
    min-height: 190px;
    max-height: 220px;
  }

  .global-product-topline {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-search-hero {
    animation: none;
  }
}

/* Public marketplace polish: search-first homepage and shop directory cards */
.platform-search-only-hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(390px, 48vw, 560px);
  align-items: center;
}

.platform-search-only-hero::after {
  left: auto;
  right: clamp(-80px, -2vw, -20px);
  top: clamp(10px, 4vw, 42px);
  width: clamp(300px, 36vw, 520px);
  opacity: 0.085;
  transform: rotate(12deg);
}

.platform-search-only-hero .platform-hero-copy {
  max-width: 980px;
}

.platform-search-only-hero .platform-product-search-form {
  width: min(100%, 880px);
  margin-top: 28px;
}

.platform-search-only-hero .platform-hero-copy > p:not(.page-kicker) {
  max-width: 68ch;
}

.platform-marketplace-shop-card {
  align-content: start;
  border-color: rgba(39, 114, 71, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 255, 249, 0.96) 100%);
}

.platform-shop-fulfilment-row .fulfilment-chip,
.shop-directory-fulfilment .chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(39, 114, 71, 0.16);
  border-radius: 999px;
  background: #eef8f1;
  color: #285c3c;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.platform-shop-fulfilment-row .fulfilment-chip.delivery,
.shop-directory-fulfilment .chip.delivery {
  border-color: rgba(30, 95, 150, 0.18);
  background: #eef7ff;
  color: #225f92;
}

.platform-shop-fulfilment-row .fulfilment-chip.collection,
.shop-directory-fulfilment .chip.collection {
  border-color: rgba(39, 114, 71, 0.20);
  background: #edf8f1;
  color: #277247;
}

.platform-shop-fulfilment-row .fulfilment-chip.browse,
.shop-directory-fulfilment .chip.browse {
  border-color: rgba(51, 85, 115, 0.18);
  background: #f2f6fa;
  color: #405a70;
}

.platform-shop-fulfilment-row .fulfilment-chip.closed,
.shop-directory-fulfilment .chip.closed {
  border-color: rgba(179, 107, 24, 0.22);
  background: #fff5e8;
  color: #915716;
}

.shop-directory-market-card {
  grid-template-rows: auto auto auto auto 1fr;
  border-color: rgba(39, 114, 71, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 255, 249, 0.94) 100%);
}

.shop-directory-market-card .shop-directory-card-title {
  align-items: flex-start;
}

.shop-directory-market-card .shop-directory-card-title p {
  margin-top: 5px;
  color: #607089;
  font-size: 0.84rem;
  font-weight: 850;
}

.shop-directory-fulfilment {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
}

.shop-directory-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shop-directory-detail-grid div {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 64px;
  padding: 10px;
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 15px;
  background: #f5fbff;
}

.shop-directory-detail-grid span {
  color: #607089;
  font-size: 0.74rem;
  font-weight: 850;
}

.shop-directory-detail-grid strong {
  color: #0f2f46;
  font-size: 0.92rem;
  line-height: 1.18;
}

.shop-directory-market-card .shop-directory-actions {
  align-self: end;
}

@media (max-width: 760px) {
  .platform-search-only-hero {
    min-height: 0;
  }

  .platform-search-only-hero::after {
    right: -110px;
    top: 10px;
    width: 330px;
    opacity: 0.06;
  }

  .platform-search-only-hero .platform-product-search-form {
    margin-top: 18px;
  }

  .shop-directory-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Launch-aware homepage hero */
.platform-launch-hero {
  min-height: clamp(430px, 48vw, 560px);
}

.platform-launch-hero .platform-hero-copy {
  max-width: 920px;
}

.platform-launch-hero .platform-launch-status {
  max-width: 760px;
  padding: 12px 16px;
  border-left: 4px solid var(--brand-green);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.68);
  color: #234d38;
  font-weight: 780;
}

.platform-launch-hero .platform-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* About Basildon Delivery */
.about-page {
  --about-green: #73bf43;
  --about-green-deep: #277247;
  --about-ink: #0f2f46;
  background:
    radial-gradient(circle at 10% 2%, rgba(115, 191, 67, 0.20), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(24, 111, 175, 0.12), transparent 28rem),
    linear-gradient(180deg, #f2faf3 0%, #f7f9fc 34%, #f4f7fb 100%);
}

.about-page .app-shell {
  width: min(1220px, calc(100% - 32px));
  padding-bottom: 30px;
}

.about-main {
  display: grid;
  gap: 18px;
}

.about-hero,
.about-story,
.about-principles,
.about-team,
.about-final-cta {
  border: 1px solid rgba(188, 204, 220, 0.76);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(15, 47, 70, 0.08);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(26px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 191, 67, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 251, 243, 0.96));
}

.about-hero-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.about-page .page-kicker {
  color: var(--about-green-deep);
}

.about-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(2.55rem, 5.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about-hero-copy > p:not(.page-kicker) {
  max-width: 68ch;
  margin: 16px 0 0;
  color: #486581;
  font-size: 1.06rem;
  line-height: 1.7;
}

.about-hero-copy .about-lead {
  color: #23475e;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 760;
}

.about-hero-actions {
  margin-top: 24px;
}

.about-local-card {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(39, 114, 71, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.about-local-card .about-local-landmark {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 47, 70, 0.16);
}

.about-local-card h2,
.about-section-heading h2,
.about-final-cta h2 {
  margin: 0;
  color: var(--about-ink);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.about-local-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.about-local-card p:last-child {
  margin: 12px 0 0;
  color: #526d82;
  line-height: 1.65;
}

.about-story,
.about-principles,
.about-team {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.94);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 60px);
}

.about-section-heading h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

.about-section-heading > p:not(.page-kicker) {
  max-width: 70ch;
  margin: 12px 0 0;
  color: #536f83;
  line-height: 1.65;
}

.about-story-copy {
  display: grid;
  gap: 14px;
}

.about-story-copy p {
  margin: 0;
  color: #486581;
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-principles,
.about-team {
  display: grid;
  gap: 24px;
}

.about-principles-grid,
.about-profile-grid {
  display: grid;
  gap: 14px;
}

.about-principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-principles-grid article,
.about-profile-card {
  border: 1px solid rgba(188, 204, 220, 0.72);
  border-radius: 22px;
  background: linear-gradient(145deg, #f4fff6, #ffffff 74%);
}

.about-principles-grid article {
  padding: clamp(20px, 3vw, 28px);
}

.about-principles-grid span {
  color: var(--about-green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.about-principles-grid h3 {
  margin: 10px 0 0;
  color: var(--about-ink);
  font-size: 1.35rem;
}

.about-profile-card h3 {
  margin: 0;
  color: var(--about-ink);
  font-size: 1.35rem;
}

.about-principles-grid p,
.about-profile-card p:not(.page-kicker) {
  margin: 10px 0 0;
  color: #536f83;
  line-height: 1.65;
}

.about-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 3vw, 28px);
}

.about-profile-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--about-green-deep), #3f9a62);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
}

.about-profile-photo {
  display: block;
  width: 88px;
  height: 88px;
  border: 3px solid #fff;
  border-radius: 22px;
  object-fit: cover;
  object-position: 50% 42%;
  box-shadow: 0 10px 24px rgba(15, 47, 70, 0.16);
}

.about-profile-card .page-kicker {
  margin: 2px 0 0;
}

.about-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 191, 67, 0.22), transparent 19rem),
    linear-gradient(135deg, #edf9f0, #ffffff 70%);
}

.about-final-cta h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.about-final-cta p:not(.page-kicker) {
  max-width: 62ch;
  margin: 10px 0 0;
  color: #536f83;
  line-height: 1.6;
}

.about-final-cta .button {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .about-hero,
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .platform-launch-hero {
    min-height: 0;
  }

  .platform-launch-hero .platform-hero-actions,
  .about-hero-actions,
  .about-final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-launch-hero .platform-hero-actions .button,
  .about-hero-actions .button,
  .about-final-cta .button {
    width: 100%;
  }

  .about-page .app-shell {
    width: min(100% - 16px, 1220px);
    padding-top: 8px;
  }

  .about-main {
    gap: 12px;
  }

  .about-hero,
  .about-story,
  .about-principles,
  .about-team,
  .about-final-cta {
    padding: 20px;
    border-radius: 22px;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.7rem);
  }

  .about-profile-grid {
    grid-template-columns: 1fr;
  }

  .about-profile-card {
    grid-template-columns: 1fr;
  }
}
