/* Hebrew course landing page: hero device render, feature scenes, FAQ panel.
   Loaded only by resources/views/public/courses/hebrew-en.blade.php. */

/* ---------------------------------------------------------------- hero --- */

.so-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(24px, 3.4vw, 48px) 0 clamp(16px, 2vw, 28px);
}
.public-site .so-hero h1 {
    margin: 0;
    font-size: clamp(38px, 4.1vw, 58px);
    line-height: 1.07;
    letter-spacing: -1.6px;
    text-wrap: balance;
}
.public-site .so-hero__lead {
    margin: 20px 0 0;
    max-width: 34ch;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.55;
}
.so-hero .pub-section-cta {
    justify-content: flex-start;
    margin-top: clamp(24px, 2.6vw, 34px);
}

.so-hero__stage {
    position: relative;
    padding-block: 2%;
    padding-inline-end: 3%;
}
.public-site .so-hero__laptop {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 44px rgba(26, 32, 23, 0.17));
}
.public-site .so-hero__phone {
    position: absolute;
    inset-inline-end: 0;
    bottom: -6%;
    width: 23%;
    height: auto;
    filter: drop-shadow(0 20px 28px rgba(26, 32, 23, 0.24));
}

/* The featured story picker needs room to breathe under the hero. */
.so-hero + .pub-free-widget {
    margin-top: clamp(44px, 6vw, 92px);
}

@media (max-width: 900px) {
    .so-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: clamp(20px, 5vw, 36px);
        padding-top: 8px;
        min-height: calc(100svh - 190px);
        align-content: center;
    }
    .so-hero__copy {
        order: 2;
    }
    .so-hero__stage {
        order: 1;
        width: min(58vw, 250px);
        padding: 0;
    }
    .public-site .so-hero__laptop {
        display: none;
    }
    .public-site .so-hero__phone {
        position: static;
        width: 100%;
    }
    .public-site .so-hero__lead {
        margin-inline: auto;
        max-width: 32ch;
    }
    .so-hero .pub-section-cta {
        justify-content: center;
    }
}

/* ------------------------------------------------------------ features --- */

.so-why {
    margin-top: clamp(52px, 7vw, 104px);
    --tile-yellow: #e8be66;
    --tile-blue: #9dc0dd;
    --tile-salmon: #e99e77;
    --tile-green: #a8d196;
    --fx-ink: #20251f;
    --fx-olive: #8cb65a;
    --fx-fem: #f278a0;
    --fx-masc: #4c9ae8;
    --fx-he: "Rubik", sans-serif;
}
.public-site .so-why > h2 {
    margin: 0 auto clamp(26px, 3.2vw, 40px);
    max-width: 18ch;
    text-align: center;
    font-size: clamp(29px, 3.3vw, 44px);
}

/* Two rows of five small squares under the one heading. */
.so-why__grid {
    display: grid;
    gap: clamp(24px, 2.6vw, 34px) clamp(12px, 1.6vw, 20px);
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 5 once the iOS app's offline card returns */
}
.so-why .pub-section-cta {
    margin-top: clamp(32px, 4vw, 52px);
}
.so-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.public-site .so-card h3 {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(15.5px, 1.35vw, 17.5px);
    line-height: 1.3;
    letter-spacing: -0.1px;
    color: var(--text);
}
.public-site .so-card > p {
    margin: 0;
    max-width: 30ch;
    font-size: 14px;
    line-height: 1.4;
    color: #7d8279;
    transition: color 0.35s ease;
}
.public-site .so-card.is-playing > p {
    color: #2b3029;
}

/* --- the tile: slightly muted until it is hovered or tapped, then full colour --- */
.so-card--yellow { --tile: var(--tile-yellow); }
.so-card--blue { --tile: var(--tile-blue); }
.so-card--salmon { --tile: var(--tile-salmon); }
.so-card--green { --tile: var(--tile-green); }
.so-card__store { display: none; }

