:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --background: #f3f3f5; --surface: #fff; --ink: #1b1a1f; --muted: #696970; --line: #dedee3; --accent: #fbd78b; --accent-ink: #634a2f;
  color: var(--ink); background: var(--background); font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #936818; outline-offset: 6px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
.shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 10; padding: 14px 20px; background: var(--ink); color: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 650; letter-spacing: -.9px; }
.brand img { flex: 0 0 auto; }
.site-nav { display: flex; gap: 34px; align-items: center; font-size: 14px; }
.site-nav a { padding: 12px 0; color: #55545b; }
.site-nav a:hover, .site-footer a:hover, .back-link:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 5px; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; padding-block: 62px 104px; }
.hero-copy { padding-bottom: 6px; }
.eyebrow { font-size: 12px; line-height: 1.5; font-weight: 550; text-transform: uppercase; letter-spacing: 1.8px; color: var(--muted); }
h1 { margin-top: 25px; font-size: clamp(50px, 5.65vw, 78px); font-weight: 550; line-height: 1.04; letter-spacing: -.065em; }
h1 span { color: #7c7b83; }
.hero-intro { margin-top: 25px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.button { min-height: 52px; margin-top: 32px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: #49371e; font-size: 14px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #f6c768; transform: translateY(-2px); }
.availability { margin-top: 17px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.hero-preview { padding: 22px; border: 1px solid #fff; border-radius: 32px; background: #eaeaec; }
.preview-heading { display: flex; justify-content: space-between; gap: 12px; margin: 0 4px 18px; font-size: 12px; line-height: 1.5; color: #6d6c74; }
.preview-heading > span:first-child { text-transform: uppercase; letter-spacing: 1.25px; }
.preview-art { overflow: hidden; border-radius: 22px; background-color: #fff9ec; background-image: linear-gradient(#634a2f09 1px, transparent 1px), linear-gradient(90deg, #634a2f09 1px, transparent 1px); background-size: 16px 16px; }
.preview-art img { width: 100%; aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; }
.preview-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 4px 2px; }
.preview-caption h2 { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -.7px; }
.pattern-category { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); }
.pattern-spec { flex: 0 0 auto; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.collection { padding-block: 36px 66px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 12px; font-size: clamp(25px, 3vw, 36px); line-height: 1.2; font-weight: 550; letter-spacing: -1.3px; }
.section-heading > p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.pattern-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.pattern-image { position: relative; border-radius: 24px; background: var(--surface); overflow: hidden; }
.pattern-index { position: absolute; left: 22px; top: 20px; font-size: 12px; color: #76767d; font-variant-numeric: tabular-nums; }
.pattern-image img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 18px; image-rendering: pixelated; transition: transform .35s; }
.pattern-card:hover img { transform: translateY(-5px); }
.pattern-card figcaption { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 2px 0; }
.pattern-card h3 { margin-top: 4px; font-size: 18px; line-height: 1.4; font-weight: 550; letter-spacing: -.35px; overflow-wrap: anywhere; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; border-top: 1px solid var(--line); padding-block: 40px 58px; }
.feature-number { font-size: 12px; color: #78777e; font-variant-numeric: tabular-nums; }
.features h2 { margin-top: 15px; font-size: 20px; line-height: 1.4; font-weight: 550; letter-spacing: -.5px; }
.features p { margin-top: 10px; max-width: 290px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.about { padding: 64px 50px; border-radius: 30px; background: #fff; text-align: center; }
.about h2 { margin-top: 15px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; font-weight: 550; letter-spacing: -1.9px; }
.about > p:last-child { margin: 22px auto 0; max-width: 510px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.contact { padding-block: 70px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact h2 { margin-top: 12px; font-size: 28px; font-weight: 550; letter-spacing: -1px; }
.contact-link { max-width: 100%; padding-bottom: 8px; border-bottom: 1px solid #aaa8ae; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-link:hover { border-color: var(--ink); }
.site-footer { padding-block: 28px 32px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-top .brand { font-size: 18px; letter-spacing: -.5px; }
.footer-top nav { display: flex; gap: 26px; font-size: 14px; color: #5c5b63; }
.footer-bottom { margin-top: 26px; align-items: flex-start; color: #77767e; font-size: 12px; line-height: 1.7; }
/* Legal pages share the visual system; their policy wording stays intact. */
.legal-page .site-header, .legal-footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.legal-page .site-header .brand { font-size: 23px; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--muted); }
.legal-shell { width: min(1000px, calc(100% - 96px)); margin: 42px auto 80px; display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 64px; }
.legal-shell aside { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.legal-shell aside > span { margin-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); }
.legal-shell aside a { padding: 12px 14px; border-radius: 12px; color: var(--muted); }
.legal-shell aside a.active { background: var(--accent); color: #49371e; }
.legal-copy { min-width: 0; padding: 40px; border-radius: 26px; background: #fff; }
.legal-copy h1 { margin-top: 0; font-size: 38px; line-height: 1.15; letter-spacing: -1.5px; }
.legal-copy h2 { margin-top: 32px; font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.5px; }
.legal-copy h3 { margin-top: 24px; font-size: 17px; line-height: 1.6; font-weight: 600; }
.legal-copy p, .legal-copy li { font-size: 16px; line-height: 1.8; color: #55545c; overflow-wrap: anywhere; }
.legal-copy p { margin-top: 14px; }
.legal-copy .legal-updated { margin-top: 16px; font-size: 12px; color: var(--muted); }
.legal-copy ul { margin-block: 16px; padding-left: 22px; }
.legal-copy li + li { margin-top: 10px; }
.legal-copy a { color: #795820; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; color: var(--muted); }
html:lang(zh) h1 { font-size: clamp(48px, 5.2vw, 68px); line-height: 1.22; letter-spacing: -.04em; font-weight: 600; }
html:lang(zh) .eyebrow { letter-spacing: 1.4px; }
html:lang(zh) .section-heading h2, html:lang(zh) .features h2, html:lang(zh) .contact h2 { line-height: 1.45; letter-spacing: -.025em; }
html:lang(zh) .about h2 { line-height: 1.35; letter-spacing: -.035em; }
html:lang(zh) .hero-intro, html:lang(zh) .features p, html:lang(zh) .about > p:last-child { line-height: 1.85; }
html:lang(zh) .legal-copy h1 { font-size: 38px; line-height: 1.35; }
html:lang(zh) .legal-copy h2 { line-height: 1.5; letter-spacing: 0; }
@media (min-width: 1500px) { .hero { padding-block: 84px 120px; } }
@media (max-width: 1000px) {
  .shell, .legal-page .site-header, .legal-footer { width: calc(100% - 64px); }
  .hero { gap: 36px; padding-block: 42px 78px; }
  h1 { font-size: clamp(42px, 6.2vw, 62px); }
  .hero-intro { font-size: 16px; }
  .desktop-break { display: none; }
  .hero-preview { padding: 18px; border-radius: 28px; }
  .pattern-grid { gap: 30px 18px; }
  .pattern-image img { padding: 10px; }
  .features { gap: 26px; }
  .features h2 { font-size: 18px; }
  .legal-shell { width: calc(100% - 64px); grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .legal-copy { padding: 30px; }
}
@media (max-width: 700px) {
  .shell, .legal-page .site-header, .legal-footer { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 14px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .site-nav { gap: 18px; font-size: 14px; }
  .site-nav a:nth-child(2) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 38px 56px; }
  .hero-copy { padding: 0 4px; }
  h1 { margin-top: 20px; font-size: clamp(43px, 9.4vw, 64px); letter-spacing: -.06em; }
  html:lang(zh) h1 { font-size: clamp(42px, 10vw, 56px); }
  .hero-intro { max-width: 350px; margin-top: 20px; }
  .button { margin-top: 24px; }
  .availability { margin-top: 13px; }
  .hero-preview { width: 100%; max-width: 480px; justify-self: center; padding: 18px; }
  .preview-caption h2 { font-size: 23px; }
  .collection { padding-block: 30px 40px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { font-size: 29px; letter-spacing: -1px; }
  .section-heading > p { margin-top: 14px; }
  .section-heading > p br { display: none; }
  .pattern-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 10px; }
  .pattern-card { min-width: 0; }
  .pattern-image { border-radius: 16px; }
  .pattern-index { display: none; }
  .pattern-image img { padding: 4px; }
  .pattern-card figcaption { min-width: 0; padding: 12px 0 0; display: block; }
  .pattern-card h3 { min-height: 42px; margin-top: 4px; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
  .pattern-card .pattern-spec { display: block; margin-top: 4px; text-align: left; }
  .features { grid-template-columns: 1fr; gap: 28px; padding-block: 32px 40px; }
  .features article { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
  .feature-number { grid-row: 1 / 3; padding-top: 5px; }
  .features h2 { margin-top: 0; font-size: 20px; }
  .features p { max-width: none; margin-top: 6px; }
  .about { padding: 42px 24px; border-radius: 26px; }
  .about h2 { font-size: 36px; letter-spacing: -1.6px; }
  .about > p:last-child { margin-top: 18px; }
  .contact { padding-block: 42px; display: block; }
  .contact h2 { font-size: 25px; }
  .contact-link { margin-top: 22px; display: inline-block; font-size: 15px; }
  .footer-top { align-items: flex-start; flex-wrap: wrap; gap: 22px; }
  .footer-top nav { font-size: 14px; gap: 20px; min-height: 30px; align-items: center; }
  .footer-bottom { flex-direction: column; gap: 6px; margin-top: 20px; }
  .legal-page .site-header .brand { font-size: 20px; }
  .legal-shell { width: calc(100% - 40px); margin-block: 20px 40px; grid-template-columns: 1fr; gap: 20px; }
  .legal-shell aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .legal-shell aside > span { display: none; }
  .legal-copy { padding: 28px 22px; border-radius: 22px; }
  .legal-copy h1 { font-size: 32px; }
  html:lang(zh) .legal-copy h1 { font-size: 32px; }
  .legal-copy h2 { font-size: 20px; }
  .legal-footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
