/* Joju Works website. Colors match the GolfHound crest: ivory, deep green, brass. */
:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --text: #1b231f;
  --muted: #5b6560;
  --accent: #0f3b2c;
  --brass: #8c6c3a;
  --brass-light: #c9a86a;
  --line: #d8d2c3;
  --pill-bg: #0f3b2c;
  --pill-text: #f6f4ee;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1311;
    --surface: #161d1a;
    --text: #ece8df;
    --muted: #a3aba6;
    --accent: #a9d0bd;
    --brass: #c9a86a;
    --brass-light: #c9a86a;
    --line: #2a332f;
    --pill-bg: #1e4a39;
    --pill-text: #f6f4ee;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 23px; color: var(--accent); text-decoration: none; }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }

/* Type */
h1, h2 { font-family: "Playfair Display", Georgia, serif; color: var(--accent); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(32px, 6vw, 44px); margin: 0 0 16px; }
h2 { font-size: 26px; margin: 0 0 8px; }
h3 { font-size: 17px; margin: 28px 0 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 600; color: var(--brass); margin: 0 0 10px; }
.lede { font-size: 20px; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }

/* Home */
.intro { padding: 64px 0 40px; }
/* Apps: a heading, then one card per app (stacked, so any number fits). */
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 30px; }
.section-head p { margin: 0; }
.app-grid { display: grid; gap: 20px; }
.app-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.app-icon { width: 168px; height: 168px; display: block; }
.app-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.app-card h3 { font-family: "Playfair Display", Georgia, serif; color: var(--accent); font-size: 28px; line-height: 1.2; margin: 0; }
.app-tagline { font-size: 18px; color: var(--muted); margin: 6px 0 12px; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.apps-more { margin: 16px 0 0; font-size: 15px; }
.features { list-style: none; padding: 0; margin: 18px 0 22px; }
.features li { position: relative; padding-left: 22px; margin: 8px 0; }
.features li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-light); }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-text); font-size: 14px; font-weight: 600; }
.contact { padding: 48px 0 0; }

/* Policy and support pages */
.doc { padding-top: 56px; }
.doc h2 { font-size: 24px; margin: 44px 0 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; margin-top: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .intro { padding: 40px 0 28px; }
  .app-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .app-icon { width: 112px; height: 112px; }
  .section-head h2 { font-size: 26px; }
  .doc { padding-top: 36px; }
}
