/* new-features.html — two-option hub (animations + live side-by-side) */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.nf-hub {
    margin: 0;
    min-height: 100vh;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-weight: 400;
    color: #2c3338;
    line-height: 1.55;
    background:
        radial-gradient(ellipse 90% 55% at 12% -10%, rgba(90, 140, 110, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 0%, rgba(180, 140, 90, 0.1), transparent 50%),
        #f7f5f1;
}

.nf-hub a { color: #2f6b4f; }
.nf-hub a:hover { color: #1f4d38; }

/* Beat .nf-hub a so primary CTA stays white on green */
.nf-hub a.nf-btn--primary,
.nf-hub a.nf-btn--primary:hover {
    color: #fff;
}

.nf-shell {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 3.5rem;
}

.nf-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.nf-home {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.nf-home:hover { text-decoration: underline; }

.nf-hero h1 {
    margin: 0 0 0.4rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.85rem, 3.4vw, 2.45rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #1f2a24;
}

.nf-hero p {
    margin: 0;
    max-width: 38rem;
    color: #5a635c;
    font-size: 1.05rem;
}

.nf-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin: 1.75rem 0 2.25rem;
}

@media (max-width: 760px) {
    .nf-options { grid-template-columns: 1fr; }
}

.nf-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1.35rem 1.4rem 1.45rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(40, 55, 45, 0.1);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(40, 50, 40, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

button.nf-option {
    font: inherit;
    cursor: pointer;
    appearance: none;
}

.nf-option:hover,
.nf-option:focus-visible {
    border-color: rgba(47, 107, 79, 0.45);
    box-shadow: 0 14px 34px rgba(40, 50, 40, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.nf-option.is-active {
    border-color: rgba(47, 107, 79, 0.55);
    box-shadow: 0 0 0 2px rgba(47, 107, 79, 0.18), 0 14px 34px rgba(40, 50, 40, 0.08);
}

.nf-option__kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6d7a70;
}

.nf-option h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: #1f2a24;
}

.nf-option p {
    margin: 0;
    color: #55605a;
    font-size: 0.98rem;
}

.nf-option__cta {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2f6b4f;
}

.nf-live {
    display: none;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(40, 55, 45, 0.1);
}

.nf-live.is-open { display: block; }

.nf-live h2 {
    margin: 0 0 0.55rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 400;
    color: #1f2a24;
}

.nf-live__lead {
    margin: 0 0 1.25rem;
    max-width: 42rem;
    color: #55605a;
    font-size: 1.02rem;
}

.nf-live__lead strong { color: #2c3338; font-weight: 600; }

#nfLiveTitle {
    scroll-margin-top: 1.25rem;
}

.nf-live__mode {
    margin: 0.35rem 0 0;
    padding-top: 0.35rem;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2f6b4f;
}

.nf-live__mode-lead {
    margin: 0.35rem 0 0;
    max-width: 40rem;
    color: #55605a;
    font-size: 1rem;
}

.nf-shots {
    display: grid;
    gap: 1.35rem;
}

.nf-shot figure {
    margin: 0;
    background: #fff;
    border: 1px solid rgba(40, 55, 45, 0.1);
    border-radius: 12px;
    /* Visible so the pen-circle can spill past the rail crop */
    overflow: visible;
    box-shadow: 0 10px 28px rgba(40, 50, 40, 0.06);
}

.nf-shot__headline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 0;
    padding: 0.7rem 1rem 0.55rem;
    font-family: "Source Sans 3", system-ui, sans-serif;
    font-size: clamp(0.88rem, 2.2vw, 1.05rem);
    font-weight: 600;
    color: #1f2a24;
    background: #eef3ef;
    border-radius: 12px 12px 0 0;
}

.nf-shot__headline span:last-child {
    text-align: right;
}

.nf-shot__headline + img {
    border-radius: 0;
}

.nf-shot img {
    display: block;
    width: 100%;
    height: auto;
}

.nf-shot figcaption {
    padding: 0.85rem 1rem 1rem;
    color: #55605a;
    font-size: 0.95rem;
}

/* CSS ring over the rail crop — sits on "Try the real session" */
.nf-shot__frame {
    position: relative;
    display: block;
    max-width: 360px;
    overflow: visible;
}

.nf-shot__frame img {
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.nf-shot__circle {
    position: absolute;
    /* Bigger + left: spill past rail edge, cover label + Online hint. */
    left: -12%;
    width: 78%;
    right: auto;
    /* PNG: label ~59–61%, hint ~63–65%. */
    top: 56.5%;
    height: 11%;
    border: 3px solid #e64628;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(230, 70, 40, 0.2);
    pointer-events: none;
    z-index: 1;
}

.nf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.nf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border: 1px solid transparent;
}

.nf-btn--primary {
    color: #fff;
    background: #2f6b4f;
}

.nf-btn--primary:hover {
    color: #fff;
    background: #25563f;
}

.nf-btn--ghost {
    color: #2f6b4f;
    background: transparent;
    border-color: rgba(47, 107, 79, 0.35);
}

.nf-btn--ghost:hover {
    background: rgba(47, 107, 79, 0.06);
}
