:root {
  --ink: #172033;
  --body: #536173;
  --muted: #6d7b8e;
  --line: #d8e2ec;
  --soft: #f5f7fa;
  --soft-green: #eef8f4;
  --brand: #105f7a;
  --brand-deep: #0b3042;
  --jade: #178760;
  --gold: #d99227;
  --coral: #c95f4f;
  --white: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5edf4;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--jade));
  border-radius: 8px;
}

.brand__text,
.brand__name,
.brand__tagline {
  display: block;
}

.brand__name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.brand__tagline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344254;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
  background: #edf6f8;
}

.nav-pill {
  border: 1px solid #c9dce8;
}

.nav-pill--solid {
  color: var(--white) !important;
  background: var(--brand) !important;
  border-color: var(--brand);
}

.nav-logout {
  margin: 0;
}

.nav-logout button {
  min-height: 37px;
  padding: 0 12px;
  color: var(--body);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
}

.nav-logout button:hover {
  color: var(--brand);
  background: #edf6f8;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-color: var(--brand-deep);
  background-image:
    linear-gradient(90deg, rgba(9, 34, 48, 0.96), rgba(9, 56, 63, 0.82) 48%, rgba(9, 34, 48, 0.24)),
    url("/static/images/hero-local-life-marketing.png");
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: 628px;
  display: grid;
  align-items: center;
  padding: 92px 6vw 110px;
}

.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0), var(--white));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #dff8ec;
  font-size: 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: 54px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__summary,
.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 900;
  border-radius: 6px;
  border: 1px solid transparent;
}

.button--primary {
  color: var(--white);
  background: var(--brand);
}

.button--secondary {
  color: var(--brand);
  background: var(--white);
  border-color: #c5d9e8;
}

.button--light {
  color: var(--brand-deep);
  background: var(--white);
}

.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.page-hero {
  min-height: 382px;
  padding: 82px 6vw 88px;
  background-image:
    linear-gradient(90deg, rgba(9, 34, 48, 0.96), rgba(17, 84, 75, 0.82) 52%, rgba(9, 34, 48, 0.32)),
    url("/static/images/hero-local-life-marketing.png");
}

.page-hero--b2b {
  background-image:
    linear-gradient(90deg, rgba(19, 37, 51, 0.96), rgba(102, 75, 32, 0.82) 52%, rgba(19, 37, 51, 0.3)),
    url("/static/images/hero-local-life-marketing.png");
}

.page-hero--partners {
  background-image:
    linear-gradient(90deg, rgba(22, 40, 52, 0.96), rgba(95, 58, 54, 0.84) 52%, rgba(22, 40, 52, 0.3)),
    url("/static/images/hero-local-life-marketing.png");
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 24px;
}

.section--intro,
.section--split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.section--muted {
  max-width: none;
  padding-right: 6vw;
  padding-left: 6vw;
  background: var(--soft);
  border-top: 1px solid #e8eef4;
  border-bottom: 1px solid #e8eef4;
}

.section__label {
  margin-bottom: 10px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.section h2 {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

.section__copy p,
.section__heading p,
.contact-panel p,
.feature-list p,
.role-grid p,
.partner-grid p,
.process-line p,
.process-list p,
.market-grid p {
  color: var(--body);
}

.section__copy p {
  font-size: 16px;
  line-height: 1.95;
}

.section__heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section__heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.role-grid,
.feature-list,
.dashboard-grid,
.market-grid,
.partner-grid {
  display: grid;
  gap: 16px;
}

.role-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

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

.role-grid article,
.feature-list article,
.dashboard-grid article,
.market-grid article,
.partner-grid article,
.process-line article,
.process-list article,
.contact-panel,
.table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.role-grid article,
.feature-list article,
.dashboard-grid article,
.market-grid article,
.partner-grid article {
  padding: 24px;
}

.role-grid article {
  min-height: 246px;
  display: flex;
  flex-direction: column;
}

.role-grid span,
.partner-grid span,
.market-grid span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  background: #edf6f8;
  border-radius: 999px;
}

.role-grid article:nth-child(2) span,
.feature-list article:nth-child(2) h3 {
  color: var(--jade);
}

.role-grid article:nth-child(3) span,
.feature-list article:nth-child(3) h3 {
  color: var(--gold);
}

.role-grid article:nth-child(4) span,
.feature-list article:nth-child(4) h3 {
  color: var(--coral);
}

.role-grid h3,
.feature-list h3,
.market-grid h3,
.partner-grid h3,
.process-list h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.role-grid p,
.feature-list p,
.market-grid p,
.partner-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.role-grid a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--brand);
  font-weight: 900;
}

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

