:root {
    --ink: #1b2838;
    --heading: #3d4f61;
    --muted: #5b6b7c;
    --paper: #eaf2fa;
    --white: #fff;
    --line: #cfd8e3;
    --accent: #0056b3;
    --cta: #0d9488;
    --cta-hover: #0f766e;
    --btn: #0d9488;
    --btn-hover: #0f766e;
    --header: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    --gold: #c9a227;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem 2rem;
    background: var(--header);
    color: var(--white);
    box-shadow: inset 0 -3px 0 var(--cta);
    position: relative;
    z-index: 2;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}
.brand img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    background: var(--white);
}
.brand strong { display: block; font-size: 1.05rem; white-space: nowrap; }
.brand em { font-style: normal; font-size: 0.8rem; opacity: 0.85; }
nav { display: flex; gap: 1.1rem; align-items: center; }
.paid-days {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.92);
    opacity: 0.92;
}
nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
nav a.ghost {
    border: 1px solid rgba(255,255,255,0.45);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
}
nav a.ghost.cta {
    background: var(--cta);
    border-color: transparent;
}
nav a.ghost.cta:hover { background: var(--cta-hover); }

body.home {
    background-color: #d4e2ee;
    background-image:
        radial-gradient(900px 420px at 88% -8%, rgba(74, 100, 145, 0.28), transparent 58%),
        radial-gradient(700px 380px at 8% 18%, rgba(13, 148, 136, 0.1), transparent 52%),
        repeating-linear-gradient(90deg, rgba(36, 62, 88, 0.035) 0 1px, transparent 1px 72px);
}

.hero-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse 52% 70% at 82% 36%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(ellipse 42% 48% at 10% 86%, rgba(201, 162, 39, 0.16) 0%, transparent 62%),
        radial-gradient(ellipse 48% 55% at 18% 12%, rgba(13, 148, 136, 0.14) 0%, transparent 58%),
        linear-gradient(165deg, #b7cbe0 0%, #d2e3f0 34%, #e4f0f5 70%, #dceaf1 100%);
}
.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(47, 72, 102, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 72, 102, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 72% at 70% 42%, #000 16%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 72% at 70% 42%, #000 16%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}
.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 42%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
}
.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2.4rem;
    align-items: start;
}
.hero-copy {
    position: relative;
    z-index: 1;
}
.hero-copy::before {
    content: "";
    position: absolute;
    inset: -0.6rem -1.1rem -0.4rem;
    background: linear-gradient(90deg, rgba(226, 238, 246, 0.78) 0%, rgba(226, 238, 246, 0.42) 62%, rgba(226, 238, 246, 0) 100%);
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cta-hover);
    margin: 0 0 0.6rem;
}
.live-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18), 0 0 8px rgba(34, 197, 94, 0.55);
    animation: led-pulse 2.4s ease-in-out infinite;
}
.hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--heading);
    line-height: 1.38;
    letter-spacing: -0.015em;
    margin: 0 0 1rem;
}
.hero h1 span {
    color: var(--accent);
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.hero-points {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}
.pain {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink);
    display: grid;
    gap: 0.15rem;
}
.pain li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.4rem 0;
    line-height: 1.45;
}
.pain-ico {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 0.08rem;
    color: var(--cta);
}

.shot-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
.shot-grid figure {
    position: relative;
    margin: 0;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(47, 72, 102, 0.08),
        0 12px 28px rgba(28, 49, 80, 0.12);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.shot-grid figure::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(47, 72, 102, 0.1);
    pointer-events: none;
}
.shot-grid figure.shot-openable:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.95),
        0 0 0 1px rgba(47, 72, 102, 0.12),
        0 16px 36px rgba(28, 49, 80, 0.16);
}
.shot-grid img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: contain;
    object-position: top center;
    background: #f4f7fb;
}
.shot-grid figure.shot-contain img {
    object-fit: contain;
    object-position: center;
    height: 148px;
    background: #f4f7fb;
}
.shot-grid figcaption {
    padding: 0.85rem 1rem 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}
.shot-grid figcaption strong { color: var(--ink); display: block; margin-bottom: 0.2rem; }
.shot-grid figure.shot-openable {
    cursor: zoom-in;
}
.shot-grid figure.shot-openable:hover img {
    filter: brightness(0.97);
}
.shot-grid figure.shot-openable:focus {
    outline: 2px solid var(--btn);
    outline-offset: 2px;
}