.public-site .so-card__stage {
    position: relative;
    display: block;
    flex: none;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 clamp(11px, 1.1vw, 16px);
    padding: 0;
    border: 0;
    border-radius: clamp(12px, 1.2vw, 18px);
    overflow: hidden;
    background: var(--tile);
    color: var(--fx-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-sans);
    filter: saturate(0.5);
    transition: filter 0.2s ease;
}
.public-site .so-card.is-playing .so-card__stage {
    filter: none;
}
@media (hover: hover) and (pointer: fine) {
    .public-site .so-card:hover .so-card__stage { filter: none; }
    .public-site .so-card:hover > p { color: #2b3029; }
}
.so-card__space {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    container-type: size;
    text-align: center;
    line-height: 1.3;
}

/* --- paint. Each tile sits on a watercolour made with p5.brush and exported as an
   image (resources/art/feature-tiles); the scene's live parts are laid over it. --- */
.public-site .so-card__paint {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Each tile shows one thing. The switches, legends, captions and grade buttons
   that the scenes also carry are left out here to keep the grid quiet. */
.so-why .fx-read .fx-row,
.so-why .fx-legend,
.so-why .fx-gloss,
.so-why .fx-flash__grades,
.so-why .fx-sky .fx-chip { display: none; }

/* --- shared parts. 1cqmin is 1% of the tile, so scenes scale with it. --- */
.fx {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5cqmin;
}
.fx-paper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.4cqmin;
    max-width: 88cqmin;
    padding: 6cqmin 5.5cqmin;
    border-radius: 5.5cqmin;
    background: #fff;
    box-shadow: 0 0.7cqmin 0 rgb(32 37 31 / 0.1), 0 5cqmin 9cqmin -3cqmin rgb(32 37 31 / 0.32);
}
.fx-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8cqmin 1.5cqmin;
}
.fx-tok {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5cqmin 2cqmin 1.1cqmin;
    border-radius: 2.3cqmin;
    background: #f2f2f2;
    color: var(--fx-ink);
    font-family: var(--fx-he);
    box-shadow: 0 0 0 0.65cqmin rgb(32 37 31 / var(--ring, 0));
}
.fx-tok.is-picked { --ring: 1; }
.fx-tok__rom {
    display: block;
    font-size: 4.1cqmin;
    line-height: 1.3;
}
.fx-tok__word {
    display: block;
    font-size: 8.6cqmin;
    line-height: 1.36;
    white-space: nowrap;
}
.fx-tok[data-g]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0.95cqmin;
    border-radius: 0 0 2.3cqmin 2.3cqmin;
    background: var(--fx-masc);
    transform: scaleX(var(--u, 1));
    transform-origin: right center;
}
.fx-tok[data-g="f"]::after { background: var(--fx-fem); }
.fx-gloss {
    display: block;
    font-size: 4.9cqmin;
    line-height: 1.35;
    color: var(--fx-ink);
}
.fx-big {
    font-family: var(--fx-he);
    font-size: 21cqmin;
    line-height: 1.45;
    white-space: nowrap;
}
/* Two faces of the same text in one box; the scene fades between them. */
.fx-swap { display: inline-grid; }
.fx-swap > * { grid-area: 1 / 1; }
.fx-swap > [data-off] { opacity: 0; }
.fx-hand { font-family: "Playpen Sans Hebrew", var(--fx-he); }

