:root {
  --ground: #10302c;      /* Properway dark green */
  --ground-2: #173f3a;
  --green: #4ed855;       /* Properway vibrant green */
  --green-ink: #1f8a2c;   /* green readable on white */
  --ink: #14211f;
  --muted: #5b6b68;
  --line: #dfe7e5;
  --bg: #f5f8f7;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,48,44,.06), 0 8px 24px rgba(16,48,44,.06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink);
       background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--green-ink); }
img { max-width: 100%; height: auto; }

/* header */
.top { background: var(--ground); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.top img { width: 150px; height: auto; display: block; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.top nav a:hover { opacity: 1; color: var(--green); }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* hero */
.hero { background: linear-gradient(160deg, var(--ground) 0%, var(--ground-2) 100%); color: #fff; padding: 40px 0 44px; }
.crumbs { font-size: 13px; opacity: .75; margin-bottom: 10px; }
.crumbs a { color: #fff; }
.hero h1 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.hero p { margin: 0; max-width: 720px; font-size: 17px; opacity: .9; }
.kicker { color: var(--green); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }

main { padding: 28px 0 56px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h2 { margin: 0 0 14px; font-size: 19px; }

/* form */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
.inp { position: relative; }
.inp input, .inp select { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9d6d3; border-radius: 10px;
                          background: #fff; color: var(--ink); }
.inp input:focus, .inp select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green-ink); }
.inp.pre input { padding-left: 30px; }
.inp.pre::before { content: attr(data-pre); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.inp.suf input { padding-right: 44px; }
.inp.suf::after { content: attr(data-suf); position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-ink); }

/* results */
.result { position: sticky; top: 16px; }
.big { font-size: clamp(30px, 5vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--ground); line-height: 1.1; }
.big-label { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.lines { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lines li span:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
.lines li.total { font-size: 16px; }
.lines li.total span { font-weight: 800; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.warn { background: #fff7e6; border: 1px solid #f3d9a4; color: #6b4b0f; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-top: 12px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; font-weight: 700;
       text-decoration: none; font-size: 15px; border: 0; cursor: pointer; }
.btn.wa { background: var(--green); color: var(--ground); }
.btn.ghost { background: transparent; color: var(--ground); border: 1px solid #c9d6d3; }
.btn:hover { filter: brightness(.96); }

/* content */
.content { margin-top: 28px; }
.content h2 { font-size: 22px; margin: 28px 0 10px; }
.content p, .content li { max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; max-width: 760px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.sources { font-size: 13px; color: var(--muted); }

/* hub */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.tool { display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 20px; box-shadow: var(--shadow); transition: transform .12s ease, border-color .12s ease; }
.tool:hover { transform: translateY(-2px); border-color: var(--green); }
.tool .ic { width: 40px; height: 40px; border-radius: 10px; background: #e8f8ea; color: var(--green-ink); display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.tool h2 { font-size: 18px; margin: 0 0 6px; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }

footer { background: var(--ground); color: rgba(255,255,255,.8); font-size: 14px; padding: 28px 0; }
footer a { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .result { position: static; }
  .top nav { display: none; }
  .row2 { grid-template-columns: 1fr; }
}
@media print { .top, footer, .cta, .content { display: none; } }
