:root {
  color-scheme: light;
  --bg: #f3f3f3;
  --panel: #ffffff;
  --ink: #202124;
  --muted: #8a8d91;
  --line: #ececec;
  --icon: #777a7d;
  --brand: #1677ff;
  --brand-dark: #0c4fb3;
  --brand-soft: #eef6ff;
  --green: #15b981;
  --slate: #172033;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button {
  font: inherit;
}

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

.agreements-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(22, 119, 255, 0.09), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f2f4f7 100%);
}

.agreement-index {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 32px);
}

.agreement-index-header {
  max-width: 780px;
  margin-bottom: 30px;
}

.agreement-index-header p {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.agreement-index-header h1 {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
}

.agreement-index-header span {
  color: #6d7889;
  font-size: 18px;
  line-height: 1.7;
}

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

.agreement-tile {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe8f1;
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(23, 55, 94, 0.08);
}

.agreement-tile::after {
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(22, 119, 255, 0.08);
  content: "";
}

.agreement-tile.primary {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff, #eff7ff);
}

.tile-index {
  color: #b4bdc9;
  font-size: 15px;
  font-weight: 900;
}

.tile-type {
  width: fit-content;
  margin: 18px 0 16px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.agreement-tile strong {
  max-width: 92%;
  color: var(--slate);
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.22;
}

.agreement-tile small {
  display: block;
  max-width: 90%;
  margin-top: 12px;
  color: #6d7889;
  font-size: 16px;
  line-height: 1.7;
}

.agreement-tile em {
  margin-top: auto;
  color: var(--brand);
  font-style: normal;
  font-weight: 900;
}

.contact-tile {
  background: #f8fbff;
}

.marketing-page {
  background: #f7fbff;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 251, 255, 0.88);
  border-bottom: 1px solid rgba(210, 226, 240, 0.8);
  backdrop-filter: blur(16px);
}

.site-brand {
  color: var(--slate);
  font-size: 24px;
  font-weight: 900;
}

.site-nav nav,
.home-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav nav a {
  color: #5b687a;
  font-size: 15px;
  font-weight: 700;
}

.nav-cta,
.final-cta a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
}

.home-hero,
.home-section,
.final-cta,
.home-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(58px, 8vw, 112px) clamp(20px, 4vw, 32px);
}

.hero-kicker,
.section-title p {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--slate);
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.04;
}

.hero-lede {
  max-width: 680px;
  margin: 0 0 30px;
  color: #5b687a;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.download-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-pills a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0ef;
  border-radius: 999px;
  padding: 0 20px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 850;
  box-shadow: 0 10px 30px rgba(34, 96, 150, 0.08);
}

