@font-face {
    font-family: 'Bangers';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bangers-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/dm-sans-var.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Per-script brand faces (brandbook › Locale Typography) ──────────────
   Same two roles in every script: poster display, geometric sans body.
   unicode-range keeps each download script-local, and the
   Latin faces above still win for Latin runs inside a translated sentence. */

@font-face {
    font-family: 'Karantina';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/karantina-700.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200F, U+FB1D-FB4F;
}

@font-face {
    font-family: 'Noto Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-sans-hebrew-400.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200F, U+FB1D-FB4F;
}

@font-face {
    font-family: 'Noto Sans Hebrew';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noto-sans-hebrew-700.woff2') format('woff2');
    unicode-range: U+0590-05FF, U+200F, U+FB1D-FB4F;
}

@font-face {
    font-family: 'Lalezar';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lalezar-400.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cairo-400.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cairo-700.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/baloo2-700.woff2') format('woff2');
    unicode-range: U+0900-097F, U+200C-200D, U+A830-A839, U+A8E0-A8FF;
}

@font-face {
    font-family: 'Noto Sans Devanagari';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-sans-devanagari-400.woff2') format('woff2');
    unicode-range: U+0900-097F, U+200C-200D, U+A830-A839, U+A8E0-A8FF;
}

@font-face {
    font-family: 'Noto Sans Devanagari';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noto-sans-devanagari-700.woff2') format('woff2');
    unicode-range: U+0900-097F, U+200C-200D, U+A830-A839, U+A8E0-A8FF;
}

:root {
    --red: #D72323;
    --red-deep: #A01B1B;
    --yellow: #FFFF30;
    --black: #111111;
    --white: #F5F0EB;
    --cream: #FAF6F0;
    --gray-newsprint: #E8E0D4;
    --gray-warm: #C4BAA8;
    --gray-mid: #8A8275;

    /* CJK is served from the platform's own faces rather than a multi-megabyte
       webfont: every JP/KO device ships an excellent one, and a marketing page
       pays that download on every visit. */
    --cjk: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo,
        'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans CJK JP', 'Noto Sans CJK KR';

    --font-display: 'Bangers', 'Karantina', 'Lalezar', 'Baloo 2', var(--cjk), sans-serif;
    --font-body: 'DM Sans', 'Noto Sans Hebrew', 'Cairo', 'Noto Sans Devanagari', var(--cjk), sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: var(--red);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

/* ── Shared chrome ── */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.site-wordmark {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 2px;
    color: var(--yellow);
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.tape-btn {
    display: inline-block;
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 15px;
    transition: transform 0.1s, box-shadow 0.1s;
}

.tape-btn-primary {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 2px 2px 0 var(--red-deep);
}

.tape-btn-ghost {
    border: 2px solid var(--white);
    color: var(--white);
}

.tape-btn-small {
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.tape-btn-big {
    padding: 16px 40px;
    font-size: 21px;
}

.tape-btn:active {
    transform: translate(1px, 1px) !important;
    box-shadow: 1px 1px 0 var(--red-deep);
}

.bracket {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--red);
    border-style: solid;
    border-width: 0;
}

.bracket.tl { top: 4px; left: 4px; border-top-width: 2.5px; border-left-width: 2.5px; }
.bracket.tr { top: 4px; right: 4px; border-top-width: 2.5px; border-right-width: 2.5px; }
.bracket.bl { bottom: 4px; left: 4px; border-bottom-width: 2.5px; border-left-width: 2.5px; }
.bracket.br { bottom: 4px; right: 4px; border-bottom-width: 2.5px; border-right-width: 2.5px; }

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: 2px;
    color: var(--black);
    text-align: center;
    margin-bottom: 12px;
}

.section-headline::after {
    content: '';
    display: block;
    width: 40px;
    height: 1.5px;
    background: var(--red);
    margin: 10px auto 0;
}

.tape-label {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    box-shadow: 2px 2px 0 var(--red-deep);
}

.site-footer {
    background: var(--black);
    text-align: center;
    padding: 48px 24px;
}

.footer-wordmark {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--yellow);
}

/* The active locale is a <span>, not an <a>, so it is not covered by the rule
   above — without this it inherits the body ink and disappears into the footer. */
.footer-lang-current {
    color: var(--yellow);
    font-size: 13px;
}

/* Ten endonyms wrap into a ragged pair of lines on a phone; a grid reads as a
   list instead. */
@media (max-width: 600px) {
    .footer-langs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 8px;
        margin-top: 12px;
    }
}