/* The reader's settings row and its switch, shown switched on. */
.fx-row {
    display: inline-flex;
    align-items: center;
    gap: 3.4cqmin;
    padding: 2.6cqmin 3cqmin 2.6cqmin 4.6cqmin;
    border-radius: 4.4cqmin;
    background: #fff;
    box-shadow: 0 3cqmin 6cqmin -2cqmin rgb(32 37 31 / 0.3);
    font-size: 5cqmin;
    font-weight: 700;
    white-space: nowrap;
}
.fx-row__icon { display: block; width: 5.6cqmin; height: 5.6cqmin; }
.fx-row__icon svg { display: block; width: 100%; height: 100%; }
.fx-toggle {
    position: relative;
    flex: none;
    width: 10.6cqmin;
    height: 6.2cqmin;
    border-radius: 99cqmin;
    background: #303b32;
}
.fx-toggle i {
    position: absolute;
    top: 0.8cqmin;
    right: 0.8cqmin;
    width: 4.6cqmin;
    height: 4.6cqmin;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0.3cqmin 0.8cqmin rgb(0 0 0 / 0.3);
}
.fx-legend { display: flex; gap: 2cqmin; }
.fx-chip {
    display: inline-flex;
    align-items: center;
    gap: 1.7cqmin;
    padding: 1.5cqmin 3.4cqmin;
    border-radius: 99cqmin;
    background: #fff;
    box-shadow: 0 2.4cqmin 5cqmin -1.6cqmin rgb(32 37 31 / 0.3);
    font-size: 4.4cqmin;
    font-weight: 700;
    white-space: nowrap;
}
.fx-chip i { width: 4.4cqmin; height: 1.1cqmin; border-radius: 1cqmin; }
.fx-chip i.is-f { background: var(--fx-fem); }
.fx-chip i.is-m { background: var(--fx-masc); }
.fx-chip b {
    display: grid;
    place-items: center;
    width: 5.2cqmin;
    height: 5.2cqmin;
    margin-inline-start: -1.4cqmin;
    border-radius: 50%;
    background: var(--fx-ink);
    color: #fff;
}
.fx-chip b svg { width: 70%; height: 70%; }

/* --- 1,200 stories: bare covers drifting over the painting, off every edge --- */
.fx-wall { display: block; }
.fx-wall__sheet {
    position: absolute;
    inset: -30%;
    display: flex;
    justify-content: center;
    gap: 5cqmin;
    rotate: -8deg;
}
.fx-wall__col { flex: none; width: 27cqmin; }
.fx-wall__col:nth-child(2) { margin-top: -19cqmin; }
.fx-wall__col:nth-child(3) { margin-top: -7cqmin; }
.fx-wall__col:nth-child(4) { margin-top: -28cqmin; }
.fx-wall__col:nth-child(5) { margin-top: -12cqmin; }
.fx-wall__track { display: block; will-change: transform; }
.fx-wall__col[data-col="down"] .fx-wall__track { transform: translateY(-50%); }
.public-site .fx-story {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 5cqmin;
    object-fit: cover;
    border-radius: 3.6cqmin;
    box-shadow: 0 3cqmin 6cqmin -2.4cqmin rgb(30 50 24 / 0.5);
}

/* --- guided path: three stops on the painted road --- */
.fx-path { display: block; }
.fx-path > * { position: absolute; }
.fx-node {
    display: grid;
    place-items: center;
    width: var(--s);
    height: var(--s);
    margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
    border-radius: 50%;
    background: #fff;
    color: #fff;
    box-shadow: 0 calc(var(--s) * 0.14) calc(var(--s) * 0.3) calc(var(--s) * -0.08) rgb(40 52 24 / 0.5);
}
.fx-node__check { display: block; width: 52%; height: 52%; opacity: 0; }
.fx-node__check svg { display: block; width: 100%; height: 100%; }
.fx-node--done { background: var(--fx-ink); }
.fx-node--done .fx-node__check { opacity: 1; }
.fx-node--later { opacity: 0.8; }
.public-site .fx-path__olive {
    left: 50%;
    top: 43%;
    width: 15cqmin;
    height: auto;
    translate: -50% -50%;
    filter: drop-shadow(0 1.4cqmin 1.2cqmin rgb(40 52 24 / 0.35));
}

/* --- tap for the meaning --- */
.fx-read--meaning .fx-paper { rotate: -2deg; margin-top: 8cqmin; }
.fx-pill {
    position: absolute;
    bottom: calc(100% + 2.4cqmin);
    left: 50%;
    z-index: 2;
    translate: -50% 0;
    padding: 1.5cqmin 4.2cqmin;
    border-radius: 99cqmin;
    background: #fff;
    box-shadow: 0 0.7cqmin 3.6cqmin rgb(0 0 0 / 0.22);
    font-family: var(--font-sans);
    font-size: 5.6cqmin;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    transform-origin: 50% 100%;
}
.fx-tok.is-picked .fx-pill { opacity: 1; }
.fx-tap {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 11cqmin;
    height: 11cqmin;
    margin: -5.5cqmin 0 0 -5.5cqmin;
    border-radius: 50%;
    background: rgb(32 37 31 / 0.3);
    opacity: 0;
}

