/* Klem HQ · klemhq.com — parent brand. Same green system as the products (miniapp/design/SPEC.md tokens):
   deep green #16543C, gold #F4C430 accent, white cards on a pale green-grey ground, single-layer light shadows. */
:root {
  --paper: #F3F5F2;
  --card: #FFFFFF;
  --ink: #14261F;
  --ink-2: #3C4E45;
  --line: #E4EAE6;
  --gold: #F4C430;
  --ged: #16543C;
  --g: #1E7B4E;
  --sh-1: 0 1px 3px rgba(20, 38, 31, .06);
  --sh-2: 0 8px 24px rgba(20, 38, 31, .10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
header { background: var(--ged); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mark { color: #fff; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.mark img { width: 32px; height: 32px; }
header nav a { color: #DCEBE2; text-decoration: none; font-size: 15px; margin-left: 18px; }
header nav a:hover { color: #fff; }

.hero { background: var(--ged); color: #fff; padding: 40px 0 64px; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16px; background: var(--paper); border-radius: 16px 16px 0 0; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 8vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; max-width: 14em; }
.hero h1 b { font-weight: 400; color: var(--gold); }
.hero p { font-size: 19px; color: #DCEBE2; max-width: 32em; margin: 0; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-ph { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.hero-ph img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

section { padding: 36px 0 56px; }
.label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.grid { display: grid; gap: 16px; }
.prod { background: var(--card); border-radius: 10px; box-shadow: var(--sh-2); overflow: hidden; display: grid; }
.prod .art { background: var(--ged); padding: 28px; display: flex; align-items: flex-end; gap: 16px; min-height: 170px; position: relative; }
.prod .art img { width: 76px; }
.prod .art .lv { position: absolute; top: 20px; right: 22px; color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: .06em; }
.prod .body { padding: 22px 24px 26px; }
.prod h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.01em; }
.prod .kind { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ged); background: #E7F0EA; border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.prod p { margin: 0 0 18px; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-ged { background: var(--g); color: #fff; box-shadow: 0 3px 0 var(--ged); }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--ink-2); }
.soon { border: 2px dashed #CFDAD3; border-radius: 10px; padding: 26px 24px; color: var(--ink-2); display: flex; flex-direction: column; justify-content: center; min-height: 160px; }
.soon b { color: var(--ink); font-size: 19px; display: block; margin-bottom: 4px; }

.about { border-top: 1px solid var(--line); }
.about p { color: var(--ink-2); max-width: 36em; }

footer { padding: 28px 0 48px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--ink-2); }

.legal { padding: 24px 0 40px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 6vw, 44px); margin: 0 0 6px; }
.legal .upd { color: var(--ink-2); margin: 0 0 24px; font-size: 15px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }

@media (min-width: 760px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .hero-ph img { aspect-ratio: 4 / 3.2; object-position: 70% 50%; }
  .grid { grid-template-columns: 2fr 1fr; gap: 20px; }
  .prod { grid-template-columns: 260px 1fr; }
  .prod .art { min-height: 100%; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
}
