/* SynergyOwl marketing site. One accent, cool neutrals, light and dark from the system setting. No external requests. */
:root {
  --page: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #f2f2f4;
  --border: #e4e4e8;
  --text: #18181b;
  --muted: #5c5c66;
  --faint: #8b8b95;
  --accent: #5b5bd6;
  --accent-text: #4a4ac4;
  --accent-ink: #ffffff;
  --accent-wash: #ededfb;
  --radius: 10px;
  --max: 72rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0c0c0e;
    --surface: #141417;
    --surface-2: #1a1a1e;
    --border: #2a2a30;
    --text: #f3f3f5;
    --muted: #a7a7b0;
    --faint: #7c7c86;
    --accent-text: #8f8ff0;
    --accent-wash: #1c1c33;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 1rem/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 650; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 40rem) { .wrap { padding: 0 1.5rem; } }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 3.75rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 650; font-size: 1.05rem; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 1.5rem; margin-left: 1rem; }
.nav a, .signin { color: var(--muted); text-decoration: none; font-size: .925rem; font-weight: 500; }
.nav a:hover, .signin:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 6px; padding: .35rem .6rem; font: inherit; font-size: .9rem; }
@media (max-width: 52rem) {
  .nav { display: none; position: absolute; top: 3.75rem; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--page); border-bottom: 1px solid var(--border); padding: .5rem 1rem 1rem; margin: 0; }
  .nav a { padding: .65rem 0; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .signin { display: none; }
}
/* Without JavaScript the menu button does nothing, so the links stay visible. */
.no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; padding: 0; border: 0; }
.no-js .menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; height: 2.5rem; padding: 0 1.1rem; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 85%, black); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--faint); }
.btn-sm { height: 2.1rem; padding: 0 .85rem; font-size: .875rem; }

/* Sections */
section { padding: 5rem 0; }
@media (max-width: 40rem) { section { padding: 3.5rem 0; } }
.eyebrow { color: var(--accent-text); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.accent-line { display: block; color: var(--accent-text); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 40rem; margin-top: 1rem; }

/* Hero */
.hero { padding: 5.5rem 0 3rem; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.25rem); }
.hero .lead { margin: 1.5rem auto 0; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; color: var(--faint); font-size: .875rem; }

/* Rotating second line: every phrase is in the HTML; CSS shows one at a time. */
.rotator { display: block; color: var(--accent-text); }
.rotator span { display: block; }
.js .rotator span { display: none; }
.js .rotator span.on { display: inline; animation: rise .5s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }

/* Bank strip */
.banks { padding: 2rem 0 3rem; text-align: center; }
.banks p { color: var(--faint); font-size: .85rem; margin-bottom: 1rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.75rem; color: var(--muted); font-weight: 600; font-size: 1rem; }
.js .marquee ul { flex-wrap: nowrap; width: max-content; animation: scroll 45s linear infinite; }
.marquee ul li[aria-hidden] { display: none; }
.js .marquee ul li[aria-hidden] { display: list-item; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Screenshot frames */
.frame { border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); padding: .5rem; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .35); }
.frame img { border-radius: 9px; background: var(--surface); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot-pair { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .shot-pair { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .85rem; }
figcaption strong { color: var(--text); }

/* Feature cards */
.grid-3 { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card p + p { margin-top: .6rem; }
.icon { width: 2.25rem; height: 2.25rem; border-radius: 8px; background: var(--accent-wash); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 1.15rem; height: 1.15rem; }
.soon { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--accent-text); background: var(--accent-wash); border-radius: 999px; padding: .05rem .5rem; margin-left: .3rem; vertical-align: .1em; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 650; font-size: .9rem; margin-bottom: 1rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: .95rem; }

/* Security list */
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem 2rem; }
@media (min-width: 52rem) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { position: relative; padding-left: 1.75rem; color: var(--muted); }
.checks li strong { color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }

/* FAQ */
.faq { margin-top: 2rem; border-top: 1px solid var(--border); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.3rem; font-weight: 400; color: var(--faint); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 1.25rem; max-width: 42rem; }

/* CTA band */
.cta { text-align: center; }
.cta .box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 3.5rem 1.5rem; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* Long-form pages */
.doc { padding: 4rem 0 5rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: .75rem; }
.doc .updated { color: var(--faint); font-size: .9rem; margin-bottom: 2.5rem; }
.doc h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: .9rem; }
.doc ul { padding-left: 1.25rem; }
.doc li + li { margin-top: .4rem; }
.doc strong { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0 3rem; color: var(--faint); font-size: .875rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .marquee ul { animation: none; flex-wrap: wrap; width: auto; }
  .js .marquee ul li[aria-hidden] { display: none; }
  .js .rotator span.on { animation: none; }
}

.shot { padding-top: 0; }

/* The rotating line is a subtitle to the headline, not a second headline. */
.hero .rotator { font-size: .6em; margin-top: .5rem; letter-spacing: -0.01em; }

@media (max-width: 52rem) { .header-actions { gap: .5rem; } }
@media (max-width: 24rem) { .brand-name { display: none; } }
/* Without JavaScript the links sit under the logo instead of in a drop-down. */
.no-js .site-header .wrap { height: auto; flex-wrap: wrap; padding-top: .75rem; padding-bottom: .75rem; }
