/* ==========================================================================
   AI LingoPlay — "Travel Roleplay Companion" theme
   Warm cream / deep navy / coral / teal. Fraunces display, Outfit body.
   ========================================================================== */

:root {
    --cream: #FAF3E7;
    --cream-deep: #F1E5CF;
    --paper: #FFFDF8;
    --sand: #F0E4CE;
    --ink: #22335C;
    --ink-soft: #5A6689;
    --navy: #1C2B4A;
    --coral: #E8604C;
    --coral-dark: #D14E3A;
    --coral-soft: #FBDACF;
    --teal: #2A9D8F;
    --teal-deep: #1F7A70;
    --teal-soft: #D9EFEB;
    --amber: #E9B44C;
    --shadow: 0 10px 30px rgba(34, 51, 92, 0.10);
    --shadow-soft: 0 4px 14px rgba(34, 51, 92, 0.07);
    --radius: 18px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", "Inter", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.journey {
    margin: 0;
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.journey h1, .journey h2, .journey h3 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
}

.journey a {
    color: var(--teal-deep);
}

.jcenter { display: flex; justify-content: center; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============ Buttons ============ */
.jbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    white-space: nowrap;
}
.jbtn:hover { transform: translateY(-2px); }
.jbtn:active { transform: translateY(0); }

.jbtn-coral {
    background-color: var(--coral);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(232, 96, 76, 0.35);
}
.jbtn-coral:hover { background-color: var(--coral-dark); color: #fff; }

.jbtn-navy {
    background-color: var(--ink);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(34, 51, 92, 0.25);
}
.jbtn-navy:hover { background-color: var(--navy); }

.jbtn-ghost {
    background: transparent;
    color: var(--ink) !important;
    border-color: rgba(34, 51, 92, 0.3);
}
.jbtn-ghost:hover { border-color: var(--ink); background: rgba(34, 51, 92, 0.04); }

.jbtn-lg { padding: 15px 32px; font-size: 17px; }
.jbtn-sm { padding: 8px 18px; font-size: 14px; }

/* ============ Nav ============ */
.jnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 243, 231, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 51, 92, 0.08);
}
.jnav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 24px;
}
.jnav-logo img { height: 34px; display: block; }

/* Wordmark: icon + type logo in the new palette */
.jwordmark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
}
.jwordmark-icon { width: 32px; height: 32px; flex-shrink: 0; }
.jwordmark-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.jwordmark-text em {
    font-style: normal;
    color: var(--coral);
}
.jwordmark-light .jwordmark-text { color: #fff; }
.jnav-links {
    display: flex;
    gap: 22px;
    flex-grow: 1;
    justify-content: center;
}
.jnav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 15.5px;
    padding: 4px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s;
}
.jnav-links a:hover { border-bottom-color: var(--coral); }
.jnav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.jnav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
}
.jnav-lang-select {
    border: 1px solid rgba(34, 51, 92, 0.2);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13.5px;
    padding: 4px 10px;
    max-width: 120px;
}
.jnav-signin {
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.jnav-signin:hover { color: var(--coral); }

@media (max-width: 900px) {
    .jnav-links { display: none; }
}
@media (max-width: 560px) {
    .jnav-inner { gap: 10px; padding: 12px 14px; justify-content: space-between; }
    .jnav-logo img { height: 26px; }
    .jnav-logo .jwordmark-icon { width: 26px; height: 26px; }
    .jnav-logo .jwordmark-text { font-size: 18px; }
    .jnav-lang .bi-globe2 { display: none; }
    .jnav-lang-select { max-width: 84px; font-size: 12.5px; }
    .jnav-right { gap: 10px; }
    .jnav-signin { font-size: 14px; white-space: nowrap; }
    .jbtn-sm { padding: 7px 14px; font-size: 13px; }
}
@media (max-width: 400px) {
    .jnav-lang { display: none; } /* language still switchable via footer flags */
}

/* ============ Hero ============ */
.jhero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(42, 157, 143, 0.12), transparent 60%),
        radial-gradient(800px 420px at -10% 110%, rgba(232, 96, 76, 0.10), transparent 60%),
        var(--cream);
}
.jhero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
    padding: 72px 24px 88px 24px;
}

.jeyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 22px;
}
.jeyebrow-stamp { width: 15px; height: 15px; flex-shrink: 0; }

@media (max-width: 560px) {
    .jeyebrow { font-size: 11.5px; letter-spacing: 0.1em; padding: 6px 14px; }
}