/* --- native audio --- */
.fx-read--audio { justify-content: flex-start; padding-top: 11cqmin; }
.fx-read--audio .fx-paper { rotate: 1.5deg; padding: 5cqmin; }
.fx-wave {
    position: absolute;
    left: -3%;
    right: -3%;
    bottom: 10cqmin;
    height: 27cqmin;
    display: flex;
    align-items: center;
    gap: 1.3cqmin;
}
.fx-wave i {
    flex: 1;
    height: var(--h);
    border-radius: 2cqmin;
    background: #fff;
    opacity: 0.6;
    transform: scaleY(0.16);
}
.fx-play {
    position: absolute;
    left: 50%;
    bottom: 14.5cqmin;
    display: grid;
    place-items: center;
    width: 18cqmin;
    height: 18cqmin;
    margin-left: -9cqmin;
    border: 1.3cqmin solid var(--tile);
    border-radius: 50%;
    background: var(--fx-ink);
    color: #fff;
    box-sizing: border-box;
}
.fx-play > span { grid-area: 1 / 1; display: block; width: 8cqmin; height: 8cqmin; }
.fx-play svg { display: block; width: 100%; height: 100%; }
.fx-play [data-icon-pause] { opacity: 0; }

/* --- the three reader switches --- */
.fx-read--nikkud .fx-paper { rotate: -2deg; padding: 3cqmin 9cqmin 5cqmin; }
.fx-read--roman .fx-paper { rotate: 1.5deg; padding: 4cqmin 8cqmin 4cqmin; }
.fx-roman { display: flex; flex-direction: column; align-items: center; }
.fx-roman__lat { display: flex; font-family: var(--fx-he); font-size: 8.4cqmin; line-height: 1.3; letter-spacing: 0.12em; color: #6d7269; }
.fx-roman__lat i { display: block; font-style: normal; }
.fx-roman .fx-big { font-size: 20cqmin; line-height: 1.25; }

/* --- read your way: one word, four ways, and the setting's name --- */
.fx-read--way { gap: 5cqmin; }
.fx-read--way .fx-paper { rotate: -2deg; padding: 3cqmin 9cqmin 4cqmin; }
.fx-way { display: inline-grid; justify-items: center; align-items: center; }
.fx-way__word { grid-area: 1 / 1; opacity: 0; }
.fx-way__word.is-on { opacity: 1; }
.fx-way__lat { font-family: var(--font-sans); font-size: 0.72em; font-weight: 600; letter-spacing: 0.02em; }
.fx-way__label {
    display: inline-grid;
    justify-items: center;
    padding: 2cqmin 4.6cqmin;
    border-radius: 99cqmin;
    background: #fff;
    box-shadow: 0 3cqmin 6cqmin -2cqmin rgb(32 37 31 / 0.3);
    font-size: 4.8cqmin;
    font-weight: 700;
    white-space: nowrap;
}
.fx-way__label > * { grid-area: 1 / 1; opacity: 0; }
.fx-way__label > .is-on { opacity: 1; }

.fx-read--hand .fx-paper { rotate: -3deg; padding: 5cqmin 6cqmin 6cqmin; gap: 0; }
.fx-read--hand .fx-big { font-size: 13.5cqmin; }

/* --- gender: the reader's own coloured underlines --- */
.fx-read--gender .fx-paper { rotate: 1.5deg; gap: 2.6cqmin; }
.fx-read--gender .fx-tok__word { font-size: 10cqmin; }
.fx-read--language .fx-paper { rotate: -1.5deg; }

/* --- words save themselves: into the jar --- */
.fx-lemma { display: block; }
.fx-lemma > * { position: absolute; }
.fx-lemma__form {
    left: 27%;
    top: 13%;
    translate: -50% -50%;
    rotate: -6deg;
    background: #fff;
    box-shadow: 0 2.4cqmin 5cqmin -1.6cqmin rgb(70 30 16 / 0.45);
}
.fx-lemma__form + .fx-lemma__form { left: 73%; top: 17%; rotate: 5deg; }
.fx-lemma__form .fx-tok__word { font-size: 7.6cqmin; line-height: 1.6; }
.fx-jar {
    left: 50%;
    top: 31%;
    width: 52cqmin;
    height: 60cqmin;
    margin-left: -26cqmin;
    transform-origin: 50% 100%;
}
.public-site .fx-jar__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.fx-jar__label {
    position: absolute;
    left: 15%;
    right: 15%;
    top: 34%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6cqmin 1cqmin 2.4cqmin;
    border-radius: 3cqmin;
    background: #fffdf6;
    box-shadow: 0 1.6cqmin 3cqmin -1cqmin rgb(70 30 16 / 0.4);
    rotate: -2deg;
}
.fx-lemma__word { font-family: var(--fx-he); font-size: 11cqmin; line-height: 1.45; }
.fx-lemma__gloss { font-size: 4.6cqmin; color: #6d7269; }

/* --- every verb form: one verb, three tenses --- */
.fx-conj { gap: 5cqmin; }
.fx-conj .fx-paper { gap: 0; padding: 4cqmin 10cqmin 4cqmin; rotate: -1.5deg; }
.fx-conj__who { font-family: var(--fx-he); font-size: 5.4cqmin; line-height: 1.5; color: #8d9289; }
.fx-conj__sets { display: grid; justify-items: center; }
.fx-conj__set { grid-area: 1 / 1; font-size: 19cqmin; line-height: 1.5; opacity: 0; }
.fx-conj__set.is-on { opacity: 1; }
.fx-conj__tabs {
    display: flex;
    gap: 0.8cqmin;
    padding: 1cqmin;
    border-radius: 99cqmin;
    background: #fff;
    box-shadow: 0 3cqmin 6cqmin -2cqmin rgb(32 37 31 / 0.3);
}
.fx-conj__tab {
    padding: 1.4cqmin 3.4cqmin;
    border-radius: 99cqmin;
    font-size: 4.3cqmin;
    font-weight: 700;
    white-space: nowrap;
    background: rgb(32 37 31 / 0);
}
.fx-conj__tab.is-on { background: var(--fx-ink); color: #fff; }

/* --- flashcards --- */
.fx-flash { gap: 5cqmin; }
.fx-flash__pile { width: 54cqmin; height: 58cqmin; perspective: 150cqmin; }
.fx-flash__card,
.fx-flash__face {
    position: absolute;
    inset: 0;
    border-radius: 6cqmin;
}
.fx-flash__card { transform-style: preserve-3d; transform: rotate(-6deg) scale(0.95); }
.fx-flash__card.is-front { z-index: 1; transform: none; }
.fx-flash__face {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fffdf8;
    box-shadow: 0 0.7cqmin 0 rgb(40 60 30 / 0.12), 0 5cqmin 9cqmin -3cqmin rgb(40 60 30 / 0.45);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.fx-flash__face--back { transform: rotateY(180deg); }
.fx-flash__he { font-family: var(--fx-he); font-size: 16cqmin; line-height: 1.5; }
.fx-flash__face--back .fx-flash__he { font-size: 11cqmin; }
.fx-flash__rom { font-size: 4.6cqmin; color: #7d8279; }
.fx-flash__en { margin-top: 2cqmin; font-family: var(--font-display); font-size: 8cqmin; font-weight: 700; }
.fx-flash__grades { display: flex; gap: 1.5cqmin; }
.fx-flash__grade {
    padding: 1.4cqmin 2.8cqmin;
    border-radius: 99cqmin;
    background: #fff;
    box-shadow: 0 2cqmin 4cqmin -1.6cqmin rgb(40 60 30 / 0.4);
    font-size: 3.9cqmin;
    font-weight: 700;
    white-space: nowrap;
}

/* --- ready-made decks: three cards, each with its own small painting --- */
.fx-decks { display: block; }
.fx > .fx-deck {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2cqmin;
    width: 38cqmin;
    height: 56cqmin;
    margin: -28cqmin 0 0 -19cqmin;
    box-sizing: border-box;
    padding: 2.6cqmin 2.6cqmin 3.4cqmin;
    border-radius: 5.5cqmin;
    background: #fffdf8;
    box-shadow: 0 0.7cqmin 0 rgb(90 60 10 / 0.12), 0 5cqmin 9cqmin -3cqmin rgb(90 60 10 / 0.5);
    transform-origin: 50% 100%;
}
.fx > .fx-deck--family { transform: translateX(-46%) rotate(-13deg); }
.fx > .fx-deck--food { z-index: 1; transform: translateY(-3%); }
.fx > .fx-deck--travel { transform: translateX(46%) rotate(13deg); }
.public-site .fx-deck__art {
    display: block;
    flex: 1;
    min-height: 0;
    width: 100%;
    border-radius: 3.6cqmin;
    object-fit: cover;
}
.fx-deck__name { margin-top: 0.8cqmin; font-family: var(--font-display); font-size: 5.2cqmin; font-weight: 700; line-height: 1.2; }
.fx-deck__word { font-family: var(--fx-he); font-size: 6cqmin; line-height: 1.4; color: #6d7269; white-space: nowrap; }

/* --- works offline: one white plane, straight across a painted sky. The cloud and
   trail are painted dark and turned white here, so only their texture is kept. --- */
.fx-sky { display: block; }
.public-site .fx-cloud {
    position: absolute;
    width: 34cqmin;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}
.public-site .fx-cloud--a { left: 4%; top: 6%; }
.public-site .fx-cloud--b { left: 62%; top: 42%; width: 42cqmin; opacity: 0.88; }
.public-site .fx-cloud--c { left: 26%; top: 50%; width: 24cqmin; opacity: 0.75; scale: -1 1; }
.fx-flight {
    position: absolute;
    left: 60%;
    top: 27%;
    width: 46cqmin;
    margin-left: -23cqmin;
    rotate: -5deg;
}
.fx-jet { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 2.2cqmin 2.4cqmin rgb(28 60 90 / 0.3)); }
.public-site .fx-jet__ink { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.public-site .fx-trail {
    position: absolute;
    right: 90%;
    top: 14%;
    width: 150cqmin;
    max-width: none;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}
.fx-sky__ui {
    position: absolute;
    inset: auto 0 13cqmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.4cqmin;
}

/* --- web and iPhone, on a painted desk --- */
.fx-sync { display: block; }
.fx > .fx-laptop { position: absolute; left: 16%; top: 22%; width: 58%; }
.fx-screen {
    display: flex;
    gap: 2.6cqmin;
    box-sizing: border-box;
    padding: 2.6cqmin;
    border: 1.5cqmin solid var(--fx-ink);
    background: #fff;
    text-align: start;
}
.fx-laptop .fx-screen { aspect-ratio: 16 / 10.5; border-radius: 3.4cqmin 3.4cqmin 0 0; border-bottom-width: 1cqmin; }
.public-site .fx-screen img { display: block; object-fit: cover; border-radius: 1.8cqmin; }
.public-site .fx-laptop .fx-screen img { width: 34%; height: 100%; }
.fx-screen__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2.2cqmin; overflow: hidden; }
.fx-screen__title { display: block; font-family: var(--font-display); font-size: 3.6cqmin; font-weight: 700; line-height: 1.2; }
.fx-sync .fx-line { justify-content: flex-start; flex-wrap: nowrap; gap: 0.9cqmin; }
.fx-sync .fx-tok { padding: 0.2cqmin 1.1cqmin 0.5cqmin; border-radius: 1.4cqmin; }
.fx-sync .fx-tok__word { font-size: 4.2cqmin; }
.fx-laptop__base {
    display: block;
    height: 2.6cqmin;
    margin: 0 -6cqmin;
    border-radius: 0.6cqmin 0.6cqmin 3cqmin 3cqmin;
    background: #f4f1ea;
    box-shadow: 0 4cqmin 5cqmin -1.5cqmin rgb(70 30 16 / 0.6);
}
.fx > .fx-phone {
    position: absolute;
    right: 7%;
    top: 37%;
    width: 24%;
    rotate: 5deg;
    filter: drop-shadow(0 3cqmin 3cqmin rgb(70 30 16 / 0.45));
}
.fx-phone .fx-screen { flex-direction: column; gap: 2cqmin; aspect-ratio: 9 / 17; padding: 3cqmin 2.2cqmin; border-radius: 5cqmin; }
.public-site .fx-phone .fx-screen img { width: 100%; aspect-ratio: 1 / 1; height: auto; }
.fx-phone .fx-screen__title { font-size: 3.1cqmin; }
.fx-phone .fx-tok__word { font-size: 3.3cqmin; }
.fx-phone .fx-tok { padding: 0.1cqmin 0.8cqmin 0.3cqmin; }


@media (max-width: 899px) {
    .so-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .public-site .so-card h3 { font-size: 16px; }
    .public-site .so-card > p { font-size: 14px; }

    /* The fifth card would sit alone on its row, so it takes the whole row as
       a wide card for the iPhone app: a bigger painting, then the pitch and
       the App Store badge on a soft panel in the same blue. */
    .so-card--app {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 6px;
        padding: 10px 10px 18px;
        border-radius: 22px;
        background: color-mix(in srgb, var(--tile) 22%, #fff);
    }
    .public-site .so-card--app .so-card__stage {
        aspect-ratio: 16 / 10;
        margin-bottom: 14px;
        border-radius: 14px;
        filter: none;
    }
    .public-site .so-card--app h3,
    .public-site .so-card--app > p { padding-inline: 6px; }
    .public-site .so-card--app h3 { font-size: 20px; margin-bottom: 4px; }
    .public-site .so-card--app > p { max-width: 36ch; font-size: 15px; color: #4b5048; }
    .so-card__store {
        display: inline-block;
        justify-self: start;
        margin: 14px 6px 0;
        line-height: 0;
    }
    .so-card__store img { display: block; width: 135px; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .public-site .so-card__stage,
    .public-site .so-card > p { transition: none; }
}

/* ----------------------------------------------------------------- faq --- */

.public-site #faq.so-faq {
    max-width: 1184px;
    margin-top: clamp(44px, 5vw, 72px);
}
/* Plain and compact: no tinted panel or cards, just the page colour with
   hairlines between questions. */
.so-faq__panel {
    max-width: 1136px;
    margin-inline: auto;
}
.so-faq__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.public-site .so-faq__heading h2 {
    margin: 0;
    text-align: start;
}
.public-site .so-faq__heading img {
    width: 64px;
    height: 57px;
    flex: none;
    object-fit: contain;
}
/* The three groups side by side on wide screens, stacked on narrow ones. */
.so-faq__columns {
    display: grid;
    gap: 22px;
}
@media (min-width: 900px) {
    .so-faq__columns {
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: clamp(28px, 3.4vw, 48px);
        align-items: start;
    }
}
.public-site .so-faq__group h3 {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8a8f86;
}
.public-site #faq .so-faq__item.pub-faq {
    margin: 0;
    border: 0;
    border-bottom: 1px solid #e6e8e1;
    border-radius: 0;
    background: none;
    padding: 0;
}
.public-site #faq .so-faq__item.pub-faq summary {
    padding: 11px 0;
    font-size: 15.5px;
    line-height: 1.4;
    font-weight: 600;
    cursor: pointer;
}
.public-site #faq .so-faq__item.pub-faq > div {
    padding: 0 24px 12px 0;
    font-size: 15px;
    line-height: 1.55;
    color: #4b5048;
}
@media (max-width: 760px) {
    .public-site .so-faq__heading img {
        width: 52px;
        height: 46px;
    }
    .public-site #faq .so-faq__item.pub-faq summary {
        font-size: 15px;
    }
}
