/* Webtjek public pages: pricing (webtjek.php), signup (webtjek_signup.php) and terms (webtjek_vilkaar.php).
   Dark by default like the rest of the site; light follows body[data-theme="light"]. */

.wtp {
    --wtp-bg: #0b0b0c;
    --wtp-card: #121214;
    --wtp-sunken: #0e0e10;
    --wtp-raised: #1a1a1e;
    --wtp-border: #232328;
    --wtp-border-2: #2a2a2f;
    --wtp-border-3: #33333a;
    --wtp-rule: #1f1f23;
    --wtp-grid: #1b1b1f;
    --wtp-text: #f4f4f5;
    --wtp-text-2: #d4d4d8;
    --wtp-muted: #b4b4bb;
    --wtp-faint: #8e8e96;
    --wtp-accent: #d42a24;
    --wtp-accent-hover: #b8221d;
    --wtp-accent-text: #ff6a63;
    --wtp-accent-soft: #2a1312;
    --wtp-ok: #86efac;
    --wtp-ok-soft: #13261a;
    --wtp-warn: #fcd34d;
    --wtp-bad: #fca5a5;
    --wtp-bad-soft: #2a1314;
    --wtp-on-accent: #ffffff;
    --wtp-invert-bg: #f4f4f5;
    --wtp-invert-text: #0b0b0c;
    font-family: 'Geist', 'Inter', system-ui, sans-serif;
    color: var(--wtp-text);
    background: var(--wtp-bg);
}
body[data-theme="light"] .wtp {
    --wtp-bg: #fafafa;
    --wtp-card: #ffffff;
    --wtp-sunken: #f4f4f5;
    --wtp-raised: #f4f4f5;
    --wtp-border: #e4e4e7;
    --wtp-border-2: #d4d4d8;
    --wtp-border-3: #c4c4ca;
    --wtp-rule: #e4e4e7;
    --wtp-grid: #ececef;
    --wtp-text: #0b0b0c;
    --wtp-text-2: #27272a;
    --wtp-muted: #52525b;
    --wtp-faint: #6b6b74;
    --wtp-accent: #c41f19;
    --wtp-accent-hover: #9a1712;
    --wtp-accent-text: #b3201a;
    --wtp-accent-soft: #fdeceb;
    --wtp-ok: #15803d;
    --wtp-ok-soft: #e7f6ec;
    --wtp-warn: #a16207;
    --wtp-bad: #b91c1c;
    --wtp-bad-soft: #fdecec;
    --wtp-invert-bg: #0b0b0c;
    --wtp-invert-text: #fafafa;
}
.wtp *, .wtp *::before, .wtp *::after { box-sizing: border-box; }
.wtp a { color: var(--wtp-accent-text); text-decoration: none; }
.wtp a:hover { text-decoration: underline; }
.wtp :focus-visible { outline: 2px solid var(--wtp-accent-text); outline-offset: 2px; }
.wtp h1, .wtp h2, .wtp h3 { color: var(--wtp-text); letter-spacing: -0.02em; }
.wtp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wtp-mono { font-family: 'Geist Mono', 'JetBrains Mono', monospace; }
.wtp-kicker { font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wtp-accent-text); }
.wtp-grid-bg { background-color: var(--wtp-sunken); background-image: linear-gradient(var(--wtp-grid) 1px, transparent 1px), linear-gradient(90deg, var(--wtp-grid) 1px, transparent 1px); background-size: 24px 24px; }
.wtp-card { background: var(--wtp-card); border: 1px solid var(--wtp-border); border-radius: 14px; }
.wtp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.wtp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; font: inherit; font-size: 15px; font-weight: 600; color: var(--wtp-on-accent) !important; text-decoration: none !important; background: var(--wtp-accent); border: 0; border-radius: 10px; cursor: pointer; }
.wtp-btn:hover { background: var(--wtp-accent-hover); }
.wtp-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.wtp-btn--block { display: flex; width: 100%; }
.wtp-btn--ghost { color: var(--wtp-text) !important; font-weight: 500; background: transparent; border: 1px solid var(--wtp-border-3); }
.wtp-btn--ghost:hover { background: transparent; border-color: var(--wtp-faint); }
.wtp-btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.wtp-link-btn { padding: 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--wtp-muted); background: none; border: 0; cursor: pointer; }
.wtp-link-btn:hover { color: var(--wtp-text); }

