/* The parser's site (multiparser.pro): the main page and the help, 14.10.2026. */
:root { --green: #16a34a; --green-dark: #15803d; --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb;
        --bg: #f9fafb; --card: #fff; --note: #fefce8; --note-line: #fde68a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header { position: sticky; top: 0; z-index: 50; background: #0f172a; color: #fff; }
.bar { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.logo span { background: var(--green); padding: 2px 8px; border-radius: 6px; margin-right: 8px; }
.bar nav { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: 15px; }
.bar nav a { color: #a7f3d0; text-decoration: none; }
.bar nav a:hover { color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 24px 16px 64px; display: grid;
        grid-template-columns: 230px minmax(0, 1fr); gap: 32px; }
aside { position: sticky; top: 72px; align-self: start; font-size: 15px; }
aside ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
aside a { display: block; padding: 5px 12px; color: var(--muted); text-decoration: none; margin-left: -2px;
          border-left: 2px solid transparent; }
aside a:hover { color: var(--green-dark); border-left-color: var(--green); }
main { min-width: 0; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 24px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
h2 .tab { font-size: 13px; font-weight: 600; color: #fff; background: var(--green); padding: 2px 10px;
          border-radius: 999px; }
h3 { font-size: 18px; margin: 20px 0 6px; }
section { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
          margin: 0 0 24px; }
.lead { font-size: 18px; color: #374151; }
figure { margin: 16px 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line);
             box-shadow: 0 6px 18px rgba(0,0,0,.08); }
figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
kbd { font: 600 13px/1 ui-monospace, monospace; background: #f3f4f6; border: 1px solid #d1d5db;
      border-bottom-width: 2px; border-radius: 4px; padding: 2px 6px; white-space: nowrap; }
pre { font: 14px/1.5 ui-monospace, monospace; background: #f3f4f6; border-radius: 6px; padding: 8px 12px;
      margin: 6px 0 10px; overflow-x: auto; }
code { font: 14px ui-monospace, monospace; background: #f3f4f6; padding: 1px 5px; border-radius: 4px; }
.note { background: var(--note); border: 1px solid var(--note-line); border-radius: 8px; padding: 10px 14px;
        margin: 12px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px;
         grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.steps li { counter-increment: s; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
            padding: 12px 14px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 26px; height: 26px;
                    border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-right: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
td, th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: #f3f4f6; }
.limits { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.limits div { flex: 1 1 150px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
              padding: 10px 14px; }
.limits b { display: block; font-size: 24px; color: var(--green-dark); }
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 0 16px 32px; }
footer a { color: var(--muted); }
@media (max-width: 860px) {
    .wrap { grid-template-columns: 1fr; }
    aside { position: static; }
    aside ol { display: flex; flex-wrap: wrap; border: 0; gap: 6px; }
    aside a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 3px 12px; background: #fff; }
    .bar nav a.hide-sm { display: none; }
    section { padding: 16px; }
    h1 { font-size: 26px; }
}

/* --- the main page --- */
.home { max-width: 1180px; margin: 0 auto; padding: 0 16px 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center;
        padding: 48px 0 40px; }
.hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 16px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { font-size: 19px; color: #374151; margin: 0 0 24px; }
.hero .free { font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
       margin: 0 10px 10px 0; }
.btn.main { background: var(--green); color: #fff; }
.btn.main:hover { background: var(--green-dark); }
.btn.alt { background: #fff; color: var(--green-dark); border: 1px solid #bbf7d0; }
.btn.alt:hover { border-color: var(--green); }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff;
         box-shadow: 0 24px 60px rgba(15, 23, 42, .18); }
.frame .dots { height: 26px; background: #f3f4f6; border-bottom: 1px solid var(--line); display: flex; gap: 6px;
               align-items: center; padding: 0 10px; }
.frame .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.frame img { display: block; width: 100%; height: auto; }
.block { margin: 0 0 56px; }
.block > h2 { font-size: 30px; text-align: center; margin: 0 0 8px; display: block; }
.block > .sub { text-align: center; color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; list-style: none;
       padding: 0; margin: 0; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; counter-increment: s; }
.how img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.how div { padding: 12px 14px 16px; }
.how b { display: block; margin-bottom: 4px; }
.how b::before { content: counter(s) ". "; color: var(--green); }
.how p { margin: 0; font-size: 15px; color: #4b5563; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.features div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.features h3 { margin: 0 0 6px; font-size: 17px; }
.features p { margin: 0; font-size: 15px; color: #4b5563; }
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
    .hero h1 { font-size: 32px; }
    .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .how, .features,     .block > h2 { font-size: 24px; }
}
.home section { background: none; border: 0; border-radius: 0; padding: 0; }
@media (max-width: 600px) {
    .bar { gap: 8px; }
    .bar nav { gap: 12px; font-size: 14px; }
    .logo { font-size: 16px; }
    .logo span { display: none; }
}
.home section.hero { padding: 56px 0 48px; }
@media (max-width: 960px) { .home section.hero { padding: 28px 0 40px; } }
/* The language list sits in the header: its items are dark on white, not header links. */
.bar nav .lang-switch a { color: #111827; }
.bar nav .lang-switch a:hover { color: #111827; background: #dcfce7; }

/* --- the install page --- */
.stores { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.stores > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 12px;
                text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stores img { width: 48px; height: 48px; }
.stores b { font-size: 15px; }
.stores small { color: var(--muted); font-size: 13px; line-height: 1.3; min-height: 34px; }
.stores .btn { margin: 0; padding: 8px 14px; font-size: 14px; width: 100%; }
.stores .soon { display: block; width: 100%; padding: 8px 14px; border-radius: 10px; background: #f3f4f6;
                color: var(--muted); font-size: 14px; font-weight: 600; }
.manual { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.manual ol li { margin-bottom: 6px; }
.dl { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 20px; }
.dl p { margin: 0 0 12px; color: #374151; font-size: 15px; }
@media (max-width: 960px) { .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); } .manual { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- plans on the main page --- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px;
        display: flex; flex-direction: column; }
.plan.now { border: 2px solid var(--green); }
.plan.custom { background: #0f172a; color: #e2e8f0; border-color: #0f172a; }
.plan.custom a { color: #6ee7b7; }
.plan h3 { margin: 4px 0 4px; font-size: 20px; }
.plan .price { margin: 0 0 12px; font-size: 22px; font-weight: 800; color: var(--green-dark); }
.plan.custom .price { color: #6ee7b7; font-size: 18px; }
.plan ul { margin: 0 0 16px; padding-left: 18px; font-size: 15px; flex: 1; }
.plan li { margin-bottom: 4px; }
.plan .btn { margin: 0; text-align: center; }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
             background: var(--green); color: #fff; padding: 2px 10px; border-radius: 999px; }
.plan .tag.soon { background: #e5e7eb; color: #4b5563; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }

/* --- the contact form (both sites; site/inc/contact_form.html) --- */
.contact { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.contact form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 14px; }
.contact label { display: grid; gap: 4px; font-size: 14px; color: #374151; font-weight: 600; }
.contact input, .contact textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #d1d5db;
                                    border-radius: 8px; background: #fff; color: var(--ink); }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact textarea { min-height: 130px; resize: vertical; }
.contact .hp { position: absolute; left: -9999px; }
.contact .consent { font-size: 13px; color: var(--muted); margin: 0; }
.contact button { border: 0; cursor: pointer; font: inherit; justify-self: start; }
.contact .status { margin: 0; font-size: 15px; }
.contact .status.ok { color: var(--green-dark); }
.contact .status.err { color: #b91c1c; }
.mailbox { background: var(--soft, #f0fdf4); border: 1px solid var(--soft-line, #bbf7d0); border-radius: 12px; padding: 24px; }
.mailbox a { font-size: 20px; font-weight: 700; color: var(--green-dark); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* --- the privacy policy --- */
.policy h3 { margin-top: 26px; }
.policy ul { padding-left: 20px; }
.policy li { margin-bottom: 8px; }
