/* k7-design-v3-premium */
:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #1a2332;
  --muted: #5c6b7a;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --accent: #0d6e6e;
  --accent-hover: #0a5858;
  --accent-soft: #e6f3f3;
  --accent-ink: #ffffff;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(26, 35, 50, 0.06), 0 8px 24px rgba(26, 35, 50, 0.04);
  --space: clamp(16px, 3vw, 28px);
  --content: min(1120px, calc(100% - 2 * var(--space)));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
.site-header, main, .site-footer-inner { width: var(--content); margin-inline: auto; }
.site-header {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(26, 35, 50, 0.04);
}
.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.875rem; font-weight: 500; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
main { padding: 32px 0 56px; }
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 18ch;
}
h2 {
  margin: 48px 0 20px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}
h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; }
.section-lead { color: var(--muted); max-width: 62ch; margin: 0 0 24px; font-size: 1.0625rem; }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; margin: 0 0 24px; }
.meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 12px; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  margin-right: 8px;
}
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: #cbd5e1; box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0 0 12px; padding: 0; }
.link-list a {
  display: block;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.link-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
}
.cta:hover { background: var(--accent-hover); color: var(--accent-ink) !important; }
.cta-secondary {
  background: var(--surface);
  color: var(--accent) !important;
  border: 1px solid var(--line);
}
.cta-secondary:hover { background: var(--soft); }
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; margin: 0; font-size: 0.9375rem; background: var(--surface); }
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--soft); font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.pros-cons .card { box-shadow: none; }
.pros-cons h3 { color: var(--accent); }
.criteria-list { margin: 16px 0; padding-left: 1.25rem; }
.criteria-list li { margin-bottom: 8px; color: var(--muted); }
.notice {
  border-left: 4px solid var(--warn);
  background: var(--warn-bg);
  padding: 16px 18px;
  margin: 28px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9375rem;
  color: var(--ink);
}
.disclosure {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 20px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  margin-top: 40px;
}
.tool-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
  max-width: 520px;
}
.tool-panel label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 0.875rem; }
.tool-panel input, .tool-panel select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--bg);
}
.tool-panel button { margin-top: 20px; width: 100%; }
.tool-panel .result {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 600;
  border: 1px solid rgba(13, 110, 110, 0.2);
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.checklist-item:last-child { border-bottom: 0; }
.method-steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.method-steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 52px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.method-steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 48px;
}
.site-footer-inner {
  padding: 32px 0 48px;
  display: grid;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.footer-grid strong { display: block; color: var(--ink); margin-bottom: 8px; }
.footer-links a { display: block; margin: 6px 0; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .site-header { position: static; }
  h1 { max-width: none; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta { text-align: center; }
}