.feature-list--wide {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-line article {
  position: relative;
  min-height: 166px;
  padding: 22px;
}

.process-line article::before {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 18px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
}

.process-line article:nth-child(2)::before,
.process-line article:nth-child(5)::before {
  background: var(--jade);
}

.process-line article:nth-child(3)::before {
  background: var(--coral);
}

.process-line strong,
.dashboard-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.process-line p,
.dashboard-grid span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-grid article {
  min-height: 148px;
  background: linear-gradient(180deg, #ffffff, #f9fbfc);
}

.market-grid {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-card__media {
  min-height: 136px;
  margin: -24px -24px 18px;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    #dfe8ef;
}

.market-card__media--food {
  background-color: #e6a65c;
}

.market-card__media--retail {
  background-color: #84b895;
}

.market-card__media--service {
  background-color: #7899bd;
}

.market-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--brand);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  color: var(--ink);
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

th {
  color: var(--brand-deep);
  background: #edf4f7;
  font-weight: 900;
}

tbody tr:last-child td {
  border-bottom: 0;
}

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

.partner-grid article {
  min-height: 360px;
}

.partner-grid ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 19px;
  color: var(--body);
  font-size: 14px;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  font-weight: 900;
  background: var(--brand);
  border-radius: 8px;
}

.process-list p {
  margin-bottom: 0;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 82px;
  padding: 32px;
  background: linear-gradient(135deg, #f7fbfd, var(--soft-green));
}

.contact-panel h2 {
  margin-bottom: 10px;
}

.contact-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.legal-hero {
  padding: 70px 6vw 76px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(12, 49, 66, 0.98), rgba(18, 95, 90, 0.88)),
    url("/static/images/hero-local-life-marketing.png");
  background-position: center;
  background-size: cover;
}

.auth-hero,
.dashboard-hero {
  padding: 72px 6vw 78px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(12, 49, 66, 0.98), rgba(24, 116, 86, 0.82)),
    url("/static/images/hero-local-life-marketing.png");
  background-position: center;
  background-size: cover;
}

.auth-hero--login {
  background:
    linear-gradient(135deg, rgba(16, 37, 56, 0.98), rgba(16, 95, 122, 0.82)),
    url("/static/images/hero-local-life-marketing.png");
  background-position: center;
  background-size: cover;
}

.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.auth-hero h1,
.dashboard-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.auth-hero p:last-child,
.dashboard-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.auth-layout {
  max-width: 880px;
  margin: 0 auto;
  padding: 58px 24px 88px;
}

.auth-layout--compact {
  max-width: 620px;
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.08);
}

.auth-card__heading {
  margin-bottom: 4px;
}

.auth-card__heading h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.25;
}

.auth-card__heading p:last-child,
.auth-switch {
  margin-bottom: 0;
  color: var(--body);
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.auth-card input,
.auth-card select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  background: #fbfdfe;
  border: 1px solid #cfdce8;
  border-radius: 6px;
}

.auth-card input:focus,
.auth-card select:focus {
  outline: 3px solid rgba(16, 95, 122, 0.15);
  border-color: var(--brand);
}

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

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--body) !important;
  font-weight: 700 !important;
}

.check-row input {
  min-height: auto;
  margin-top: 5px;
}

.check-row a,
.auth-switch a {
  color: var(--brand);
  font-weight: 900;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  color: #8f2e22;
  font-size: 14px;
  font-weight: 800;
  background: #fff1ee;
  border: 1px solid #f0c2ba;
  border-radius: 6px;
}

.dashboard-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
}

.account-card,
.dashboard-main {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.account-card {
  align-self: start;
  padding: 28px;
}

.account-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.account-card dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.account-card div {
  display: grid;
  gap: 4px;
}

.account-card dt {
  color: var(--muted);
  font-size: 13px;
}

.account-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  word-break: break-word;
}

.dashboard-main {
  padding: 28px;
}

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

.legal-hero h1 {
  max-width: 860px;
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 88px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-toc a {
  padding: 10px 12px;
  color: var(--body);
  font-size: 14px;
  font-weight: 800;
  border-radius: 6px;
}

.legal-toc a:hover,
.legal-toc a[aria-current="page"] {
  color: var(--brand);
  background: var(--white);
}

.legal-content {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.06);
}