.jhero-copy h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}
.jhero-copy h1 em {
    font-style: italic;
    color: var(--coral);
}
.jhero-sub {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 34em;
    margin-bottom: 30px;
}
.jhero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.jhero-note {
    font-size: 14.5px;
    color: var(--ink-soft);
    font-style: italic;
    margin: 0;
}

/* Hero visual: chat mockup + decorations */
.jhero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
}

.jroute {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    color: var(--teal);
    opacity: 0.55;
    pointer-events: none;
}

.jstamp {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border: 2.5px solid currentColor;
    border-radius: 10px;
    transform: rotate(-8deg);
    opacity: 0.75;
    pointer-events: none;
    z-index: 2;
    background: rgba(255, 253, 248, 0.6);
}
.jstamp::after {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px dashed currentColor;
    border-radius: 6px;
    opacity: 0.7;
}
.jstamp-1 { color: var(--coral); top: 2px; left: -4px; transform: rotate(-10deg); }
.jstamp-2 { color: var(--teal-deep); top: 8px; right: -6px; transform: rotate(7deg); }
.jstamp-3 { color: var(--amber); bottom: 4px; left: 6px; transform: rotate(-5deg); }
.jstamp-4 { color: var(--teal); bottom: 10px; right: -4px; transform: rotate(6deg); }

.jchat-card {
    position: relative;
    z-index: 3;
    width: min(400px, 100%);
    background: var(--paper);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(34, 51, 92, 0.08);
    overflow: hidden;
}
.jchat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--navy);
    color: #fff;
}
.jchat-avatar { width: 42px; height: 42px; flex-shrink: 0; }
.jchat-avatar svg { width: 100%; height: 100%; display: block; }
.jchat-who { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.jchat-name { font-weight: 700; font-size: 16px; }
.jchat-role { font-size: 12.5px; opacity: 0.75; }
.jchat-flag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--coral);
    border-radius: 6px;
    padding: 3px 8px;
}
.jchat-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background:
        radial-gradient(300px 160px at 110% 0%, rgba(42, 157, 143, 0.07), transparent),
        var(--paper);
}
.jchat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.45;
    position: relative;
    opacity: 0;
    transform: translateY(8px);
    animation: jmsg-in 0.5s ease forwards;
}
.jchat-msg p { margin: 0; }
.jchat-them {
    align-self: flex-start;
    background: var(--sand);
    border-bottom-left-radius: 4px;
    animation-delay: 0.3s;
}
.jchat-me {
    align-self: flex-end;
    background: var(--teal-soft);
    border-bottom-right-radius: 4px;
    animation-delay: 1.1s;
}
.jchat-them:nth-of-type(3) { animation-delay: 1.9s; }
.jchat-trans {
    display: block;
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 4px;
    font-style: italic;
}
.jchat-check {
    position: absolute;
    top: -8px;
    right: -6px;
    width: 18px;
    height: 18px;
    display: block;
}
.jchat-check svg { width: 100%; height: 100%; display: block; }
.jchat-suggest {
    align-self: center;
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    background: var(--coral-soft);
    color: var(--ink);
    border-radius: 999px;
    padding: 6px 16px;
    opacity: 0;
    transform: translateY(8px);
    animation: jmsg-in 0.5s ease forwards;
    animation-delay: 2.7s;
}
.jchat-suggest-label { font-weight: 700; color: var(--coral-dark); }
.jchat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 14px 14px 14px;
    padding: 10px 14px;
    border: 1.5px solid rgba(34, 51, 92, 0.15);
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 14px;
    background: #fff;
}
.jchat-mic, .jchat-send {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.jchat-mic { color: var(--teal-deep); background: var(--teal-soft); padding: 6px; }
.jchat-send { color: #fff; background: var(--coral); padding: 6px; }
.jchat-mic svg, .jchat-send svg { width: 100%; height: 100%; }
.jchat-placeholder { flex-grow: 1; }

@keyframes jmsg-in {
    to { opacity: 1; transform: translateY(0); }
}

.jboarding-pass {
    position: relative;
    z-index: 4;
    margin-top: -18px;
    display: flex;
    align-items: stretch;
    background: var(--amber);
    color: var(--navy);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transform: rotate(-2deg);
    overflow: hidden;
}
.jbp-left, .jbp-right {
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
}
.jbp-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.7;
}
.jbp-lang, .jbp-scene {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
}
.jbp-divider {
    width: 0;
    border-left: 2px dashed rgba(28, 43, 74, 0.4);
    margin: 6px 0;
}

@media (max-width: 900px) {
    .jhero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 20px 64px 20px;
    }
    .jhero-copy { text-align: center; }
    .jhero-sub { margin-left: auto; margin-right: auto; }
    .jhero-ctas { justify-content: center; }
    .jstamp-1 { left: 2vw; top: -14px; }
    .jstamp-2 { right: 2vw; top: -10px; }
    .jstamp-4 { right: 2vw; }
}

