:root {
  --shopify-green: #004c3f;
  --shopify-green-2: #008060;
  --shopify-mint: #effcfa;
  --shopify-cream: #fbf7ed;
  --ink: #172c25;
  --body: #334b43;
  --muted: #6b7d76;
  --line: #dce7e2;
  --paper: #ffffff;
  --page: #f7f9f8;
  --warning: #fff7e8;
  --danger: #fff3f1;
  --shadow: 0 14px 40px rgba(23, 44, 37, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
}

a { color: #006e52; text-underline-offset: 3px; }
a:hover { color: #004c3f; }
img, svg { max-width: 100%; }

.main {
  width: min(1200px, calc(100% - 40px));
  margin: 20px auto 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  margin-bottom: 12px;
}

.header .column { float: none; width: auto; }
.header-right { text-align: right; }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 52px;
  border-radius: 8px 8px 14px 14px;
  background: #95bf47;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  transform: rotate(-4deg);
  box-shadow: inset -7px 0 0 rgba(0,0,0,.08);
}

.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 25px; letter-spacing: -.4px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  margin: 8px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  scrollbar-width: thin;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 8px;
  color: #38524a;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--shopify-mint); color: var(--shopify-green); }

.gobtn {
  display: inline-block;
  margin: 0;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: var(--shopify-green);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.gobtn:hover { background: #0b7a67; color: #fff; box-shadow: 0 8px 20px rgba(0,76,63,.18); transform: translateY(-1px); }

.article-shell {
  margin: 0 auto;
  padding: 0 0 72px;
}

.breadcrumb { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: inherit; }

.article-hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid #d3e6de;
  border-radius: 20px;
  background: linear-gradient(135deg, #effcfa 0%, #fbf7ed 100%);
  box-shadow: var(--shadow);
}

.article-hero:after {
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 240px;
  height: 240px;
  border: 36px solid rgba(0, 128, 96, .08);
  border-radius: 50%;
  content: "";
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--shopify-green-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.035em; }
h2 { margin: 52px 0 18px; padding-top: 8px; font-size: clamp(1.55rem, 3.2vw, 2.15rem); letter-spacing: -.02em; }
h3 { margin: 32px 0 12px; font-size: 1.32rem; }
h4 { margin: 24px 0 8px; font-size: 1.08rem; }
p { margin: 0 0 18px; }
ul, ol { padding-left: 1.45em; }
li { margin: 7px 0; }
strong { color: #213a32; }

.lede { max-width: 780px; margin-bottom: 0; color: #39534a; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.time, .meta { color: var(--muted); font-size: 14px; }

.quick-answer,
.callout,
.warning,
.source-box {
  padding: 20px 24px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-left: 5px solid var(--shopify-green-2);
  border-radius: 12px;
  background: #fff;
}

.quick-answer { background: var(--shopify-mint); }
.warning { border-left-color: #d98d00; background: var(--warning); }
.danger { border-left-color: #c64b3d; background: var(--danger); }
.quick-answer > :last-child, .callout > :last-child, .warning > :last-child { margin-bottom: 0; }

.toc {
  padding: 24px 28px;
  margin: 28px 0 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 44, 37, .05);
}

.toc h2 { margin: 0 0 12px; padding: 0; font-size: 1.24rem; }
.toc ol { margin: 0; columns: 2; column-gap: 42px; }
.toc li { break-inside: avoid; margin: 8px 0; }
.toc a { text-decoration: none; }

.table-wrap { width: 100%; margin: 24px 0 32px; overflow-x: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; min-width: 700px; border-collapse: collapse; background: #fff; }
caption { padding: 14px 16px; background: var(--shopify-green); color: #fff; font-size: 1.15rem; font-weight: 750; text-align: left; }
th, td { padding: 13px 15px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
th { background: #f0f5f3; color: var(--ink); font-size: 15px; }
tbody tr:nth-child(even) { background: #fbfcfb; }

.check-grid,
.article-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 30px;
}

.check-card,
.article-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.check-card h3, .article-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.check-card p, .article-card p { margin: 0; color: #566b64; font-size: 15px; }
.article-card { text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.article-card:hover { border-color: #91cbbb; box-shadow: 0 10px 28px rgba(23,44,37,.08); transform: translateY(-2px); }

.step-list { counter-reset: step; padding: 0; list-style: none; }
.step-list > li { position: relative; min-height: 48px; padding: 4px 0 22px 58px; margin: 0; }
.step-list > li:before {
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--shopify-green);
  color: #fff;
  font-weight: 800;
  content: counter(step);
}

.faq-authority details {
  padding: 14px 18px;
  margin: 11px 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.faq-authority summary { cursor: pointer; list-style: none; color: var(--ink); }
.faq-authority summary::-webkit-details-marker { display: none; }
.faq-authority summary:after { float: right; color: var(--shopify-green-2); font-size: 21px; font-weight: 800; content: "+"; }
.faq-authority details[open] summary:after { content: "–"; }
.faq-answer { padding-top: 10px; color: #4d625b; }
.faq-answer > :last-child { margin-bottom: 0; }

.cta-panel {
  padding: clamp(24px, 5vw, 42px);
  margin: 44px 0;
  border-radius: 18px;
  background: var(--shopify-green);
  color: #fff;
}

.cta-panel h2, .cta-panel strong { margin-top: 0; color: #fff; }
.cta-panel p { max-width: 720px; color: #e4f2ee; }
.cta-panel .gobtn { background: #fff; color: var(--shopify-green); }
.cta-panel .gobtn:hover { background: #f3fbf8; color: var(--shopify-green); }

.source-box { border-left-color: #71847d; background: #f8faf9; font-size: 14px; }
.source-box h2 { margin: 0 0 10px; padding: 0; font-size: 1.1rem; }
.source-box ul { margin-bottom: 0; }

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
.site-footer a { color: #4c655d; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; padding: 8px 12px; background: #fff; color: #000; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .main { width: min(100% - 24px, 1200px); margin-top: 10px; }
  .header { gap: 12px; min-height: 64px; }
  .brand-mark { width: 39px; height: 43px; font-size: 20px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { display: none; }
  .header .gobtn { padding: 9px 12px; font-size: 13px; }
  .site-nav { margin-bottom: 20px; border-radius: 9px; }
  .article-hero { padding: 26px 22px; border-radius: 14px; }
  .toc ol { columns: 1; }
  .check-grid, .article-links { grid-template-columns: 1fr; }
  .quick-answer, .callout, .warning, .source-box { padding: 17px 18px; }
  h2 { margin-top: 42px; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-nav, .header-right, .cta-panel { display: none; }
  .main, .article-shell { width: 100%; max-width: none; margin: 0; }
  .article-hero, .toc, .check-card, .article-card { box-shadow: none; }
  a { color: #000; text-decoration: none; }
}