.shot-lb {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 22, 38, 0.88);
    padding: 2.5rem 4rem 1.5rem;
    box-sizing: border-box;
}
.shot-lb[hidden] { display: none; }
body.shot-lb-open { overflow: hidden; }
.shot-lb figure {
    margin: 0;
    max-width: min(1200px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.shot-lb img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 7.5rem);
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.shot-lb figcaption {
    color: #e8eef5;
    text-align: center;
    font-size: 0.95rem;
    max-width: 46rem;
    line-height: 1.4;
}
.shot-lb-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
}
.shot-lb-close:hover { text-decoration: underline; }
.shot-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.shot-lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.shot-lb-prev { left: 0.8rem; }
.shot-lb-next { right: 0.8rem; }

.btn {
    display: inline-block;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: #d9e6f2;
    color: var(--ink);
    text-decoration: none;
}
.btn.primary { background: var(--btn); color: var(--white); }
.btn.primary:hover { background: var(--btn-hover); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.hero-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(47, 72, 102, 0.08),
        0 18px 40px rgba(20, 40, 64, 0.16);
    padding: 0;
    overflow: hidden;
    position: relative;
}
.hero-card-rail {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 1.1rem;
    background: linear-gradient(90deg, #1e2f42 0%, #31465c 100%);
    color: #c9d6e4;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-card-body { padding: 1.15rem 1.4rem 1.25rem; }
.hero-card h2 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.hero-card-body > p { margin: 0 0 1rem; color: var(--muted); }

.privacy-lock-hero {
    margin: 1.35rem 0 0;
    padding: 1.45rem 1.5rem 1.5rem;
    border-radius: 14px;
    background: #08332f;
    border: 2px solid #14b8a6;
    box-shadow: 0 16px 32px rgba(8, 51, 47, 0.28);
}
.privacy-lock-hero .privacy-lock-head {
    margin: 0;
    font-size: clamp(1.42rem, 2.4vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #ffffff;
}
.privacy-lock-hero .privacy-lock-sub {
    margin: 0.7rem 0 0;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.4;
    color: #b8efe6;
}
.privacy-drop-line {
    margin: 0.5rem 0 0 !important;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--muted);
}
.privacy-lock-sm {
    margin: 0 0 1rem;
    padding: 0.55rem 0.75rem 0.6rem 0.8rem;
    border-radius: 8px;
    background: #e8f7f4;
    border: 1px solid rgba(13, 148, 136, 0.35);
    box-shadow: inset 4px 0 0 var(--cta);
}
.privacy-lock-sm p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #355651;
}
.privacy-lock-sm strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0c3d38;
    margin-bottom: 0.15rem;
}
.led {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}
.led-ok { background: #34d399; color: #34d399; }
.led-run {
    background: #2dd4bf;
    color: #2dd4bf;
    animation: led-pulse 1.8s ease-in-out infinite;
}
.led-net { background: #60a5fa; color: #60a5fa; }
@keyframes led-pulse {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.45; filter: brightness(1.35); }
}

.drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 8.5rem;
    border: 1.5px solid #d5e0ea;
    border-radius: 14px;
    background: #f8fbfd;
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    color: var(--muted);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.drop input { display: none; }
.drop:hover,
.drop.drag {
    border-color: rgba(13, 148, 136, 0.55);
    background: #f3fbf9;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.14), 0 4px 10px rgba(28, 49, 80, 0.08);
}
.drop strong { color: var(--ink); }

.file-list {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}
.file-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9rem;
    background: var(--paper);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
}
.file-list .tag {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
}
.file-list .tag.free { color: #1e7a46; }
.file-list .tag.included { color: #1e7a46; }
.file-list .tag.peek { color: #9a6b00; }

.quote {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.quote > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.quote-label { color: var(--muted); font-size: 0.85rem; }
#quote-total { font-size: 1.6rem; }
.fine { font-size: 0.82rem; color: var(--muted); }

.band {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.96)),
        repeating-linear-gradient(90deg, rgba(47, 72, 102, 0.045) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(0deg, rgba(47, 72, 102, 0.045) 0 1px, transparent 1px 48px);
}
#how {
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(13, 148, 136, 0.08), transparent 60%),
        repeating-linear-gradient(90deg, rgba(36, 62, 88, 0.04) 0 1px, transparent 1px 56px),
        #dceaf3;
}
#pricing {
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 162, 39, 0.08), transparent 55%),
        #e7f0f6;
}
section { padding: 2.5rem 1.5rem; }
section h2, .band h2 {
    max-width: 1120px;
    margin: 0 auto 0.6rem;
}
.section-lead {
    max-width: 1120px;
    margin: 0 auto 1.4rem;
    color: var(--muted);
}
.steps {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    counter-increment: step;
    box-shadow: 0 6px 18px rgba(28, 49, 80, 0.08);
    border-top: 3px solid var(--cta);
}
.steps li::before {
    content: counter(step);
    display: block;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.price-grid, .tool-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.tool-grid { grid-template-columns: repeat(4, 1fr); }
.price-grid article, .tool-grid article {
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 4px 14px rgba(28, 49, 80, 0.08);
}
.price-grid .featured { outline: 2px solid var(--gold); }
.price { font-size: 2rem; font-weight: 800; margin: 0.2rem 0 0.5rem; }

footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}
.footer-vendor {
    margin: 0 0 0.45rem;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #7a8896;
}
footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
footer a:hover { text-decoration: underline; }
footer .fine { margin: 0.55rem 0 0; }