/* Tags */
.wtp-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; font-family: 'Geist Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wtp-faint); border: 1px solid var(--wtp-border-3); border-radius: 6px; white-space: nowrap; vertical-align: 2px; }
.wtp-tag--accent { color: var(--wtp-accent-text); border-color: color-mix(in srgb, var(--wtp-accent-text) 45%, transparent); background: var(--wtp-accent-soft); }

/* ---------- Pricing page ---------- */
.wtp-page { padding: 130px 0 0; }
.wtp-hero { text-align: center; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wtp-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.05; }
.wtp-hero p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--wtp-muted); }
.wtp-bill { display: inline-flex; gap: 2px; margin-top: 10px; padding: 4px; background: var(--wtp-sunken); border: 1px solid var(--wtp-border); border-radius: 999px; }
.wtp-bill button { min-height: 38px; padding: 0 18px; font: inherit; font-size: 14px; font-weight: 500; color: var(--wtp-muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.wtp-bill button[aria-pressed="true"] { color: var(--wtp-invert-text); background: var(--wtp-invert-bg); }

.wtp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; }
.wtp-plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.wtp-plan--hl { border-color: var(--wtp-accent); box-shadow: 0 0 0 1px var(--wtp-accent); }
.wtp-plan__badge { position: absolute; top: -12px; left: 28px; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--wtp-on-accent); background: var(--wtp-accent); border-radius: 6px; }
.wtp-plan h2 { margin: 0; font-size: 22px; font-weight: 700; }
.wtp-plan__lead { margin: 0; font-size: 14px; line-height: 1.5; color: var(--wtp-muted); min-height: 42px; }
.wtp-price { display: flex; align-items: baseline; gap: 6px; }
.wtp-price b { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.wtp-price span { font-size: 15px; color: var(--wtp-muted); }
.wtp-price-note { margin-top: -10px; font-size: 13px; color: var(--wtp-faint); }
.wtp-feats { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--wtp-border); }
.wtp-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--wtp-text-2); }
.wtp-feats li::before { content: '✓'; flex-shrink: 0; width: 16px; font-weight: 700; color: var(--wtp-ok); }
.wtp-feats li.wtp-feats__head { color: var(--wtp-faint); font-size: 13px; }
.wtp-feats li.wtp-feats__head::before { content: none; }

.wtp-section { padding: 96px 0 0; }
.wtp-section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.wtp-section__head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.wtp-section__head p { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.55; color: var(--wtp-muted); }

.wtp-table-wrap { overflow-x: auto; }
.wtp-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.wtp-table th, .wtp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--wtp-rule); font-size: 14px; }
.wtp-table thead th { font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wtp-faint); }
.wtp-table td:not(:first-child), .wtp-table th:not(:first-child) { width: 16%; text-align: center; }
.wtp-table td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--wtp-faint); }
.wtp-yes { color: var(--wtp-ok); font-weight: 700; }
.wtp-no { color: var(--wtp-faint); }
.wtp-fine { margin: 14px 0 0; font-size: 13px; color: var(--wtp-faint); }

.wtp-install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.wtp-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.wtp-tabs button { min-height: 38px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 500; color: var(--wtp-text-2); background: var(--wtp-card); border: 1px solid var(--wtp-border-2); border-radius: 9px; cursor: pointer; }
.wtp-tabs button[aria-selected="true"], .wtp-tabs button[aria-pressed="true"] { color: var(--wtp-invert-text); background: var(--wtp-invert-bg); border-color: var(--wtp-invert-bg); }
.wtp-code { overflow: hidden; background: var(--wtp-sunken); border: 1px solid var(--wtp-border); border-radius: 12px; }
.wtp-code__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--wtp-rule); font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--wtp-faint); }
.wtp-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: 'Geist Mono', monospace; font-size: 13px; line-height: 1.6; color: var(--wtp-text-2); white-space: pre; }
.wtp-code__help { margin: 0; padding: 0 18px 16px; font-size: 13.5px; line-height: 1.5; color: var(--wtp-muted); }

.wtp-faq { max-width: 820px; }
.wtp-faq details { border-bottom: 1px solid var(--wtp-rule); }
.wtp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.wtp-faq summary::-webkit-details-marker { display: none; }
.wtp-faq summary::after { content: '+'; font-family: 'Geist Mono', monospace; color: var(--wtp-faint); }
.wtp-faq details[open] summary::after { content: '−'; }
.wtp-faq p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--wtp-muted); }

.wtp-cta { margin: 96px 0 0; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; border-radius: 18px; border: 1px solid var(--wtp-border); }
.wtp-cta h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.wtp-cta p { margin: 0; color: var(--wtp-muted); }
.wtp-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.wtp-end { height: 96px; }