/* ── Header language chip ── */
/* A strip of masking tape laid flat on the page: globe + current endonym +
   chevron on yellow, no tilt, torn ends. Yellow because the strip lands on
   white cards as often as on red, and warm-white tape on a warm-white card has
   no edge at all. The menu is a plain list of endonyms with the current one
   pen-circled. <details>, no script. */

.lang-chip {
    position: absolute;
    top: 20px;
    inset-inline-start: 24px;
    z-index: 6;
}

.lang-chip summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    cursor: pointer;
    background: var(--yellow);
    color: var(--black);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 11px;
    min-height: 30px;
    box-sizing: border-box;
    box-shadow: 0 2px 0 rgba(17, 17, 17, 0.28);
    user-select: none;
}

/* The torn ends continue the strip's own background, so the rip reads as the
   tape itself rather than an outline drawn on it. */
.lang-chip summary::before,
.lang-chip summary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12px;
    background: inherit;
}

.lang-chip summary::before {
    left: -11px;
    clip-path: polygon(100% 0, 5% 11%, 70% 26%, 0 44%, 62% 58%, 8% 74%, 75% 88%, 0 100%, 100% 100%);
}

.lang-chip summary::after {
    right: -11px;
    clip-path: polygon(0 0, 95% 10%, 30% 25%, 100% 42%, 38% 57%, 92% 73%, 25% 87%, 100% 100%, 0 100%);
}

.lang-chip summary::-webkit-details-marker {
    display: none;
}

.lang-chip[open] .lang-chip-chevron {
    transform: scaleY(-1);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    min-width: 280px;
    background: #FAF6F0;
    box-shadow: 4px 4px 0 var(--red-deep);
    padding: 12px 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
}

.lang-menu a,
.lang-menu-current {
    display: block;
    color: var(--black);
    text-decoration: none;
    font-size: 15px;
    padding: 9px 10px;
    white-space: nowrap;
}

.lang-menu a:hover {
    background: var(--yellow);
}

.lang-menu-current {
    position: relative;
    font-weight: 700;
    width: max-content;
}

.pen-circle {
    position: absolute;
    left: -8px;
    top: -4px;
    width: calc(100% + 16px);
    height: calc(100% + 8px);
    overflow: visible;
    pointer-events: none;
    transform: rotate(-2deg);
}

/* ── Scroll reveals ── */

