/* ── Shared styles for /whats-new and /how-to-use ────────────────────
   ponytail: only what these two pages add. Nav, footer, container,
   gradient background and store badges all come from styles.css. */

/* Hero */
.wn-hero { padding: 9rem 1.5rem 3rem; text-align: center; }
.wn-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .75); border: 1px solid var(--gray-200);
    padding: .5rem 1rem; border-radius: 9999px;
    font-size: .875rem; font-weight: 600; color: var(--gray-700);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wn-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #22c55e; }
.wn-title {
    font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 700; line-height: 1.05;
    margin: 1.5rem 0 .25rem; letter-spacing: -.02em; color: var(--gray-900);
}
.wn-title-sub {
    font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.1;
    color: var(--gray-400); margin-bottom: 1.25rem;
}
.wn-lede {
    font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gray-600);
    max-width: 40rem; margin: 0 auto; line-height: 1.6;
}
.wn-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-top: 2rem; }
.wn-pill {
    padding: .5rem 1rem; border-radius: 9999px; font-size: .875rem; font-weight: 600;
    background: var(--black); color: var(--white); text-decoration: none;
}
a.wn-pill:hover { background: var(--gray-800); }
.wn-pill.light { background: var(--gray-100); color: var(--gray-900); }
.wn-pill.ghost { background: transparent; color: var(--gray-600); box-shadow: inset 0 0 0 1px var(--gray-200); }
a.wn-pill.ghost:hover { background: rgba(255, 255, 255, .6); color: var(--gray-900); }

.wn-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 3.5rem auto 0; }
.wn-stat {
    background: rgba(255, 255, 255, .7); border: 1px solid var(--gray-200);
    border-radius: 1.25rem; padding: 1.5rem 1rem;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wn-stat b { display: block; font-size: 2rem; font-weight: 700; color: var(--gray-900); line-height: 1.1; }
.wn-stat span { font-size: .8125rem; color: var(--gray-600); font-weight: 500; }

.wn-hero-link { margin-top: 2rem; }
.wn-textlink { color: var(--gray-700); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gray-300); }
.wn-textlink:hover { color: var(--gray-900); }

/* Sections */
.wn-section { padding: 4rem 1.5rem; }
.wn-section-head { text-align: center; margin-bottom: 3rem; }
.wn-kicker {
    font-size: .75rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gray-400); margin-bottom: .75rem;
}
.wn-h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; color: var(--gray-900); line-height: 1.15; }
.wn-sub { font-size: 1.125rem; color: var(--gray-600); margin-top: .75rem; max-width: 46rem; margin-inline: auto; }

/* Feature cards */
.wn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.wn-card {
    background: linear-gradient(to bottom, var(--white), var(--gray-50));
    border: 1px solid var(--gray-200); border-radius: 1.5rem;
    padding: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex; flex-direction: column;
}
.wn-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .1); }
.wn-card-head { display: flex; align-items: center; gap: .875rem; margin-bottom: .875rem; }
.wn-num {
    width: 2.25rem; height: 2.25rem; flex: none; border-radius: .75rem;
    background: var(--black); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .875rem; font-weight: 700;
}
.wn-badge-new {
    margin-inline-start: auto; font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: #1d4ed8; background: #dbeafe;
    padding: .25rem .625rem; border-radius: 9999px; white-space: nowrap;
}
.wn-card h3 { font-size: 1.375rem; font-weight: 700; color: var(--gray-900); line-height: 1.3; }
.wn-card p { color: var(--gray-600); line-height: 1.7; }
.wn-card p + p { margin-top: .75rem; }
.wn-quote {
    margin-top: 1rem; padding: .875rem 1.125rem; border-radius: .875rem;
    background: var(--gray-100); color: var(--gray-700);
    font-style: italic; font-size: .9375rem; line-height: 1.6;
}
.wn-card ul { margin: 1rem 0 0; padding-inline-start: 1.125rem; color: var(--gray-600); }
.wn-card li { margin-bottom: .5rem; line-height: 1.6; }
.wn-card li::marker { color: var(--gray-400); }
.wn-shots { display: flex; gap: .625rem; flex-wrap: wrap; align-items: flex-start; margin-top: 1.25rem; }
.wn-shots img {
    flex: 0 0 auto; height: 150px; width: auto; max-width: 100%; border-radius: .875rem;
    border: 1px solid var(--gray-200); object-fit: contain; background: var(--gray-100);
}
/* larger shots — tall phone captures that read as thumbnails at the default size */
.wn-shots-lg { gap: 1rem; justify-content: center; }
.wn-shots-lg img { height: 340px; border-radius: 1.125rem; }
/* flat icon beside a screenshot — smaller, padded, vertically centred */
.wn-shots img.wn-shot-icon { height: 120px; padding: 1.25rem; align-self: center; background: var(--white); }
/* small source image — show at its own size instead of upscaling it */
.wn-shots img.wn-shot-sm { height: auto; width: auto; max-width: 300px; align-self: center; }

