/* ==========================================================================
   Talkino — Landing design system
   ---------------------------------------------------------------------------
   One file, no framework, no CDN.

   The page alternates three bands — white, a pale blue tint, and a full-bleed
   solid brand blue — and every section is one of them. Headlines are large,
   centred and short; colour and photography carry the mood, so components stay
   plain: a border, a radius, one of three shadows.

   Order: tokens → base → primitives → layout → components → utilities.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Font — self-hosted; Google Fonts is unreliable from Iran
   -------------------------------------------------------------------------- */
@font-face { font-family: 'IRANSansXV'; src: url('/assets/fonts/IRANSansXV.woff2') format('woff2-variations'), url('/assets/fonts/IRANSansXV.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('/assets/fonts/IRANSansX-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IRANSansX'; src: url('/assets/fonts/IRANSansX-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root { --fx: 'IRANSansX', Tahoma, sans-serif; }
@supports (font-variation-settings: normal) { :root { --fx: 'IRANSansXV', Tahoma, sans-serif; } }

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* — palette: taken from the app icon, so site and app read as one product */
    --blue-50:  #EDF4FF;
    --blue-100: #D8E8FE;
    --blue-200: #B4D0FD;
    --blue-400: #3D8BF8;
    --blue-500: #0A6AF6;
    --blue-600: #0A57CE;
    --blue-700: #0B4299;

    --orange-50:  #FFF1E9;
    --orange-500: #FE5506;
    --orange-600: #D34403;

    --green-50:  #E7F8F0;
    --green-500: #0EA96B;
    --green-600: #0A8755;

    --amber-50:  #FEF5E7;
    --amber-500: #E58E09;

    --rose-50:  #FEECEF;
    --rose-500: #E11D48;

    --violet-50:  #F1ECFE;
    --violet-500: #7C3AED;

    /* — neutrals: one cool ramp, navy-cast so it sits under the brand blue */
    --n-0:   #FFFFFF;
    --n-25:  #F7FAFE;
    --n-50:  #F1F6FD;
    --n-100: #E7EEF8;
    --n-200: #D9E2F0;
    --n-300: #BECBDF;
    --n-400: #8A9AB4;
    --n-500: #5B6B85;
    --n-700: #2A3C59;
    --n-900: #0B1B3A;

    /* — semantic: components only ever reference these */
    --page:      var(--n-0);
    --surface:   var(--n-0);
    --surface-2: var(--n-50);
    --surface-3: var(--n-100);
    --border:        var(--n-200);
    --border-strong: var(--n-300);

    --ink:   var(--n-900);
    --ink-2: var(--n-500);
    --ink-3: var(--n-400);

    --brand:      var(--blue-500);
    --brand-dark: var(--blue-600);
    --brand-soft: var(--blue-50);

    --accent:      var(--orange-500);
    --accent-dark: var(--orange-600);
    --accent-soft: var(--orange-50);
    --on-accent:   #FFFFFF;

    --success:      var(--green-500);
    --success-soft: var(--green-50);

    /* The blue band paints its own foreground tokens; see `.band-blue`. */
    --band-blue-from: #1573F7;
    --band-blue-to:   #0A55D8;

    /* — radii */
    --r-xs:   10px;
    --r-sm:   14px;
    --r-md:   18px;
    --r-lg:   24px;
    --r-xl:   32px;
    --r-full: 999px;

    /* — elevation. Borders do most of the work. */
    --shadow-sm: 0 1px 2px rgba(11, 27, 58, .06);
    --shadow-md: 0 10px 34px -12px rgba(11, 27, 58, .22);
    --shadow-lg: 0 24px 60px -18px rgba(11, 27, 58, .3);

    /* — type scale. The display sizes are deliberately large: the look leans
         on one short, very bold headline per section. */
    --fs-xs:  .8rem;
    --fs-sm:  .9rem;
    --fs-md:  1rem;
    --fs-lg:  1.1rem;
    --fs-xl:  1.3rem;
    --fs-2xl: clamp(1.45rem, 2.6vw, 1.8rem);
    --fs-3xl: clamp(1.8rem, 4vw, 2.7rem);
    --fs-4xl: clamp(2.2rem, 5.4vw, 3.5rem);

    /* — rhythm */
    --section-y: clamp(60px, 7vw, 108px);
    --gutter:    clamp(16px, 4vw, 28px);
    --maxw:      1180px;

    --ease: cubic-bezier(.22, 1, .36, 1);

    color-scheme: light;
}

html.dark {
    --page:      #0A1120;
    --surface:   #111C33;
    --surface-2: #0D1628;
    --surface-3: #1A2740;
    --border:        #21314F;
    --border-strong: #2F4266;

    --ink:   #E9EFF9;
    --ink-2: #98A7C0;
    --ink-3: #6E7E9B;

    --brand:      #4D93FF;
    --brand-dark: #2F7CF5;
    --brand-soft: rgba(77, 147, 255, .14);

    --accent:      #FF7534;
    --accent-dark: #FE5506;
    --accent-soft: rgba(255, 117, 52, .14);
    --on-accent:   #2A0D00;

    --success:      #2FC98A;
    --success-soft: rgba(47, 201, 138, .14);

    --band-blue-from: #103F96;
    --band-blue-to:   #08265E;

    --blue-50:   rgba(77, 147, 255, .14);
    --orange-50: rgba(255, 117, 52, .14);
    --green-50:  rgba(47, 201, 138, .14);
    --amber-50:  rgba(229, 142, 9, .16);
    --rose-50:   rgba(225, 29, 72, .16);
    --violet-50: rgba(124, 58, 237, .2);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 34px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);

    color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    /* `overflow-x: hidden` on <body> alone does not contain overflow in an RTL
       document — it shifts the initial scroll position instead. Clip on both. */
    overflow-x: clip;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--page);
    color: var(--ink);
    font-family: var(--fx);
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.4; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
/* An author `display` rule outranks the UA sheet's [hidden], so restate it. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--blue-500); color: #fff; }

/* Latin runs inside Persian prose: keep the digits and quotes from flipping. */
.ltr  { direction: ltr; text-align: left; unicode-bidi: isolate; }