/* ============ Language strip ============ */
.jlangs {
    background: var(--navy);
    padding: 34px 0 38px 0;
    overflow: hidden;
}
.jlangs-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 20px 20px 20px;
}
.jlangs-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.jlang-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    white-space: nowrap;
}
.jlang-chip b {
    color: var(--amber);
    font-family: var(--font-display);
    font-size: 15px;
}

/* ============ Section head ============ */
.jsection-head {
    max-width: 720px;
    margin: 0 auto 48px auto;
    text-align: center;
    padding: 0 20px;
}
.jsection-head h2 {
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 700;
    margin-bottom: 14px;
}
.jsection-head p {
    color: var(--ink-soft);
    font-size: 18px;
    margin: 0;
}
.jsection-head-light h2 { color: #fff; }
.jsection-head-light p { color: rgba(255, 255, 255, 0.75); }

/* ============ How it works ============ */
.jhow {
    padding: 90px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.jhow-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    padding: 0;
    margin: 0;
}
.jhow-step {
    position: relative;
    background: var(--paper);
    border: 1px solid rgba(34, 51, 92, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 34px 24px 26px 24px;
}
.jhow-num {
    position: absolute;
    top: -18px;
    left: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(232, 96, 76, 0.4);
}
.jhow-step h3 { font-size: 20px; margin: 6px 0 8px 0; }
.jhow-step p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

@media (max-width: 980px) {
    .jhow-steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
}
@media (max-width: 560px) {
    .jhow { padding: 64px 18px; }
    .jhow-steps { grid-template-columns: 1fr; gap: 30px; }
}

/* ============ Scenarios ============ */
.jscenes {
    padding: 90px 24px;
    background:
        radial-gradient(900px 400px at 50% 0%, rgba(233, 180, 76, 0.10), transparent 65%),
        var(--cream-deep);
}
.jscene-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.jscene-card {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid rgba(34, 51, 92, 0.08);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.jscene-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.jscene-art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 0 10px 0;
}
.jscene-art svg { width: 120px; height: 90px; }
.jscene-body { padding: 6px 24px 20px 24px; flex-grow: 1; }
.jscene-body h3 { font-size: 22px; margin: 0 0 6px 0; }
.jscene-body p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }
.jscene-tag {
    align-self: flex-start;
    margin: 0 24px 20px 24px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border-radius: 999px;
    padding: 4px 12px;
}
/* Perforated ticket edge */
.jscene-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-image: radial-gradient(circle at 6px 0px, var(--cream-deep) 4px, transparent 4.5px);
    background-size: 18px 6px;
    background-repeat: repeat-x;
}
.jscenes-more {
    text-align: center;
    color: var(--ink-soft);
    font-style: italic;
    margin: 34px 0 26px 0;
}

@media (max-width: 980px) {
    .jscene-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .jscenes { padding: 64px 18px; }
    .jscene-grid { grid-template-columns: 1fr; }
}

/* ============ Toolkit ============ */
.jtoolkit {
    background: linear-gradient(180deg, var(--navy) 0%, #223A56 100%);
    padding: 90px 24px;
}
.jtool-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.jtool-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.jtool-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}
.jtool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--coral);
    color: #fff;
    font-size: 21px;
    margin-bottom: 18px;
}
.jtool-card:nth-child(even) .jtool-icon { background: var(--teal); }
.jtool-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 8px;
}
.jtool-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15.5px;
    margin: 0;
}

@media (max-width: 980px) {
    .jtool-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .jtoolkit { padding: 64px 18px; }
    .jtool-grid { grid-template-columns: 1fr; }
}

