/* SistemaKoPh public introduction page (1.7.0). Dark teal / green, readable in light mode too. No web fonts (CSP font-src 'self'). */
:root {
  --w-bg: #0b1f1c; --w-bg2: #0f2925; --w-card: #12302b; --w-line: #1f4740; --w-text: #e7f2ef; --w-muted: #a7c2bc;
  --w-accent: #2dd4a7; --w-accent-ink: #062a22; --w-accent-2: #14b88f; --w-warn: #fbbf24;
  --w-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --w-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --w-radius: 14px; --w-gap: clamp(16px, 3vw, 28px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.wl { margin: 0; background: var(--w-bg); color: var(--w-text); font: 16px/1.6 var(--w-sans); }
.wl a { color: var(--w-accent); }
.wl-skip { position: absolute; left: -999px; top: 8px; background: var(--w-accent); color: var(--w-accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.wl-skip:focus { left: 8px; }
.wl-wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wl-narrow { width: min(820px, 100% - 32px); }
.wl :focus-visible { outline: 3px solid var(--w-accent); outline-offset: 2px; border-radius: 6px; }

/* header */
.wl-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--w-bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--w-line); padding-top: env(safe-area-inset-top); }
.wl-head-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.wl-logo { display: flex; align-items: center; gap: 10px; color: var(--w-text) !important; text-decoration: none; }
.wl-logo img { border-radius: 9px; }
.wl-logo span { display: flex; flex-direction: column; line-height: 1.1; }
.wl-logo strong { font-size: 1.02rem; letter-spacing: .02em; }
.wl-logo small { color: var(--w-muted); font-size: .74rem; }
.wl-nav { display: flex; gap: 22px; margin-left: 12px; }
.wl-nav a { color: var(--w-text); text-decoration: none; font-weight: 600; font-size: .94rem; }
.wl-nav a:hover { color: var(--w-accent); }
.wl-cta { display: flex; gap: 10px; margin-left: auto; }
.wl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.wl-btn-lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.wl-btn-solid { background: var(--w-accent); color: var(--w-accent-ink) !important; }
.wl-btn-solid:hover { background: var(--w-accent-2); }
.wl-btn-ghost { border-color: var(--w-line); color: var(--w-text) !important; background: transparent; }
.wl-btn-ghost:hover { border-color: var(--w-accent); }
.wl-menu { display: none; margin-left: auto; position: relative; }
.wl-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--w-line); border-radius: 10px; }
.wl-menu summary::-webkit-details-marker { display: none; }
.wl-menu summary span { width: 18px; height: 2px; background: var(--w-text); border-radius: 2px; }
.wl-menu-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 10px; display: grid; gap: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.wl-menu-panel > a:not(.wl-btn) { color: var(--w-text); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.wl-menu-panel > a:not(.wl-btn):hover { background: var(--w-bg2); }
.wl-menu-panel .wl-btn { margin-top: 6px; }
@media (max-width: 900px) { .wl-nav, .wl-cta { display: none; } .wl-menu { display: block; } }

/* hero */
.wl-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.wl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wl-eyebrow { color: var(--w-accent); font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.wl h1 { font-family: var(--w-serif); font-weight: 700; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.01em; }
.wl h2 { font-family: var(--w-serif); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 0 0 10px; }
.wl h3 { font-size: 1.08rem; margin: 0 0 6px; }
.wl-lead { color: var(--w-muted); font-size: clamp(1.02rem, 1.6vw, 1.18rem); margin: 0 0 24px; max-width: 60ch; }
.wl-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-note { color: var(--w-muted); font-size: .9rem; margin-top: 14px; }
.wl-mock { margin: 0; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.wl-mock figcaption { font-size: .8rem; color: var(--w-muted); padding: 10px 16px; border-top: 1px solid var(--w-line); }
.wl-mock-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--w-line); font-weight: 700; font-size: .9rem; }
.wl-pill { background: color-mix(in srgb, var(--w-accent) 18%, transparent); color: var(--w-accent); border-radius: 999px; padding: 2px 10px; font-size: .75rem; }
.wl-mock-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; padding: 14px; }
.wl-mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.wl-tile { background: var(--w-bg2); border: 1px solid var(--w-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; font-size: .8rem; }
.wl-tile b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-tile span { color: var(--w-accent); font-variant-numeric: tabular-nums; font-weight: 700; }
.wl-mock-cart { background: var(--w-bg2); border: 1px solid var(--w-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: .82rem; }
.wl-mock-h { font-weight: 700; margin-bottom: 2px; }
.wl-line, .wl-total { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.wl-total { border-top: 1px dashed var(--w-line); padding-top: 8px; margin-top: auto; font-weight: 800; font-size: 1rem; }
.wl-pay { background: var(--w-accent); color: var(--w-accent-ink); text-align: center; border-radius: 9px; padding: 9px; font-weight: 800; }
@media (max-width: 900px) { .wl-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .wl-mock-body { grid-template-columns: 1fr; } }

/* sections */
.wl-section { padding: clamp(48px, 7vw, 88px) 0; }
.wl-alt { background: var(--w-bg2); border-block: 1px solid var(--w-line); }
.wl-sub { color: var(--w-muted); margin: 0 0 28px; max-width: 62ch; }
.wl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--w-gap); }
.wl-card { background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 22px; }
.wl-card p { color: var(--w-muted); margin: 0; font-size: .95rem; }
.wl-steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--w-gap); }
.wl-steps li { counter-increment: s; background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.wl-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--w-accent); color: var(--w-accent-ink); display: grid; place-items: center; font-weight: 800; }
.wl-steps span { color: var(--w-muted); font-size: .95rem; }
.wl-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .wl-two { grid-template-columns: 1fr; } }
.wl-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wl-checks li { position: relative; padding: 14px 16px 14px 46px; background: var(--w-card); border: 1px solid var(--w-line); border-radius: 12px; color: var(--w-muted); font-size: .95rem; }
.wl-checks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 9px; border-left: 3px solid var(--w-accent); border-bottom: 3px solid var(--w-accent); transform: rotate(-45deg); }
.wl-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--w-gap); align-items: stretch; }
.wl-plan { background: var(--w-card); border: 1px solid var(--w-line); border-radius: var(--w-radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.wl-plan-pop { border-color: var(--w-accent); box-shadow: 0 0 0 1px var(--w-accent) inset; }
.wl-plan p { color: var(--w-muted); margin: 0; font-size: .93rem; }
.wl-price { font-family: var(--w-serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.wl-price small { font-family: var(--w-sans); font-size: .9rem; color: var(--w-muted); font-weight: 500; margin-left: 4px; }
.wl-plan ul { margin: 4px 0 8px; padding-left: 18px; color: var(--w-muted); font-size: .92rem; flex: 1; }
.wl-plan .wl-btn { align-self: stretch; }
.wl details { background: var(--w-card); border: 1px solid var(--w-line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.wl details summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style-position: outside; }
.wl details p { color: var(--w-muted); margin: 0 0 16px; }
.wl-contact p { margin: 0 0 10px; }
.wl-foot { border-top: 1px solid var(--w-line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); color: var(--w-muted); font-size: .9rem; }
.wl-foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wl details.wl-menu { background: none; border: 0; padding: 0; margin: 0 0 0 auto; }
.wl details.wl-menu summary { padding: 0; }
