/* =============================================================
   地球の会 第8期 デジタルど根性！AIと共に創る工務店の未来分科会
   自己紹介ダッシュボード
   ============================================================= */

:root {
  /* Anette Design Code */
  --color-main: #212d35;
  --color-sub: #969994;
  --color-base: #ece8e9;
  --color-accent: #b4464f;

  /* tonal scale derived from base */
  --bg-0: #ece8e9;
  --bg-1: #f4f1f2;
  --bg-2: #ffffff;
  --bg-3: #e2dedf;
  --bg-ink: #212d35;
  --bg-ink-soft: #2a3741;

  --line: rgba(33, 45, 53, 0.14);
  --line-soft: rgba(33, 45, 53, 0.08);
  --line-strong: rgba(33, 45, 53, 0.24);

  --ink-0: #212d35;
  --ink-1: #2a3741;
  --ink-2: #56636b;
  --ink-3: #969994;
  --ink-4: #b6b6b2;

  /* accents */
  --accent: #b4464f;
  --accent-deep: #98343c;
  --accent-soft: rgba(180, 70, 79, 0.10);
  --accent-line: rgba(180, 70, 79, 0.32);

  /* alias the old tokens to new (so existing CSS doesn't break) */
  --amber: var(--accent);
  --amber-soft: var(--accent-soft);
  --amber-line: var(--accent-line);
  --cyan: var(--color-main);
  --cyan-soft: rgba(33, 45, 53, 0.06);
  --cyan-line: rgba(33, 45, 53, 0.2);
  --magenta: var(--accent);
  --green: var(--color-main);

  --font-sans: "Noto Sans JP", "Inter", -apple-system, system-ui, sans-serif;
  --font-display: "Noto Sans JP", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
  --font-en: "Inter", -apple-system, system-ui, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--font-sans);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* subtle editorial grid backdrop + warm gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(180, 70, 79, 0.05), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 30%, rgba(33, 45, 53, 0.04), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, #f0ecec 100%);
}

/* fine paper texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(33, 45, 53, 0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.5;
}

#root { position: relative; z-index: 1; }

/* ---- utility classes ---- */
.mono { font-family: var(--font-mono); font-feature-settings: normal; }
.en { font-family: var(--font-en); }
.eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.label {
  font-family: var(--font-en);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

button { font-family: inherit; cursor: pointer; }

/* selection */
::selection { background: var(--accent); color: var(--bg-0); }

/* scrollbar */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(33, 45, 53, 0.2); border-radius: 99px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(33, 45, 53, 0.35); }