/* ============ Who it's for ============ */
.jwho {
    padding: 90px 24px 70px 24px;
    max-width: 1150px;
    margin: 0 auto;
}
.jwho-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.jwho-card {
    background: var(--paper);
    border: 1px solid rgba(34, 51, 92, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 30px 26px;
    text-align: center;
}
.jwho-emoji { font-size: 40px; display: block; margin-bottom: 14px; }
.jwho-card h3 { font-size: 21px; margin-bottom: 8px; }
.jwho-card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

.jwho-quote {
    max-width: 640px;
    margin: 56px auto 0 auto;
    text-align: center;
    padding: 0 20px;
}
.jwho-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.6vw, 26px);
    color: var(--teal-deep);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 980px) {
    .jwho-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ============ Bio ============ */
.jbio {
    padding: 40px 24px 90px 24px;
}
.jbio-inner {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    gap: 44px;
    align-items: center;
    background: var(--paper);
    border: 1px solid rgba(34, 51, 92, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 44px;
}
.jbio-photo {
    flex-shrink: 0;
    text-align: center;
}
.jbio-photo-frame {
    width: 170px;
    background: #fff;
    padding: 10px 10px 34px 10px;
    box-shadow: var(--shadow-soft);
    transform: rotate(-3deg);
    border: 1px solid rgba(34, 51, 92, 0.08);
}
.jbio-photo-frame svg,
.jbio-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.jbio-photo-caption {
    display: block;
    margin-top: -26px;
    transform: rotate(-3deg);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-soft);
}
.jbio-copy h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 14px; }
.jbio-copy p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.jbio-rollover a { font-weight: 600; }

@media (max-width: 720px) {
    .jbio-inner {
        flex-direction: column;
        text-align: center;
        padding: 34px 24px;
        gap: 30px;
    }
}

/* ============ Big CTA ============ */
.jcta {
    background:
        radial-gradient(700px 300px at 50% 120%, rgba(233, 180, 76, 0.25), transparent 70%),
        var(--coral);
    padding: 80px 24px;
    text-align: center;
}
.jcta-inner { max-width: 640px; margin: 0 auto; }
.jcta h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 14px;
}
.jcta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 28px;
}
.jcta .jbtn-coral {
    background: var(--paper);
    color: var(--coral-dark) !important;
    box-shadow: 0 8px 24px rgba(28, 43, 74, 0.25);
}
.jcta .jbtn-coral:hover { background: #fff; }
.jcta-note {
    font-size: 14px !important;
    margin: 18px 0 0 0 !important;
    opacity: 0.85;
}

/* ============ FAQ ============ */
.jfaq {
    padding: 90px 24px;
    max-width: 760px;
    margin: 0 auto;
}
.jfaq-list { display: flex; flex-direction: column; gap: 12px; }
.jfaq-item {
    background: var(--paper);
    border: 1px solid rgba(34, 51, 92, 0.1);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
}
.jfaq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 16.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.jfaq-item summary::-webkit-details-marker { display: none; }
.jfaq-item summary::after {
    content: "+";
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--coral);
    line-height: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.jfaq-item[open] summary::after { transform: rotate(45deg); }
.jfaq-item p {
    margin: 0;
    padding: 0 22px 20px 22px;
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ============ Footer ============ */
.jfooter {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 24px 40px 24px;
}
.jfooter-inner { max-width: 1150px; margin: 0 auto; }
.jfooter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 34px;
}
.jfooter-logo { height: 32px; }
.jfooter-social {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
}
.jfooter-social a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.jfooter-social a:hover { color: var(--amber); }
.jfooter-feedback { font-size: 13.5px; }

.jfooter-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 24px;
}
.jflag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13.5px;
}
.jflag:hover { color: #fff; }
.jflag img { width: 17px; border-radius: 2px; }

.jfooter-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.jfooter-links { display: flex; flex-wrap: wrap; gap: 20px; }
.jfooter-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
}
.jfooter-links a:hover { color: var(--amber); }
.jfooter-copy {
    font-size: 13px;
    opacity: 0.6;
    margin: 0;
    font-style: italic;
}