@media (max-width: 960px) {
    .wtp-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
    .wtp-install { grid-template-columns: minmax(0, 1fr); }
    .wtp-plan__lead { min-height: 0; }
}

/* ---------- Signup ---------- */
body.wts-body { margin: 0; background: #0b0b0c; }
body.wts-body[data-theme="light"] { background: #fafafa; }
.wts { min-height: 100vh; display: flex; flex-direction: column; }
.wts-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 0 32px; border-bottom: 1px solid var(--wtp-rule); }
.wts-brand { display: flex; align-items: center; gap: 12px; color: var(--wtp-text) !important; text-decoration: none !important; }
.wts-brand .wtp-mono { font-size: 20px; font-weight: 600; color: var(--wtp-accent-text); }
.wts-brand b { font-size: 17px; }
.wts-steps { display: flex; align-items: center; gap: 12px; flex: 0 1 620px; margin: 0; padding: 0; list-style: none; }
.wts-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--wtp-faint); white-space: nowrap; }
.wts-steps li + li::before { content: ''; flex: 1; min-width: 20px; height: 1px; margin-right: 2px; background: var(--wtp-border-2); }
.wts-steps li { flex: 1; }
.wts-steps li:first-child { flex: 0 0 auto; }
.wts-steps .n { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 600; color: var(--wtp-faint); background: var(--wtp-card); border: 1px solid var(--wtp-border-3); border-radius: 50%; }
.wts-steps .is-cur { color: var(--wtp-text); }
.wts-steps .is-cur .n { color: var(--wtp-text); border-color: var(--wtp-accent-text); background: var(--wtp-accent-soft); }
.wts-steps .is-done { color: var(--wtp-text-2); }
.wts-steps .is-done .n { color: var(--wtp-on-accent); background: var(--wtp-accent); border-color: var(--wtp-accent); }
.wts-login { font-size: 14px; color: var(--wtp-muted); white-space: nowrap; }
.wts-body-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 440px; }
.wts-main { display: flex; justify-content: center; padding: 48px 32px 64px; }
.wts-col { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.wts-col h1 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.15; }
.wts-lead { margin: -12px 0 0; font-size: 16px; line-height: 1.55; color: var(--wtp-muted); }
.wts-aside { display: flex; flex-direction: column; gap: 22px; padding: 48px 36px; border-left: 1px solid var(--wtp-rule); }
.wts-plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.wts-plan__head { display: flex; align-items: baseline; justify-content: space-between; }
.wts-plan__head b { font-size: 18px; }
.wts-plan__rows { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--wtp-border); border-bottom: 1px solid var(--wtp-border); }
.wts-plan__rows span { display: flex; justify-content: space-between; font-size: 14px; }
.wts-plan__rows span > span:first-child { color: var(--wtp-muted); }
.wts-points { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.wts-points li { display: flex; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--wtp-text-2); }
.wts-points svg { flex-shrink: 0; color: var(--wtp-faint); }
.wts-help { margin: auto 0 0; font-size: 13px; line-height: 1.5; color: var(--wtp-faint); }

