/* sakhasync.com: the product site, one stylesheet for every page. Mobile first; brand blue #1d3fb8 and sky #7dd3fc
   (the two rings of the logo). The server's security policy allows no inline styles, so everything is in here. */
:root {
  --blue: #1d3fb8; --blue-2: #4f7cff; --sky: #7dd3fc; --ink: #141a2b; --muted: #5b6477; --line: #e4e7ec;
  --bg: #ffffff; --soft: #f5f7fc; --card: #ffffff;
  color-scheme: light;   /* always light, whatever the browser or phone is set to */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Segoe UI", Roboto, system-ui, -apple-system, sans-serif; }
img, video { max-width: 100%; height: auto; }
a { color: var(--blue-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 7vw, 54px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4.5vw, 34px); letter-spacing: -0.01em; }
h3 { font-size: 18px; }
section { padding: 56px 0; }
[id] { scroll-margin-top: 76px; }   /* a link to a section stops below the sticky header */
.soft { background: var(--soft); }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 28px; font-size: 17px; }
.more { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; }
.btn.big { padding: 14px 22px; font-size: 17px; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: #17329a; }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn.ghost:hover { border-color: var(--blue-2); color: var(--blue-2); }
.btn.light { background: #fff; color: var(--blue); }
.btn.outline-light { border-color: rgba(255,255,255,.7); color: #fff; }

/* header: the same on every page. Phones and tablets keep the page links behind the Menu button. */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; margin-right: auto; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.top-links { display: none; gap: 22px; }
.top-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top-links a:hover, .top-links a[aria-current="page"] { color: var(--ink); }
.top-links a[aria-current="page"] { font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); }
@media (max-width: 959px) {
  .top.open .top-row { flex-wrap: wrap; }
  .top.open .top-links { display: grid; gap: 0; order: 3; flex-basis: 100%; padding: 4px 0 12px; border-top: 1px solid var(--line);
    max-height: calc(100vh - 66px); overflow-y: auto; }
  .top.open .top-links a { padding: 12px 4px; font-size: 17px; }
  .top.open .top-links a + a { border-top: 1px solid var(--line); }
  .top.open .menu-btn { border-color: var(--blue-2); color: var(--blue-2); }
}
@media (min-width: 960px) {
  .top-links { display: flex; }
  .top-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--blue-2); }
  .menu-btn { display: none; }
}
@media (max-width: 380px) { .top-row { gap: 10px; } .brand { font-size: 17px; gap: 8px; } }

/* hero: the big one on the home page, a shorter one on the other pages */
.hero, .page-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(125,211,252,.35), transparent 60%),
  radial-gradient(900px 500px at -10% 10%, rgba(79,124,255,.18), transparent 60%); }
.hero { padding: 40px 0 24px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: rgba(29,63,184,.09);
  color: var(--blue-2); font-weight: 600; font-size: 13px; }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn { flex: 1 1 200px; }
.assure { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.hero-art { justify-self: center; width: 100%; max-width: 480px; }
.page-hero { padding: 36px 0 32px; }
.page-hero h1 { font-size: clamp(30px, 6vw, 46px); }
.page-hero .lead { max-width: 680px; }
.page-hero .lead:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 40px; } .hero-grid { grid-template-columns: 1.1fr 1fr; } .cta .btn { flex: 0 0 auto; }
  .page-hero { padding: 56px 0 44px; }
}

/* two columns from tablets up: words on one side, a picture, chat or video on the other */
.ask-grid, .split { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .ask-grid, .split { grid-template-columns: 1fr 1.15fr; } .split.mid { align-items: center; } }

/* videos */
.video { margin: 0; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0d1436;
  box-shadow: 0 16px 40px rgba(20,26,43,.16); }
.video figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.watch { text-align: center; }
.watch .section-lead { margin-left: auto; margin-right: auto; }
.watch .video { max-width: 880px; margin: 0 auto; }