/* ============ Subscription pages ============ */
.jsub-main {
    max-width: 620px;
    margin: 0 auto;
    padding: 56px 20px 90px 20px;
}
.jsub-hero {
    text-align: center;
    margin-bottom: 38px;
}
.jsub-hero h1 {
    font-size: clamp(30px, 4.5vw, 42px);
    font-weight: 700;
    margin-bottom: 12px;
}
.jsub-hero p {
    color: var(--ink-soft);
    font-size: 17.5px;
    margin: 0 auto;
    max-width: 30em;
}
.jsub-error {
    background: var(--coral-soft);
    color: var(--coral-dark);
    border: 1px solid rgba(209, 78, 58, 0.3);
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 24px;
}
.jsub-card {
    position: relative;
    background: var(--paper);
    border: 1px solid rgba(34, 51, 92, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 40px 40px 32px 40px;
    text-align: center;
    overflow: hidden;
}
/* Perforated ticket edge, echoing the scenario cards */
.jsub-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-image: radial-gradient(circle at 6px 0px, var(--cream) 4px, transparent 4.5px);
    background-size: 18px 6px;
    background-repeat: repeat-x;
}
.jsub-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-soft);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: 14px;
}
.jsub-plan-name {
    font-size: 26px;
    margin: 0 0 6px 0;
}
.jsub-price {
    margin-bottom: 24px;
}
.jsub-amount {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 46px;
    color: var(--coral);
}
.jsub-interval {
    color: var(--ink-soft);
    font-size: 17px;
}
.jsub-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 28px auto;
    max-width: 340px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.jsub-features li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15.5px;
    color: var(--ink);
}
.jsub-features li i {
    color: var(--teal);
    flex-shrink: 0;
}
.jsub-cta {
    width: 100%;
    justify-content: center;
}
.jsub-secure {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 18px 0 0 0;
}
.jsub-secure i { color: var(--teal-deep); }
.jsub-signin {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 16px 0 0 0;
}
.jsub-signin a { font-weight: 600; }
.jsub-success-icon {
    font-size: 54px;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 12px;
}
.jsub-card p {
    color: var(--ink-soft);
    font-size: 16px;
}
.jsub-manage-note {
    font-size: 13.5px !important;
    margin: 18px 0 0 0;
}
.jsub-back {
    display: block;
    text-align: center;
    margin-top: 22px;
    font-size: 14.5px;
    color: var(--ink-soft);
}
@media (max-width: 480px) {
    .jsub-card { padding: 34px 22px 28px 22px; }
}

/* ============ Legal / prose pages ============ */
.jlegal {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 22px 90px 22px;
}
.jlegal h1 {
    font-size: clamp(32px, 4.5vw, 44px);
    margin-bottom: 10px;
}
.jlegal .jlegal-updated {
    color: var(--ink-soft);
    font-style: italic;
    font-size: 14.5px;
    margin-bottom: 36px;
}
.jlegal h2 {
    font-size: 24px;
    margin: 40px 0 12px 0;
    padding-top: 8px;
}
.jlegal h3 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 700;
    margin: 22px 0 8px 0;
}
.jlegal p {
    color: var(--ink-soft);
    font-size: 16px;
    margin-bottom: 12px;
}
.jlegal a { font-weight: 600; }

/* Simple footer for utility pages */
.jfooter-simple {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 24px;
    margin-top: 40px;
}
.jfooter-simple-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ============ Contact modal (Bootstrap overrides) ============ */
/* The bundled Bootstrap build ships a dark .modal-content — force paper */
.journey .modal-content {
    border-radius: 20px;
    border: none;
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
}
.journey .modal-body label,
.journey .modal-body .form-text {
    color: var(--ink);
}
.journey .modal-body .form-text i { color: var(--ink-soft); }
.journey .modal-content .btn-close {
    filter: none;
    opacity: 0.6;
}
.journey .modal-body { padding: 10px 28px 28px 28px; color: var(--ink); }
.journey .modal-body .form-control {
    border-radius: 12px;
    border-color: rgba(34, 51, 92, 0.2);
}
.journey .modal-body .button-general,
.journey .modal-body .initiate-chat {
    background-color: var(--coral);
    border: none;
    color: #fff;
    border-radius: 999px;
    padding: 10px 26px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
.journey .modal-body .button-general:hover { background-color: var(--coral-dark); }
.modal-bg-outer {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* ============ Cookie consent ============ */
.journey .cookie-consent {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: var(--navy);
    color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 26px;
    max-width: 480px;
    width: calc(100% - 30px);
    text-align: center;
    box-shadow: 0 -6px 24px rgba(28, 43, 74, 0.3);
    font-size: 15px;
}
.journey .cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}
.journey .cookie-buttons button {
    border: none;
    border-radius: 999px;
    padding: 8px 22px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
}
.journey #accept { background: var(--coral); color: #fff; }
.journey #accept:hover { background: var(--coral-dark); }
.journey #deny { background: rgba(255, 255, 255, 0.15); color: #fff; }
.journey #deny:hover { background: rgba(255, 255, 255, 0.25); }
