:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --text: #172033;
  --muted: #5f6b85;
  --primary: #375dfb;
  --border: #dde3f0;
  --shadow: 0 10px 30px rgba(24, 39, 75, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: rgba(255,255,255,0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}
.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
.brand { font-weight: 800; color: var(--text); font-size: 1.1rem; }
.nav { display: flex; flex-wrap: wrap; gap: 14px; }
.nav a { color: var(--muted); font-weight: 600; }
.hero { padding: 72px 0 36px; }
.hero-grid, .content-grid, .footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.secondary { background: #fff; border-color: var(--border); color: var(--text); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.highlight-card ul, .bullet-list { padding-left: 18px; color: var(--muted); }
.section { padding: 36px 0; }
.section-heading { margin-bottom: 20px; }
.grid { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-card p, .tool-card a, .site-footer p, .site-footer a { color: var(--muted); }
.alt-bg { background: #eef4ff; }
.ad-slot-wrap { padding: 8px 0 24px; }
.ad-slot {
  border: 2px dashed #b9c5ea;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  background: #fbfcff;
}
.faq-list { display: grid; gap: 16px; }
summary { font-weight: 700; cursor: pointer; }
.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: #fff;
}
.footer-grid { align-items: start; }
.footer-grid > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.footer-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.page-hero { padding: 42px 0 24px; }
.page-hero p { max-width: 760px; color: var(--muted); }
.tool-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.form-grid { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}
.result {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #f5f8ff;
  border: 1px solid #d9e3ff;
}
.note { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .hero-grid, .content-grid, .footer-grid, .tool-layout, .cards-4 { grid-template-columns: 1fr; }
}

.article-content { display: grid; gap: 14px; }
.article-content h2 { margin-top: 12px; }
.link-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-card a { font-weight: 700; }
@media (max-width: 900px) {
  .link-grid { grid-template-columns: 1fr; }
}

.notice-box {
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.notice-box p { margin: 0; color: var(--muted); }
.trust-list { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.trust-item h3 { margin-bottom: 8px; }
.muted-links { color: var(--muted); }
@media (max-width: 900px) {
  .trust-list { grid-template-columns: 1fr; }
}

.footer-links-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-links-inline a { color: var(--muted); }

.result-actions { margin-top: 10px; display: flex; justify-content: flex-end; }
.copy-result-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.copy-result-btn:hover { color: var(--text); border-color: #c7d3ee; }