.download-pills a:first-child {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.hero-overview {
  display: grid;
  gap: 16px;
  justify-self: end;
  width: min(100%, 500px);
}

.overview-card {
  border: 1px solid #dbe8f4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 70px rgba(29, 92, 148, 0.12);
}

.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.status-card > div:first-child {
  position: relative;
  padding-left: 22px;
}

.status-dot {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(21, 185, 129, 0.12);
}

.status-card p {
  margin: 0 0 4px;
  color: #718096;
  font-weight: 750;
}

.status-card strong {
  color: var(--slate);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
}

.status-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.status-card dl div {
  min-width: 118px;
  border-radius: 14px;
  padding: 14px;
  background: #f2f8ff;
}

.status-card dt {
  color: var(--brand-dark);
  font-size: 28px;
  font-weight: 950;
}

.status-card dd {
  margin: 0;
  color: #768294;
  font-weight: 750;
}

.route-map {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.route-map-head,
.route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.route-map-head {
  margin-bottom: 4px;
}

.route-map-head strong {
  color: var(--slate);
  font-size: 20px;
}

.route-map-head span {
  border-radius: 999px;
  padding: 5px 10px;
  background: #e9f8f2;
  color: #0f9066;
  font-size: 13px;
  font-weight: 850;
}

.route-row {
  border: 1px solid #e0ebf5;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfdff;
}

.route-row span {
  color: #758196;
  font-weight: 750;
}

.route-row strong {
  color: var(--slate);
}

.compliance-note {
  padding: 20px 22px;
  background: linear-gradient(135deg, #f4fbff, #effbf5);
}

.compliance-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 20px;
}

.compliance-note p {
  margin: 0;
  color: #657286;
  line-height: 1.7;
}

.home-section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 4vw, 32px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title h2,
.final-cta h2 {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.12;
}

.section-title span,
.final-cta p,
.home-footer p {
  color: #6b7788;
  font-size: 17px;
  line-height: 1.7;
}

.scene-grid,
.feature-list,
.solution-grid,
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scene-grid article,
.feature-list article,
.solution-grid article,
.plan-cards article,
.faq-list details {
  border: 1px solid #dfeaf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 46px rgba(32, 87, 142, 0.08);
}

.scene-grid article {
  min-height: 150px;
  padding: 24px;
}

.scene-grid strong,
.feature-list h3,
.solution-grid h3,
.plan-cards h3 {
  display: block;
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 21px;
}

.scene-grid span,
.feature-list p,
.solution-grid p,
.plan-cards p,
.faq-list p {
  margin: 0;
  color: #657286;
  line-height: 1.7;
}

.soft-band {
  width: 100%;
  max-width: none;
  background: #ffffff;
}

.soft-band .section-title,
.soft-band .feature-list {
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
}

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

.feature-list article {
  padding: 24px;
}

.solution-grid article {
  overflow: hidden;
}

.solution-grid h3,
.solution-grid p,
.solution-grid a {
  margin-right: 22px;
  margin-left: 22px;
}

.solution-grid p {
  min-height: 82px;
}

.solution-grid a {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--brand);
  font-weight: 850;
}

.solution-image {
  min-height: 190px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
}

.solution-image.work {
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.2), rgba(21, 185, 129, 0.12)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.solution-image.shop {
  background:
    linear-gradient(135deg, rgba(15, 35, 64, 0.18), rgba(22, 119, 255, 0.16)),
    url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=900&q=80");
}

.solution-image.play {
  background:
    linear-gradient(135deg, rgba(21, 185, 129, 0.2), rgba(22, 119, 255, 0.16)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=900&q=80");
}

.plan-cards article {
  padding: 26px;
}

.plan-cards strong {
  display: block;
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 40px;
}

.plan-cards strong span {
  color: #7a8797;
  font-size: 17px;
}

.plan-cards .recommended {
  border-color: #93c8ff;
  box-shadow: 0 22px 70px rgba(22, 119, 255, 0.16);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  color: var(--slate);
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  margin-top: 12px;
}

.faq-list a {
  color: var(--brand);
  font-weight: 850;
}

.final-cta {
  border-radius: 26px;
  padding: clamp(42px, 7vw, 72px) 24px;
  background: linear-gradient(135deg, #176fff, #15b981);
  color: #fff;
  text-align: center;
  box-shadow: 0 26px 80px rgba(22, 119, 255, 0.2);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta a {
  margin-top: 10px;
  padding: 0 26px;
  background: #fff;
  color: var(--brand-dark);
}

.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(20px, 4vw, 32px);
}

.home-footer strong {
  color: var(--slate);
  font-size: 22px;
}

.home-footer p {
  margin: 8px 0 0;
}

.home-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-footer nav a {
  color: #5c6878;
  font-weight: 750;
}

.app-shell {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.page-header p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-align: right;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 24px;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.document-card,
.detail-panel {
  overflow: hidden;
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.document-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 28px;
  width: 100%;
  min-height: 152px;
  align-items: center;
  gap: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 54px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.document-row:last-child {
  border-bottom: 0;
}

.document-row:hover,
.document-row.is-active {
  background: #fafcff;
}

.document-row:focus-visible,
.back-button:focus-visible {
  outline: 3px solid rgba(22, 119, 255, 0.25);
  outline-offset: -3px;
}

.row-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--icon);
}

.row-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.row-copy {
  min-width: 0;
}

.row-copy strong {
  display: block;
  margin-bottom: 8px;
  color: #1f2023;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.row-copy small {
  display: block;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 650;
  line-height: 1.35;
}

.chevron {
  width: 18px;
  height: 18px;
  border-top: 3px solid #b5b7ba;
  border-right: 3px solid #b5b7ba;
  transform: rotate(45deg);
  justify-self: end;
}

.detail-panel {
  margin-top: 24px;
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  color: var(--muted);
  font-size: 15px;
}

.back-button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 750;
  cursor: pointer;
}

.doc-content {
  padding: clamp(24px, 4vw, 48px);
  line-height: 1.85;
}

.doc-content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.doc-content h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.doc-content h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.doc-content p,
.doc-content li {
  color: #4c4f54;
  font-size: 17px;
}

.doc-content p {
  margin: 0 0 12px;
}

.doc-content ul {
  margin: 0;
  padding-left: 22px;
}

.doc-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.doc-meta li,
.doc-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}

.doc-meta li {
  padding: 12px 14px;
  color: #4c4f54;
}

.doc-table {
  width: 100%;
  margin: 12px 0 20px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.doc-table th,
.doc-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  color: #4c4f54;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  background: #f5f7fa;
  color: #25272a;
  font-weight: 800;
}

.doc-table tr:last-child td {
  border-bottom: 0;
}

.doc-content .notice {
  margin-bottom: 22px;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff8e7;
  color: #71510a;
}

.empty-state {
  color: var(--muted) !important;
  text-align: center;
}

.agreement-document-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px);
}

