/* Deskbudi site - shared styles. No external fonts or scripts (privacy + offline builds). */

:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #2b2622;
  --muted: #6d635a;
  --line: #e7ded2;
  --accent: #c4694a;
  --accent-dark: #a8543a;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 32px; height: 29px; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.site-nav a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
}

.btn:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: var(--surface); color: var(--ink); }

/* ── hero ─────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; }

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.hero-art {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 12px 30px rgba(80, 60, 40, 0.08);
}

.hero-art img { width: 100%; display: block; border-radius: 8px; }

/* ── sections ─────────────────────────────────────────── */
section { padding: 56px 0; }

section h2 {
  font-size: 30px;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

section p.section-lead {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 46em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 { margin: 0 0 8px; font-size: 17px; }

.card p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #f5efe5;
  padding: 12px;
  display: block;
}

.gallery figcaption {
  padding: 12px 16px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ── pricing ──────────────────────────────────────────── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.price-table th {
  background: #f6efe4;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.price-table tr:last-child td { border-bottom: 0; }

.price-table td.price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.price-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ── faq ──────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item h3 { margin: 0 0 6px; font-size: 16px; }

.faq-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── footer ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

.site-footer a { color: var(--muted); }

.legal-note {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  width: 100%;
  font-size: 13px;
}

/* ── legal pages ──────────────────────────────────────── */
.legal { padding: 48px 0 64px; max-width: 780px; }

.legal h1 { font-size: 34px; margin: 0 0 6px; }

.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.legal h2 { font-size: 20px; margin: 32px 0 10px; }

.legal p, .legal li { color: #3b342e; }

.legal ul { padding-left: 22px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 34px; }
  .grid-3, .gallery { grid-template-columns: 1fr; }
  .site-nav a:not(.btn) { display: none; }
  .gallery img { height: 220px; }
}