.wts-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.wts-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wts-fld { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 500; color: var(--wtp-text-2); }
.wts-fld__row { display: flex; justify-content: space-between; gap: 8px; }
.wts-opt { font-weight: 400; color: var(--wtp-faint); }
.wts-inp { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--wtp-text); background: var(--wtp-sunken); border: 1px solid var(--wtp-border-2); border-radius: 10px; }
.wts-inp::placeholder { color: var(--wtp-faint); }
.wts-inp:focus { outline: 2px solid var(--wtp-accent-text); outline-offset: 1px; }
.wts-inp--otp { min-height: 64px; font-family: 'Geist Mono', monospace; font-size: 28px; letter-spacing: 0.5em; text-align: center; }
.wts-prefix { display: flex; align-items: center; overflow: hidden; background: var(--wtp-sunken); border: 1px solid var(--wtp-border-2); border-radius: 10px; }
.wts-prefix:focus-within { outline: 2px solid var(--wtp-accent-text); outline-offset: 1px; }
.wts-prefix span { padding: 0 2px 0 14px; font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--wtp-faint); }
.wts-prefix .wts-inp { border: 0; padding-left: 0; font-family: 'Geist Mono', monospace; font-size: 14px; }
.wts-prefix .wts-inp:focus { outline: none; }
.wts-meter { display: flex; gap: 4px; }
.wts-meter i { flex: 1; height: 4px; background: var(--wtp-border-2); border-radius: 2px; }
.wts-rules { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 400; color: var(--wtp-faint); }
.wts-rules li::before { content: '○ '; }
.wts-rules li.is-ok { color: var(--wtp-ok); }
.wts-rules li.is-ok::before { content: '✓ '; }
.wts-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--wtp-muted); }
.wts-check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--wtp-accent); }
.wts-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wts-alert { padding: 12px 14px; font-size: 14px; line-height: 1.5; border-radius: 10px; border: 1px solid; }
.wts-alert--bad { color: var(--wtp-bad); border-color: color-mix(in srgb, var(--wtp-bad) 40%, transparent); background: var(--wtp-bad-soft); }
.wts-alert--ok { color: var(--wtp-ok); border-color: color-mix(in srgb, var(--wtp-ok) 40%, transparent); background: var(--wtp-ok-soft); }
.wts-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: var(--wtp-accent-text); background: var(--wtp-raised); border: 1px solid var(--wtp-border-3); border-radius: 14px; }
.wts-icon--ok { width: 64px; height: 64px; color: var(--wtp-ok); background: var(--wtp-ok-soft); border-color: color-mix(in srgb, var(--wtp-ok) 35%, transparent); border-radius: 50%; }
.wts-center { font-size: 14px; color: var(--wtp-muted); text-align: center; }
.wts-center form { display: inline; }
.wts-probe { display: flex; align-items: center; gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.45; color: var(--wtp-text-2); }
.wts-probe[hidden] { display: none; }
.wts-probe__i { flex-shrink: 0; font-weight: 700; }
.wts-probe.is-ok .wts-probe__i { color: var(--wtp-ok); }
.wts-probe.is-bad .wts-probe__i { color: var(--wtp-warn); }
.wts-probe.is-wait .wts-probe__i { color: var(--wtp-faint); }
.wts-mods { padding: 0 16px; }
.wts-mods li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--wtp-rule); font-size: 14px; }
.wts-mods li:first-child { border-top: 0; }
.wts-mods ul { margin: 0; padding: 0; list-style: none; }
.wts-mods small { display: block; font-size: 12px; color: var(--wtp-faint); }
.wts-mods li > span:first-child { flex: 1; }
.wts-test { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.wts-test > span { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.wts-test b { font-size: 15px; }
.wts-st { font-size: 13px; font-weight: 500; color: var(--wtp-faint); }
.wts-st.is-ok { color: var(--wtp-ok); }
.wts-note { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--wtp-muted); border: 1px dashed var(--wtp-border-3); border-radius: 12px; }
.wts-split { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
.wts-dev { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wts-dev .wts-inp { flex: 1 1 220px; min-height: 40px; }
.wts-scan { overflow: hidden; }
.wts-scan__h { padding: 14px 18px; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wtp-faint); border-bottom: 1px solid var(--wtp-rule); }
.wts-scan__r { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; color: var(--wtp-text-2); }
.wts-scan__r + .wts-scan__r { border-top: 1px solid var(--wtp-rule); }
.wts-scan__r b { width: 90px; flex-shrink: 0; font-size: 13px; font-weight: 600; }
.wts-scan__r b.is-ok { color: var(--wtp-ok); }
.wts-scan__r b.is-bad { color: var(--wtp-bad); }
.wts-scan__r b.is-mute { color: var(--wtp-faint); }

@media (max-width: 1080px) {
    .wts-body-grid { grid-template-columns: minmax(0, 1fr); }
    .wts-aside { border-left: 0; border-top: 1px solid var(--wtp-rule); padding: 32px 24px; }
    .wts-steps li:not(.is-cur) .wts-steps__l { display: none; }
}
@media (max-width: 640px) {
    .wts-top { flex-wrap: wrap; padding: 12px 16px; gap: 12px; }
    .wts-steps { order: 3; flex-basis: 100%; }
    .wts-main { padding: 32px 16px 48px; }
    .wts-row2 { grid-template-columns: minmax(0, 1fr); }
    .wts-col h1 { font-size: 26px; }
}

/* ---------- Terms ---------- */
.wtp-terms { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wtp-terms h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 42px); }
.wtp-terms h2 { margin: 36px 0 10px; font-size: 20px; }
.wtp-terms p, .wtp-terms li { font-size: 15.5px; line-height: 1.65; color: var(--wtp-text-2); }
.wtp-terms ul { padding-left: 20px; }
.wtp-terms .wtp-fine { margin-bottom: 24px; }
