:root {
  --ink: #101c24;
  --muted: #5c6c77;
  --line: #e2e8ec;
  --navy: #0d2b3e;
  --orange: #e07a1f;
  --bg: #f5f8fa;
  --card: #ffffff;
  --green: #1f7a4d;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--navy); }
img { max-width: 100%; }
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { font-weight: 800; letter-spacing: .02em; font-size: 18px; color: #fff; text-decoration: none; }
.brand span { color: var(--orange); }
.nav { display: flex; gap: 18px; font-size: 14px; }
.nav a { color: #cfe0ea; text-decoration: none; }
.nav a:hover { color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hero { padding: 56px 0 32px; text-align: center; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
.hero p { max-width: 720px; margin: 0 auto 24px; color: var(--muted); font-size: 18px; }
.badge { display: inline-block; background: #eaf1f6; color: var(--navy); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; border: none; border-radius: 8px; padding: 12px 22px;
  font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c96a15; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.section { padding: 40px 0; }
.section h2 { font-size: 26px; margin: 0 0 8px; }
.section .lead { color: var(--muted); margin: 0 0 24px; }
.tools { display: grid; grid-template-columns: 1.4fr .9fr; gap: 20px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 20px; margin: 0 0 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; color: var(--ink); background: #fbfcfd;
}
.field input:focus, .field select:focus { outline: 2px solid #cfe3f0; border-color: #8bb8d4; }
.row { display: grid; grid-template-columns: 1fr 70px 100px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.row input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; }
.row .del { background: #fbeaea; color: #a33; border: none; border-radius: 7px; height: 36px; cursor: pointer; font-weight: 700; }
.muted { color: var(--muted); font-size: 13px; }
.result { background: #f0f6fa; border-radius: 8px; padding: 14px; margin-top: 16px; }
.result .big { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.result .line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.notice { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
.price-tag { font-size: 30px; font-weight: 800; margin: 8px 0; }
.price-tag small { font-size: 14px; color: var(--muted); font-weight: 500; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
article.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
article.post h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.02em; }
article.post h2 { font-size: 22px; margin: 30px 0 10px; }
article.post h3 { font-size: 18px; margin: 22px 0 8px; }
article.post p, article.post li { font-size: 16px; }
article.post table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
article.post th, article.post td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
article.post th { background: #f4f7f9; }
.byline { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.cta-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; margin: 28px 0; }
.cta-box h3 { color: #fff; margin: 0 0 8px; }
.cta-box p { color: #cfe0ea; margin: 0 0 14px; }
.cta-box .btn-primary { background: var(--orange); }
.site-footer { background: var(--navy); color: #b9cbd6; padding: 30px 20px; margin-top: 50px; font-size: 14px; }
.site-footer a { color: #dbe8ef; }
.disclaimer { font-size: 13px; color: var(--muted); }
.print-only { display: none; }
@media (max-width: 860px) {
  .tools, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr 52px 80px 34px; gap: 6px; }
  .row input { font-size: 13px; padding: 8px 6px; }
  .hero { padding-top: 34px; }
}
@media print {
  .site-header, .site-footer, .nav, .buttons, .cta-box, .no-print, .hero, #rate, #gst, .tools aside { display: none !important; }
  body { background: #fff; }
  .tools { grid-template-columns: 1fr; }
  .panel, article.post { border: none; padding: 0; }
  .print-only { display: block; }
}
