/* ListSync site: the app's own look — deep navy, a blue wash, frosted glass panels. */
:root {
  --bg: #0b1020;
  --bg2: #111a33;
  --ink: #eef2fb;
  --sub: #9aa6c4;
  --line: rgba(255, 255, 255, 0.10);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --blue: #2f6bf0;
  --blue-soft: #7aa2ff;
  --ok: #3ccf8e;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
/* the wash: same idea as the app's glass background */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 36vmax at 18% 8%, rgba(47, 107, 240, 0.45), transparent 70%),
    radial-gradient(34vmax 30vmax at 88% 22%, rgba(122, 90, 240, 0.30), transparent 70%),
    radial-gradient(38vmax 34vmax at 50% 95%, rgba(47, 160, 240, 0.18), transparent 70%);
  filter: blur(20px);
}
a { color: var(--blue-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* header */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); background: rgba(11, 16, 32, 0.55); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
nav a { color: var(--sub); }
nav a[aria-current="page"], nav a:hover { color: var(--ink); text-decoration: none; }

/* shared pieces */
.eyebrow { font: 600 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 750; }
h3 { font-size: 19px; font-weight: 650; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--sub); max-width: 58ch; }
.panel { background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 16px; font-weight: 650; font-size: 16px; color: var(--ink); background: linear-gradient(180deg, rgba(47, 107, 240, 0.75), rgba(47, 107, 240, 0.45)); border: 1px solid rgba(122, 162, 255, 0.5); cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.ghost { background: var(--glass); border-color: var(--glass-edge); }

/* home */
.hero { padding-block: 72px 24px; text-align: center; }
.hero .lead { margin: 18px auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--sub); }
.devices { position: relative; max-width: 980px; margin: 44px auto 0; }
.devices .mac { width: 86%; display: block; }
.devices .phone { position: absolute; right: 0; bottom: -2%; width: 23%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); }
.markets { display: flex; justify-content: center; gap: 6px 14px; flex-wrap: wrap; margin-top: 38px; }
.markets figure { margin: 0; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.markets img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.markets figcaption { font-size: 12px; color: var(--sub); line-height: 1.2; text-align: center; }
.markets-note { margin: 18px auto 0; color: var(--sub); font-size: 14px; max-width: 46ch; }

/* documents (support, privacy) */
.doc { max-width: 760px; margin: 0 auto; padding-block: 64px 90px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-top: 10px; }
.doc .updated { color: var(--sub); font-size: 15px; margin-top: 10px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc h3 { margin: 26px 0 8px; }
.doc p, .doc li { color: #cfd7ea; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-block: 6px; }
.doc .panel { padding: 22px 24px; margin-top: 18px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--sub); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

/* contact form */
form.contact { display: grid; gap: 14px; margin-top: 18px; }
form.contact label { display: grid; gap: 6px; font-size: 14px; color: var(--sub); }
form.contact input, form.contact textarea { font: inherit; color: var(--ink); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-edge); border-radius: 14px; padding: 12px 14px; }
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact .hp { position: absolute; left: -9999px; }
.status { font-size: 15px; min-height: 1.4em; }
.status.ok { color: var(--ok); }
.status.err { color: #ff8a8a; }

footer { border-top: 1px solid var(--line); padding-block: 30px; color: var(--sub); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; }

@media (max-width: 760px) {
  nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .devices .phone { width: 28%; }
  footer nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (max-width: 480px) {
  header.top nav a:first-child { display: none; }   /* the logo already goes home */
  header.top nav { gap: 12px; }
  .brand { font-size: 16px; }
}

/* product walkthrough: real screenshots, alternating sides */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding-block: 64px; border-top: 1px solid var(--line); }
.story:first-of-type { margin-top: 90px; }
.story .shot { display: flex; justify-content: center; }
.story .shot img { width: 100%; max-width: 300px; border-radius: 40px; border: 1px solid var(--glass-edge); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.story.flip .shot { order: 2; }
.story .text h2 { font-size: clamp(26px, 3vw, 34px); }
.story .text p { color: #cfd7ea; font-size: 17px; max-width: 54ch; margin: 16px 0 0; }

.also { border-top: 1px solid var(--line); padding-block: 64px 96px; }
.also h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.also dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 0; }
.also dl > div { border-top: 1px solid var(--line); padding: 20px 0 22px; }
.also dt { font-weight: 650; font-size: 17px; }
.also dd { margin: 6px 0 0; color: var(--sub); font-size: 16px; max-width: 48ch; }
.also dd i { font-style: normal; color: var(--ink); }
.also .pricing { border-top: 1px solid var(--line); margin: 0 0 24px; padding-top: 24px; color: var(--sub); font-size: 16px; max-width: 60ch; }

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
  .story .shot, .story.flip .shot { order: 0; }
  .story .shot img { max-width: 240px; }
  .also dl { grid-template-columns: 1fr; }
}

/* three more screens: a row on desktop, a swipeable strip on phones */
.gallery { border-top: 1px solid var(--line); padding-block: 64px 24px; }
.gallery h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 34px; }
.gallery .strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gallery img { width: 100%; max-width: 260px; border-radius: 36px; border: 1px solid var(--glass-edge); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.gallery figcaption { color: var(--sub); font-size: 15.5px; max-width: 34ch; }
.gallery figcaption b { color: var(--ink); display: block; margin-bottom: 4px; font-size: 17px; }

@media (max-width: 760px) {
  .gallery { padding-block: 44px 8px; }
  .gallery .strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 24px; margin-inline: -20px; scrollbar-width: none; }
  .gallery .strip::-webkit-scrollbar { display: none; }
  .gallery figure { flex: 0 0 78vw; scroll-snap-align: center; }
  .gallery img { max-width: 230px; }
  .gallery figcaption { text-align: center; }
}

/* the three numbers */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.points div { border-top: 1px solid var(--glass-edge); padding-top: 18px; }
.points b { display: block; font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.points span { display: block; margin-top: 8px; color: var(--sub); font-size: 15px; max-width: 24ch; }

/* mass listing walkthrough */
.feature { padding-block: 96px 40px; }
.feature-head { max-width: 62ch; }
.feature-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.feature-head .lead { margin-top: 16px; }
.flow { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.flow li { display: flex; flex-direction: column; gap: 12px; position: relative; }
.flow li::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 12px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 15px/32px -apple-system, sans-serif; text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); }
.flow img { width: 100%; border-radius: 30px; border: 1px solid var(--glass-edge); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.flow h3 { font-size: 17px; margin-top: 6px; }
.flow p { margin: 0; color: var(--sub); font-size: 15.5px; }

@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .points { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; }
  .points b { font-size: 48px; }
  .feature { padding-block: 60px 24px; }
  .flow { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 20px 24px; margin-inline: -20px; scrollbar-width: none; }
  .flow::-webkit-scrollbar { display: none; }
  .flow li { flex: 0 0 78vw; scroll-snap-align: center; }
}

/* competitor comparison */
.compare { border-top: 1px solid var(--line); padding-block: 72px 56px; }
.compare h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; max-width: 24ch; }
.compare .lead { margin-top: 14px; }
.table-wrap { margin-top: 36px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare thead th { text-align: left; font: 600 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sub); padding: 0 20px 14px 0; border-bottom: 1px solid var(--glass-edge); }
.compare thead th:first-child { color: #ff9a9a; }
.compare thead th:last-child { color: var(--ok); }
.compare tbody th, .compare tbody td { text-align: left; vertical-align: top; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.compare tbody th { width: 42%; font-weight: 500; color: var(--sub); font-style: italic; }
.compare tbody th::before { content: "✕  "; font-style: normal; color: #ff7a7a; font-weight: 700; }
.compare tbody td::before { content: "✓  "; color: var(--ok); font-weight: 700; }
.compare tbody td { color: var(--ink); }

@media (max-width: 760px) {
  .compare { padding-block: 48px 32px; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding: 18px 0; }
  .compare tbody th, .compare tbody td { border: 0; padding: 0; }
  .compare tbody th { width: 100%; margin-bottom: 8px; }
  .compare tbody td { border-left: 2px solid var(--blue); padding-left: 12px; }
}

@media (max-width: 760px) {
  .compare tbody th::before { content: "Other apps: "; font-style: normal; color: #ff9a9a; font-weight: 650; }
  .compare tbody td::before { content: "ListSync: "; color: var(--ok); font-weight: 650; }
}

/* hero: text left, devices right */
.hero2 { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; padding-block: 72px 24px; }
.hero2 h1 { font-size: clamp(42px, 5.6vw, 72px); margin-top: 16px; }
.hero2 .lead { margin: 20px 0 30px; }
.hero2 .note { margin-top: 16px; font-size: 14px; color: var(--sub); }
.dl-row { display: flex; gap: 12px; flex-wrap: wrap; }
.dl { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; background: #f5f7fb; color: #0b1020; border: 1px solid #f5f7fb; min-width: 172px; }
.dl:hover { text-decoration: none; filter: brightness(0.94); }
.dl svg { width: 22px; height: 26px; flex: none; }
.dl span { display: flex; flex-direction: column; font-size: 20px; font-weight: 650; line-height: 1.05; letter-spacing: -0.01em; }
.dl small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: 0.75; }
.dl + .dl { background: var(--glass); color: var(--ink); border-color: var(--glass-edge); }
.hero-devices { position: relative; }
.hero-devices .mac { width: 88%; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5)); }
.hero-devices .phone { position: absolute; right: 0; bottom: -4%; width: 26%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
.hero-markets { text-align: center; padding-bottom: 8px; }

/* download section */
.download { border-top: 1px solid var(--line); padding-block: 72px; }
.download h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; }
.download .lead { margin: 14px 0 32px; }
.dl-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.dl-cards .panel { padding: 24px 26px; }
.dl-cards ol { padding-left: 1.2em; margin: 12px 0 0; color: #cfd7ea; font-size: 15.5px; }
.dl-cards li { margin-block: 6px; }
.dl-cards .req { margin: 14px 0 0; color: var(--sub); font: 500 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; }
.dl-cards .soon p { color: var(--sub); font-size: 15.5px; margin: 12px 0 0; }

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero2 .lead { margin-inline: auto; }
  .dl-row { justify-content: center; }
  .hero-devices { max-width: 560px; margin: 8px auto 0; }
  .dl-cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .dl { min-width: 0; flex: 1 1 140px; justify-content: center; } .dl span { font-size: 17px; } }
[id] { scroll-margin-top: 84px; }
