/* Zavemate — one stylesheet, no build step. Brand: navy + mint, IBM Plex Sans (+ Noto Sans TC on /zh-hk/). */
:root {
  --navy: #0b132b;
  --navy-2: #14243b;
  --ink: #14243b;
  --muted: #5a6a7d;
  --line: #e1e7ea;
  --bg: #ffffff;
  --bg-alt: #f3f7f5;
  --mint: #a9e5ca;
  --green: #1f7a5f;
  --green-bg: #e6f4ee;
  --radius: 14px;
  --wrap: 1120px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.lang-zh-hk { --font: "IBM Plex Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); font-size: 15px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #39a885; outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 130px; height: auto; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav-links ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-links ul { display: flex; gap: 4px; align-items: center; }
.nav-links a, .menu a { color: #e8eef5; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 15px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current=page], .menu a[aria-current=page] { background: #ffffff18; color: #fff; }
.nav-links .lang { border: 1px solid #ffffff40; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; color: #fff; font-weight: 600; padding: 8px 12px; border: 1px solid #ffffff40; border-radius: 9px; }
.menu summary::-webkit-details-marker { display: none; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 10px; padding: 12px 20px; font-size: 16px; line-height: 1.2; }
.btn-primary { background: var(--mint); color: var(--navy); }
.btn-primary:hover { background: #c2eedb; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--ink); }
.nav-cta { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, #f3f7f5, #fff); }
.hero.small { padding: 48px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--green); }
.eyebrow a { color: inherit; text-decoration: none; }
.lang-zh-hk .eyebrow { letter-spacing: .04em; }
.lead { font-size: 19px; color: #334458; max-width: 620px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--green-bg); color: #175c48; border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 500; }
.hero-figure { margin: 0; }
.hero-figure img { border-radius: 10px; box-shadow: 0 20px 50px #0b132b2a; max-height: 560px; width: auto; margin: 0 auto; }
.price-big { font-size: 22px; font-weight: 700; }

/* cards */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.plain { padding: 24px; }
.card.plain strong { display: block; font-size: 19px; margin-bottom: 8px; }
.card.plain p { margin: 0; color: #3c4c60; }
.product-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #0b132b18; }
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.card-body strong { font-size: 20px; }
.card-body span { color: #3c4c60; font-size: 15px; }
.card-body .price-from { color: var(--green); font-weight: 700; }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps strong { display: block; margin-bottom: 6px; }
.steps span { color: #3c4c60; font-size: 15px; }

/* samples */
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.samples figure { margin: 0; background: #fff; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); }
.samples .wide { grid-column: 1 / -1; }
.samples img { margin: 0 auto; max-height: 520px; width: auto; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }

/* tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th a { color: var(--ink); }
.price-table td { font-weight: 700; font-size: 18px; white-space: nowrap; }
.price-table td span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.price-table td small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); white-space: normal; max-width: 200px; }
.price-table.addons td { white-space: normal; }
.price-table.addons td small { max-width: none; font-size: 15px; margin-top: 4px; }
.price-table.sizes td { font-size: 16px; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #3c4c60; }

/* cta + footer */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band .muted { color: #b8c4d3; }
.cta-band a:not(.btn) { color: var(--mint); }
.site-footer { background: #070d1f; color: #c8d2de; padding: 48px 0 24px; font-size: 15px; }
.site-footer a { color: #e8eef5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; }
.footer-legal { border-top: 1px solid #ffffff1f; margin-top: 32px; padding-top: 18px; font-size: 13px; color: #8d9aab; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.tool-section { padding-top: 8px; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure img { max-height: 420px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu { display: block; }
  .menu[open] ul { display: grid; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); padding: 12px 16px 18px; border-top: 1px solid #ffffff1f; }
  .menu[open] a { display: block; padding: 12px; font-size: 17px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 36px 0 44px; }
  .steps, .samples { grid-template-columns: 1fr; }
  .brand img { width: 108px; }
  .nav-cta { padding: 9px 12px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 12px; }
}