/* Ask on WhatsApp: a WhatsApp-style chat (its own greens) */
.whatsapp { --wa: #0e7a6e; --wa-bg: #efeae2; --wa-me: #d9fdd3; --wa-bot: #ffffff; --wa-ink: #111b21; }
.wa-eyebrow { color: var(--wa); }
.wa-points { margin-top: 14px; }
.wa-phone { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--wa-bg); box-shadow: 0 16px 40px rgba(20,26,43,.12); }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--wa); color: #fff; }
.wa-head small { display: block; font-size: 12px; opacity: .95; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wa); font-weight: 800; }
.wa-chat { list-style: none; margin: 0; padding: 14px 12px 18px; display: grid; gap: 8px; }
.wa-chat li { max-width: 86%; padding: 8px 10px 6px; border-radius: 10px; line-height: 1.45; color: var(--wa-ink); box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-chat li.me { justify-self: end; background: var(--wa-me); border-top-right-radius: 2px; }
.wa-chat li.bot { justify-self: start; background: var(--wa-bot); border-top-left-radius: 2px; }
.wa-time { display: block; text-align: right; font-size: 11px; opacity: .75; margin-top: 2px; }

/* Ask SakhaSync: the voice clip and its transcript as a chat */
.ask-audio { width: 100%; max-width: 420px; margin-top: 4px; }
.ask-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.chat { list-style: none; margin: 0; padding: 16px; display: grid; gap: 10px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--soft), var(--card)); }
.chat li { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.5; cursor: pointer; transition: box-shadow .2s ease, opacity .2s ease; }
.chat li.you { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat li.sakha { justify-self: start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat li.sakha::before { content: "✦ SakhaSync"; display: block; font-size: 11px; font-weight: 700; color: var(--blue-2); margin-bottom: 2px; }
.chat li.speaking { box-shadow: 0 0 0 3px var(--sky); }
.chat:has(li.speaking) li:not(.speaking):not(.said) { opacity: .55; }
.chat.still li { cursor: default; }   /* a sample chat with no clip behind it */

/* screenshots: phones in a swipeable row, computer shots below; .phone is one phone on its own */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
@media (min-width: 760px) { .shots { grid-auto-columns: 1fr; overflow-x: visible; } }
.shots figure, .desk-shots figure { margin: 0; scroll-snap-align: start; }
.phone { margin: 0 auto; width: 100%; max-width: 270px; }
.shots img, .phone img { display: block; width: 100%; border-radius: 22px; border: 6px solid #1b2133; box-shadow: 0 14px 30px rgba(20,26,43,.18); }
.desk-shots { display: grid; gap: 18px; margin-top: 18px; }
@media (min-width: 900px) { .desk-shots { grid-template-columns: 1fr 1fr; } }
.desk-shots img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(20,26,43,.12); }
.shots figcaption, .desk-shots figcaption, .phone figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }

/* cards: features on the home page, groups of reports, side-by-side comparisons */
.features { background: var(--soft); }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid.two { grid-template-columns: 1fr 1fr; } }
.grid article { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.grid p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; font-size: 20px;
  background: linear-gradient(135deg, rgba(29,63,184,.12), rgba(125,211,252,.30)); }
.rlist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.rlist li { color: var(--muted); font-size: 15px; }
.rlist strong { display: block; color: var(--ink); font-size: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.callout { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.soft .callout { background: var(--card); }
.callout strong { color: var(--ink); }

/* steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--card); }
.steps p { margin: 0; color: var(--muted); }
.n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff;
  font-weight: 700; margin-bottom: 12px; }

/* security */
.security { background: var(--soft); }
.sec-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .sec-grid { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 14px 16px 14px 46px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: #12b76a; color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 700; }

/* faq: a few questions on the home page, all of them in groups on the FAQ page */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 0 0 10px; background: var(--card); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.faq.all .wrap { max-width: 860px; }
.faq.all h2 { font-size: 21px; margin: 32px 0 12px; }
.faq.all h2:first-child { margin-top: 0; }

/* final call */
.final-box { text-align: center; padding: 40px 20px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); }
.final-box h2 { margin-bottom: 20px; }
.final-box p { margin: -8px auto 22px; max-width: 560px; opacity: .92; }
.final-box .cta { justify-content: center; }

/* legal pages */
.legal { max-width: 820px; padding-top: 32px; padding-bottom: 40px; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); }
.legal h2 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: var(--ink); line-height: 1.65; }
.legal-meta { color: var(--muted); margin-top: -4px; }
.legal-summary { padding: 14px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.trust-grid { display: grid; gap: 12px; }
@media (min-width: 680px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.trust-card { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.trust-card h3 { margin: 0 0 4px; font-size: 16px; }
.legal .trust-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.trust-checks li { margin-bottom: 6px; }
.trust-more { margin-top: 14px; font-weight: 600; }

/* footer: the same on every page, with a link to each page (it is also where the Menu button goes without JavaScript) */
.foot { border-top: 1px solid var(--line); padding: 32px 0 36px; color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-bottom: 24px; scroll-margin-top: 76px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols strong { display: block; color: var(--ink); margin-bottom: 4px; }
.foot-cols a { display: block; padding: 7px 0; text-decoration: none; }
.foot p { margin: 0 0 6px; }
.foot .tm { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Get the app (19 Nov 2026): store button and the QR code for phones */
.app-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.store-btn svg { flex: none; }
.qr { margin: 0; text-align: center; }
.qr img { display: block; width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.qr figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .app-grid { grid-template-columns: 1fr; } .qr { justify-self: start; } .qr img { width: 160px; height: 160px; } }
