:root {
    --ink: #0b1a3a;
    --muted: #4d6380;
    --paper: #eef7ff;
    --ice: #5ce1ff;
    --cyan: #00c2d7;
    --navy: #10244d;
    --lilac: #7b6cff;
    --pink: #ff6b9d;
    --gold: #e8b84a;
    --card: #ffffff;
    --line: #cfe6f5;
    --ok: #16824a;
    --bad: #c4232a;
    --warn: #b45309;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(1200px 420px at 10% -10%, rgba(92, 225, 255, 0.28), transparent 60%),
        radial-gradient(900px 380px at 100% 0%, rgba(123, 108, 255, 0.18), transparent 55%),
        var(--paper);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #155e8a; }
h1, h2, h3 {
    font-family: "Syne", "Trebuchet MS", sans-serif;
    line-height: 1.15;
    margin: 0 0 12px;
}
p { margin: 0 0 14px; }
button, input { font-family: inherit; }

.jf-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.jf-shell { min-height: 100vh; display: flex; flex-direction: column; }
.jf-main { flex: 1; display: flex; flex-direction: column; }
.jf-wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; flex: 1; }

.jf-mast {
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 20;
}
.jf-mast-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
}
.jf-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    min-width: 0;
}
.jf-brand img {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 14px;
    background: #fff;
}
.jf-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.jf-brand-copy strong {
    font-family: "Syne", sans-serif;
    font-size: 18px;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.jf-brand-copy em {
    font-style: normal;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jf-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.jf-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--navy);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}
.jf-nav:hover { background: #e4f6ff; }
.jf-nav.is-here { background: #d8f4ff; color: #0a4d6a; }
.jf-nav-store,
.jf-nav-store:hover,
.jf-nav-store.is-here {
    background: linear-gradient(135deg, #00b4c8, #6a5cff);
    color: #fff !important;
    padding: 10px 16px;
    box-shadow: 0 8px 18px rgba(0, 180, 200, 0.28);
    filter: none;
}
.jf-nav-store:hover {
    background: linear-gradient(135deg, #008fa0, #4f3fd4);
    box-shadow: 0 8px 20px rgba(16, 36, 77, 0.28);
}
.jf-nav-store.is-here {
    background: linear-gradient(135deg, #007f90, #4636c4);
    box-shadow: 0 8px 18px rgba(70, 54, 196, 0.35);
}

.jf-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 10px 9px;
}
.jf-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
}

.jf-kicker {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1b7c93;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px;
}
.jf-lead { font-size: 18px; }
.jf-dash {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--lilac));
    margin: 0 0 18px;
}

.jf-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}
.jf-frame {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 36, 77, 0.16);
    background: #fff;
}
.jf-frame img { width: 100%; }

.jf-playrow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 8px;
}
.jf-storebtn {
    display: inline-block;
    line-height: 0;
}
.jf-storebtn img {
    height: 52px;
    width: auto;
}

.jf-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.jf-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(16, 36, 77, 0.05);
}
.jf-card h2 { font-size: 22px; }
.jf-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.jf-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
}
.jf-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jf-prose { overflow: hidden; }
.jf-shot {
    width: min(240px, 42%);
    float: right;
    margin: 0 0 14px 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 36, 77, 0.12);
}
.jf-shot img { width: 100%; }
.jf-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0 24px;
}
.jf-mosaic figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 36, 77, 0.08);
}
.jf-mosaic img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.jf-pair, .jf-feat-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0 28px;
}
.jf-pair article, .jf-feat, .jf-quote, .jf-fact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}
.jf-feat, .jf-fact {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.jf-quote { border-left: 4px solid var(--cyan); }
.jf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 20px;
}
.jf-chips span {
    background: #dff7ff;
    color: #0a4d6a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
}
.jf-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.jf-contact-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}
.jf-contact-pic {
    max-width: 280px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(16, 36, 77, 0.12);
}

.jf-tabs {
    display: flex;
    gap: 10px;
    margin: 8px 0 18px;
}
.jf-tab {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
    color: var(--navy);
}
.jf-tab.is-on {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.jf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.jf-pack {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}
.jf-pack img { width: 48px; height: 48px; }
.jf-pack.is-on {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 194, 215, 0.2);
}
.jf-pack-title { display: block; font-weight: 800; }
.jf-pack-price { display: block; color: #155e8a; font-weight: 700; }
.jf-moneybar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
}
.jf-money {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    cursor: pointer;
    font-weight: 700;
}
.jf-money.is-on { background: #10244d; color: #fff; }

.jf-buy {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
}
.jf-order, .jf-well, .jf-promise {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}
.jf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jf-field { display: flex; flex-direction: column; gap: 6px; }
.jf-span { grid-column: 1 / -1; }
.jf-field input[type="text"] {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
}
.jf-field input[readonly] { background: #f4fbff; }
.jf-pays { display: flex; flex-wrap: wrap; gap: 8px; }
.jf-pay {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.jf-pay.is-on { border-color: var(--lilac); background: #f3f0ff; }
.jf-pay-look { opacity: 0.7; cursor: default; }
.jf-agree { display: flex; gap: 8px; align-items: flex-start; }
.jf-err { color: var(--bad); font-size: 13px; min-height: 1em; }
.jf-alert {
    background: #fff1f1;
    color: var(--bad);
    border: 1px solid #ffd0d0;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 16px;
}
.jf-go {
    border: 0;
    background: linear-gradient(135deg, #00c2d7, #7b6cff);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 800;
    cursor: pointer;
}
.jf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jf-picked {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f4fbff;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
}
.jf-promise { margin: 22px 0 0; }
.jf-promise h2 { font-size: 22px; }
.jf-promise article { margin: 0 0 14px; }

.jf-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.jf-table th, .jf-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.jf-table th { width: 160px; color: var(--muted); }
.jf-result, .jf-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    max-width: 720px;
}
.jf-result.ok { border-color: #9be2b8; }
.jf-result.bad, .jf-result.warn { border-color: #ffd0d0; }
.jf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.jf-linkbtn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.jf-linkbtn.alt { background: #e4f6ff; color: var(--navy); }
.jf-count { font-size: 42px; font-family: "Syne", sans-serif; margin: 10px 0; }

.jf-foot {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 14px;
}
.jf-foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}
.jf-foot-line { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.jf-foot-card, .jf-foot-culture {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.jf-view-home .jf-mast { background: transparent; border-bottom: 0; }
.jf-view-home .jf-mast-inner { flex-direction: column; align-items: center; padding-top: 22px; }
.jf-view-home .jf-brand { flex-direction: column; text-align: center; }
.jf-view-home .jf-brand-copy { align-items: center; }
.jf-view-home .jf-menu { justify-content: center; }

@media (max-width: 900px) {
    .jf-split, .jf-cards, .jf-pair, .jf-feat-list, .jf-facts, .jf-buy, .jf-contact-split, .jf-foot-grid, .jf-mosaic, .jf-fields {
        grid-template-columns: 1fr;
    }
    .jf-shot { float: none; width: min(220px, 100%); margin: 0 0 14px; }
    .jf-toggle { display: block; }
    .jf-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .jf-mast-inner { flex-wrap: wrap; }
    .jf-menu.is-open { display: flex; }
    .jf-view-home .jf-mast-inner { flex-direction: row; flex-wrap: wrap; }
    .jf-view-home .jf-brand { flex-direction: row; text-align: left; }
    .jf-view-home .jf-brand-copy { align-items: flex-start; }
}