/* Hebrew-only screenshots — the app UI captured in Hebrew */
.wn-shot-he { display: none; }
html[lang="he"] .wn-shot-he { display: block; }
/* ... and their stand-ins for every other language */
html[lang="he"] .wn-shot-nonhe { display: none; }
.ht-media-shots img.wn-shot-icon {
    /* sized to carry the same visual weight as the video in the other steps */
    width: auto; height: 230px; padding: 3rem; background: var(--white);
    border: 1px solid var(--gray-200); border-radius: 1.5rem; align-self: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.ht-media-shots .wn-shot-he { width: 46%; }

/* Before / after */
.wn-ba { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto 1.5rem; }
.wn-col {
    background: rgba(255, 255, 255, .75); border: 1px solid var(--gray-200);
    border-radius: 1.5rem; padding: 1.75rem;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wn-col h4 {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--gray-400); margin-bottom: 1.25rem;
}
.wn-col ol { margin: 0; padding-inline-start: 1.375rem; color: var(--gray-700); }
.wn-col li { margin-bottom: .625rem; line-height: 1.5; }
.wn-moved { color: var(--gray-400); text-decoration: line-through; }
.wn-added { color: var(--gray-900); font-weight: 700; }
.wn-note {
    max-width: 1100px; margin: 0 auto; border-inline-start: 4px solid var(--black);
    background: rgba(255, 255, 255, .75); border-radius: 0 1rem 1rem 0;
    padding: 1.25rem 1.5rem; color: var(--gray-700); line-height: 1.7;
}
.wn-tabs { max-width: 1100px; margin: 1.5rem auto 0; color: var(--gray-600); line-height: 1.7; }
.wn-strip { display: flex; gap: .75rem; flex-wrap: wrap; max-width: 1100px; margin: 1.5rem auto 0; }
.wn-strip img {
    height: 200px; width: auto; border-radius: 1rem;
    border: 1px solid var(--gray-200); box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

/* Fixes list */
.wn-fixes {
    list-style: none; padding: 0; margin: 0 auto; max-width: 800px;
    background: rgba(255, 255, 255, .75); border: 1px solid var(--gray-200);
    border-radius: 1.5rem; overflow: hidden;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.wn-fixes li {
    display: flex; gap: .875rem; align-items: flex-start;
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700); line-height: 1.6;
}
.wn-fixes li:last-child { border-bottom: none; }
.wn-check { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: #16a34a; }

/* CTA */
.wn-cta { text-align: center; padding: 4rem 1.5rem 5rem; }
.wn-cta .wn-h2 { margin-bottom: 1.5rem; }

/* ── How to use: alternating step rows ───────────────────────────── */
.ht-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; display: flex; flex-direction: column; gap: 4rem; }
.ht-step { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; scroll-margin-top: 7rem; }
.ht-step:nth-child(even) .ht-media { order: 2; }
.ht-media { display: flex; justify-content: center; }
/* ponytail: clips are portrait phone recordings — cap the height, let width follow */
.ht-media video {
    max-height: 520px; max-width: 100%; width: auto; display: block; border-radius: 1.5rem;
    border: 1px solid var(--gray-200); background: #000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}
.ht-media-shots { display: flex; gap: 1rem; justify-content: center; align-items: center; }
.ht-media-shots img {
    width: 48%; border-radius: 1.25rem; border: 1px solid var(--gray-200);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08); background: var(--gray-100);
}
.ht-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border-radius: .9rem;
    background: var(--black); color: var(--white);
    font-size: 1rem; font-weight: 700; margin-bottom: 1rem;
}
.ht-text h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--gray-900); line-height: 1.2; margin-bottom: .875rem; }
.ht-text p { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.75; }
.ht-text p + p { margin-top: .75rem; }
.ht-tip {
    margin-top: 1rem; padding: .875rem 1.125rem; border-radius: .875rem;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--gray-200);
    color: var(--gray-700); font-size: .9375rem;
}

/* RTL — nav stays LTR via styles.css; these are the page-local flips */
body.rtl .wn-note { border-radius: 1rem 0 0 1rem; }
body.rtl .wn-moved { text-align: start; }

@media (max-width: 860px) {
    .wn-hero { padding-top: 7.5rem; }
    .wn-stats { grid-template-columns: repeat(2, 1fr); }
    .wn-grid, .wn-ba { grid-template-columns: 1fr; }
    .wn-shots-lg img { height: 260px; }
    .ht-step { grid-template-columns: 1fr; gap: 1.5rem; }
    .ht-step:nth-child(even) .ht-media { order: 0; }
    .wn-strip img { height: 150px; }
}