body.anim .reveal {
    opacity: 0;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

body.anim .reveal:not([data-parallax]) {
    transform: translateY(28px) rotate(var(--rot, 0deg));
}

body.anim .reveal.in {
    opacity: 1;
}

body.anim .reveal.in:not([data-parallax]) {
    transform: translateY(0) rotate(var(--rot, 0deg));
}

/* ── Home / marketing ── */

.cta-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.closer .cta-area {
    align-items: center;
}

.cta-ios,
.cta-android {
    display: none;
}

.platform-ios .cta-desktop,
.platform-android .cta-desktop {
    display: none;
}

.platform-ios .cta-ios,
.platform-android .cta-android {
    display: inline-block;
}

.store-badge img {
    display: block;
    width: auto;
}

.cta-android img {
    margin: -13px 0;
}

.browser-link {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    color: var(--white);
    text-decoration: none;
}

.webview-escape {
    text-transform: uppercase;
}

.browser-link:hover {
    color: var(--yellow);
}

.corner-signin {
    position: absolute;
    top: 20px;
    inset-inline-end: 24px;
    z-index: 5;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 1.5px;
    padding: 8px 14px;
    text-decoration: none;
}

.corner-signin:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.hero3 {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 24px;
    max-width: 1150px;
    margin: 0 auto;
    min-height: 92vh;
    padding: 70px 24px 60px;
}

.hero3-copy {
    margin-top: clamp(10px, calc(50vh - 180px), 280px);
}

.hero3-copy {
    position: relative;
    z-index: 3;
    --mast: clamp(56px, 8.5vw, 130px);
}

.masthead {
    font-family: var(--font-display);
    font-size: var(--mast);
    line-height: 0.95;
    letter-spacing: 0.045em;
    color: var(--yellow);
    text-shadow: 0.045em 0.045em 0 rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* one line, scaled flush to the mark: 0.274x closes the width exactly */
.tagline {
    font-family: var(--font-display);
    font-size: calc(var(--mast) * 0.274);
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0.045em 0.045em 0 rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    margin: calc(var(--mast) * 0.14) 0 32px;
}

.hero3-stage {
    position: relative;
    justify-self: center;
    padding: 46px 0;
}

.flyer {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 230px;
    margin-left: -115px;
    background: var(--white);
    padding: 14px 14px 12px;
    box-shadow: 3px 3px 0 var(--red-deep);
    opacity: 0;
    transform: translate(0, -12px) scale(0.35) rotate(0deg);
    will-change: transform, opacity;
    pointer-events: none;
    z-index: 1;
}

.flyer.fly {
    animation: journey 6s linear forwards;
}

.flyer.landing {
    z-index: 3;
}

@keyframes journey {
    0% {
        transform: translate(0, -12px) scale(0.35) rotate(0deg);
        opacity: 0;
    }
    5% { opacity: 1; }
    45% {
        transform: translate(var(--fx), var(--fy)) scale(1) rotate(var(--frot));
    }
    72% {
        transform: translate(calc(var(--fx) * 0.6), calc(var(--fy) * 0.6 - 70px)) scale(1.12) rotate(calc(var(--frot) * 0.4));
    }
    94% { opacity: 1; }
    100% {
        transform: translate(0, 0) scale(1.5) rotate(0deg);
        opacity: 0;
    }
}

.specimen-author {
    font-weight: 700;
    font-size: 11px;
    color: var(--red);
}

.flyer p {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--black);
    margin-top: 3px;
}

.popchar {
    position: absolute;
    height: auto;
    filter: grayscale(1) contrast(1.1);
    opacity: 0;
    transform: translate(var(--hx), var(--hy)) rotate(var(--rot, 0deg));
    transition: transform 0.45s ease-out, opacity 0.3s ease-out;
    pointer-events: none;
    z-index: 1;
}

.popchar.pop {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--rot, 0deg));
    animation: pop-bob 2.4s ease-in-out 0.5s infinite alternate;
}

@keyframes pop-bob {
    from { transform: translate(0, 0) rotate(calc(var(--rot, 0deg) - 2deg)); }
    to { transform: translate(0, 0) rotate(calc(var(--rot, 0deg) + 2deg)); }
}

.pc-newsgirl {
    --rot: 5deg;
    --hx: -50px;
    --hy: 66px;
    width: 120px;
    inset-inline-end: -26px;
    top: 2px;
}

.pc-paparazzi {
    --rot: -4deg;
    --hx: 150px;
    --hy: 40px;
    width: 190px;
    inset-inline-start: -110px;
    bottom: 4px;
}

.pc-detective {
    --rot: 3deg;
    --hx: -140px;
    --hy: 10px;
    width: 150px;
    inset-inline-end: -96px;
    top: 42%;
}

.pc-war {
    --rot: -5deg;
    --hx: 130px;
    --hy: 50px;
    width: 115px;
    inset-inline-start: -58px;
    top: 46px;
}

@media (prefers-reduced-motion: reduce) {
    .flyer {
        display: none;
    }

    .pc-newsgirl,
    .pc-paparazzi {
        opacity: 1;
        transform: rotate(var(--rot, 0deg));
    }
}

