:root {
  --ink: #102433;
  --ink-muted: #4a5a66;
  --ink-faint: #8a97a1;
  --lime: #6db52a;
  --lime-dark: #3d6b14;
  --lime-btn: #3d6b14;
  --lime-light: #e8f6d8;
  --lime-glow: #9ad45a;
  --paper: #f6f8f6;
  --white: #fff;
  --line: rgba(16, 36, 51, 0.08);
  --shadow: 0 18px 50px -24px rgba(16, 36, 51, 0.28);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  padding: .65rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: .5rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}
a { color: var(--lime-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.hp {
  display: none !important;
}
.wrap {
  width: min(920px, calc(100% - 4rem));
  margin: 0 auto;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0;
}
.logo { min-width: 0; }
.logo img { height: 44px; width: auto; display: block; max-width: min(220px, 58vw); object-fit: contain; object-position: left center; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.burger {
  display: none;
  width: 2.6rem; height: 2.6rem; padding: 0;
  border: 1px solid rgba(16,36,51,.12); border-radius: .75rem;
  background: #fff; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.burger span {
  display: block; width: 1.1rem; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .2s, opacity .2s;
}
.site-header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-menu { display: flex; align-items: center; gap: 1rem; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a {
  border-radius: 999px; padding: .4rem .85rem;
  font-size: .875rem; font-weight: 600; color: var(--ink-muted);
  text-decoration: none;
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a.is-active { background: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .burger { display: flex; }
  .site-menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    gap: .75rem;
    padding: 1rem 2rem 1.25rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.is-open .site-menu { display: flex; }
  .nav { flex-direction: column; flex-wrap: nowrap; width: 100%; }
  .nav a { border-radius: .75rem; padding: .75rem 1rem; }
  .header-cta { width: 100%; text-align: center; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: .65rem 1.25rem;
  font-size: .875rem; font-weight: 650; border: 0; cursor: pointer;
  text-decoration: none; font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-lime { background: var(--lime-btn); color: #fff; box-shadow: 0 8px 24px -12px rgba(61,107,20,.35); }
.btn-lime:hover { background: var(--lime-dark); filter: brightness(1.08); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime-dark);
  outline-offset: 2px;
}
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid rgba(16,36,51,.15); }
.btn-danger { background: #dc2626; color: #fff; }

.hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(109,181,42,.16), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(16,36,51,.08), transparent 32%),
    var(--paper);
  padding: 3.5rem 0;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.pill {
  display: inline-flex; border-radius: 999px; background: var(--lime-light);
  color: var(--lime-dark); font-size: .7rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: .3rem .75rem;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: .75rem 0 0; }
h1 .accent { color: var(--lime-dark); }
.lead { font-size: 1.125rem; color: var(--ink-muted); max-width: 36rem; }
.checks { padding: 0; list-style: none; color: var(--ink-muted); font-size: .9rem; }
.checks li { display: flex; gap: .5rem; margin: .4rem 0; }
.checks span { color: var(--lime); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 1.1rem; text-align: center; font-size: 1.15rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="url"],
textarea, select {
  width: 100%; border: 1px solid rgba(16,36,51,.15); border-radius: .75rem;
  padding: .7rem .9rem; font: inherit; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid rgba(109,181,42,.35); border-color: var(--lime);
}
.hint { font-size: .75rem; color: var(--ink-faint); text-align: center; margin: 1rem 0 0; }
.error { background: #fef2f2; color: #b91c1c; border-radius: .6rem; padding: .6rem .8rem; font-size: .875rem; }
.ok { color: var(--lime-dark); font-size: .875rem; font-weight: 600; }

.features { display: grid; gap: 1.15rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.bar { width: 2.5rem; height: .35rem; border-radius: 99px; background: var(--lime); margin-bottom: 1rem; }
.ink-block { background: var(--ink); color: #fff; padding: 3.5rem 0; }
.ink-block h2 { margin-top: 0; }
.steps { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); border-radius: 1rem; padding: 1.4rem; }
.step .n { color: var(--lime-glow); font-weight: 800; font-size: .85rem; }
.plans { display: grid; gap: 1.25rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan-pro { border: 2px solid var(--lime); background: rgba(232,246,216,.45); }
.price { font-size: 1.85rem; font-weight: 800; margin: .4rem 0 0; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); font-size: .8rem; }

.page { padding: 3.5rem 0; max-width: 40rem; margin-left: auto; margin-right: auto; }
.page.wide { max-width: 48rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.15rem 1.25rem; margin: .75rem 0; box-shadow: var(--shadow);
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { color: var(--ink-muted); font-size: .9rem; line-height: 1.55; }

.site-footer { margin-top: auto; background: var(--ink); color: #fff; }
.footer-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
  align-items: flex-end; padding: 2.5rem 0;
}
.footer-links { display: grid; gap: .5rem; }
.footer-label {
  margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.footer-nav {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  font-size: .875rem; font-weight: 600;
}
.footer-nav a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-nav a:hover { color: var(--lime-glow); text-decoration: underline; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--lime-glow); }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem; text-align: center; font-size: .75rem; color: rgba(255,255,255,.5); }
@media (max-width: 640px) {
  .footer-row { align-items: flex-start; flex-direction: column; }
}

.table-wrap { overflow-x: auto; background: #fff; border-radius: 1rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; background: var(--paper); color: var(--ink-muted); font-weight: 500; padding: .75rem 1rem; }
td { padding: .75rem 1rem; border-top: 1px solid var(--line); }
.page-row {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; margin: .7rem 0;
  box-shadow: var(--shadow);
}
.badge { background: var(--lime-light); color: var(--lime-dark); border-radius: 999px; padding: .15rem .5rem; font-size: .7rem; font-weight: 800; }
.dns { color: #dc2626; font-size: .75rem; margin: .3rem 0 0; }
.actions { display: flex; gap: .4rem; }
.actions a, .actions button {
  border-radius: 999px; border: 1px solid rgba(16,36,51,.15); background: #fff;
  padding: .35rem .75rem; font-size: .75rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.actions .del { border-color: #fecaca; color: #b91c1c; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .875rem; color: var(--ink-muted); margin: .5rem 0 1rem; }
.welcome { text-align: center; color: var(--ink-muted); font-size: .875rem; }
.stack { display: grid; gap: 1.5rem; }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

.report-preview {
  margin: 0 0 3.5rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  font-size: .875rem;
  line-height: 1.55;
}
.report-preview .subject {
  font-weight: 700;
  margin: 0 0 .75rem;
  color: var(--ink);
}
.report-preview .meta {
  color: var(--ink-faint);
  font-size: .75rem;
  margin: 0 0 1rem;
}
.report-preview pre {
  margin: 0;
  padding: 1rem;
  background: var(--paper);
  border-radius: .75rem;
  white-space: pre-wrap;
  font-family: ui-monospace, monospace;
  font-size: .8rem;
  color: var(--ink-muted);
}
.plan-prices { margin: .25rem 0 .5rem; }
.plan-prices .price-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0;
}