.legal-updated {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.legal-content h2 {
  margin: 30px 0 12px;
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.95;
}

.site-footer {
  color: #dbe4ec;
  background: #101c2b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.25fr;
  gap: 34px;
  padding: 34px 6vw 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer-grid p {
  margin-bottom: 0;
  color: #b7c5d2;
  font-size: 14px;
}

.footer-grid address {
  display: grid;
  gap: 7px;
  color: #dbe4ec;
  font-style: normal;
  font-size: 14px;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  align-self: start;
  color: #dbe4ec;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 6vw;
  color: #aebccd;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .role-grid,
  .dashboard-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .section--intro,
  .section--split,
  .footer-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

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

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-section {
    grid-template-columns: 1fr;
  }

  .dashboard-grid--member {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand__name {
    font-size: 14px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero,
  .page-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1,
  .page-hero h1,
  .legal-hero h1,
  .auth-hero h1,
  .dashboard-hero h1 {
    font-size: 34px;
  }

  .hero__summary,
  .page-hero p:last-child {
    font-size: 16px;
  }

  .hero__actions,
  .button,
  .contact-actions {
    width: 100%;
  }

  .section {
    padding: 58px 20px;
  }

  .legal-layout {
    padding: 38px 20px 58px;
  }

  .legal-content {
    padding: 24px;
  }

  .auth-layout {
    padding: 38px 20px 58px;
  }

  .auth-card,
  .account-card,
  .dashboard-main {
    padding: 24px;
  }

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

  .legal-toc,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 28px;
  }

  .role-grid,
  .feature-list,
  .feature-list--wide,
  .dashboard-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .process-list span {
    width: 40px;
    height: 40px;
  }

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

/* 2026-08 visual refresh */
:root {
  --ink: #112238;
  --body: #536477;
  --muted: #718196;
  --line: #dce7ee;
  --soft: #f4f8fa;
  --soft-green: #eef8f4;
  --brand: #0d6678;
  --brand-deep: #092f42;
  --jade: #168263;
  --gold: #d58a20;
  --coral: #c65d4d;
  --shadow-sm: 0 8px 24px rgba(17, 34, 56, 0.07);
  --shadow-md: 0 22px 60px rgba(17, 34, 56, 0.12);
}

body {
  background: #fbfdfe;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  min-height: 78px;
  padding-right: max(24px, calc((100vw - 1440px) / 2));
  padding-left: max(24px, calc((100vw - 1440px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(205, 220, 230, 0.72);
  box-shadow: 0 4px 24px rgba(12, 47, 66, 0.05);
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(13, 102, 120, 0.23);
}

.site-nav a,
.nav-logout button {
  border-radius: 10px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-nav {
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-pill--solid {
  box-shadow: 0 8px 18px rgba(13, 102, 120, 0.18);
}

.hero,
.page-hero,
.legal-hero,
.dashboard-hero {
  background-attachment: scroll;
}

.hero {
  min-height: 610px;
  padding-right: max(24px, calc((100vw - 1440px) / 2));
  padding-left: max(24px, calc((100vw - 1440px) / 2));
}

.hero h1 {
  font-size: clamp(46px, 5vw, 68px);
  letter-spacing: -0.035em;
}

.page-hero,
.legal-hero,
.dashboard-hero {
  padding-right: max(24px, calc((100vw - 1440px) / 2));
  padding-left: max(24px, calc((100vw - 1440px) / 2));
}

.button {
  min-height: 48px;
  border-radius: 11px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, #0d6678, #168263);
  box-shadow: 0 10px 24px rgba(13, 102, 120, 0.2);
}

.section {
  max-width: 1240px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.section--muted {
  max-width: none;
  background: linear-gradient(180deg, #f5f9fb, #f1f7f7);
}

.section__label {
  letter-spacing: 0.08em;
}

.role-grid article,
.feature-list article,
.dashboard-grid article,
.market-grid article,
.partner-grid article,
.process-line article,
.process-list article,
.contact-panel,
.table-wrap,
.account-card,
.dashboard-main,
.legal-content,
.legal-toc {
  border-color: rgba(211, 225, 234, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.role-grid article,
.feature-list article,
.dashboard-grid article,
.market-grid article,
.partner-grid article,
.process-line article {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.role-grid article:hover,
.feature-list article:hover,
.dashboard-grid article:hover,
.market-grid article:hover,
.partner-grid article:hover,
.process-line article:hover {
  transform: translateY(-4px);
  border-color: #bfd7df;
  box-shadow: 0 18px 40px rgba(17, 34, 56, 0.1);
}

.contact-panel {
  padding: 38px 42px;
  background: linear-gradient(135deg, #f2f9fb, #eef8f4);
}

.site-footer {
  background: #0d2033;
  border-top: 4px solid #167c70;
}

/* Authentication pages */
.auth-page main {
  padding: 52px 24px 64px;
  background:
    radial-gradient(circle at 10% 10%, rgba(22, 130, 99, 0.11), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(13, 102, 120, 0.1), transparent 38%),
    #f4f8fa;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  width: min(1180px, 100%);
  min-height: 690px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(205, 220, 230, 0.88);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.auth-shell--login {
  width: min(1040px, 100%);
  min-height: 590px;
  grid-template-columns: minmax(380px, 0.95fr) minmax(440px, 1.05fr);
}

.auth-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 38px 42px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(155deg, rgba(8, 43, 59, 0.98), rgba(10, 91, 86, 0.9)),
    url("/static/images/hero-local-life-marketing.png") center / cover;
}

.auth-intro::before,
.auth-intro::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  pointer-events: none;
}

.auth-intro::before {
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.auth-intro::after {
  right: -50px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.05);
}

.auth-intro__back,
.auth-intro__content,
.auth-intro__foot {
  position: relative;
  z-index: 1;
}

.auth-intro__back {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.auth-intro__back:hover {
  color: var(--white);
}

.auth-intro__content {
  margin: auto 0;
}

.auth-intro h1 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.auth-intro__content > p:last-of-type {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.85;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
}

.auth-benefits li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #baf1dc;
  font-size: 11px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
}

.auth-benefits strong,
.auth-benefits small {
  display: block;
}

.auth-benefits strong {
  font-size: 14px;
}

.auth-benefits small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.auth-intro__foot {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.auth-login-note {
  display: grid;
  gap: 3px;
  width: fit-content;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
}

.auth-login-note span {
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
}

.auth-panel {
  display: grid;
  align-items: center;
  padding: 44px 50px;
}

.auth-panel--login {
  padding-right: 64px;
  padding-left: 64px;
}

.auth-card {
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-card__heading {
  margin-bottom: 6px;
}

.auth-card__heading h2 {
  margin-bottom: 8px;
  font-size: 32px;
  letter-spacing: -0.025em;
}

.auth-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
}

.auth-fields--single {
  grid-template-columns: 1fr;
}

.auth-card label {
  gap: 8px;
  color: #20334a;
  font-size: 13px;
}

.auth-card input,
.auth-card select {
  min-height: 50px;
  padding: 0 14px;
  background: #f8fbfc;
  border-color: #ccdce5;
  border-radius: 10px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.auth-card input:hover,
.auth-card select:hover {
  border-color: #a9c6d1;
}

.auth-card input:focus,
.auth-card select:focus {
  background: var(--white);
  outline: none;
  border-color: #138097;
  box-shadow: 0 0 0 4px rgba(13, 102, 120, 0.12);
}

.check-row {
  grid-template-columns: 20px 1fr;
  gap: 9px !important;
  font-size: 12px !important;
  line-height: 1.65;
}

.check-row input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.auth-submit {
  width: 100%;
  min-height: 52px;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
}

.form-error {
  border-radius: 10px;
}

@media (max-width: 940px) {
  .auth-shell,
  .auth-shell--login {
    grid-template-columns: 1fr;
    width: min(680px, 100%);
  }

  .auth-intro {
    min-height: auto;
    padding: 30px 34px;
  }

  .auth-intro__content {
    margin: 44px 0 18px;
  }

  .auth-intro h1 {
    max-width: 560px;
  }

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

  .auth-benefits li {
    display: block;
  }

  .auth-benefits li > span {
    margin-bottom: 10px;
  }

  .auth-panel,
  .auth-panel--login {
    padding: 38px 40px 44px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-nav {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand__tagline {
    display: none;
  }

  .auth-page main {
    padding: 18px 12px 34px;
  }

  .auth-shell,
  .auth-shell--login {
    min-height: auto;
    border-radius: 18px;
  }

  .auth-intro {
    padding: 24px;
  }

  .auth-intro__content {
    margin: 30px 0 4px;
  }

  .auth-intro h1 {
    margin-bottom: 12px;
    font-size: 30px;
  }

  .auth-intro__content > p:last-of-type {
    margin-bottom: 0;
  }

  .auth-benefits,
  .auth-intro__foot,
  .auth-login-note {
    display: none;
  }

  .auth-panel,
  .auth-panel--login {
    padding: 30px 22px 34px;
  }

  .auth-card__heading h2 {
    font-size: 27px;
  }

  .auth-fields {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 28px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Product catalog and ordering */
.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: 64px;
  align-items: end;
  padding: 82px max(24px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background:
    linear-gradient(112deg, rgba(7, 42, 58, 0.98), rgba(10, 91, 86, 0.88)),
    url("/static/images/product-snack-restock.webp") center 55% / cover;
}

.catalog-hero h1 {
  margin: 6px 0 18px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.catalog-hero > div:first-child > p:last-child {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.catalog-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.catalog-hero__facts span {
  display: block;
  min-width: 0;
  padding: 20px 18px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.6;
}

.catalog-hero__facts span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.catalog-hero__facts strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 14px;
}

.catalog-section,
.catalog-assurance,
.product-breadcrumb,
.product-detail,
.product-information,
.related-products,
.order-confirmation {
  width: min(1240px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.catalog-section {
  padding: 78px 0 88px;
}

.catalog-toolbar,
.related-products__heading,
.member-orders__heading {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
}

.catalog-toolbar h2,
.related-products__heading h2,
.member-orders__heading h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: 0;
}

.catalog-filters {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px;
  background: #edf4f6;
  border: 1px solid #dbe7ec;
  border-radius: 10px;
}

.catalog-filters a {
  min-height: 38px;
  padding: 9px 15px;
  color: #506378;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  border-radius: 7px;
}

.catalog-filters a:hover,
.catalog-filters a[aria-current="page"] {
  color: #0b6275;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(17, 34, 56, 0.08);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dce7ec;
  border-radius: 12px;
  box-shadow: 0 9px 28px rgba(17, 34, 56, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #a9cbd4;
  box-shadow: 0 18px 38px rgba(17, 34, 56, 0.12);
}

.product-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf2f3;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.025);
}

.product-card__image > span,
.product-detail__media > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  background: rgba(8, 48, 64, 0.86);
  border-radius: 6px;
  backdrop-filter: blur(7px);
}

.product-card__body {
  padding: 22px 22px 24px;
}

.product-card__audience,
.product-detail__audience {
  margin: 0 0 9px;
  color: #168263;
  font-size: 11px;
  font-weight: 900;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-card h3 a {
  color: var(--ink);
}

.product-card__body > p:not(.product-card__audience) {
  min-height: 50px;
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.75;
}

.product-card__meta {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  margin: 20px 0 18px;
  padding: 16px 0;
  border-top: 1px solid #e4ecef;
  border-bottom: 1px solid #e4ecef;
}

.product-card__meta span,
.product-card__meta small,
.product-card__meta strong,
.product-card__meta b {
  display: block;
  min-width: 0;
}

.product-card__meta small {
  margin-bottom: 5px;
  color: #7b8998;
  font-size: 11px;
}

.product-card__meta strong {
  color: #bd4f3f;
  font-size: 15px;
}

.product-card__meta b {
  color: #293d52;
  font-size: 13px;
}

.product-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0d6678;
  font-size: 13px;
  font-weight: 900;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 56px;
  text-align: center;
  background: #f4f8fa;
  border: 1px solid #dbe7ec;
  border-radius: 12px;
}

.catalog-empty h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.catalog-empty p {
  margin: 0 0 22px;
  color: var(--body);
}

.catalog-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 90px;
  overflow: hidden;
  border-top: 1px solid #cbdde3;
  border-bottom: 1px solid #cbdde3;
}

.catalog-assurance article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 28px 24px;
}

.catalog-assurance article + article {
  border-left: 1px solid #d8e5e9;
}

.catalog-assurance article > span {
  color: #168263;
  font-size: 12px;
  font-weight: 900;
}

.catalog-assurance h2 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0;
}

.catalog-assurance p {
  margin: 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.75;
}

.product-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 28px 0 20px;
  overflow: hidden;
  color: #80909f;
  font-size: 12px;
  white-space: nowrap;
}

.product-breadcrumb a {
  color: #52697c;
}

.product-breadcrumb strong {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) minmax(330px, 0.78fr);
  gap: 32px;
  align-items: start;
  padding: 18px 0 72px;
}

.product-detail__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f4;
  border-radius: 12px;
}

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

.product-detail__summary {
  min-width: 0;
  padding-top: 8px;
}

.product-detail__summary h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: 0;
}

.product-detail__lead {
  margin: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}

.product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.product-detail__tags span {
  padding: 7px 10px;
  color: #0c6d62;
  font-size: 11px;
  font-weight: 800;
  background: #edf8f4;
  border: 1px solid #d0eade;
  border-radius: 6px;
}

.product-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 19px 20px;
  background: #f8f3ed;
  border-left: 3px solid #d58a20;
}

.product-price > span {
  align-self: center;
  margin-right: 10px;
  color: #786c61;
  font-size: 12px;
}

.product-price strong {
  color: #bd4f3f;
  font-size: 30px;
  line-height: 1;
}

.product-price strong small {
  font-size: 15px;
}

.product-price b {
  color: #806c5f;
  font-size: 11px;
}

.product-facts {
  margin: 18px 0 0;
}

.product-facts > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e3ebee;
}

.product-facts dt {
  color: #7c8996;
  font-size: 12px;
}

.product-facts dd {
  margin: 0;
  color: #26394d;
  font-size: 12px;
  font-weight: 700;
}

.product-price-note {
  margin: 14px 0 0;
  color: #84919c;
  font-size: 10px;
  line-height: 1.7;
}

.order-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid #d7e4e9;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(17, 34, 56, 0.1);
}

.order-panel__heading h2 {
  margin: 4px 0 8px;
  font-size: 23px;
  letter-spacing: 0;
}

.order-panel__heading > p:last-child {
  margin: 0 0 20px;
  color: var(--body);
  font-size: 11px;
  line-height: 1.7;
}

.order-form {
  display: grid;
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 7px;
  color: #2b3d51;
  font-size: 11px;
  font-weight: 800;
}

.order-form label > span {
  color: #8d99a5;
  font-weight: 500;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: #f8fbfc;
  border: 1px solid #ccdce3;
  border-radius: 7px;
}

.order-form input,
.order-form select {
  min-height: 43px;
}

.order-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  background: var(--white);
  border-color: #138097;
  box-shadow: 0 0 0 3px rgba(13, 102, 120, 0.12);
}

.order-form__row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.order-form__submit {
  width: 100%;
  margin-top: 2px;
}

.order-form__account {
  margin: -2px 0 0;
  overflow: hidden;
  color: #7d8b99;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-login {
  display: grid;
  gap: 12px;
  text-align: center;
}

.order-login > span {
  color: var(--body);
  font-size: 12px;
  line-height: 1.7;
}

.order-login > a:last-child {
  color: #0d6678;
  font-size: 11px;
  font-weight: 800;
}

.product-information {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cedee4;
  border-bottom: 1px solid #cedee4;
}

.product-information > article {
  min-width: 0;
  padding: 42px 32px 46px;
}

.product-information > article + article {
  border-left: 1px solid #d9e5e9;
}

.product-information h2 {
  margin: 5px 0 24px;
  font-size: 23px;
  letter-spacing: 0;
}

.product-specs {
  margin: 0;
}

.product-specs > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid #e5ecef;
}

.product-specs dt {
  color: #788795;
  font-size: 11px;
}

.product-specs dd {
  margin: 0;
  color: #283d50;
  font-size: 11px;
  line-height: 1.65;
}

.fulfillment-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fulfillment-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.fulfillment-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #0c7569;
  font-size: 10px;
  font-weight: 900;
  background: #edf8f4;
  border-radius: 50%;
}

.fulfillment-list p {
  margin: 4px 0 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.75;
}

.variant-guide > div {
  padding: 14px 0;
  border-bottom: 1px solid #e3ebee;
}

.variant-guide > div > span,
.variant-guide > div > strong {
  display: block;
}

.variant-guide > div > span {
  margin-bottom: 5px;
  color: #293d50;
  font-size: 12px;
  font-weight: 800;
}

.variant-guide > div > strong {
  color: #bd4f3f;
  font-size: 15px;
}

.variant-guide > div > p {
  margin: 6px 0 0;
  color: var(--body);
  font-size: 10px;
  line-height: 1.65;
}

.related-products {
  padding: 76px 0 90px;
}

.related-products__heading > a {
  color: #0d6678;
  font-size: 12px;
  font-weight: 900;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.related-products__grid > a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 15px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d9e5e9;
  border-radius: 10px;
}

.related-products__grid img {
  grid-row: 1 / 3;
  width: 110px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
}

.related-products__grid span {
  align-self: end;
  color: #168263;
  font-size: 10px;
  font-weight: 900;
}

.related-products__grid strong {
  align-self: start;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.order-confirmation {
  padding: 58px 0 90px;
}

.order-confirmation__status {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  color: var(--white);
  background: #0c625e;
  border-radius: 12px 12px 0 0;
}

.order-confirmation__status > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #0c625e;
  font-size: 25px;
  font-weight: 900;
  background: #cbf0df;
  border-radius: 50%;
}

.order-confirmation__status h1 {
  margin: 3px 0 6px;
  font-size: 29px;
  letter-spacing: 0;
}

.order-confirmation__status p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.order-confirmation__status > strong {
  padding: 8px 11px;
  color: #174e49;
  font-size: 11px;
  background: #cbf0df;
  border-radius: 6px;
}

.order-confirmation__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 0;
  background: var(--white);
  border: 1px solid #d8e5e9;
  border-top: 0;
}

.order-summary-card,
.order-next-card {
  padding: 34px 38px;
}

.order-next-card {
  background: #f3f8f9;
  border-left: 1px solid #dbe7eb;
}

.order-summary-card__head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #dde7eb;
}

.order-summary-card__head span,
.order-summary-card__head strong {
  display: block;
}

.order-summary-card__head span {
  color: #7d8995;
  font-size: 11px;
}

.order-summary-card__head strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
}

.order-summary-card dl {
  margin: 18px 0;
}

.order-summary-card dl > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f3;
}

.order-summary-card dt {
  color: #788794;
  font-size: 12px;
}

.order-summary-card dd {
  margin: 0;
  color: #263b4e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.order-summary-card dd a {
  color: #0d6678;
}

.order-summary-card .order-total {
  color: #bd4f3f;
  font-size: 17px;
}

.order-summary-card > p {
  margin: 0;
  color: #84909b;
  font-size: 10px;
}

.order-next-card h2 {
  margin: 5px 0 22px;
  font-size: 23px;
  letter-spacing: 0;
}

.order-next-card ol {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.order-next-card li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.order-next-card li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #0c6c65;
  font-size: 10px;
  font-weight: 900;
  background: #dcefeb;
  border-radius: 50%;
}

.order-next-card li p {
  margin: 3px 0 0;
  color: var(--body);
  font-size: 11px;
  line-height: 1.65;
}

.order-next-card .button {
  width: 100%;
  margin-top: 8px;
}

.member-orders {
  padding-top: 0;
}

.member-orders__heading {
  margin-bottom: 24px;
}

.member-orders__empty {
  padding: 34px;
  text-align: center;
  background: #f4f8fa;
  border: 1px solid #dbe7ec;
  border-radius: 10px;
}

.member-orders__empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.member-orders__empty p {
  margin: 0;
  color: var(--body);
  font-size: 12px;
}

.order-status {
  display: inline-block;
  padding: 6px 8px;
  color: #0c6b61;
  font-size: 10px;
  font-weight: 900;
  background: #e7f5ef;
  border-radius: 5px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .order-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .catalog-toolbar,
  .related-products__heading,
  .member-orders__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-filters {
    width: 100%;
    overflow-x: auto;
  }

  .catalog-assurance,
  .product-information {
    grid-template-columns: 1fr;
  }

  .catalog-assurance article + article,
  .product-information > article + article {
    border-top: 1px solid #d8e5e9;
    border-left: 0;
  }

  .catalog-assurance article {
    padding-right: 8px;
    padding-left: 8px;
  }

  .product-information > article {
    padding-right: 0;
    padding-left: 0;
  }

  .related-products__grid {
    grid-template-columns: 1fr;
  }

  .order-confirmation__body {
    grid-template-columns: 1fr;
  }

  .order-next-card {
    border-top: 1px solid #dbe7eb;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .catalog-hero {
    gap: 30px;
    padding: 56px 18px;
  }

  .catalog-hero h1 {
    font-size: 36px;
  }

  .catalog-hero > div:first-child > p:last-child {
    font-size: 14px;
  }

  .catalog-hero__facts {
    grid-template-columns: 1fr;
  }

  .catalog-hero__facts span {
    padding: 13px 0;
  }

  .catalog-hero__facts span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .catalog-section,
  .catalog-assurance,
  .product-breadcrumb,
  .product-detail,
  .product-information,
  .related-products,
  .order-confirmation {
    width: min(100% - 32px, 1240px);
  }

  .catalog-section {
    padding: 54px 0 62px;
  }

  .catalog-toolbar h2,
  .related-products__heading h2,
  .member-orders__heading h2 {
    font-size: 27px;
  }

  .product-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-card__body > p:not(.product-card__audience) {
    min-height: 0;
  }

  .catalog-assurance {
    margin-bottom: 62px;
  }

  .product-detail {
    gap: 24px;
    padding-bottom: 52px;
  }

  .product-detail__summary h1 {
    font-size: 29px;
  }

  .order-panel {
    grid-column: auto;
    padding: 21px;
  }

  .order-form__row {
    grid-template-columns: 1fr;
  }

  .product-information > article {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .related-products {
    padding: 56px 0 64px;
  }

  .order-confirmation {
    padding: 34px 0 62px;
  }

  .order-confirmation__status {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 23px 20px;
  }

  .order-confirmation__status > span {
    width: 46px;
    height: 46px;
  }

  .order-confirmation__status h1 {
    font-size: 23px;
  }

  .order-confirmation__status > strong {
    grid-column: 2;
    justify-self: start;
  }

  .order-summary-card,
  .order-next-card {
    padding: 27px 20px;
  }

  .order-summary-card dl > div {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Android app download */
.download-page {
  overflow-x: hidden;
  background: #f4f7f8;
}

.download-page .site-nav {
  min-width: 0;
  max-width: 100%;
}

.download-hero {
  display: grid;
  min-height: calc(100svh - 74px);
  padding: 72px 24px;
  background: #f2f8f7;
  border-bottom: 1px solid #d8e5e3;
}

.download-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 80px;
  align-items: center;
  width: min(1080px, 100%);
  margin: auto;
}

.download-main {
  min-width: 0;
}

.download-identity {
  display: flex;
  gap: 22px;
  align-items: center;
}

.download-app-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  color: var(--white);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  background: #ed563f;
  border: 1px solid #d84431;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(155, 54, 40, 0.18);
}

.download-kicker {
  margin: 0 0 5px;
  color: #167962;
  font-size: 13px;
  font-weight: 900;
}

.download-identity h1 {
  margin: 0;
  color: #14283a;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.download-version {
  margin: 7px 0 0;
  color: #71808e;
  font-size: 14px;
  font-weight: 700;
}

.download-lead {
  max-width: 650px;
  margin: 28px 0 30px;
  color: #4e6071;
  font-size: 17px;
  line-height: 1.9;
}

.download-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.download-button {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  min-height: 54px;
  padding: 0 22px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  background: #d94e3a;
  border: 1px solid #c4402d;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(174, 58, 41, 0.18);
}

.download-button:hover {
  background: #c84230;
}

.download-button > span:first-child {
  font-size: 22px;
  line-height: 1;
}

.download-actions p {
  max-width: 260px;
  margin: 0;
  color: #758593;
  font-size: 12px;
  line-height: 1.6;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid #cfdedc;
  border-bottom: 1px solid #cfdedc;
}

.download-meta > div {
  min-width: 0;
  padding: 16px 18px;
}

.download-meta > div:first-child {
  padding-left: 0;
}

.download-meta > div + div {
  border-left: 1px solid #cfdedc;
}

.download-meta dt {
  margin-bottom: 3px;
  color: #7c8a96;
  font-size: 11px;
}

.download-meta dd {
  margin: 0;
  color: #24394a;
  font-size: 13px;
  font-weight: 900;
}

.download-qr {
  padding: 28px;
  text-align: center;
  background: var(--white);
  border: 1px solid #cfdddf;
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(27, 58, 69, 0.1);
}

.download-qr__frame {
  aspect-ratio: 1;
  padding: 9px;
  background: var(--white);
  border: 1px solid #dce7e8;
  border-radius: 6px;
}

.download-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.download-qr strong {
  display: block;
  margin-top: 18px;
  color: #183244;
  font-size: 17px;
}

.download-qr p {
  margin: 6px 0 0;
  color: #73818e;
  font-size: 12px;
  line-height: 1.7;
}

.download-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 62px 0 76px;
}

.download-assurance > div {
  min-width: 0;
  padding: 0 30px;
}

.download-assurance > div:first-child {
  padding-left: 0;
}

.download-assurance > div + div {
  border-left: 1px solid #d3dfe3;
}

.download-assurance > div > span {
  color: #158067;
  font-size: 11px;
  font-weight: 900;
}

.download-assurance h2 {
  margin: 8px 0 9px;
  color: #1b3041;
  font-size: 18px;
  letter-spacing: 0;
}

.download-assurance p {
  margin: 0;
  color: #687987;
  font-size: 12px;
  line-height: 1.75;
}

.download-hash {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
}

.download-hash strong {
  display: block;
  margin-bottom: 4px;
  color: #405668;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 74px 20px 28px;
  color: var(--white);
  background: rgba(8, 20, 29, 0.94);
}

.wechat-guide[hidden] {
  display: none;
}

.wechat-guide-open {
  overflow: hidden;
}

.wechat-guide__menu {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
}

.wechat-guide__menu i {
  width: 4px;
  height: 4px;
  background: var(--white);
  border-radius: 50%;
}

.wechat-guide__panel {
  width: min(420px, 100%);
}

.wechat-guide__label {
  margin: 0 0 8px;
  color: #9cdcc8;
  font-size: 12px;
  font-weight: 900;
}

.wechat-guide__panel h2 {
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.wechat-guide__panel ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wechat-guide__panel li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.wechat-guide__panel li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #102d38;
  font-size: 13px;
  font-weight: 900;
  background: #a9e8d4;
  border-radius: 50%;
}

.wechat-guide__panel li p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.wechat-guide__panel li strong {
  color: var(--white);
}

.wechat-guide__panel button {
  width: 100%;
  min-height: 48px;
  margin-top: 34px;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
}

@media (max-width: 860px) {
  .download-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .download-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 42px;
  }

  .download-identity h1 {
    font-size: 44px;
  }

  .download-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-qr {
    padding: 22px;
  }
}

@media (max-width: 680px) {
  .download-page .site-header,
  .download-page main,
  .download-hero {
    width: 100vw;
    max-width: 100vw;
  }

  .download-page .site-header,
  .download-page main {
    overflow: hidden;
  }

  .download-page .site-nav {
    display: none;
  }

  .download-hero {
    padding: 42px 18px 48px;
  }

  .download-shell {
    display: block;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    min-width: 0;
  }

  .download-main,
  .download-actions,
  .download-meta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .download-identity {
    gap: 16px;
  }

  .download-app-icon {
    width: 68px;
    height: 68px;
    font-size: 29px;
    border-radius: 14px;
  }

  .download-identity h1 {
    font-size: 38px;
  }

  .download-lead {
    margin: 24px 0 26px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .download-button {
    width: 100%;
    min-width: 0;
  }

  .download-actions p {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .download-meta {
    margin-top: 32px;
  }

  .download-meta > div {
    padding-right: 10px;
    padding-left: 10px;
  }

  .download-meta > div:first-child {
    padding-left: 0;
  }

  .download-qr {
    display: none;
  }

  .download-assurance {
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    padding: 38px 0 52px;
  }

  .download-assurance > div,
  .download-assurance > div:first-child {
    padding: 22px 0;
  }

  .download-assurance > div + div {
    border-top: 1px solid #d3dfe3;
    border-left: 0;
  }
}