.phone2 {
    position: relative;
    z-index: 2;
    width: 320px;
    background: var(--black);
    border-radius: 46px;
    padding: 10px;
    box-shadow: 8px 8px 0 var(--red-deep);
}

.phone2-screen {
    position: relative;
    background: var(--red);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 640px;
}

.phone2-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: 26px;
    background: var(--black);
    border-radius: 14px;
    z-index: 3;
}

.phone2-logotop {
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 1.5px;
    color: var(--yellow);
    padding: 48px 16px 10px;
}

.phone2-card {
    position: relative;
    background: var(--white);
    margin: 2px 12px 14px;
    padding: 20px 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mock-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mock-card-id {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-avatar {
    width: 28px;
    height: 28px;
    background-color: var(--gray-warm);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
    background-size: 3px 3px;
    box-shadow: 2px 2px 0 var(--red-deep);
}

.mock-handle {
    font-weight: 700;
    font-size: 13px;
}

.mock-body {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.78);
    margin-bottom: 12px;
}

.mock-story {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mock-story.size-xl {
    justify-content: center;
    padding-bottom: 40px;
}

.mock-story.size-xl .mock-body {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
}

.mock-story.size-lg .mock-body {
    font-size: 17px;
    line-height: 1.5;
}

.mock-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 11px;
    color: rgba(0, 0, 0, 0.4);
}

.phone-nav {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 0 10px;
}

.phone-tab span {
    font-family: var(--font-display);
    font-size: 8px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
}

.phone-tab.active span {
    color: var(--yellow);
}

.closer {
    position: relative;
    text-align: center;
    background: var(--gray-newsprint);
    padding: 110px 24px 92px;
}

.closer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.025) 3px, rgba(0, 0, 0, 0.025) 4px);
    pointer-events: none;
}

.closer > * {
    position: relative;
}

.closer-peek {
    position: absolute;
    top: -50px;
    left: calc(50% - 75px);
    --rot: 2deg;
    transform: rotate(2deg);
    width: 150px;
    height: auto;
    filter: grayscale(1) contrast(1.1);
    z-index: 2;
}

body.anim .closer-peek {
    opacity: 0;
}

.hero3-stage,
.hero3-copy {
    will-change: transform;
}

.closer-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 7vw, 68px);
    letter-spacing: 3px;
    color: var(--black);
    margin-bottom: 30px;
    font-weight: 400;
}

/* ── Share / post page ── */

.site-header-slim {
    padding: 14px 20px;
}

.share-main {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 20px 70px;
}

.post-card {
    position: relative;
    background-color: var(--white);
    padding: 26px 22px 20px;
    box-shadow: 3px 3px 0 var(--red-deep);
    container-type: inline-size;
}

/* A background is a tall picture that always spans the card's width and keeps one
   edge; the card reserves the picture's art zone (a fraction of its width) on that
   edge so text never meets the art. Geometry: models/backgrounds/README.md. */
.has-art,
.slide-art {
    background-color: var(--paper);
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.has-art.anchor-bottom,
.slide-art.anchor-bottom {
    background-position: center bottom;
    padding-bottom: calc(var(--art-zone) * 100cqw);
}

.has-art.anchor-top,
.slide-art.anchor-top {
    background-position: center top;
    padding-top: calc(var(--art-zone) * 100cqw);
}

.has-art.anchor-top > .post-header {
    position: absolute;
    top: 26px;
    left: 22px;
    right: 22px;
}

.post-card.theme-dark {
    color: var(--white);
}

.theme-dark .bracket {
    border-color: var(--yellow);
}

/* The AI disclosure strip: one quiet caption line above the post, mirroring
   the app — sentence in Newsprint Gray, only "Learn more" in Warm White. */
.ai-disclosure {
    display: block;
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--gray-newsprint);
    text-decoration: none;
}

.ai-disclosure-more {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}

.post-wrap {
    position: relative;
}

.post-wrap .post-card {
    z-index: 1;
}

