:root {
  --paper: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f2efe9;
  --ink: #1d1c1a;
  --ink-soft: #3b3a37;
  --muted: #6c6a64;
  --line: rgba(29,28,26,.10);
  --accent: #0f7d72;
  --accent-dk: #0a5d55;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

header { position: sticky; top: 0; z-index: 10; background: rgba(250,248,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 20px; text-decoration: none; }
nav { display: flex; gap: 24px; font-size: 15px; }
nav a { text-decoration: none; color: var(--ink-soft); }
nav a:hover { color: var(--accent); }

h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; line-height: 1.1; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 20px; }
section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin-top: 20px; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }

.hero { padding: 96px 0 80px; }

.product { display: flex; align-items: center; gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; margin-top: 8px; }
.product img { width: 120px; height: 120px; border-radius: 26px; flex-shrink: 0; }
.product h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.btn { display: inline-block; margin-top: 18px; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--accent-dk); }

.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; list-style: none; }
.stack li { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.stack b { display: block; }

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card dt { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card dd { margin: 4px 0 16px; font-size: 16px; }
.card dd:last-child { margin-bottom: 0; }
.card a { color: var(--accent); }

footer { padding: 32px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { gap: 20px; font-size: 14px; }

@media (max-width: 600px) {
  nav { gap: 16px; font-size: 14px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .product { flex-direction: column; align-items: flex-start; padding: 24px; }
  .product img { width: 88px; height: 88px; border-radius: 20px; }
}

.req { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.req th, .req td { text-align: left; vertical-align: top; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { width: 34%; font-weight: 500; color: var(--muted); }
.plain { list-style: none; }
.plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.plain b { margin-right: 10px; color: var(--accent); font-variant-numeric: tabular-nums; }
.page-head { padding: 64px 0 8px; }
.page-head + section { border-top: 0; }
.sub { margin-top: 40px; }
.sub h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 14px; }
nav a[aria-current] { color: var(--accent); }

@media (max-width: 600px) {
  .req th, .req td { display: block; width: 100%; padding: 10px 16px; }
  .req th { padding-bottom: 0; border-bottom: 0; }
}
