/* /start — Elif's example story (5 comic art pages, real text on them).
   Loaded after start.css (fonts, footer, inline consent) and link-in-bio.css
   (claim box, sticky claim bar). Mobile first; the page is one 440px column.

   The art is textless: every text sits in an empty box of the art. Slot
   positions are % of the art (inline styles in the blade, measured on the
   art, including each box's tilt); font sizes are cqw of the art width so
   the layout scales with the picture. start-story.js shrinks a slot's font
   when a language needs more room. The art is never mirrored: in Arabic the
   corner tags and lists stay on the art's left side. */

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-ExtraBoldItalic-latin.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: 'Barlow Semi Condensed';
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-ExtraBoldItalic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-Bold-latin.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: 'Barlow Semi Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-Bold-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Barlow Semi Condensed';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-BoldItalic-latin.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: 'Barlow Semi Condensed';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/web/assets/fonts/barlow-semi-condensed/BarlowSemiCondensed-BoldItalic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- page ---------------------------------------------------------------- */
.sts { --sts-ink: #0B1533; --sts-muted: #5B6478; --sts-green: #228412; --sts-green-d: #1A6A0D; --sts-line: #E9E2D8; --sts-bg: #FBF7F2;
       --sts-comic: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
       background: var(--sts-bg); color: var(--sts-ink); }
.sts-col { max-width: 440px; margin: 0 auto; }
.sts-sample { display: inline-block; margin: 0 16px 8px; padding: 5px 10px; border: 1px dashed #C9BFB2; border-radius: 999px;
              font-size: 11px; font-weight: 700; letter-spacing: .06em; line-height: 1; text-transform: uppercase; color: var(--sts-muted); }

/* Buttons: the story's green, also on the /linkinbio claim pieces */
.sts .lib-cta, .sts-go { background: var(--sts-green); box-shadow: 0 4px 0 var(--sts-green-d); }
.sts-go { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 20px; border-radius: 14px;
          color: #fff; font-size: 17px; font-weight: 800; text-decoration: none; text-align: center; }
.sts-go:hover, .sts-go:focus, .sts-go:visited { color: #fff; }
.sts-go::after { content: "\2192"; margin-inline-start: .45em; }
[dir="rtl"] .sts-go::after { content: "\2190"; }
.sts .lib-cta:active, .sts-go:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sts-green-d); }
.sts .lib-cta:focus-visible, .sts-go:focus-visible, .sts-art .sl-cta:focus-visible { outline: 3px solid var(--sts-ink); outline-offset: 3px; }

/* Claim card over the bottom of the hero art */
.sts-claim { position: relative; margin: calc(-.13 * min(100vw, 440px)) 16px 22px; padding: 4px 16px 16px; border: 1px solid var(--sts-line);
             border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(11, 21, 51, .08); }
.sts-claim .lib-claim { margin-top: 12px; }
.sts-micro { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--sts-muted); }

/* Between chapters */
.sts-next { padding: 14px 16px 26px; text-align: center; }
.sts-alt { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--sts-ink);
           text-decoration: underline; text-decoration-color: #C9BFB2; text-underline-offset: 3px; }

