:root {
  color-scheme: light;
  --page-bg: #fffcf9;
  --card-bg: #fff;
  --panel-bg: #fffaf4;
  --text-main: #3e3e3e;
  --text-strong: #2a2a2a;
  --text-soft: #8b8b8b;
  --title-dark: #663b00;
  --line: rgba(221, 221, 221, 0.92);
  --accent-start: #ff8f18;
  --accent-end: #f74b26;
  --accent-strong: #ff8304;
  --brown-start: #9b6417;
  --brown-end: #533100;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.75);
  --header-shadow: 0 18px 42px rgba(140, 92, 26, 0.12);
  --soft-shadow: 0 24px 60px rgba(186, 137, 65, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(255, 231, 194, 0.6), transparent 24%),
    linear-gradient(180deg, #fffaf4 0%, var(--page-bg) 24%, #fff9f2 100%);
  color: var(--text-main);
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

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

img {
  max-width: 100%;
}

button {
  font: inherit;
}

.page {
  overflow: clip;
}

.shell {
  width: min(1284px, calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 35px;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.site-header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.9) 0%, rgba(255, 252, 249, 0.45) 60%, rgba(255, 252, 249, 0) 100%);
  pointer-events: none;
}

.tabbar {
  position: relative;
  width: min(1348px, calc(100vw - 48px));
  min-height: 92px;
  padding: 13px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--header-shadow);
  pointer-events: auto;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.site-header.is-scrolled .tabbar {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(116, 77, 18, 0.16);
  background: rgba(255, 255, 255, 0.74);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: clamp(148px, 15.5vw, 221px);
  height: auto;
}

.tablist {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 5vw, 100px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 0 18px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.24s ease,
    transform 0.24s ease;
}

.tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-strong);
  transform: translateX(-50%) scaleX(0.15);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.tab:hover {
  color: #8d5200;
}

.tab:focus {
  outline: none;
}

.tab:focus-visible {
  outline: 2px solid rgba(255, 131, 4, 0.45);
  outline-offset: 6px;
  border-radius: 12px;
}

.tab.is-active {
  color: #754401;
  font-weight: 600;
}

.tab.is-active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.section {
  position: relative;
}

.hero {
  min-height: 810px;
}

.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero__content {
  position: relative;
  min-height: 810px;
  padding-top: 168px;
  padding-bottom: 64px;
  display: flex;
  align-items: center;
}

.hero__copy {
  max-width: 760px;
}

.hero__kicker {
  margin: 0 0 20px;
  font-size: 18px;
  color: rgba(117, 68, 1, 0.72);
  letter-spacing: 1.6px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(99deg, var(--brown-start) 1.8%, var(--brown-end) 97.8%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subhead {
  margin: 26px 0 0;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: linear-gradient(109deg, var(--brown-start) 1.8%, var(--brown-end) 97.8%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  margin: 34px 0 0;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--text-main);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 20px;
  font-weight: 600;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

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

.button--primary {
  width: 170px;
  height: 56px;
  margin-top: 46px;
  background: linear-gradient(90deg, var(--accent-start) 0%, var(--accent-end) 100%);
  box-shadow: 0 14px 32px rgba(247, 114, 38, 0.22);
  color: #fff;
  font-size: 20px;
}

.button--secondary {
  width: 147px;
  height: 44px;
  margin-top: 54px;
  background: linear-gradient(90deg, var(--accent-start) 0%, var(--accent-end) 100%);
  color: #fff;
  font-size: 16px;
}

.button--light {
  width: 180px;
  height: 58px;
  background: #fff;
  color: #b86010;
  font-size: 24px;
  box-shadow: 0 18px 36px rgba(112, 52, 0, 0.18);
}

.section-heading {
  text-align: center;
}

.section-heading--left {
  text-align: left;
}

.section-heading__eyebrow {
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--text-soft);
  line-height: 1.4;
}

.section-heading__title {
  margin: 0;
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

.section--core {
  padding: 60px 0 44px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 48px;
}

.category-card {
  position: relative;
  min-height: 476px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.category-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__content {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  padding: 38px 44px 32px;
}

.category-card h3 {
  margin: 0;
  color: var(--title-dark);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
}

.category-card__lead {
  margin: 24px 0 0;
  color: var(--title-dark);
  font-size: 20px;
  line-height: 1.35;
}

.category-card__meta {
  margin: 10px 0 0;
  color: #8d8d8d;
  font-size: 16px;
  line-height: 1.35;
}

.section--live {
  padding: 56px 0 60px;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(280px, 1fr);
  gap: 27px;
  margin-top: 48px;
}

.live-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
}

.live-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-showcase--main {
  min-height: 718px;
}

.live-showcase--phone {
  min-height: 718px;
}

.live-badge {
  position: absolute;
  top: 20px;
  left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 118px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f74a26 0%, #ff8205 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.live-badge img {
  width: 20px;
  height: 21px;
}

.section--about {
  padding: 0 0 60px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(460px, 508px);
  gap: 38px;
  padding: 35px 34px 23px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.about-copy__body {
  margin-top: 28px;
}

.about-copy__body p {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0.02em;
}

.about-copy__body p:last-child {
  margin-bottom: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.about-metric {
  min-height: 195px;
  padding: 18px 18px 20px;
  border-radius: 10px;
  background: var(--panel-bg);
  text-align: center;
}

.about-metric img {
  display: block;
  margin: -22px auto 8px;
  object-fit: contain;
}

.about-metric h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 500;
}

.about-metric p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-line;
}

.section--service {
  padding: 0 0 60px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.service-card {
  min-height: 223px;
  padding: 14px 18px 20px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.service-card img {
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 500;
}

.service-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.35;
}

.section--steps {
  padding: 0 0 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.step-card {
  position: relative;
  padding: 0 18px;
  text-align: center;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 172px;
  right: -95px;
  width: 190px;
  border-top: 2px solid #edd4b5;
  opacity: 0.9;
}

.step-card__index {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(196, 158, 90, 0.1);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 128px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.1em;
}

.step-card__icon-wrap {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 168px;
  margin: 82px auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(255, 239, 214, 0.9) 48%, rgba(253, 221, 178, 0.9) 100%);
  box-shadow:
    inset 0 14px 28px rgba(255, 255, 255, 0.7),
    0 20px 40px rgba(204, 149, 73, 0.16);
}

.step-card:nth-child(2) .step-card__icon-wrap {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(247, 244, 238, 0.92) 46%, rgba(223, 220, 213, 0.9) 100%);
}

.step-card img {
  display: block;
  object-fit: contain;
}

.step-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 500;
}

.step-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.35;
}

.section--merchant {
  padding: 0 0 36px;
}

.merchant-banner {
  position: relative;
  min-height: 429px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(137, 73, 0, 0.16);
}

.merchant-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-banner__content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: 86px 53px 70px;
  color: #fff;
}

