:root {
  --ink: #15231f;
  --paper: #f3f0e7;
  --white: #fffdf8;
  --mint: #b8f2cf;
  --green: #0d6b4d;
  --lime: #d9f06b;
  --orange: #e66a36;
  --line: #c8c4b8;
  --muted: #65716b;
  --shadow: 0 18px 50px rgba(21, 35, 31, .12);
}
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.masthead { position: sticky; top: 0; z-index: 10; min-height: 78px; padding: 12px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--white); background: var(--ink); border-bottom: 1px solid #30443d; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex: none; color: var(--ink); background: var(--lime); border-radius: 2px 12px 2px 2px; font: 700 1rem Georgia, serif; }
.brand-icon { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font: 500 clamp(1rem, 2vw, 1.25rem) Georgia, serif; }
.brand small { display: block; margin-top: 3px; color: #b9c5c0; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.install-button { min-height: 40px; padding: 8px 12px; border: 1px solid #50665d; border-radius: 7px; color: var(--ink); background: var(--mint); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.install-button:hover { transform: translateY(-1px); }
.status { padding: 7px 10px; border: 1px solid #30443d; border-radius: 5px; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
main { width: min(1480px, 100%); margin: auto; padding: 0 clamp(18px, 4vw, 64px) 72px; }
.hero { padding: clamp(42px, 6vw, 72px) 0 clamp(38px, 5vw, 62px); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 13px; color: var(--green); font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 0; font: 500 clamp(2.2rem, 5vw, 4.25rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.intro { max-width: 720px; margin: 18px 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.tools { padding: clamp(36px, 5vw, 64px) 0 clamp(54px, 8vw, 96px); }
.section-heading { margin-bottom: 24px; }
h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.1; }
.tool-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.tool-card { min-height: 390px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
.tool-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tool-card.featured p { color: #c7d0cc; }
.tool-card.muted-card { background: #e7e3d8; box-shadow: none; }
.card-top { min-height: 30px; display: flex; justify-content: space-between; gap: 16px; font-weight: 800; }
.badge { align-self: flex-start; padding: 5px 8px; border-radius: 4px; background: #e8ebe7; color: #385049; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.badge.lime { color: var(--ink); background: var(--lime); }
.badge.mint { color: var(--ink); background: var(--mint); }
h3 { margin: auto 0 8px; font: 500 clamp(1.7rem, 3vw, 2.45rem)/1.05 Georgia, serif; letter-spacing: -.03em; }
.tool-card p { margin: 0 0 26px; color: var(--muted); }
.button { min-height: 48px; padding: 11px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid transparent; border-radius: 7px; font-weight: 800; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.button:not(.disabled):hover { transform: translateY(-1px); }
.primary { color: var(--ink); background: var(--lime); }
.secondary { color: var(--ink); background: var(--mint); }
.disabled { justify-content: center; color: var(--muted); border-color: var(--line); background: transparent; cursor: not-allowed; }
.mini-chart { position: relative; height: 112px; margin: 22px 0 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background-color: #fff; background-image: linear-gradient(#e7e3d8 1px, transparent 1px), linear-gradient(90deg, #e7e3d8 1px, transparent 1px); background-size: 22px 22px; }
.mini-chart span { position: absolute; left: 12%; right: 9%; top: 55%; height: 3px; background: var(--orange); transform: rotate(-11deg); transform-origin: left; }
.mini-chart i, .mini-chart b, .mini-chart em { position: absolute; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.mini-chart i { left: 18%; top: 62%; }.mini-chart b { left: 49%; top: 45%; }.mini-chart em { right: 13%; top: 30%; }
.notice { padding: 22px 26px; display: grid; grid-template-columns: 210px 1fr; gap: 24px; border-left: 5px solid #c89c13; background: #fff1b9; }
.notice strong { font-family: Georgia, serif; font-size: 1.18rem; }.notice p { margin: 0; color: #5b5130; }
footer { padding: 28px clamp(18px, 4vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: #b9c5c0; background: var(--ink); font-size: .82rem; line-height: 1.55; }
footer strong { display: block; color: var(--lime); text-transform: uppercase; letter-spacing: .07em; } footer p { margin: 0; } footer small { display: block; margin-top: 6px; color: #8fa098; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr 1fr; }.muted-card { grid-column: 1 / -1; min-height: 280px; } }
@media (max-width: 620px) { .masthead { position: static; align-items: flex-start; }.status { display: none; }.hero { padding-top: 38px; }.tool-grid { grid-template-columns: 1fr; }.muted-card { grid-column: auto; }.tool-card { min-height: 340px; }.notice, footer { grid-template-columns: 1fr; gap: 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
