:root {
  --bg: oklch(98.20% 0.0070 268.55);
  --surface: oklch(100% 0 0);
  --fg: oklch(9.12% 0.0458 272.64);
  --muted: oklch(45% 0.0300 268);
  --border: oklch(84.98% 0.0651 275.33);
  --accent: oklch(32.80% 0.2067 266.16);
  --success: oklch(66% 0.17 155);
  --danger: oklch(57% 0.22 28);
  --shadow: 0 20px 60px color-mix(in oklch, var(--fg) 11%, transparent);
  --font-display: "Manrope", "Avenir Next", "PingFang SC", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", Consolas, monospace;
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { color-scheme: light; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--fg); background: var(--bg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 16px; background: var(--fg); color: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid color-mix(in oklch, var(--border) 62%, transparent); background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
body.admin-bar .site-header { top: 32px; }
.header-inner { width: var(--page); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.10em; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--surface); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0; box-shadow: 0 8px 18px color-mix(in oklch, var(--accent) 24%, transparent); }
.header-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 30px); }
.niubiapp-menu, .niubiapp-menu li { display: contents; }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current="page"] { text-decoration: underline; }
.product-hero { width: var(--page); min-height: calc(100svh - 76px); margin: 0 auto; padding: clamp(64px, 8vw, 112px) 0; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(430px, 1.14fr); gap: clamp(48px, 7vw, 96px); align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--font-display); font-weight: 600; }
h1 { max-width: 10ch; margin-bottom: 24px; font-size: clamp(50px, 6.5vw, 82px); line-height: 1.02; letter-spacing: -0.03em; }
.hero-lead { max-width: 58ch; margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.hero-price { margin: 0 0 28px; padding: 16px 0; display: grid; gap: 4px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero-price span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-price strong { font-size: 15px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--fg); border-radius: 12px; background: var(--fg); color: var(--surface); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; box-shadow: 0 9px 0 color-mix(in oklch, var(--fg) 12%, transparent); transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(2px); box-shadow: 0 5px 0 color-mix(in oklch, var(--fg) 12%, transparent); }
.button.secondary { border-color: var(--border); background: var(--surface); color: var(--fg); box-shadow: none; }
.hero-media { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--fg); box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.independence-note { width: var(--page); margin: -26px auto 0; padding-bottom: 48px; color: var(--muted); font-size: 13px; }
.section { width: var(--page); margin: 0 auto; padding: clamp(78px, 9vw, 132px) 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.025em; }
.section-heading p { max-width: 65ch; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 260px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--surface); }
.feature-number { margin-bottom: auto; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.feature-card h3 { margin: 38px 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.workflow-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.workflow-layout { width: var(--page); margin: 0 auto; padding: clamp(78px, 9vw, 132px) 0; display: grid; grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr); gap: clamp(48px, 8vw, 110px); align-items: start; }
.workflow-intro { position: sticky; top: 112px; }
.workflow-intro h2 { margin-bottom: 16px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; }
.workflow-intro p { margin: 0; color: var(--muted); }
.steps { border-top: 1px solid var(--border); }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.step h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.step p { max-width: 60ch; margin: 0; color: var(--muted); font-size: 15px; }
.product-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: clamp(46px, 8vw, 104px); align-items: center; }
.story-copy h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
.story-copy p { max-width: 60ch; margin: 0 0 18px; color: var(--muted); }
.story-copy ul { margin: 24px 0 0; padding-left: 20px; color: var(--muted); }
.story-copy li { margin-bottom: 10px; }
.story-media { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.story-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.privacy-band { background: var(--fg); color: var(--surface); }
.privacy-layout { width: var(--page); margin: 0 auto; padding: clamp(82px, 10vw, 144px) 0; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(48px, 9vw, 120px); align-items: start; }
.privacy-layout .eyebrow { color: color-mix(in oklch, var(--surface) 58%, transparent); }
.privacy-layout h2 { margin-bottom: 18px; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; letter-spacing: -0.03em; }
.privacy-layout p { margin: 0; color: color-mix(in oklch, var(--surface) 70%, transparent); }
.boundary-list { display: grid; border-top: 1px solid color-mix(in oklch, var(--surface) 16%, transparent); }
.boundary-item { padding: 24px 0; border-bottom: 1px solid color-mix(in oklch, var(--surface) 16%, transparent); }
.boundary-item strong { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 19px; }
.boundary-item span { color: color-mix(in oklch, var(--surface) 66%, transparent); font-size: 14px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.price-card { min-height: 250px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.price-card .plan { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.price-card strong { margin: 18px 0 10px; font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -0.02em; }
.price-card p { margin: auto 0 0; color: var(--muted); font-size: 14px; }
.support-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.support-section h2 { max-width: 14ch; margin-bottom: 16px; font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.025em; }
.support-section p { max-width: 62ch; margin: 0; color: var(--muted); }
.support-address { min-width: min(100%, 340px); padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.support-address span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.support-address a { font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px); font-weight: 600; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { width: var(--page); min-height: 116px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }

.etsy-hero-media { padding: clamp(20px, 3vw, 34px); background: linear-gradient(145deg, #f1641e, #cf470b); }
.etsy-workflow-preview { width: 100%; padding: 22px; border: 1px solid color-mix(in srgb, #ffffff 30%, transparent); border-radius: 16px; background: #fffaf6; color: #2b160d; box-shadow: 0 18px 40px rgb(66 22 4 / 22%); }
.etsy-preview-topline, .etsy-preview-summary, .etsy-preview-controls, .etsy-preview-output { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.etsy-preview-topline { margin-bottom: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.etsy-preview-brand { font-weight: 700; }
.etsy-preview-status { padding: 5px 8px; border-radius: 999px; background: #dbf9e7; color: #176a3d; }
.etsy-preview-tabs { margin-bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #efc8b4; border-radius: 10px; overflow: hidden; }
.etsy-preview-tabs span { padding: 11px 10px; text-align: center; color: #7b5b4d; font-size: 12px; font-weight: 600; }
.etsy-preview-tabs .is-active { background: #f1641e; color: #ffffff; }
.etsy-preview-summary { margin-bottom: 10px; color: #7b5b4d; font-size: 13px; }
.etsy-preview-summary strong { color: #2b160d; font-family: var(--font-display); font-size: 20px; }
.etsy-preview-progress { height: 10px; margin-bottom: 18px; overflow: hidden; border-radius: 999px; background: #f1ded4; }
.etsy-preview-progress i { width: 64%; height: 100%; display: block; border-radius: inherit; background: #f1641e; }
.etsy-preview-controls { margin-bottom: 22px; }
.etsy-preview-controls span { flex: 1; padding: 8px 6px; border: 1px solid #efc8b4; border-radius: 8px; color: #5a3c2e; font-size: 11px; font-weight: 600; text-align: center; }
.etsy-preview-output { align-items: flex-start; flex-direction: column; padding: 16px; border-radius: 10px; background: #fff0e6; }
.etsy-preview-output strong { font-family: var(--font-display); }
.etsy-preview-output span { color: #7b5b4d; font-size: 12px; }
.etsy-zip-alert { display: grid; grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1.65fr); gap: clamp(28px, 5vw, 70px); padding: clamp(30px, 5vw, 58px); border: 2px solid #f1641e; border-radius: 20px; background: #fff2e8; box-shadow: 0 18px 48px rgb(241 100 30 / 13%); }
.etsy-alert-label { width: fit-content; height: fit-content; padding: 7px 11px; border-radius: 999px; background: #f1641e; color: #ffffff; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.etsy-zip-alert h2 { max-width: 16ch; margin-bottom: 16px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -0.025em; }
.etsy-zip-alert p { max-width: 66ch; margin: 0; color: #6f4937; }
.etsy-folder-preview { padding: clamp(22px, 4vw, 40px); background: #fff2e8; }
.etsy-folder-window { padding: 22px; border: 1px solid #efc8b4; border-radius: 14px; background: #ffffff; }
.etsy-folder-title { display: block; margin-bottom: 16px; color: #f1641e; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.etsy-folder-window div { padding: 14px 0; display: grid; gap: 3px; border-top: 1px solid #f0ddd2; }
.etsy-folder-window strong { font-family: var(--font-display); font-size: 15px; }
.etsy-folder-window span { color: var(--muted); font-size: 12px; }
.plan-note { max-width: 860px; margin: 26px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .etsy-zip-alert { grid-template-columns: 1fr; }

  :root { --page: min(100% - 30px, 720px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0 12px; }
  .header-nav { width: 100%; gap: 20px; overflow-x: auto; }
  .header-nav a { flex: 0 0 auto; }
  .product-hero { min-height: 0; grid-template-columns: 1fr; }
  .independence-note { margin-top: -20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-intro { position: static; }
  .product-story { grid-template-columns: 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 190px; }
  .support-section { grid-template-columns: 1fr; }
  .support-address { width: 100%; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 24px); }
  body { font-size: 16px; }
  .header-nav { gap: 16px; }
  .product-hero { gap: 42px; padding-top: 54px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .section, .workflow-layout { padding-block: 72px; }
  .step { grid-template-columns: 38px 1fr; gap: 14px; }
  .hero-media, .story-media { border-radius: 16px; }
  .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