.merchant-banner__content h2 {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 600;
  line-height: 1.2;
}

.merchant-banner__content p {
  margin: 16px 0 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
}

.merchant-banner__actions {
  display: flex;
  align-items: flex-end;
  gap: 46px;
  margin-top: 54px;
}

.merchant-features {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.merchant-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 66px;
}

.merchant-feature img {
  display: block;
  object-fit: contain;
}

.merchant-feature span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-footer {
  border-top: 1.5px solid var(--line);
  background: #fff;
}

.site-footer__content {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) minmax(220px, 280px);
  gap: 36px;
  align-items: start;
  padding: 38px 0 34px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__brand img {
  width: 163px;
  height: auto;
}

.site-footer__brand p {
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: clamp(36px, 7vw, 130px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
}

.footer-column a {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.25;
}

.site-footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-footer__qr {
  width: 124px;
  height: auto;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1;
}

.contact-item img {
  width: 22px;
  height: auto;
}

@media (max-width: 1200px) {
  .hero__copy {
    max-width: 660px;
  }

  .category-card h3 {
    font-size: 34px;
  }

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

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

  .about-metrics {
    max-width: 760px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .step-card:nth-child(2)::after,
  .step-card:nth-child(4)::after,
  .step-card:not(:last-child)::after {
    display: none;
  }

  .merchant-banner__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .site-footer__contact {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100%, calc(100vw - 24px));
  }

  .site-header {
    top: 16px;
    padding: 0 12px;
  }

  .site-header::before {
    height: 136px;
  }

  .tabbar {
    width: min(100%, calc(100vw - 24px));
    min-height: 76px;
    padding: 12px 16px;
    gap: 16px;
    border-radius: 22px;
  }

  .brand img {
    width: clamp(110px, 24vw, 156px);
  }

  .tablist {
    gap: 24px;
  }

  .tab {
    font-size: 16px;
    padding-bottom: 14px;
  }

  .tab::after {
    width: 36px;
    height: 4px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__content {
    min-height: 720px;
    padding-top: 142px;
    align-items: flex-start;
  }

  .hero__visual img {
    object-position: 72% center;
  }

  .hero__copy {
    max-width: 430px;
  }

  .hero h1 {
    white-space: normal;
  }

  .section--core,
  .section--live,
  .section--about,
  .section--service,
  .section--steps {
    padding-bottom: 48px;
  }

  .section-heading__eyebrow {
    font-size: 17px;
  }

  .category-grid,
  .live-layout,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .live-showcase--main,
  .live-showcase--phone {
    min-height: auto;
  }

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

  .merchant-banner__content {
    max-width: 540px;
    padding: 60px 28px 42px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    top: 8px;
  }

  .tabbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .tablist {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
  }

  .hero__content {
    min-height: 680px;
    padding-top: 132px;
    padding-bottom: 36px;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__visual img {
    object-position: 78% center;
  }

  .hero__subhead {
    letter-spacing: 0;
  }

  .button--primary {
    width: 154px;
    height: 50px;
    font-size: 18px;
  }

  .category-card__content {
    padding: 28px 22px 24px;
  }

  .category-card h3 {
    font-size: 28px;
  }

  .category-card__lead {
    font-size: 17px;
  }

  .button--secondary {
    margin-top: 34px;
  }

  .about-panel {
    padding: 24px 18px;
  }

  .about-copy__body p {
    font-size: 16px;
  }

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

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

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

  .step-card__index {
    font-size: 92px;
  }

  .step-card__icon-wrap {
    width: 144px;
    height: 144px;
    margin-top: 62px;
  }

  .merchant-features {
    gap: 20px;
  }

  .merchant-feature {
    flex-direction: row;
    justify-content: flex-start;
    min-width: 120px;
  }

  .merchant-feature span {
    white-space: normal;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 28px;
  }

  .site-footer__contact {
    flex-direction: column;
    align-items: flex-start;
  }
}