.agreement-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.agreement-doc-header > a,
.plain-link-list a {
  color: var(--brand);
  font-weight: 800;
}

.standalone-detail {
  margin-top: 0;
}

.plain-link-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-link-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fafafa;
}

@media (min-width: 760px) {
  .app-shell {
    display: block;
    width: min(100%, 980px);
  }

  .page-header {
    grid-column: 1 / -1;
  }

  .document-row {
    grid-template-columns: 54px minmax(0, 1fr) 18px;
    min-height: 118px;
    gap: 24px;
    padding: 24px 36px;
  }

  .row-icon {
    width: 48px;
    height: 48px;
  }

  .row-icon svg {
    width: 42px;
    height: 42px;
  }

  .row-copy strong {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .row-copy small {
    font-size: 17px;
    line-height: 1.45;
  }

  .chevron {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav {
    display: none;
  }

  .home-hero,
  .scene-grid,
  .feature-list,
  .solution-grid,
  .plan-cards {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-overview {
    justify-self: start;
  }

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

  .home-footer nav {
    justify-content: flex-start;
  }

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

  .agreement-tile.primary {
    grid-column: span 2;
  }

  .app-shell {
    padding: 18px;
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-header p {
    text-align: left;
  }

  .document-card,
  .detail-panel {
    border-radius: 16px;
  }

  .document-row {
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    min-height: 116px;
    gap: 18px;
    padding: 20px;
  }

  .row-icon {
    width: 42px;
    height: 42px;
  }

  .row-icon svg {
    width: 36px;
    height: 36px;
  }

  .row-copy strong {
    font-size: 20px;
  }

  .row-copy small {
    font-size: 15px;
  }

  .detail-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

}

@media (max-width: 520px) {
  .site-nav {
    padding: 14px 16px;
  }

  .site-brand {
    font-size: 21px;
  }

  .nav-cta {
    padding: 0 14px;
    white-space: nowrap;
  }

  .home-hero,
  .home-section {
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .status-card {
    align-items: stretch;
    flex-direction: column;
  }

  .status-card dl {
    grid-template-columns: 1fr 1fr;
  }

  .download-pills a {
    width: 100%;
  }

  .agreement-index {
    padding: 28px 14px;
  }

  .agreement-grid,
  .agreement-tile.primary {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .agreement-tile {
    min-height: 210px;
    padding: 20px;
  }

  .agreement-tile strong {
    font-size: 22px;
  }

  .app-shell {
    padding: 12px;
  }

  .brand strong {
    font-size: 21px;
  }

  .document-row {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    min-height: 96px;
    gap: 14px;
    padding: 16px;
  }

  .row-icon,
  .row-icon svg {
    width: 34px;
    height: 34px;
  }

  .row-copy strong {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .row-copy small {
    font-size: 13px;
  }

  .chevron {
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .doc-content {
    padding: 22px 18px;
  }

  .doc-meta {
    grid-template-columns: 1fr;
  }

  .doc-table {
    display: block;
    overflow-x: auto;
  }
}
