/* Dicasa — dicasa.busy.dev. Palette v2 (OWNER 2026-11-24): forest green primary, ochre + ornament red accents. */
:root {
  --bg: #f4eee5; --surface: #fdf8f2; --raised: #fdf9f2; --border: #e9dfd1; --text: #222623; --muted: #606761;
  --primary: #2e5738; --on-primary: #ffffff; --primary-tint: #f2f7f3; --primary-text: #41724c;
  --accent: #845c00; --ochre: #e3a72f; --ornament: #9e1b22; --danger: #964b44;
  --radius: 18px; --radius-sm: 12px; --max: 72rem;
  --font-display: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Hind", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a14; --surface: #18231b; --raised: #1e2b22; --border: #2b3a2f; --text: #f3f6f3; --muted: #c3c8c4;
    --primary: #558b62; --on-primary: #111111; --primary-tint: #142b1a; --primary-text: #b0d0b6;
    --accent: #c08900; --ochre: #e3a72f; --ornament: #c9434b; --danger: #cf796f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font-body); }
a { color: var(--primary-text); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 600; margin-top: 1.6em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.2em; }
p, li { max-width: 68ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.band { height: 8px; background:
  repeating-linear-gradient(90deg, var(--ornament) 0 18px, var(--ochre) 18px 24px, var(--primary) 24px 42px, var(--ochre) 42px 48px); }
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font: 700 1.3rem var(--font-display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.lang { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; min-height: 32px; }
.lang a[aria-current="true"] { background: var(--primary); color: var(--on-primary); }
.hero { padding: 56px 0 32px; display: grid; gap: 32px; grid-template-columns: 1.2fr .8fr; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); }
.hero .art { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 28%;
  box-shadow: 0 24px 60px -24px rgba(17, 26, 20, .45); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 600;
  font-family: var(--font-display); border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { color: var(--on-primary); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--primary-text); border: 1.5px solid currentColor; }
.btn.ghost:hover { color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.note { font-size: .95rem; color: var(--muted); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 24px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h2 { margin-top: 0; }
.card .tag { display: inline-block; font: 600 .8rem var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--ornament); margin-bottom: 6px; }
.card ul { padding-left: 1.1em; margin: .4em 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-text);
  border: 1px solid var(--border); font-weight: 600; font-size: .95rem; }
.disclaimer { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--ochre); background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.doc { padding: 32px 0 48px; }
.doc .meta { color: var(--muted); font-size: .95rem; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.doc .tablewrap { overflow-x: auto; }
.invite { padding: 48px 0; text-align: center; }
.invite .code { display: inline-block; font: 700 clamp(1.6rem, 7vw, 2.4rem) ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .18em; padding: 12px 20px; border-radius: var(--radius-sm); background: var(--surface);
  border: 1.5px dashed var(--ochre); margin: 12px 0; }
.invite .art { width: 112px; height: 112px; border-radius: 28%; }
.invite ol { text-align: left; display: inline-block; margin: 12px auto; }
footer.bottom { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: .95rem; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero .art { order: -1; width: 140px; }
  .cards { grid-template-columns: 1fr; }
}