/* Colour emoji render through the platform font, never the text font. */

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* The three bands the page alternates between. */

/* One soft light in the top corner keeps the band from reading as a flat
   rectangle of blue. */

/* Section heading — every section opens with the same parts. */

.grid { display: grid; gap: 20px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 68px);
    align-items: center;
}

.row   { display: flex; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }

@media (max-width: 920px) {
    .split{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { align-items: stretch; }
}
@media (max-width: 640px) {
    .split{ grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Type primitives
   -------------------------------------------------------------------------- */
.display { font-size: var(--fs-4xl); font-weight: 900; line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.h2 { font-size: var(--fs-3xl); font-weight: 900; line-height: 1.32; letter-spacing: -.02em; text-wrap: balance; }
.h3 { font-size: var(--fs-xl); font-weight: 800; }
.h4 { font-size: var(--fs-lg); font-weight: 700; }

.lead  { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.95; font-weight: 500; }
.small { font-size: var(--fs-sm); line-height: 1.9; }
.tiny  { font-size: var(--fs-xs); line-height: 1.8; }

.ink   { color: var(--ink); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--r-full);
    background: none;
    font-size: var(--fs-sm);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
@media (hover: hover) {
    .hero-cta .btn, .plans .btn{ transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; }
    .hero-cta .btn:hover, .plans .btn:hover{ transform: translateY(-3px); box-shadow: 0 12px 26px -16px rgba(10, 67, 153, .55); }
}

.btn-outline { border-color: var(--border-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); }

/* On a blue band the solid button goes white and the outline inverts. */

.btn-lg    { padding: 17px 34px; font-size: var(--fs-md); }

.btn.is-disabled { opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------------------
   7. Surfaces
   -------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   8. Labels & tiles
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: var(--r-full);
    background: var(--brand-soft);
    color: var(--brand);
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.6;
}
.eyebrow svg { width: 14px; height: 14px; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    background: var(--surface);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--ink-2);
}
.chip svg { width: 14px; height: 14px; color: var(--ink-3); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: var(--r-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.6;
}

/* The emoji tile is the page's icon language: one rounded square, a colour
   wash per topic, a platform colour emoji inside. */

.ic {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   9. Header & navigation
   -------------------------------------------------------------------------- */
#nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: color-mix(in srgb, var(--page) 88%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
    #nav { backdrop-filter: saturate(140%) blur(10px); }
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-size: 1.22rem; font-weight: 900; letter-spacing: -.02em; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { padding: 11px 20px; }

#mobile-menu {
    display: none;
    padding: 8px var(--gutter) 22px;
    border-bottom: 1px solid var(--border);
    background: var(--page);
}
#mobile-menu.is-open { display: block; }

#mobile-menu .btn { margin-top: 10px; }

@media (min-width: 1061px) { #nav-toggle { display: none; } }

/* --------------------------------------------------------------------------
   14. Alternating showcase blocks
   -------------------------------------------------------------------------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.showcase + .showcase { margin-top: clamp(48px, 6vw, 92px); }

.showcase h3 { font-size: var(--fs-3xl); font-weight: 900; line-height: 1.34; margin-bottom: 14px; letter-spacing: -.02em; }

@media (max-width: 920px) {
    .showcase { grid-template-columns: minmax(0, 1fr); }
    
}

/* --------------------------------------------------------------------------
   17. Phone frame
   A bezel for a real app screenshot. It draws no notch, no status row and no
   home indicator: the capture already carries its own, and that is exactly
   what makes it read as a screenshot rather than as a drawing.
   -------------------------------------------------------------------------- */
.phone {
    position: relative;
    width: 282px;
    max-width: 100%;
    aspect-ratio: 282 / 580;
    padding: 8px;
    border-radius: 44px;
    background: #0B1B3A;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}
.phone-screen {
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #F7FAFE;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* --------------------------------------------------------------------------
   17c. Inside-the-app gallery
   A rail of real screens. Each one is a phone plus its caption, so the strip
   explains the product instead of only decorating the page.
   -------------------------------------------------------------------------- */

/* The rail leans on depth rather than a grid: neighbours sit lower and dimmer,
   so the eye is always given one screen to read first. */

/* --------------------------------------------------------------------------
   18. Marquees — scenario photos and review cards
   -------------------------------------------------------------------------- */
.marquee {
    /* Laid out LTR even on this RTL page: translateX(-50%) only loops seamlessly
       when the track starts flush against the same edge it scrolls away from. */
    direction: ltr;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* Half these photos are bright interiors, so the caption carries its own
   scrim: tall, opaque at the floor, and ended with a text shadow. Titles are
   bottom-aligned and clamped to two lines so a long one cannot shove the
   difficulty pill off its baseline. */

/* The pill sits on a dark scrim in both themes, so it keeps its light palette
   rather than following the dark-mode tokens. */

/* --------------------------------------------------------------------------
   18b. Scenario preview dialog
   A native <dialog>, so there is no overlay element, no scroll lock and no
   focus-trap code here — only paint.
   -------------------------------------------------------------------------- */

@keyframes scen-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* The two turns are the point of the whole dialog: they show a real opening
   line, so they are shaped like chat bubbles rather than list rows. */

/* --------------------------------------------------------------------------
   19. Reviews
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   21. Pricing
   -------------------------------------------------------------------------- */
.plan { display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-block: 16px 2px; }
.price .amount { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.2; }
.price .unit { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.price .was { font-size: var(--fs-sm); color: var(--ink-3); text-decoration: line-through; }

/* --------------------------------------------------------------------------
   22. FAQ
   -------------------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 21px 4px;
    font-size: var(--fs-md);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-500); }
.faq-item .plus {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--ink-2);
    flex-shrink: 0;
    transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] .plus { transform: rotate(45deg); border-color: var(--blue-500); color: var(--blue-500); }
.faq-item .answer { padding: 0 4px 22px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 2.05; }
.faq-item .answer a { color: var(--blue-500); font-weight: 700; }

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
footer { border-top: 1px solid var(--border); background: var(--surface-2); padding-block: clamp(40px, 5vw, 62px) 28px; }

.footer-bottom img { max-width: 120px; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--ink-3);
    font-size: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   25. Scroll reveal
   JS adds `.is-in`; without JS the `.js` guard never hides anything.
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    
    /* Left to the blanket rule below it would still sit out its 450ms delay. */
    
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   26. Landing v11 — sections added with the 2026-10 redesign
   ========================================================================== */
.skip-link {
    position: absolute; z-index: 100; top: -60px; inset-inline-start: 12px;
    padding: 10px 16px; border-radius: var(--r-sm);
    background: var(--blue-500); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* — Hero — */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(28px, 4vw, 56px) clamp(36px, 4vw, 56px);
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(52% 60% at 22% 30%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
        radial-gradient(40% 50% at 8% 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%);
    animation: hero-ambient 16s ease-in-out infinite alternate;
}
@keyframes hero-ambient { to { transform: translate3d(2%, -2%, 0) scale(1.08); } }

.hero h1 { margin: 0; font-weight: 900; }
.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: var(--r-full);
    background: var(--brand-soft);
    color: var(--brand);
    font-size: var(--fs-sm);
    font-weight: 800;
    line-height: 1.7;
}
.hero .display { display: block; font-size: clamp(2.4rem, 5.2vw, 3.55rem); line-height: 1.25; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* — Hero stage —
   One length drives the whole composition: --dw, the device width. It
   follows the viewport height so the full phone fits above the fold on a
   720px laptop while leaving the actual app screen unobstructed. */

@keyframes glow-breathe { to { opacity: .65; scale: 1.08; } }

.device {
    position: relative; z-index: 2;
    width: var(--dw); margin: 0;
    padding: calc(var(--dw) * .032);
    border-radius: calc(var(--dw) * .175);
    background: linear-gradient(150deg, #39425A 0%, #121827 30%, #0B0F1A 70%, #2A3246 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .16),
        inset 0 0 0 calc(var(--dw) * .012) #05070D,
        0 2px 6px rgba(11, 27, 58, .14),
        0 34px 60px -22px rgba(11, 27, 58, .5),
        0 70px 120px -50px rgba(10, 106, 246, .45);
    animation: device-in .8s var(--ease) both;
    transition: transform .4s var(--ease);
}
@media (hover: hover) { .device:hover { transform: translateY(-5px) rotate(-.4deg); } }
/* side buttons: power on the right, volume rocker on the left */
.device::before, .device::after {
    content: ''; position: absolute; width: 3px; border-radius: 2px;
    background: linear-gradient(90deg, #1A2133, #4A5470);
}
.device::before { right: -2.5px; top: 27%; height: 11%; }
.device::after  { left: -2.5px; top: 21%; height: 7%; box-shadow: 0 calc(var(--dw) * .1) 0 #2A3246; }

.device video {
    display: block; width: 100%; height: auto;
    aspect-ratio: 576 / 1182; object-fit: cover;
    background: #fff;
}

@keyframes sound-pulse { to { height: 14px; } }

@keyframes device-in { from { opacity: 0; translate: 0 28px; } }

@media (max-width: 920px) {
    
    .hero-cta{ justify-content: center; }
    
    
}
@media (max-width: 520px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    
    
}

/* — Problem — */

/* — Demo video — */

/* — Three steps — */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); counter-reset: none; }
.step h3 { font-size: var(--fs-xl); margin: 18px 0 6px; }
.step p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.95; }
.step-art { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--surface-3); }
.step-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.step:hover .step-art img { transform: scale(1.04); }
.step-num {
    position: absolute; top: 14px; inset-inline-start: 14px;
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--blue-500); color: #fff;
    font-weight: 900; font-size: 1.15rem;
    box-shadow: var(--shadow-md);
}
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; } }

/* — Conversation (blue band) — */

.tutor { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tutor img {
    width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .85);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
    transition: transform .2s var(--ease);
}
.tutor:hover img { transform: translateY(-4px) scale(1.04); }
.tutor span { font-size: var(--fs-sm); font-weight: 700; }
@media (max-width: 800px) {  .tutor img { width: 76px; height: 76px; } }

/* — Mistakes chat demo — */

.bubble {
    position: relative;
    max-width: 86%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: var(--fs-md); font-weight: 600; line-height: 1.7;
}
.bubble small { display: block; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; }

/* — Recall demo — */

/* — Learning path stats — */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; }
.stats > div { padding: 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); text-align: center; }
.stats dt { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 700; }
.stats dd { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900; color: var(--brand); line-height: 1.4; }

/* — Habit — */

.habit { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
.habit b { font-size: var(--fs-md); font-weight: 800; }
.habit > span:last-child { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.85; }

/* — Inside-the-app rail controls — */

/* — Who — */

/* — Pricing: order comes from the view (free, recommended, rest) — */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; }

@media (max-width: 920px) {
    .plans{ grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
    
}

/* — FAQ: questions are headings for search engines, styled as before — */
.faq-item summary h3 { font-size: inherit; font-weight: 700; line-height: 1.7; }

/* — Download (closing CTA on photos) — */

@media (prefers-reduced-motion: reduce) { .device{ animation: none; } }

/* Phones: icon beside the text, so a stack of cards does not become a scroll. */
@media (max-width: 560px) {
    
    
    
    .step-art { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   27. Landing v12 — live hero phone, reviews and comparison
   ========================================================================== */
/* — Reviews — */

.review {
    break-inside: avoid;
    margin: 0 0 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.review blockquote { margin: 0 0 18px; font-size: var(--fs-md); line-height: 2; font-weight: 600; }

.review figcaption { display: flex; align-items: center; gap: 10px; }
.review figcaption b { display: block; font-size: var(--fs-sm); }
.review figcaption small { display: block; font-size: 11px; color: var(--ink-3); }

.link { color: var(--brand); font-weight: 700; }

/* — QR (desktop only — on a phone you are already holding the phone) — */

/* — Footer contact — */
.footer-contact address { font-style: normal; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.9; margin-top: 6px; }
.footer-contact a[dir="ltr"] { text-align: right; }

/* A shorter, easier-to-scan reading path on phones and small tablets. */
@media (min-width: 561px) and (max-width: 920px) {
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
    .step-art { aspect-ratio: 4 / 3; }
    .step h3 { margin-top: 14px; }
}

@media (max-width: 560px) {
    :root { --section-y: 50px; --fs-4xl: 2.15rem; }
    body { line-height: 1.8; }
    
    html { scroll-padding-top: 74px; }
    
    
    .h2 { font-size: clamp(1.65rem, 7vw, 2rem); line-height: 1.45; }
    .lead { font-size: .98rem; line-height: 1.9; }

    .hero { padding-block: 32px 36px; }
    .hero .display { font-size: clamp(2rem, 9vw, 2.7rem); line-height: 1.32; }
    .hero-kicker { margin-bottom: 12px; font-size: .74rem; }
    
    .hero-cta { margin-top: 22px; gap: 9px; }
    .hero-cta .btn { min-height: 48px; padding-block: 10px; }
    
    
    
    
    

    
    
    
    
    
    
    
    
    

    .steps {
        display: flex; gap: 12px;
        max-width: none; margin: 0 calc(-1 * var(--gutter));
        padding: 2px var(--gutter) 14px;
        overflow-x: auto; scroll-snap-type: x mandatory;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .steps::-webkit-scrollbar { display: none; }
    .step { flex: 0 0 82%; scroll-snap-align: start; }
    .step-art { aspect-ratio: 16 / 9; border-radius: 20px; }
    .step-art img { object-position: center 28%; }
    .step-num { width: 34px; height: 34px; top: 10px; inset-inline-start: 10px; font-size: .95rem; }
    .step h3 { font-size: 1.05rem; margin: 12px 0 4px; }
    .step p { font-size: .83rem; line-height: 1.8; }

    
    
    
    
    
    
    #conversation .phone, #path .phone { width: 220px; }
    
    
    
    .tutor img { width: 62px; height: 62px; }
    .tutor span { font-size: .76rem; }

    
    .habit { padding: 12px; }
    
    
    .habit b { font-size: .83rem; }
    .habit > span:last-child { font-size: .73rem; line-height: 1.65; }
    

    
    
    
    
    

    
    
    .review { flex: 0 0 82%; margin: 0; padding: 18px; scroll-snap-align: start; }
    .review blockquote { font-size: .9rem; line-height: 1.85; }

    
    .plans { gap: 14px; }
    
    
    

    
    
}