.share-peek {
    --rot: 4deg;
    --hx: -24px;
    --hy: 54px;
    width: 110px;
    top: -36px;
    inset-inline-end: 22px;
    z-index: 0;
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.post-id {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    background-color: var(--gray-warm);
    background-size: cover;
    background-position: center;
    box-shadow: 2px 2px 0 var(--red-deep);
    flex-shrink: 0;
}

.post-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.18) 1px, transparent 1px);
    background-size: 3px 3px;
}

.post-handle {
    font-weight: 700;
    font-size: 15px;
}

.post-slide + .post-slide {
    margin-top: 20px;
    padding-top: 20px;
}

.post-slide + .post-slide::before {
    content: '';
    display: block;
    width: 40px;
    height: 1.5px;
    background: var(--red);
    margin: 0 auto 20px;
}

.theme-dark .post-slide + .post-slide::before {
    background: var(--yellow);
}

.slide-art {
    padding: 18px 16px;
    margin-left: -6px;
    margin-right: -6px;
    color: var(--black);
    container-type: inline-size;
}

.slide-art.theme-dark {
    color: var(--white);
}

.post-text {
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.post-text.text-xl {
    font-size: 25px;
    line-height: 1.4;
    font-weight: 500;
    padding: 24px 0 32px;
}

.post-text.text-lg {
    font-size: 19px;
    line-height: 1.5;
    padding: 12px 0 18px;
}

.post-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.post-image:last-child {
    margin-bottom: 0;
}

.post-link {
    display: block;
    margin-top: 14px;
    background: var(--cream);
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    color: var(--black);
    text-decoration: none;
}

a.post-link:hover {
    border-color: var(--red);
    box-shadow: 2px 2px 0 var(--red-deep);
}

.post-link-image {
    display: block;
    width: 100%;
    max-height: 240px;
    object-fit: cover;
}

.post-link-body {
    padding: 12px 14px;
}

.post-link-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
}

.post-link-desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.55);
    margin-top: 4px;
}

.post-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-dark .post-foot {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.post-foot-count {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
}

.theme-dark .post-foot-count {
    color: rgba(255, 255, 255, 0.6);
}

.convo {
    margin-top: 32px;
}

.convo-card {
    background: var(--white);
    box-shadow: 3px 3px 0 var(--red-deep);
    margin-top: 10px;
}

.convo-row {
    padding: 13px 16px;
    font-size: 13px;
    line-height: 1.55;
}

.convo-row:nth-child(even) {
    background: var(--cream);
}

.convo-author {
    font-weight: 700;
    margin-inline-end: 6px;
}

.convo-text {
    color: rgba(0, 0, 0, 0.72);
}

.convo-more {
    display: block;
    padding: 14px 16px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    color: var(--red);
    text-decoration: none;
    border-top: 1.5px solid var(--red);
}

.convo-more:hover {
    background: var(--cream);
}

.comment-fake {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    box-shadow: 2px 2px 0 var(--red-deep);
    padding: 12px 14px;
    margin-top: 14px;
    cursor: pointer;
}

.comment-fake-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background-color: var(--gray-warm);
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1px, transparent 1px);
    background-size: 3px 3px;
    box-shadow: 2px 2px 0 var(--red-deep);
}

.comment-fake-field {
    flex: 1;
    min-height: 20px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    overflow: hidden;
    white-space: nowrap;
}

.comment-caret {
    display: inline-block;
    width: 1.5px;
    height: 14px;
    background: rgba(0, 0, 0, 0.5);
    margin-inline-start: 1px;
    vertical-align: -2px;
    animation: caret-blink 1.1s step-end infinite;
}

@keyframes caret-blink {
    50% { opacity: 0; }
}

.comment-fake-send {
    color: var(--gray-mid);
    flex-shrink: 0;
}

.cta-area-center {
    align-items: center;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 20;
}

