:root {
  color-scheme: light;
  --ink: #263044;
  --muted: #68758c;
  --paper: #fffaf0;
  --card: #ffffff;
  --sun: #ffb84d;
  --sun-dark: #f59d19;
  --mint: #79d8c7;
  --berry: #ff6b8a;
  --sky: #71b7ff;
  --line: rgba(38, 48, 68, 0.12);
  --shadow: 0 24px 70px rgba(46, 34, 18, 0.13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 184, 77, 0.34), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(121, 216, 199, 0.32), transparent 26rem),
    var(--paper);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  overflow: hidden;
  padding: 24px clamp(18px, 4vw, 64px) 72px;
  position: relative;
}

.site-header::before,
.site-header::after {
  border-radius: 999px;
  content: "";
  position: absolute;
  z-index: -1;
}

.site-header::before {
  background: rgba(255, 107, 138, 0.18);
  height: 180px;
  right: -50px;
  top: 160px;
  width: 180px;
}

.site-header::after {
  background: rgba(113, 183, 255, 0.18);
  bottom: 18px;
  height: 260px;
  left: -90px;
  width: 260px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

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

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--sun), var(--berry));
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(245, 157, 25, 0.28);
  color: white;
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(46, 34, 18, 0.08);
  display: flex;
  gap: 6px;
  padding: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
}

.nav-links a:hover,
.nav-links .nav-cta {
  background: var(--ink);
  color: white;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  margin: 70px auto 0;
  max-width: 1180px;
}

.eyebrow,
.section-kicker {
  color: var(--sun-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin-bottom: 24px;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions,
.contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--sun), var(--sun-dark));
  box-shadow: 0 14px 34px rgba(245, 157, 25, 0.26);
  color: #3d2600;
}

.button.secondary {
  background: white;
  box-shadow: 0 14px 34px rgba(38, 48, 68, 0.08);
  color: var(--ink);
}

.quick-facts {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  max-width: 660px;
}

.quick-facts div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 16px;
}

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

dd {
  font-weight: 800;
  margin: 0;
}

.hero-card {
  background: white;
  border: 10px solid white;
  border-radius: 42px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
}

.hero-card img {
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.floating-note {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 16px 44px rgba(38, 48, 68, 0.16);
  font-weight: 900;
  left: 22px;
  padding: 12px 18px;
  position: absolute;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 76px clamp(18px, 4vw, 64px);
}

.intro {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 0.72fr;
}

.intro h2,
.section-heading h2,
.about-panel h2,
.contact h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.14;
  margin-bottom: 14px;
}

.intro > p,
.section-heading p,
.contact p {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 30px;
  max-width: 720px;
}

.section-heading.compact {
  max-width: 620px;
}

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

.product-card,
.service-grid article,
.about-panel,
.contact {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(46, 34, 18, 0.08);
}

.product-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-card div {
  padding: 24px;
}

.product-card h3,
.service-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.product-card p,
.service-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.service-grid article {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.icon {
  align-items: center;
  background: #f4f7fb;
  border-radius: 16px;
  color: var(--berry);
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 22px;
  width: 46px;
}

.about-panel {
  border-radius: 38px;
  padding: clamp(28px, 5vw, 54px);
}

.info-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

.info-list div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 150px 1fr;
  padding: 20px 0;
}

.info-list dd {
  font-weight: 700;
}

.info-list a {
  color: var(--sun-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact {
  border-radius: 38px;
  justify-content: space-between;
  margin-bottom: 76px;
  padding: clamp(28px, 5vw, 54px);
}

.contact > div {
  max-width: 720px;
}

.footer {
  align-items: center;
  background: #1f2736;
  color: white;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 30px clamp(18px, 4vw, 64px);
}

.footer p,
.footer span,
.footer a {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.goods-header {
  padding-bottom: 48px;
}

.goods-hero {
  margin: 70px auto 0;
  max-width: 860px;
  text-align: center;
}

.goods-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
}

.goods-section {
  padding-top: 36px;
}

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

.goods-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px rgba(46, 34, 18, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.goods-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.goods-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.goods-card-body h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.goods-card-body > p:not(.sku) {
  color: var(--muted);
  margin-bottom: 22px;
}

.sku {
  color: var(--sun-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.goods-card-footer {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
}

.goods-card-footer strong {
  color: var(--berry);
  font-size: 30px;
  line-height: 1;
}

button.button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.purchase-dialog {
  background: transparent;
  border: 0;
  max-width: min(92vw, 480px);
  padding: 0;
}

.purchase-dialog::backdrop {
  background: rgba(31, 39, 54, 0.5);
  backdrop-filter: blur(5px);
}

.purchase-dialog form {
  background: white;
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 34px;
  position: relative;
}

.purchase-dialog h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.purchase-dialog p:not(.section-kicker) {
  color: var(--muted);
  margin-bottom: 22px;
}

.dialog-close {
  align-items: center;
  background: #f4f7fb;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    border-radius: 22px;
    flex-wrap: wrap;
  }

  .hero,
  .intro,
  .product-grid,
  .service-grid,
  .goods-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card img {
    min-height: 360px;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-bottom: 44px;
  }

  .nav-links a {
    flex: 1 1 auto;
    text-align: center;
  }

  h1 {
    font-size: 40px;
  }

  .section {
    padding-bottom: 48px;
    padding-top: 48px;
  }

  .info-list div {
    gap: 8px;
    grid-template-columns: 1fr;
  }

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