/* Synco · light. Palette and plate shape from the app icon: cream tiles on a dark base, lime accents. */
:root {
  --paper: #efede6;
  --plate: #faf9f5;
  --ink: #3a3a3a;
  --ink-soft: #66645e;
  --base: #333333;
  --lime: #adf802;
  --lime-deep: #7fb800;
  --line: #d9d6cc;
  --radius: 22px;
  --lift: 8px;
  --head: "Saira", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* The plate: the icon's tile with its dark base under it. */
.plate {
  background: var(--plate);
  border-radius: var(--radius);
  box-shadow: 0 var(--lift) 0 var(--base);
  border: 1.5px solid var(--base);
}

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { width: 38px; height: 38px; }
.brand img.word { height: 18px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--ink-soft); }
.nav nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--base); color: var(--ink); background: var(--plate);
  box-shadow: 0 5px 0 var(--base); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--base); }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--base); }
.btn:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; }
.btn.lime { background: var(--lime); }
.btn.small { padding: 9px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--base); }
.btn.small:hover { box-shadow: 0 1px 0 var(--base); transform: translateY(2px); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; margin: 14px 0 20px; }
h1 mark { background: linear-gradient(transparent 58%, var(--lime) 58%); color: inherit; padding: 0 .08em; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.meta { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.hero-icon { justify-self: center; width: min(380px, 80%); filter: drop-shadow(0 30px 40px rgba(58, 58, 58, .18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-icon { animation: none; } html { scroll-behavior: auto; } }

/* App screenshot */
.shot { padding: 24px 0 64px; }
.shot .plate { padding: 14px; }
.shot img { border-radius: 12px; }
.caption { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 26px; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--plate); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin: 10px 0 12px; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { padding: 28px; }
.step .n {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime); border: 1.5px solid var(--base); font: 700 20px var(--head); margin-bottom: 18px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 24px; }
.stat b { display: block; font: 700 clamp(34px, 4vw, 46px)/1 var(--head); }
.stat span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.stat.hot { background: var(--lime); }
.stat.hot span { color: var(--ink); }
.footnote { font-size: 14px; color: var(--ink-soft); margin-top: 22px; max-width: 760px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 26px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--lime); }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* Download */
.download { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.download.three { grid-template-columns: repeat(3, 1fr); }
.download .btn + .btn { margin-left: 8px; }
.download .small { font-size: 14px; margin: 16px 0 8px; }
.download code { font: 13px ui-monospace, Menlo, monospace; background: var(--paper); padding: 1px 5px; border-radius: 5px; }
.download .plate { padding: 30px; min-width: 0; }
.download h3 { font-size: 24px; margin-bottom: 10px; }
.download p { color: var(--ink-soft); margin: 0 0 20px; }
.term { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #f2f1ec; border-radius: 12px; padding: 12px 12px 12px 16px; font: 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace; }
.term code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.term button { flex: none; background: var(--lime); color: var(--ink); border: 0; border-radius: 8px; padding: 7px 12px; font: 600 13px var(--body); cursor: pointer; }
.note { margin-top: 26px; padding: 18px 22px; border-radius: 14px; border: 1.5px dashed var(--ink-soft); font-size: 15px; color: var(--ink-soft); }
.note b { color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 820px; }
.faq details { padding: 4px 24px; }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 18px var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--lime-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); }

/* Support */
.support { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.support .plate { padding: 32px; }
.support .donate { background: var(--lime); }
.support h3 { font-size: 28px; margin-bottom: 10px; }
.support p { margin: 0 0 22px; }
.support .donate .btn { background: var(--plate); }

/* Footer */
footer { padding: 40px 0 56px; color: var(--ink-soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer .brand img.word { height: 14px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Narrow screens */
@media (max-width: 900px) {
  .hero .wrap, .download, .download.three, .support { grid-template-columns: 1fr; }
  .hero-icon { width: min(260px, 70%); order: -1; }
  .steps, .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav nav a.hide-sm { display: none; }
}
@media (max-width: 520px) {
  .nav nav { gap: 14px; }
  .brand img.word { display: none; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

/* The Mac install choice. */
#mac-dialog { width: min(520px, calc(100vw - 32px)); padding: 30px; border: 1.5px solid var(--base); color: var(--ink); }
#mac-dialog::backdrop { background: rgba(28, 31, 34, .45); }
#mac-dialog h3 { font-size: 24px; margin: 0 0 6px; }
#mac-dialog .small { color: var(--ink-soft); font-size: 14px; margin: 0 0 18px; }
#mac-dialog .choice { border-top: 1px solid var(--line); padding: 18px 0 4px; }
#mac-dialog h4 { font-size: 17px; margin: 0 0 4px; }
#mac-dialog .choice p { color: var(--ink-soft); margin: 0 0 14px; }
#mac-dialog .close { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink-soft); cursor: pointer; }