.modal-card {
    position: relative;
    background: var(--white);
    box-shadow: 3px 3px 0 var(--red-deep);
    padding: 44px 36px 36px;
    width: min(380px, 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.modal-close {
    position: absolute;
    top: 10px;
    inset-inline-end: 12px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--black);
    cursor: pointer;
    padding: 4px 8px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 400;
}

.modal-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.modal-badges img {
    display: block;
    width: auto;
}

.modal-play img {
    margin: -12px 0;
}

.modal-or {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--red);
}

body.modal-open {
    overflow: hidden;
}

.share-cta {
    text-align: center;
    margin-top: 48px;
}

.share-cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 44px);
    letter-spacing: 2px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 10px;
    font-weight: 400;
}

.share-cta-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto 24px;
}

.share-cta-note {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 14px;
}

.more {
    margin-top: 48px;
    border-top: 1.5px solid var(--yellow);
    padding-top: 36px;
}

.more-title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 1.5px;
    color: var(--white);
    text-align: start;
    font-weight: 400;
    margin-bottom: 22px;
}

.section-headline-light {
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.section-headline-light::after {
    background: var(--yellow);
}

.more-grid {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.more-card {
    display: block;
    background: var(--white);
    padding: 20px 18px;
    box-shadow: 3px 3px 0 var(--red-deep);
    text-decoration: none;
    color: var(--black);
}

.more-handle {
    font-weight: 700;
    font-size: 13px;
}

.more-card p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.7);
    margin: 8px 0 12px;
}

.more-read {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--red);
}

.sticky-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-top: 1.5px solid var(--red);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 10;
}

.sticky-cta-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.75);
}

.sticky-cta .cta-android img {
    margin: -9px 0;
}

.site-footer-slim {
    background: transparent;
    padding: 20px 24px 32px;
}

.site-footer-slim .footer-links a {
    color: rgba(255, 255, 255, 0.55);
}

.lost {
    text-align: center;
    padding-top: 48px;
}

.lost-peek {
    position: relative;
    z-index: 2;
    width: 160px;
    height: auto;
    margin-bottom: -36px;
    transform: rotate(2deg);
    filter: grayscale(1) contrast(1.1);
}

.lost-card {
    position: relative;
    background: var(--white);
    padding: 48px 28px 36px;
    box-shadow: 3px 3px 0 var(--red-deep);
}

.lost-title {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 400;
}

.lost-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    max-width: 340px;
    margin: 0 auto;
}

.lost-card p:last-of-type {
    margin-bottom: 24px;
}

/* ── Sign-in page ── */

.signin-wrap {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 28px;
}

.signin-wordmark {
    font-size: 34px;
}

.signin-card {
    position: relative;
    background: var(--white);
    box-shadow: 3px 3px 0 var(--red-deep);
    padding: 40px 36px 34px;
    width: min(400px, 100%);
    text-align: center;
}

.signin-title {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 2px;
    font-weight: 400;
}

.signin-sub {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
    margin: 6px 0 26px;
}

.signin-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 250px;
    height: 48px;
    border-radius: 6px;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 2px 2px 0 var(--red-deep);
}

.auth-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--red-deep);
}

.apple-signin-btn {
    background: #000000;
    color: #FFFFFF;
}

.google-signin-btn {
    background: #FFFFFF;
    color: #3C4043;
    border: 1px solid #DADCE0;
}

.signin-msg {
    margin-top: 18px;
    font-size: 13px;
    color: var(--red);
}

/* ── Legal pages (Terms, Privacy) ── */

.page-legal {
    background-color: var(--red);
    min-height: 100vh;
}

.legal-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.legal-logo {
    display: block;
    text-align: center;
    margin-bottom: 32px;
}

.legal-logo img {
    max-width: 140px;
    height: auto;
}

.legal-card {
    background: var(--white);
    padding: 32px 28px;
    box-shadow: 3px 3px 0 var(--red-deep);
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.legal-card .meta {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-mid);
    margin-bottom: 28px;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 12px;
}

.legal-card a:not(.tape-btn) {
    color: var(--red);
    font-weight: 600;
}

