/* Ruppenium website. No external fonts or scripts. */
:root {
  --bg: #fbfaf7;
  --bg-band: #f1efe9;
  --surface: #ffffff;
  --text: #1c1f24;
  --muted: #5b616b;
  --line: #e2ded5;
  --accent: #1f5f5b;
  --accent-strong: #164845;
  --accent-soft: #e2efed;
  --on-accent: #ffffff;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-serif, Georgia, "Times New Roman", serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121416;
    --bg-band: #181b1e;
    --surface: #1d2124;
    --text: #e9e7e2;
    --muted: #a3a8ae;
    --line: #2c3135;
    --accent: #6fc0b8;
    --accent-strong: #8fd3cc;
    --accent-soft: #1c3533;
    --on-accent: #0d1b1a;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

section { padding: 72px 0; }
section.wrap { padding-top: 72px; padding-bottom: 72px; }
.band { background: var(--bg-band); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.01em; }
.mark { width: 28px; height: 28px; }
.mark rect { fill: var(--accent); }
.mark path { fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--accent); font-weight: 600; }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { padding: 96px 0 80px; }
.eyebrow { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 1.2em; }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); max-width: 20ch; margin-bottom: 0.45em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 48px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost { color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-facts strong { display: block; font-size: 1.35rem; font-family: var(--font-display); }
.hero-facts span { color: var(--muted); font-size: 0.9rem; }

/* Layout helpers */
.grid-2 { display: grid; gap: 32px; }
.grid-3 { display: grid; gap: 24px; }
@media (min-width: 820px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 56px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.big { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }
.section-lead { color: var(--muted); max-width: 62ch; }
.section-lead.after { margin-top: 32px; margin-bottom: 0; }

/* Pillars */
.pillars { display: grid; gap: 24px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars article { border-top: 3px solid var(--accent); padding-top: 18px; }
.pillars p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Pricing */
.table-scroll { overflow-x: auto; margin: 28px 0 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prices { width: 100%; border-collapse: collapse; min-width: 520px; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 16px 20px; text-align: right; border-bottom: 1px solid var(--line); }
.prices tbody tr:last-child th, .prices tbody tr:last-child td { border-bottom: 0; }
.prices th[scope="row"], .prices thead th:first-child { text-align: left; font-weight: 600; }
.prices th[scope="row"] span { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.prices thead th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.prices td { font-size: 1.1rem; }
.prices .hl { background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }
.prices thead .hl { color: var(--accent); }
@media (max-width: 560px) {
  .prices { min-width: 0; }
  .prices th, .prices td { padding: 12px 8px; }
  .prices th[scope="row"], .prices thead th:first-child { padding-left: 14px; font-size: 0.9rem; }
  .prices td { font-size: 0.95rem; }
  .prices td:last-child, .prices thead th:last-child { padding-right: 14px; }
}
.notes p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.fine { color: var(--muted); font-size: 0.85rem; margin: 32px 0 0; }

/* Work */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin: 0; color: var(--muted); }
.card strong { color: var(--text); }
.tag { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6em; }
.work { margin-top: 28px; }

/* Contact */
.contact { display: grid; gap: 32px; align-items: center; }
@media (min-width: 820px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact-card { background: var(--accent); color: var(--on-accent); border-radius: var(--radius); padding: 32px; }
.contact-line { display: block; color: var(--on-accent); font-size: 1.25rem; font-weight: 600; text-decoration: none; margin-bottom: 8px; overflow-wrap: anywhere; }
.contact-line:hover { text-decoration: underline; }
.contact-card p { margin: 16px 0 0; opacity: 0.85; font-size: 0.95rem; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0 0 0.4em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
