:root {
  --ink: #14161f;
  --muted: #5b6072;
  --line: #e4e6ee;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --accent: #3b3fd8;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 72px 0 56px; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }

section { padding: 56px 0; }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 20px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.card img { aspect-ratio: 1 / 1; object-fit: cover; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .price { font-weight: 700; color: var(--ink); }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }

/* product page */
.product-hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.product-hero img { border-radius: var(--radius); border: 1px solid var(--line); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-secondary { border: 1.5px solid var(--accent); color: var(--accent); background: var(--bg); }
.price-big { font-size: 28px; font-weight: 800; margin: 0; }
.price-note { color: var(--muted); font-size: 14px; margin: 4px 0 0; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }
.shots figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
ul.check { padding-left: 0; list-style: none; margin: 0; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
ol.steps { margin: 0; padding-left: 22px; }
ol.steps li { margin-bottom: 8px; }

.notice { background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 18px; font-size: 15px; color: var(--muted); }
.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 36px; font-size: 22px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a { color: var(--muted); }

/* per-product accents */
body.p-1099 { --accent: #b8860b; --soft: #fbf8ef; }
body.p-msaas { --accent: #3b3fd8; --soft: #f4f5fe; }
body.p-crossborder { --accent: #0e7c80; --soft: #f0f8f8; }

@media (max-width: 760px) {
  .product-hero .wrap, .two-col { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  section { padding: 40px 0; }
}
