/* HelpyScan site (owner 2026-11-18: sky blue, business-like; HelpyTranslate is teal). Palette: blue #1F6FC5 (buttons,
   links, accents), deep blue #0B355F (headings, footer), light blue #DCEBFB (soft sections), page #F5F8FC, white
   (cards), text #14243A, cyan accent #0E8A9A (rare). The variables keep their old names (--teal...) so the shared
   layout stays the same as HelpyTranslate's. */
:root {
    --teal: #1f6fc5;
    --teal-deep: #0b355f;
    --teal-soft: #dcebfb;
    --page: #f5f8fc;
    --white: #ffffff;
    --text: #14243a;
    --muted: #4f6075;
    --warm: #0e8a9a;
    --line: #d3dfec;
    --radius: 18px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--page); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { color: var(--teal-deep); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.reading { width: min(720px, 100% - 32px); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .band-deep :focus-visible, .site-foot :focus-visible { outline-color: #9cc8ff; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(245, 248, 252, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal-deep); text-decoration: none; font-size: 1.1rem; }
.brand img { border-radius: 9px; }
.head-nav { display: flex; gap: 22px; margin-inline-start: auto; }
/* the language switcher: details and links, so it needs no JavaScript; the flags are local images (assets/flags), which every system shows */
.lang-switch { position: relative; flex: none; }
.lang-switch summary { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--white); font-size: .85rem; font-weight: 600; color: var(--teal-deep); cursor: pointer; list-style: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ""; width: 7px; height: 7px; margin-inline-start: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-switch[open] summary::after { transform: translateY(2px) rotate(225deg); }
.lang-switch img { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(11, 53, 95, .15); flex: none; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 31; width: 210px; max-height: min(70vh, 460px); overflow-y: auto; margin: 0; padding: 6px;
    list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(11, 53, 95, .2); }
.lang-menu a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--page); }
.lang-menu a[aria-current] { background: var(--teal-soft); font-weight: 700; color: var(--teal-deep); }
.head-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.head-nav a:hover, .head-nav a[aria-current] { color: var(--teal); }

/* hero: the feature graphic as the cover, on the deep teal it is painted in, the words centred under it */
.hero { padding: 24px 0 48px; color: #dcebfb; text-align: center;
    background: radial-gradient(120% 80% at 50% 0%, #2a6fb8 0%, var(--teal-deep) 62%, #071f3a 100%); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
/* whole, never cut: on a low laptop screen a little narrower, so the banner and the install button are seen together */
.hero-banner { margin: 0; width: min(860px, 100%, max(620px, calc((100vh - 300px) * 2.048))); }
.hero-banner img { width: 100%; border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); }
.hero-text { max-width: 640px; margin-top: 22px; }
.hero h1 { color: #ffffff; font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: .35em; }
.lede { font-size: 1.05rem; color: #c0d9f3; margin: 0 auto; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 12px 0 22px; }
.cta-note { margin: 0; font-size: .92rem; color: #c0d9f3; }
.hero-claim { margin: .7em auto 0; font-size: 1.08rem; font-weight: 600; color: #fff; }
.hero-claim a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.55); text-underline-offset: 3px; }
.hero-claim a:hover { text-decoration-color: #fff; }
.hero-claim strong { color: #DCEBFB; border-bottom: 2px solid #DCEBFB; }
.cta-link { color: #ffffff; font-size: .95rem; padding: 8px 6px; }
.cta-link:hover { color: #9cc8ff; }
.powered { font-size: .9rem; color: #9bbbe0; margin: 0; }
.powered a { color: inherit; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.btn-ghost { border: 1.5px solid var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: var(--white); }
.btn-light { border: 1.5px solid rgba(220, 235, 251, .55); color: #ffffff; }
.btn-light:hover { background: rgba(220, 235, 251, .12); color: #ffffff; }
.play-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.play-badge img { height: 68px; width: auto; }

/* phone frame */
.phone { margin: 0; padding: 8px; border-radius: 34px; background: var(--teal-deep); box-shadow: 0 18px 40px rgba(11, 53, 95, .22); }
.phone img { border-radius: 27px; width: 100%; }

/* sections */
.band { padding: 56px 0; }
.band-soft { background: var(--teal-soft); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.shot { display: grid; grid-template-columns: 1fr minmax(150px, 190px); gap: 24px; align-items: center; background: var(--white);
    border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(11, 53, 95, .06); }
.shot h3 { margin-bottom: .3em; }
.shot p { color: var(--muted); margin: 0 0 .6em; }
.shot p.shot-lead { color: var(--text); font-weight: 600; }
.shot p:last-child { margin-bottom: 0; }
.shot-wide { grid-column: 1 / -1; grid-template-columns: 1fr 190px; background: var(--page); border: 1px solid var(--line); box-shadow: none; }
.shot-wide.shot-only-text { grid-template-columns: 1fr; }
.shot-zoom { display: block; border-radius: 34px; cursor: zoom-in; }
.shot-zoom .phone { padding: 6px; border-radius: 26px; box-shadow: 0 10px 24px rgba(11, 53, 95, .18); }
.shot-zoom .phone img { border-radius: 21px; }
.shot-warm h3 { color: var(--warm); }
.shot-warm .phone { background: var(--warm); }
.zoom-dialog { padding: 0; border: 0; background: transparent; overflow: visible; max-width: 94vw; }
.zoom-dialog::backdrop { background: rgba(4, 22, 44, .82); }
.zoom-dialog img { display: block; width: auto; height: auto; max-height: 90vh; max-width: 90vw; border-radius: 16px; }
.zoom-close { position: fixed; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92);
    color: #0b355f; font-size: 26px; line-height: 44px; cursor: pointer; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { min-height: 48px; padding: 12px 0; font-weight: 600; color: var(--teal-deep); cursor: pointer; }
.faq p { margin: 0 0 14px; color: var(--muted); }
.band.band-deep { background: var(--teal-deep); color: #dcebfb; padding: 44px 0; }
.band-deep h2 { color: #ffffff; }
.install { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.more { margin-top: 40px; text-align: center; color: var(--muted); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: 0 2px 10px rgba(11, 53, 95, .06); }
.card ul { padding-inline-start: 20px; margin: 0 0 1em; }
.card li { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 0; }
.facts div { background: var(--white); border-radius: 14px; padding: 16px 18px; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--teal-deep); }
.langs { font-size: 1.1rem; max-width: 52em; }
.note { color: var(--muted); font-size: .95rem; }

/* help page */
.doc h2 { margin-top: 1.8em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px; background: var(--white); border-radius: 14px; margin-bottom: 8px; }
.doc ol { padding-inline-start: 22px; }
.doc-shot { float: inline-end; width: 220px; margin-block: 4px 16px; margin-inline: 28px 0; }
@media (max-width: 640px) { .doc-shot { float: none; margin: 0 auto 20px; } }
.doc h2 { clear: both; }

/* footer */
.site-foot { background: var(--teal-deep); color: #d5e5f6; padding: 40px 0 24px; }
.site-foot a { color: #ffffff; }
.site-foot .brand { color: #ffffff; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-brand p { margin: 10px 0 0; font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.foot-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; }

@media (max-width: 860px) {
    .shots { grid-template-columns: 1fr; gap: 20px; }
    .shot-wide { grid-template-columns: 1fr minmax(150px, 190px); }
    .cols { grid-template-columns: 1fr; }
    .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    html { scroll-padding-top: 112px; }
    .head-in { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding: 8px 0 2px; }
    .brand { flex: 1 1 auto; min-width: 0; }
    .lang-switch { order: 2; }
    .head-nav { order: 3; width: 100%; justify-content: space-between; gap: 2px 8px; flex-wrap: wrap; margin-inline-start: 0; }
    .head-nav a { padding: 10px 2px; font-size: .95rem; }
    .band { padding: 40px 0; }
    .hero { padding: 12px 0 36px; }
    .hero-banner img { border-radius: 14px; }
    .hero-text { margin-top: 18px; }
    .shot, .shot-wide { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .shot-zoom { width: min(220px, 70%); margin: 0 auto; }
}

/* the demo video: thumbnail and dialog, as on nativehelpy.com */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vids-row { display: flex; justify-content: center; margin: 4px 0 22px; }
.vid-thumb { position: relative; display: block; width: 300px; padding: 0; border: 1px solid rgba(220, 235, 251, .35); border-radius: 14px;
    overflow: hidden; background: #071f3a; cursor: pointer; text-align: start; transition: transform .15s, box-shadow .15s, border-color .15s; }
.vid-thumb:hover { border-color: #9cc8ff; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.vid-thumb:active { transform: translateY(1px); }
.vid-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.vid-play { position: absolute; left: 50%; top: calc(50% - 16px); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
    background: rgba(31, 111, 197, .92); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .15s; }
.vid-play::after { content: ""; position: absolute; left: 20px; top: 16px; border-style: solid; border-width: 10px 0 10px 17px;
    border-color: transparent transparent transparent #ffffff; }
.vid-thumb:hover .vid-play { transform: scale(1.08); }
.vid-meta { display: block; padding: 9px 12px; font-size: .85rem; color: #dcebfb; background: #0a2a4d; }
.vid-meta b { color: #ffffff; }
.vid-dialog { width: min(1180px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; }
.vid-dialog::backdrop { background: rgba(4, 22, 44, .82); }
.vid-dialog video { display: block; width: 100%; max-height: 90vh; border-radius: 14px; background: #000; }
.vid-close { position: absolute; top: -44px; inset-inline-end: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92);
    color: #0b355f; font-size: 26px; line-height: 38px; cursor: pointer; }

/* the cross-promo flip card (as on gustivela.com): floating bottom-left on a wide screen, in the page on a phone */
.xpromo { position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 20; width: 340px; padding: 16px 18px 14px; border-radius: 18px;
    background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(11, 53, 95, .2);
    opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.xpromo.in { opacity: 1; transform: none; }
.xpromo[hidden] { display: none; }
.xpromo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.xpromo-label { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--muted); }
.xpromo-label svg { color: var(--xp-accent, var(--teal)); }
.xpromo-close { min-width: 44px; min-height: 44px; margin-block: -10px; margin-inline: 0 -10px; background: none; border: 0; color: var(--muted); font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 0 6px; border-radius: 8px; }
.xpromo-close:hover { color: var(--text); background: var(--page); }
.xpromo-flip { perspective: 1000px; }
.xpromo-card { transition: transform .22s ease, opacity .22s ease; }
.xpromo-flip.flipping .xpromo-card { transform: rotateY(90deg); opacity: 0; }
.xpromo-id { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.xpromo-id img { width: 50px; height: 50px; border-radius: 12px; border: 1px solid var(--line); flex: none; }
.xpromo-name { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--xp-accent, var(--teal)); }
.xpromo-headline { font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: var(--teal-deep); margin: 3px 0 0; }
.xpromo-text { font-size: .9rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.xpromo-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: .9rem; color: var(--teal); text-decoration: none; }
.xpromo-cta svg { width: 13px; height: 13px; }
.xpromo-cta:hover { text-decoration: underline; }
.xpromo-dots { display: flex; gap: 0; margin-block: 6px -8px; margin-inline: -9px 0; }
.xpromo-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.xpromo-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8fa3b8; transition: width .2s; }
.xpromo-dots button[aria-current="true"]::before { width: 18px; border-radius: 4px; background: var(--xp-accent, var(--teal)); }
@media (max-width: 767px), (max-height: 620px) { .xpromo { position: static; width: auto; margin: 14px 16px 26px; } }
@media (prefers-reduced-motion: reduce) { .xpromo, .xpromo-card, .xpromo-flip.flipping .xpromo-card { transition: opacity .12s ease; transform: none; } }

/* Discover NativeSoft (as gustivela.com's, with its own look): a deep hero, the technology in a spotlight, the videos,
   the family on a horizontal rail that turns by itself */
.disc-hero { padding: 64px 0 56px; text-align: center; color: #dcebfb;
    background: radial-gradient(110% 90% at 50% 0%, #2a6fb8 0%, var(--teal-deep) 60%, #071f3a 100%); }
.disc-hero h1 { color: #ffffff; max-width: 820px; margin: 0 auto .5em; }
.disc-hero .lede { color: #c0d9f3; margin: 0 auto; }
.disc-eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: #9cc8ff; border: 1px solid rgba(156, 200, 255, .4); }
.disc-values { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.disc-values li { display: flex; flex-direction: column; padding: 12px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(220, 235, 251, .18); min-width: 190px; }
.disc-values b { color: #ffffff; }
.disc-values span { font-size: .85rem; color: #a7c8ec; }
.spot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.spot-shot img { border-radius: 20px; box-shadow: 0 22px 50px rgba(11, 53, 95, .2); }
.spot-tag { margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warm); }
.spot-points { padding-inline-start: 20px; margin: 0 0 22px; color: var(--muted); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn-solid { background: var(--teal); color: #ffffff; border: 1.5px solid var(--teal); }
.btn-solid:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #ffffff; }
.disc-vids { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.disc-vids .vid-thumb { width: 250px; border-color: var(--line); background: var(--white); }
.disc-vids .vid-meta { background: var(--white); color: var(--muted); }
.disc-vids .vid-meta b { color: var(--teal-deep); }
.fam-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.fam-arrows { display: flex; gap: 8px; }
.fam-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--white); color: var(--teal);
    font-size: 1.5rem; line-height: 1; cursor: pointer; }
.fam-btn:hover { background: var(--teal); color: #ffffff; }
.fam-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 18px max(16px, calc((100% - 1120px) / 2)) 26px;
    scroll-padding-inline: max(16px, calc((100% - 1120px) / 2)); scrollbar-width: thin; }
.fam-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    overflow: hidden; box-shadow: 0 4px 16px rgba(11, 53, 95, .07); display: flex; flex-direction: column; }
.fam-shot img { aspect-ratio: 1024 / 500; object-fit: cover; width: 100%; }
.fam-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.fam-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fam-head img { border-radius: 11px; border: 1px solid var(--line); }
.fam-head h3 { margin: 0; font-size: 1.08rem; }
.fam-head span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.fam-body p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; flex: 1; }
.fam-link { font-weight: 650; color: var(--teal); text-decoration: none; }
.fam-all { text-align: center; margin: 0; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.disc-back { text-align: center; margin: 34px 0 0; }
@media (max-width: 860px) {
    .spot { grid-template-columns: 1fr; gap: 24px; }
    .cols3 { grid-template-columns: 1fr; }
    .fam-card { flex-basis: 82%; }
    .disc-vids .vid-thumb { width: calc(50% - 7px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .vid-thumb, .vid-play, .fam-rail { transition: none; scroll-behavior: auto; }
}

/* right-to-left pages: the rail keeps turning left to right, its cards read right to left */
[dir="rtl"] .fam-rail { direction: ltr; }
[dir="rtl"] .fam-card { direction: rtl; }

/* 35 languages: the number large, the EU group and the others (owner 2026-11-14) */
#languages .big-num { font-size: 2.6em; font-weight: 800; line-height: 1; vertical-align: -0.12em; margin-right: .1em; }
#languages .lede-langs { font-size: 1.15em; font-weight: 600; margin: .2em 0 1em; }
#languages h3 { margin: 1.1em 0 .3em; font-size: 1em; }
.help-get { margin: 4px 0 22px; } .help-get .play-badge img { height: 56px; }