/* FAQ */
.sts-faq { padding: 8px 16px; }
.sts-faq h2 { margin: 8px 0 12px; font: italic 800 28px/1.1 var(--sts-comic); }
[dir="rtl"] .sts-faq h2 { font: 700 26px/1.2 'Tajawal', sans-serif; }
.sts-faq details { margin-bottom: 8px; border: 1px solid var(--sts-line); border-radius: 14px; background: #fff; }
.sts-faq summary { position: relative; padding: 14px 44px 14px 16px; list-style: none; cursor: pointer; font-weight: 700; }
[dir="rtl"] .sts-faq summary { padding: 14px 16px 14px 44px; }
.sts-faq summary::-webkit-details-marker { display: none; }
.sts-faq summary::after { content: "+"; position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--sts-muted); }
.sts-faq details[open] summary::after { content: "\2212"; }
.sts-faq p { margin: 0; padding: 0 16px 14px; color: #2B3550; }

/* The sticky claim bar keeps the page's last lines readable */
@media (max-width: 759px) { .sts + .ad-landing-footer { padding-bottom: 88px; } }

/* ---- art pages ----------------------------------------------------------- */
.sts-art { position: relative; container-type: inline-size; }
.sts-art img { display: block; width: 100%; height: auto; }
.sts-art .s { box-sizing: border-box; position: absolute; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0;
              text-align: center; text-decoration: none; color: var(--sts-ink);
              font-family: var(--sts-comic); font-style: italic; font-weight: 800; line-height: 1.02; }
[dir="rtl"] .sts-art .s { font-family: 'Tajawal', sans-serif; font-style: normal; font-weight: 700; line-height: 1.2; }
/* one-line slots: start-story.js shrinks them instead of wrapping */
.sts-art .sl-badge, .sts-art .sl-title, .sts-art .sl-cap, .sts-art .sl-band, .sts-art .sl-lab, .sts-art .sl-btn, .sts-art .sl-chip, .sts-art .sl-notif,
.sts-art .sl-llc, .sts-art .sl-pro, .sts-art .sl-pill, .sts-art .sl-feat, .sts-art .sl-fee b, .sts-art .sl-ex, .sts-art .sl-visa, .sts-art .sl-foot,
.sts-art .sl-bub.sl-big, .sts-art .sl-kick, .sts-art .sl-cta, .sts-art .sl-domain { white-space: nowrap; }
/* tags and lists keep the art's (left) side in Arabic too */
.sts-art .sl-cap { justify-content: flex-start; padding: 0 4cqw 0 2.4cqw; font-size: 3.6cqw; letter-spacing: .03em; }
[dir="rtl"] .sts-art .sl-cap, [dir="rtl"] .sts-art .sl-notif, [dir="rtl"] .sts-art .sl-feat { direction: ltr; }
[dir="rtl"] .sts-art .sl-cap > span, [dir="rtl"] .sts-art .sl-notif > span, [dir="rtl"] .sts-art .sl-feat > span { direction: rtl; unicode-bidi: isolate; }
.sts-art .sl-badge { color: #fff; font-size: 5.4cqw; font-style: normal; letter-spacing: .06em; }
.sts-art .sl-title { font-size: 8.8cqw; letter-spacing: -.01em; }
.sts-art .sl-bub { padding: 0 2cqw; font-size: 3.7cqw; }
.sts-art .sl-band { padding: 0 6cqw; font-size: 5cqw; }

/* page 1 — hero */
.sts-p1 .p1-h, .sts-p1 .p1-c1, .sts-p1 .p1-c2, .sts-p1 .p1-band { position: absolute; margin: 0; color: var(--sts-ink); font-family: var(--sts-comic); font-style: italic; }
.sts-p1 .p1-h { left: 6%; right: 12%; bottom: 80.5%; font-size: 10.6cqw; font-weight: 800; line-height: .98; letter-spacing: -.01em; }
.sts-p1 .p1-h span { color: #2E7D32; }
[lang="en"] .sts-p1 .p1-h { font-size: 9.6cqw; }
[lang="es"] .sts-p1 .p1-h { right: 14%; font-size: 8.2cqw; }
/* both cards and the band rise to the right (angles measured on the art) */
.sts-p1 .p1-c1, .sts-p1 .p1-c2 { display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-size: 3.85cqw; font-weight: 700; }
.sts-p1 .p1-c1 { left: 64.5%; right: 5.5%; top: 32.3%; height: 6.9%; transform: rotate(-2.7deg); }
.sts-p1 .p1-c2 { left: 56.3%; right: 10.5%; top: 39.8%; height: 6.7%; transform: rotate(-3.2deg); }
.sts-p1 .p1-band { left: 11%; right: 12%; top: 79.3%; height: 8%; display: flex; align-items: center; justify-content: center;
                   transform: rotate(-3.1deg); font-size: 7.4cqw; font-weight: 800; }
[dir="rtl"] .sts-p1 .p1-h, [dir="rtl"] .sts-p1 .p1-c1, [dir="rtl"] .sts-p1 .p1-c2, [dir="rtl"] .sts-p1 .p1-band { font-family: 'Tajawal', sans-serif; font-style: normal; font-weight: 700; }
[dir="rtl"] .sts-p1 .p1-h { right: 17%; white-space: nowrap; font-size: 8.8cqw; line-height: 1.15; text-align: right; }   /* two lines, clear of the art's burst lines */
[dir="rtl"] .sts-p1 .p1-c1 { font-size: 3.9cqw; }
[dir="rtl"] .sts-p1 .p1-c2 { font-size: 3.4cqw; }

/* page 2 — chapter 1; the two phones are tilted (+7.9° / -7.2°) */
.sts-p2 .sl-badge { border-radius: 1.2cqw; background: #2E7D32; }
.sts-p2 .sl-tilt-a { transform: rotate(7.9deg); }
.sts-p2 .sl-tilt-b { transform: rotate(-7.2deg); }
.sts-p2 .sl-url { display: block; direction: ltr; unicode-bidi: isolate; font-size: 2.45cqw; font-style: normal; font-weight: 700; line-height: 1.15; color: #1D4ED8; }
.sts-p2 .sl-url b { display: block; font-size: 2.85cqw; }
.sts-p2 .sl-small { justify-content: flex-start; text-align: start; font-size: 2.5cqw; font-style: normal; font-weight: 700; line-height: 1.1; }
[dir="rtl"] .sts-p2 .sl-small { justify-content: flex-end; text-align: left; }
.sts-p2 .sl-chip { color: #fff; font-size: 3.2cqw; font-style: normal; }
.sts-p2 .sl-btn { color: #fff; font-size: 3.5cqw; }
.sts-p2 .sl-lab { padding: 0 2.2cqw; font-size: 3.9cqw; }
.sts-p2 .sl-price { flex-direction: column; padding: 0 1cqw; font-size: 5.6cqw; font-style: normal; }
.sts-p2 .sl-price small { margin-top: .4cqw; white-space: nowrap; font-size: 2.6cqw; font-weight: 700; }
.sts-p2 .sl-price.sl-hi { color: #2E7D32; }
.sts-p2 .sl-notif { justify-content: flex-start; padding-left: 6.5cqw; font-size: 3.6cqw; }
.sts-p2 .sl-bub.sl-big { font-size: 6.2cqw; }
.sts-p2 .sl-band { transform: rotate(-1deg); }

/* page 3 — chapter 2 */
.sts-p3 .sl-llc { padding: 0 2cqw; font-size: 3.3cqw; font-style: normal; font-weight: 700; }
.sts-p3 .sl-llc.sl-name { font-size: 3.9cqw; }
.sts-p3 .sl-pro { color: #fff; font-size: 3.3cqw; font-style: normal; font-weight: 700; }
.sts-p3 .sl-pill { padding: 0 3cqw; font-size: 5.2cqw; }
.sts-p3 .sl-stamp { font-size: 3.9cqw; line-height: 1; color: #B3261E; }
[dir="rtl"] .sts-p3 .sl-stamp { line-height: 1.3; }
.sts-p3 .sl-fee { flex-direction: column; font-style: normal; color: #3C4A5E; }
.sts-p3 .sl-fee span { font-size: 4cqw; font-weight: 700; }
.sts-p3 .sl-fee b { font-size: 9cqw; font-weight: 800; line-height: 1.05; }
.sts-p3 .sl-fee.sl-own { color: #1D5BD8; }
.sts-p3 .sl-feat { justify-content: flex-start; font-size: 4.4cqw; font-style: normal; font-weight: 700; }
.sts-p3 .sl-band { padding: 0 6cqw; font-size: 5.2cqw; transform: rotate(-.5deg); }

/* page 4 — chapter 3 */
.sts-p4 .sl-title { font-size: 9.4cqw; }
.sts-p4 .sl-cap { font-size: 3.9cqw; }
[dir="rtl"] .sts-p4 .sl-cap { padding: 0 2cqw 0 1.6cqw; }
.sts-p4 .sl-ex { font-size: 6.6cqw; font-style: normal; letter-spacing: .02em; }
.sts-p4 .sl-visa { padding: 0 2cqw; font-size: 3.6cqw; font-style: normal; font-weight: 700; }
.sts-p4 .sl-bub { padding: 0 1cqw; font-size: 4.6cqw; }
.sts-p4 .sl-bub.sl-big { font-size: 5.2cqw; }
.sts-p4 .sl-band { font-size: 6.2cqw; }
/* the footnote sits on the art's placeholder rule and hides it */
.sts-p4 .sl-foot { padding: 0 1cqw; background: #FEF7F2; font-size: 3.4cqw; font-style: normal; font-weight: 700; color: var(--sts-muted); }

/* page 5 — your turn; the art's green button is the real link */
.sts-p5 .sl-kick { padding: 0 4cqw; font-size: 10.4cqw; }
.sts-p5 .sl-title { font-size: 17cqw; letter-spacing: -.02em; }
.sts-p5 .sl-cta { padding: 0 15cqw 0 4cqw; border-radius: 6cqw; color: #fff; font-size: 7.2cqw; }
.sts-p5 .sl-cta > span { position: relative; z-index: 1; }
/* Arabic: cover the art's right arrow, point the other way */
[dir="rtl"] .sts-p5 .sl-cta { padding: 0 6cqw 0 15cqw; line-height: 1.25; }
[dir="rtl"] .sts-p5 .sl-cta::before { content: ""; position: absolute; left: 84.5%; top: 20%; width: 11%; height: 60%; background: #228412; }
[dir="rtl"] .sts-p5 .sl-cta::after { content: "\2190"; position: absolute; left: 6%; font: 400 8cqw/1 -apple-system, sans-serif; }
.sts-p5 .sl-domain { direction: ltr; font-size: 8.6cqw; font-style: normal; letter-spacing: -.01em; }
