:root {
  --ink: #151515;
  --muted: #66645f;
  --paper: #f6f3ed;
  --white: #fff;
  --accent: #e89a1b;
  --accent-soft: #fff1d6;
  --line: #dedbd3;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(246, 243, 237, .94);
  border-bottom: 1px solid rgba(21, 21, 21, .08);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand img { width: 62px; height: 52px; object-fit: contain; mix-blend-mode: multiply; }
.brand span { padding-left: 12px; border-left: 1px solid var(--line); letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-nav a:hover { color: #9b5e00; }
.nav-cta { padding: 10px 18px; color: var(--white) !important; background: var(--ink); border-radius: 999px; }
.menu-button { display: none; border: 0; background: none; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 640px;
  width: min(1440px, calc(100% - 36px));
  margin: 24px auto 0;
  padding: clamp(64px, 8vw, 110px) clamp(28px, 7vw, 100px);
  overflow: hidden;
  background: linear-gradient(135deg, #f8c84b 0%, #f5b72f 54%, #efa11f 100%);
  border-radius: 36px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: #9b5e00; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
h1 { margin: 18px 0 26px; font-size: clamp(48px, 7vw, 92px); line-height: 1.04; letter-spacing: -.06em; }
.hero h1 { max-width: 720px; font-size: clamp(46px, 5.2vw, 74px); }
.hero-text { max-width: 610px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.brand-slogan { margin: 22px 0 0; font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.hero-actions, .contact-actions { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; }
.button-primary { color: var(--white); background: var(--ink); }
.button-secondary { background: transparent; }
.button:hover { transform: translateY(-2px); }
.hero-points { display: flex; gap: 26px; margin: 54px 0 0; padding: 0; color: var(--muted); font-size: 13px; list-style: none; }
.hero-points li::before { content: "●"; margin-right: 8px; color: var(--accent); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 450px; padding: 28px; }
.hero-visual::before { content: ""; position: absolute; inset: 7% 0; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.38); border-radius: 34px; box-shadow: 0 28px 70px rgba(87,55,0,.12); transform: rotate(-2deg); }
.hero-product-image { position: relative; z-index: 1; width: min(34vw, 440px); max-height: 410px; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(0,0,0,.12)); }
.pos-machine { position: relative; z-index: 1; width: min(34vw, 440px); filter: drop-shadow(0 35px 35px rgba(0,0,0,.22)); }
.pos-screen { aspect-ratio: 1.6; padding: 34px; color: white; background: #202020; border: 14px solid #343434; border-radius: 18px; box-shadow: inset 0 0 0 1px #555; }
.pos-screen span, .pos-screen strong { display: block; }
.pos-screen span { color: #ccc; font-size: 14px; }
.pos-screen strong { margin: 10px 0 24px; font-size: clamp(28px, 4vw, 52px); }
.pos-screen i { display: inline-block; width: 22%; height: 42px; margin-right: 4%; background: #393939; border-radius: 8px; }
.pos-stand { width: 22%; height: 100px; margin: auto; background: #2d2d2d; }
.pos-base { width: 56%; height: 26px; margin: auto; background: #202020; border-radius: 8px 8px 18px 18px; }
.visual-note { position: absolute; right: 12px; bottom: 22px; z-index: 2; padding: 8px 14px; color: white; background: var(--ink); border-radius: 999px; font-size: 12px; }

.section { max-width: 1280px; margin: 0 auto; padding: 105px clamp(24px, 6vw, 80px); }
.intro { text-align: center; }
.intro h2, .section-heading h2, .about h2, .contact h2 { margin: 8px 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1.18; letter-spacing: -.04em; }
.intro > p:last-child { max-width: 680px; margin: auto; color: var(--muted); font-size: 18px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.section-heading > p { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.product-card { position: relative; display: grid; grid-template-columns: minmax(300px, .9fr) 1.1fr; column-gap: clamp(38px, 6vw, 82px); align-items: center; min-height: 430px; padding: clamp(32px, 5vw, 58px); background: #fff4da; border: 0; border-radius: 32px; overflow: hidden; }
.product-card:nth-child(2) { background: #edf3ef; }
.product-card:nth-child(3) { background: #f2eff6; }
.product-card-featured { border: 0; }
.product-card > :not(.product-art) { grid-column: 2; }
.product-card:nth-child(even) > :not(.product-art) { grid-column: 1; }
.product-card:nth-child(even) .product-art { grid-column: 2; }
.tag { display: inline-block; padding: 5px 10px; color: #684300; background: var(--accent-soft); border-radius: 999px; font-size: 12px; font-weight: 700; }
.product-card .tag { justify-self: start; align-self: end; }
.product-art { grid-column: 1; grid-row: 1 / span 5; display: grid; place-items: center; width: 100%; height: 100%; min-height: 330px; margin: 0; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); border-radius: 26px; overflow: hidden; }
.product-art::before { content: ""; width: 112px; height: 78px; background: #202020; border: 7px solid #373737; border-radius: 8px; box-shadow: 0 56px 0 -28px #2c2c2c; }
.product-art span { position: absolute; color: var(--accent); font-size: 13px; font-weight: 800; }
.product-art.product-photo::before, .product-art.product-photo::after { display: none; }
.product-art.product-photo img { width: 100%; height: 100%; padding: 18px; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(42,35,22,.14)); }
.product-art.product-photo img[src*="ai-scale-angle-cutout"],
.product-art.product-photo img[src*="fashion-pos-angle-cutout"] { transform: scale(1.14); }
.scale-art::after { content: ""; position: absolute; width: 125px; height: 18px; margin-top: 125px; background: #292929; border-radius: 8px; }
.product-card h3 { align-self: end; margin: 18px 0 12px; max-width: 560px; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.22; text-wrap: balance; }
.product-card p { align-self: start; max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.product-card ul { min-height: 0; margin: 22px 0; padding-left: 20px; font-size: 14px; }
.product-footer { display: flex; justify-content: flex-start; align-items: end; padding-top: 18px; border-top: 1px solid rgba(21,21,21,.14); }
.product-footer span { font-size: 22px; font-weight: 800; }
.product-footer small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.product-footer a { color: #8c5700; font-size: 14px; font-weight: 700; }

.solutions { max-width: none; color: white; background: var(--ink); }
.solutions > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.section-heading.light > p, .solutions .section-kicker { color: #c5a462; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #3b3b3b; border: 1px solid #3b3b3b; }
.solution-grid > a { display: block; background: var(--ink); }
.solution-grid > a:hover { background: #202020; }
.solution-grid article { padding: 38px; background: var(--ink); }
.solution-grid > a:hover article { transform: translateY(-3px); }
.solution-grid span { color: var(--accent); font-size: 12px; }
.solution-grid h3 { margin: 28px 0 12px; font-size: 25px; }
.solution-grid p { color: #aaa; }

.steps { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.steps li { display: grid; grid-template-columns: 80px 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); }
.steps > li > span { color: var(--accent); font-size: 24px; font-weight: 800; }
.steps h3 { margin: 0 0 8px; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: .42fr .58fr; align-items: center; gap: 80px; }
.about-mark { display: grid; place-items: center; aspect-ratio: 1; color: var(--accent); background: var(--ink); border-radius: 50%; font-family: serif; font-size: clamp(90px, 14vw, 180px); font-weight: 900; }
.about p { color: var(--muted); font-size: 17px; }
.draft-note { padding: 14px 18px; background: var(--accent-soft); border-radius: 12px; font-size: 13px !important; }

.contact { margin-bottom: 80px; text-align: center; background: var(--accent); border-radius: 36px; }
.contact .section-kicker { color: #513300; }
.contact > p { max-width: 620px; margin-left: auto; margin-right: auto; }
.contact-actions { justify-content: center; }
.button-disabled { opacity: .66; cursor: default; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px clamp(24px, 6vw, 80px); color: #aaa; background: var(--ink); font-size: 13px; }
.site-footer div { display: flex; gap: 18px; }
.site-footer strong { color: white; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { height: 66px; }
  .brand img { width: 50px; height: 42px; }
  .brand span { font-size: 13px; }
  .menu-button { display: block; padding: 7px 13px; border: 1px solid var(--ink); border-radius: 999px; }
  .site-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { grid-template-columns: 1fr; width: calc(100% - 24px); padding-top: 72px; border-radius: 26px; }
  .hero-visual { min-height: 360px; }
  .hero-visual::before { width: min(76vw, 380px); }
  .pos-machine { width: min(72vw, 360px); }
  .hero-product-image { width: min(72vw, 360px); max-height: 380px; }
  .product-grid, .solution-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .product-card > :not(.product-art), .product-card:nth-child(even) > :not(.product-art), .product-card:nth-child(even) .product-art { grid-column: 1; }
  .product-art { grid-row: auto; min-height: 300px; margin: 18px 0 24px; }
  .product-card ul { min-height: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-mark { max-width: 360px; width: 80%; margin: auto; }
  .contact { margin-left: 14px; margin-right: 14px; border-radius: 24px; }
}

@media (max-width: 560px) {
  .brand span { display: none; }
  h1 { font-size: 48px; }
  .hero { min-height: auto; }
  .hero-points { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 36px; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .product-card { padding: 22px; }
  .steps li { grid-template-columns: 48px 1fr; }
  .site-footer, .site-footer div { flex-direction: column; }
}
