/* コピペタ 公式サイト（GitHub Pages）。外部のフォント・スクリプトは使わない。 */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1b1d29;
  --muted: #5a5f73;
  --border: #e2e4ee;
  --accent: #6b3cf0;
  --accent-2: #ff5a7a;
  --hero: linear-gradient(135deg, #12162e 0%, #1d1440 55%, #2a1230 100%);
  --hero-text: #f4f5ff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1120;
    --surface: #181a2c;
    --text: #eceefa;
    --muted: #a3a8c3;
    --border: #2a2d45;
    --accent: #a78bff;
    --accent-2: #ff7d96;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1120;
  --surface: #181a2c;
  --text: #eceefa;
  --muted: #a3a8c3;
  --border: #2a2d45;
  --accent: #a78bff;
  --accent-2: #ff7d96;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.brand img { width: 32px; height: 32px; }
nav.site a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav.site a:hover { color: var(--text); }
nav.site a:first-child { margin-left: 0; }

.hero { background: var(--hero); color: var(--hero-text); }
.hero .wrap { display: flex; align-items: center; gap: 36px; padding-top: 56px; padding-bottom: 56px; }
.hero img { width: 160px; height: 160px; flex: none; filter: drop-shadow(0 12px 32px rgba(120, 80, 255, 0.35)); }
.hero h1 { margin: 0 0 4px; font-size: 2.4rem; letter-spacing: 0.02em; }
.hero .en { margin: 0 0 12px; opacity: 0.7; font-size: 1rem; letter-spacing: 0.08em; }
.hero p.lead { margin: 0 0 20px; font-size: 1.1rem; }
.cta { display: inline-block; padding: 10px 22px; border-radius: 999px; background: linear-gradient(90deg, #7c4dff, #ff5a7a); color: #fff; text-decoration: none; font-weight: 600; }
.cta[aria-disabled="true"] { opacity: 0.75; cursor: default; }
.hero small { display: block; margin-top: 10px; opacity: 0.75; }

main { padding: 40px 0 56px; }
h2 { font-size: 1.4rem; margin: 40px 0 12px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.1rem; margin: 24px 0 6px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.features strong { display: block; margin-bottom: 4px; }
.features span { color: var(--muted); font-size: 0.95rem; }

.doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 0.92rem; }
.todo { background: #fff3c4; color: #5c4400; padding: 0 6px; border-radius: 4px; }
.lang-switch { margin: 0 0 16px; font-size: 0.95rem; }

footer.site { border-top: 1px solid var(--border); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 640px) {
  .hero .wrap { flex-direction: column; text-align: center; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
  .hero img { width: 120px; height: 120px; }
  .hero h1 { font-size: 2rem; }
  .features { grid-template-columns: 1fr; }
  .doc { padding: 20px 18px; }
  nav.site a { margin-left: 12px; }
}
