/* Helpy Translate site. Palette (owner 2026-10-31): teal #007F83 (buttons, links, accents), deep teal #003F42
   (headings, footer), light teal #D9F1EF (soft sections), neutral #F6F8F8 (page), white (cards), text #172D32,
   warm accent #A84D24 (rare, tied to conversation). */
:root {
    --teal: #007f83;
    --teal-deep: #003f42;
    --teal-soft: #d9f1ef;
    --page: #f6f8f8;
    --white: #ffffff;
    --text: #172d32;
    --muted: #4a6267;
    --warm: #a84d24;
    --line: #d5e2e3;
    --radius: 18px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(246, 248, 248, .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; }
.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: 48px 0 64px; color: #d9f1ef; text-align: center;
    background: radial-gradient(120% 80% at 50% 0%, #0f5f63 0%, var(--teal-deep) 62%, #022d30 100%); }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-banner { margin: 0; width: min(1024px, 100%); }
.hero-banner img { width: 100%; border-radius: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-text { max-width: 760px; margin-top: 44px; }
.hero h1 { color: #ffffff; font-size: clamp(1.8rem, 4.2vw, 2.8rem); }
.lede { font-size: 1.15rem; color: #b9dcdc; margin: 0 auto; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 30px 0 18px; }
.powered { font-size: .9rem; color: #8fbfbf; 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(217, 241, 239, .55); color: #ffffff; }
.btn-light:hover { background: rgba(217, 241, 239, .12); color: #ffffff; }
.play-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); }
.play-badge span { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.15rem; font-weight: 600; }
.play-badge small { font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.play-badge.is-soon { cursor: default; opacity: .9; }

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

/* sections */
.band { padding: 72px 0; }
.band-soft { background: var(--teal-soft); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
.shot .phone { width: min(260px, 100%); margin: 0 auto 22px; }
.shot h3 { text-align: center; }
.shot p { color: var(--muted); margin: 0; }
.shot-warm h3 { color: var(--warm); }
.shot-warm .phone { background: var(--warm); }
.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(0, 63, 66, .06); }
.card ul { padding-left: 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-left: 22px; }
.doc-shot { float: right; width: 220px; margin: 4px 0 16px 28px; }
@media (max-width: 640px) { .doc-shot { float: none; margin: 0 auto 20px; } }
.doc h2 { clear: both; }

/* footer */
.site-foot { background: var(--teal-deep); color: #cfe3e3; 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: 1060px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (max-width: 860px) {
    .shots { grid-template-columns: 1fr; gap: 48px; }
    .cols { grid-template-columns: 1fr; }
    .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .head-nav a:not([href$="help/"]) { display: none; }
    .band { padding: 52px 0; }
    .hero { padding: 20px 0 48px; }
    .hero-banner img { border-radius: 16px; }
    .hero-text { margin-top: 30px; }
}

/* 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(217, 241, 239, .35); border-radius: 14px;
    overflow: hidden; background: #022d30; cursor: pointer; text-align: left; transition: transform .15s, box-shadow .15s, border-color .15s; }
.vid-thumb:hover { border-color: #7fe0d6; 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(0, 127, 131, .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: #d9f1ef; background: #033a3d; }
.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(2, 30, 32, .82); }
.vid-dialog video { display: block; width: 100%; max-height: 90vh; border-radius: 14px; background: #000; }
.vid-close { position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92);
    color: #003f42; font-size: 26px; line-height: 38px; cursor: pointer; }