body.legal { background: #dceaf3; }
.legal-wrap {
    max-width: 44rem;
    margin: 2rem auto 1rem;
    padding: 1.6rem 1.7rem 1.8rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28, 49, 80, 0.1);
    border-top: 4px solid var(--cta);
}
.legal-wrap h1 {
    margin: 0.15rem 0 0.35rem;
    color: var(--heading);
    font-size: clamp(1.55rem, 3vw, 1.9rem);
    line-height: 1.2;
}
.legal-wrap h2 {
    margin: 1.45rem 0 0.4rem;
    color: #2c3e50;
    font-size: 1.05rem;
}
.legal-wrap p, .legal-wrap li { color: var(--ink); }
.legal-wrap ul { margin: 0.35rem 0 0.7rem; padding-left: 1.2rem; }
.legal-wrap code {
    font-size: 0.88em;
    background: #eef4f8;
    padding: 0.08rem 0.32rem;
    border-radius: 4px;
}
.legal-updated {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.86rem;
}
.legal-duty {
    margin: 1.25rem 0 0.4rem;
    padding: 1.15rem 1.25rem 1.2rem;
    border-radius: 10px;
    background: #08332f;
    border: 2px solid #14b8a6;
    color: #fff;
}
.legal-duty h2 {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: 1.12rem;
}
.legal-duty p {
    margin: 0;
    color: #e8faf6;
    font-size: 0.98rem;
    line-height: 1.45;
}

.checkout-foot {
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.company-hero {
    grid-template-columns: 1fr;
    max-width: 46rem;
}
.company-cta-row { margin-top: 1.5rem; }
.contact-card {
    max-width: 1120px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 6px 18px rgba(28, 49, 80, 0.08);
    border-top: 3px solid var(--cta);
}
.contact-card a { color: var(--accent); font-weight: 700; }
#plant {
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(47, 72, 102, 0.08), transparent 60%),
        #e3edf5;
}
#contact { background: #dceaf3; }

.login-wrap, .stats-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.25rem 3rem;
}
.panel {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(28, 49, 80, 0.08);
}
.panel input[type="password"] {
    width: 100%;
    max-width: 22rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 1rem;
    margin: 0.6rem 0 1rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin: 1rem 0 1.5rem;
}
.stat-grid article {
    background: var(--paper);
    border-radius: 8px;
    padding: 0.9rem;
}
.stat-grid strong { display: block; font-size: 1.6rem; }
.stat-grid span { color: var(--muted); font-size: 0.85rem; }
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
th, td { text-align: left; padding: 0.45rem 0.3rem; border-bottom: 1px solid var(--line); }
.err { color: #b42318; }
.note { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
    .hero, .steps, .price-grid, .tool-grid, .stat-grid, .shot-grid { grid-template-columns: 1fr; }
    .top { flex-direction: column; align-items: flex-start; }
    nav { flex-wrap: wrap; width: 100%; }
    .company-hero { padding-top: 2.2rem; padding-bottom: 2rem; }
    .hero-actions .btn { text-align: center; }
    body.company nav a[href="#how"],
    body.company nav a[href="#plant"] { display: none; }
    .shot-grid img { height: 160px; }
    .shot-grid figure.shot-contain img { height: 160px; }
    .shot-lb { padding: 3.2rem 0.5rem 1rem; }
    .shot-lb-nav { width: 2.2rem; height: 2.2rem; font-size: 1.5rem; }
    .hero-art { opacity: 0.28; object-position: 80% 20%; }
}
@media (prefers-reduced-motion: reduce) {
    .live-dot, .led-run { animation: none; }
}
