/* SyncoSendo landing page.
   The look is the app's own (public/app.css): the same colour tokens for Day and Night, the same typeface, the
   same radii, borders and soft shadows, and the same orange when a button is under the pointer.
   Night follows the visitor's system setting. */
:root {
  color-scheme: light;
  --background: #e7ecef; --background-translucent: rgba(231, 236, 239, .88);
  --surface: #ffffff; --surface-secondary: #f3f6f8; --surface-muted: #dde4e9; --hover: #eef2f5;
  --text-primary: #1b2430; --text-secondary: #3d4752; --text-muted: #545c64;
  --border: #d6dde2; --border-strong: #bfc8cf;
  --primary: #274c77; --primary-text: #274c77; --primary-subtle: #e4ecf5; --primary-subtle-strong: #ccdaea; --on-primary: #ffffff;
  --focus: #3a6aa3;
  --hover-accent: #c2410c; --hover-accent-active: #9a3a0a;
  --success: #1d6b3f; --success-bg: #e2f1e7; --warning: #94500a; --warning-bg: #fbeedd; --warning-border: #efd2ad; --error: #b3261e;
  --shadow-sm: 0 1px 2px rgba(27, 36, 48, .06);
  --shadow-md: 0 1px 2px rgba(27, 36, 48, .06), 0 6px 20px rgba(27, 36, 48, .10);
  --shadow-lg: 0 0 0 1px rgba(27, 36, 48, .05), 0 16px 48px rgba(27, 36, 48, .16);
  --stage: radial-gradient(120% 140% at 18% 0%, #33608f 0%, #214468 38%, #152c47 72%, #0f2136 100%);   /* the video's own backdrop */
  --r: 8px; --r-lg: 12px; --r-xl: 18px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --wrap: 1160px; --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #121a24; --background-translucent: rgba(18, 26, 36, .88);
    --surface: #18222e; --surface-secondary: #1d2835; --surface-muted: #283545; --hover: #222e3c;
    --text-primary: #e7ecef; --text-secondary: #bdc6ce; --text-muted: #9ba4ac;
    --border: #263241; --border-strong: #354355;
    --primary: #3a6596; --primary-text: #9dbde3; --primary-subtle: #203752; --primary-subtle-strong: #2a4769;
    --focus: #8fb3db;
    --success: #6cc895; --success-bg: #183326; --warning: #e9a15c; --warning-bg: #352819; --warning-border: #553d24; --error: #f08a80;
    --shadow-sm: none;
    --shadow-md: 0 0 0 1px var(--border-strong), 0 8px 24px rgba(5, 9, 14, .28);
    --shadow-lg: 0 0 0 1px var(--border-strong), 0 16px 48px rgba(5, 9, 14, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text-primary); background: var(--background); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { max-width: 100%; }
a { color: var(--primary-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 30; padding: 10px 16px; background: var(--surface); color: var(--text-primary); border-radius: var(--r); box-shadow: var(--shadow-md); }
.skip:focus { top: 12px; }
svg.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- buttons: the app's, a size up; orange under the pointer, as in the app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); color: var(--text-primary);
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .12s, border-color .12s, color .12s; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn:hover { background: var(--hover-accent); border-color: var(--hover-accent); color: #fff; }
.btn:active { background: var(--hover-accent-active); border-color: var(--hover-accent-active); color: #fff; }
.btn.lg { min-height: 54px; padding: 0 28px; font-size: 18px; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 15px; }

/* ---- header */
.top { position: sticky; top: 0; z-index: 20; background: var(--background-translucent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 8px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text-primary); font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.015em; white-space: nowrap; text-decoration: none; margin-right: 16px; }
.brand img { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.links a { padding: 10px 12px; border-radius: var(--r); color: var(--text-secondary); font-size: 16px; font-weight: 500; text-decoration: none; }
.links a:hover { background: var(--surface); color: var(--text-primary); }
.top .actions { display: flex; gap: 8px; margin-left: auto; }
.menu { display: none; position: relative; margin-left: auto; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > div { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.menu div a { padding: 12px 14px; border-radius: var(--r); color: var(--text-primary); font-weight: 500; text-decoration: none; }
.menu div a:hover { background: var(--hover); }
/* "Start free trial" in the menu: only where the header has no room for it (phones, see below) */
.menu div a.btn { display: none; margin-top: 6px; color: var(--on-primary); font-weight: 600; }
.menu div a.btn:hover { background: var(--hover-accent); color: #fff; }

/* ---- sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.18; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.head p { margin-top: 14px; color: var(--text-muted); font-size: 18px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--primary-subtle); color: var(--primary-text); font-size: 14px; font-weight: 600; }

/* ---- hero */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero .intro { max-width: 860px; margin: 0 auto; text-align: center; }
h1 { margin-top: 18px; font-size: clamp(36px, 6vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.hero .lead { max-width: 760px; margin: 22px auto 0; color: var(--text-secondary); font-size: clamp(18px, 2vw, 21px); text-wrap: balance; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 14px; color: var(--text-muted); font-size: 15px; }

/* ---- the video: framed by the video's own backdrop */
.player { max-width: 1040px; margin: clamp(32px, 5vw, 56px) auto 0; }
.frame { position: relative; padding: clamp(6px, 1.2vw, 14px); border-radius: var(--r-xl); background: var(--stage); box-shadow: var(--shadow-lg); }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: #0f2136; }
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0f2136; }
.play { display: none; position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: linear-gradient(180deg, rgba(15, 33, 54, 0) 45%, rgba(15, 33, 54, .5) 100%); color: #fff; cursor: pointer; place-items: center; }
.js .play { display: grid; }
.play span { display: grid; place-items: center; width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 14px 40px rgba(8, 18, 32, .5); transition: background .12s, transform .12s; }
.play:hover span, .play:focus-visible span { background: var(--hover-accent); transform: scale(1.05); }
.play:focus-visible { outline-offset: -6px; }
.play svg { width: 42%; height: 42%; margin-left: 6%; fill: #fff; }
.is-started .play { display: none; }
.under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; color: var(--text-muted); font-size: 15px; }
.cc { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r); background: var(--surface); color: var(--text-primary); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.js .cc { display: inline-flex; }
.cc:hover { background: var(--hover); }
.cc b { font-weight: 600; }
.cc[aria-pressed="true"] b { color: var(--success); }

/* ---- without / with */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus .card { padding: clamp(22px, 3vw, 34px); }
.versus .with { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.versus h3 { margin-bottom: 18px; }
.versus li { display: flex; gap: 12px; padding-block: 11px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.versus li:first-child { border-top: 0; }
.versus .without svg { color: var(--error); margin-top: 3px; }
.versus .with svg { color: var(--success); margin-top: 3px; }
.versus .with li { color: var(--text-primary); }

/* ---- features */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; overflow: hidden; }
.feature .shot { margin: 14px 14px 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: #fff; }
.feature img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.feature .body { padding: 22px 26px 28px; }
.feature p { margin-top: 8px; color: var(--text-secondary); }
.also { margin-top: 24px; padding: 26px clamp(22px, 3vw, 34px); }
.also ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 24px; margin-top: 14px; }
.also li { display: flex; gap: 10px; color: var(--text-secondary); }
.also svg { color: var(--success); margin-top: 3px; }

/* ---- three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 26px 28px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 20px; font-weight: 600; }
.step p { margin-top: 8px; color: var(--text-secondary); }

/* ---- testimonials: visibly placeholders */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { padding: 26px; border: 2px dashed var(--warning-border); background: var(--surface); border-radius: var(--r-lg); }
.quote .flag { display: inline-flex; min-height: 24px; align-items: center; padding: 0 10px; border-radius: 12px; background: var(--warning-bg); color: var(--warning); font-size: 13px; font-weight: 600; }
.quote blockquote { margin-top: 14px; color: var(--text-secondary); font-size: 18px; }
.quote figcaption { margin-top: 16px; color: var(--text-muted); font-size: 15px; }
.quote figcaption b { display: block; color: var(--text-primary); font-weight: 600; }
.placeholder-note { max-width: 760px; margin: 22px auto 0; padding: 12px 16px; border: 1px solid var(--warning-border); border-radius: var(--r); background: var(--warning-bg); color: var(--warning); font-size: 15px; text-align: center; }

/* ---- pricing: the app's plan cards */
.period { display: flex; justify-content: center; margin-bottom: 26px; }
.seg { display: none; padding: 4px; gap: 4px; border-radius: 10px; background: var(--surface-muted); }
.js .seg { display: inline-flex; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.seg small { margin-left: 6px; color: var(--success); font-size: 13px; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px; }
.plan.recommended { border: 2px solid var(--primary); padding: 27px 25px; box-shadow: var(--shadow-md); }
.plan .popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; min-height: 28px; padding: 0 14px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 600; white-space: nowrap; }
.plan .tag { min-height: 3.1em; margin-top: 6px; color: var(--text-muted); font-size: 16px; }
.plan .price { margin-top: 14px; font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.plan .price small { margin-left: 6px; color: var(--text-muted); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.plan .billed { margin-top: 6px; color: var(--text-muted); font-size: 14px; }
.plan .btn { margin-top: 20px; }
.plan ul { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: var(--text-secondary); font-size: 16px; }
.plan li svg { color: var(--success); margin-top: 3px; }
.plan li b { color: var(--text-primary); font-weight: 600; }
.plan .soon { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border-strong); color: var(--text-muted); font-size: 14px; }
.js [data-period="year"] { display: none; }
.js .yearly [data-period="year"] { display: revert; }
.js .yearly [data-period="month"] { display: none; }
html:not(.js) [data-period="year"] { display: none; }
.pricing-note { margin-top: 22px; color: var(--text-muted); font-size: 15px; text-align: center; }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; margin-top: 28px; padding: 26px clamp(22px, 3vw, 30px); }
.trust b { display: block; font-size: 16px; font-weight: 600; }
.trust span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 15px; }

/* ---- questions */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 0 22px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding-block: 14px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--text-muted); transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; color: var(--text-secondary); }

/* ---- last call, on the video's backdrop */
.final .box { padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: var(--r-xl); background: var(--stage); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.final h2 { color: #fff; }
.final p { max-width: 600px; margin: 14px auto 0; color: rgba(255, 255, 255, .86); font-size: 19px; }
.final .btn { margin-top: 28px; background: #fff; border-color: #fff; color: #1c3a5c; }
.final .btn:hover { background: var(--hover-accent); border-color: var(--hover-accent); color: #fff; }
.final .note { margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: 15px; }
.final :focus-visible { outline-color: #fff; }

/* ---- footer */
footer { padding-block: 48px 40px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
footer .brand { margin-bottom: 10px; }
footer h3 { margin-bottom: 10px; color: var(--text-primary); font-size: 15px; font-weight: 600; }
footer li { margin-top: 2px; }
footer a { display: inline-block; padding-block: 6px; color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--text-primary); text-decoration: underline; }
footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---- smaller screens */
@media (max-width: 960px) {
  .links, .top .actions .ghost { display: none; }
  .menu { display: block; margin-left: 8px; }
  .top .actions { margin-left: auto; }
  .plans, .quotes, .steps { grid-template-columns: 1fr; }
  .plan .tag { min-height: 0; }
  .plan.recommended { order: -1; }
  .trust { grid-template-columns: 1fr 1fr; gap: 20px 28px; }
  .also ul { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .versus, .features { grid-template-columns: 1fr; }
  .hero .cta .btn { flex: 1 1 100%; }
  .also ul, .trust { grid-template-columns: 1fr; }
  .feature .body { padding: 20px 20px 24px; }
  .top .actions .btn { min-height: 44px; padding: 0 14px; font-size: 15px; }
}
/* phones: the logo and the name in full and at a good size; the header's "Start free trial" moves into the menu
   (it is also the first button on the page, right below) */
@media (max-width: 480px) {
  .top .actions { display: none; }
  .top .brand { margin-right: 8px; }
  .menu { margin-left: auto; }
  .menu div a.btn { display: flex; }
}
@media (max-width: 420px) { footer .cols { grid-template-columns: 1fr; } }
@media (max-width: 340px) { .top .brand { gap: 9px; font-size: 20px; } .top .brand img { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .top, .play, .cc, .final .btn { display: none; } body { background: #fff; } }