.legal-steps {
    margin: 16px 0 20px;
    /* The global reset zeroes the browser's list padding, so this is what makes
       room for the outside markers — it has to follow the reading direction or
       the numerals overflow the card. */
    padding-inline-start: 24px;
}

.legal-steps li {
    font-size: 14px;
    line-height: 2;
    color: var(--black);
}

.legal-actions {
    text-align: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-newsprint);
}

/* ── Responsive ── */

@media (max-width: 880px) {
    .hero3 {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: 0;
        gap: 44px;
        padding: 84px 20px 60px;
    }

    .hero3-copy {
        margin-top: 0;
    }

    .cta-area {
        align-items: center;
    }

    .hero3-stage {
        padding: 30px 0 40px;
        text-align: start;
    }

    .pc-paparazzi {
        width: 140px;
        inset-inline-start: -46px;
        bottom: -6px;
    }

    .pc-newsgirl {
        width: 100px;
        inset-inline-end: -18px;
        top: -10px;
    }

    .pc-detective {
        width: 120px;
        inset-inline-end: -46px;
    }

    .pc-war {
        width: 95px;
        inset-inline-start: -34px;
    }
}

@media (max-width: 719px) {
    .sticky-cta {
        display: flex;
    }

    .share-main {
        padding-bottom: 110px;
    }

    .site-footer-slim {
        padding-bottom: 100px;
    }

    .phone2 {
        width: 290px;
    }

    .phone2-screen {
        height: 580px;
    }
}

/* ---------------------------------------------------------------- consent banner */
.consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0 var(--red-deep);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    transform: rotate(-0.3deg);
}

.consent-banner[hidden] {
    display: none;
}

.consent-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--black);
    margin: 0;
    flex: 1 1 260px;
    line-height: 1.4;
}

.consent-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.consent-accept,
.consent-decline {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    padding: 10px 18px;
    border: 2px solid var(--black);
    cursor: pointer;
    background: var(--yellow);
    color: var(--black);
    box-shadow: 2px 2px 0 var(--red-deep);
}

.consent-decline {
    background: transparent;
    border-color: var(--red);
    color: var(--red);
    box-shadow: none;
}

/* ── Connected scripts: no tracking ──────────────────────────────────────────
   letter-spacing is applied after shaping, so on Arabic (init/medi/fina) and
   Devanagari (the shirorekha headline) it pulls joined letterforms apart and
   reads as a broken renderer. Hebrew is non-joining and keeps the brand
   tracking. Mirrors the single enforcement point in the app's RCText. */
:lang(ar),
:lang(ar) *,
:lang(hi),
:lang(hi) * {
    letter-spacing: normal;
}

/* The tagline's 0.274 width ratio is calibrated so ONE English string closes
   flush against the masthead. No translation holds that relationship — German
   and Portuguese run longer than English, not just the non-Latin scripts — so
   every locale but the one it was measured on is allowed to wrap rather than
   overflow the mark. text-transform is additionally inert in unicameral
   scripts, where the caps treatment silently does nothing. */
html:not([lang="en"]) .tagline {
    white-space: normal;
}

:lang(he) .tagline,
:lang(ar) .tagline,
:lang(hi) .tagline,
:lang(ja) .tagline,
:lang(ko) .tagline {
    text-transform: none;
}

/* The pop-in slide is a physical translate, so it has to be mirrored explicitly
   or the characters fly in from the side they should be leaving toward. Their
   anchors are logical (inset-inline-*), so the whole composition mirrors. */
[dir="rtl"] .popchar {
    transform: translate(calc(-1 * var(--hx)), var(--hy)) rotate(var(--rot, 0deg));
}

/* The trailing arrow is drawn, not written: U+2192 is not bidi-mirrored, so a
   translator who keeps it in the string ships an arrow pointing away from the
   reading direction. Rendering it here mirrors it for every locale at once. */
.arrow-end::after {
    content: ' \2192';
}

[dir="rtl"] .arrow-end::after {
    content: ' \2190';
}
