﻿/* DriveSync Pro website. "Graphite + Signal" brand: tokens match assets/theme.xaml. Dark only. */
:root {
  --canvas: #0D0E10; --surface: #151619; --sunken: #101113; --raised: #1D1F23; --hover: #24272C;
  --border: #222428; --border-strong: #2E3136;
  --heading: #F3F4F5; --text: #E4E5E7; --body: #C7CAD0; --secondary: #989DA6; --muted: #6C717A;
  --signal: #C8F25C; --signal-tint: #E2FA9C; --signal-soft: rgba(200, 242, 92, .10); --ink: #0D0E10;
  --upload: #8DB7FF; --warning: #F2B84B; --success: #6EE7A0; --link: #B4CCFF; --folder: #E8C16A;
  --radius-sm: 10px; --radius: 14px; --radius-lg: 22px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--body); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
code { background: var(--raised); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
h1, h2, h3 { color: var(--heading); text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--signal); color: var(--ink); }

/* ---------- legal pages (privacy, terms) ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 32px max(20px, env(safe-area-inset-right)) 64px max(20px, env(safe-area-inset-left)); }
.wrap > header { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.wrap > header a { display: flex; align-items: center; gap: 12px; color: var(--heading); text-decoration: none; }
.wrap > header svg, .wrap > header img { width: 36px; height: 36px; flex: none; }
.wrap > header .name { font-size: 19px; font-weight: 600; }
.wrap > header nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.wrap > header nav a { color: var(--secondary); }
.wrap > header nav a:hover, .wrap > header nav a[aria-current] { color: var(--heading); }
.wrap h1 { font: 600 34px/1.2 var(--font-display); margin: 0 0 12px; }
.wrap h2 { font-size: 20px; margin: 36px 0 8px; }
.wrap p, .wrap li { max-width: 68ch; }
.updated { color: var(--secondary); font-size: 14px; }

/* ---------- landing page ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13, 14, 16, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--heading); text-decoration: none; font: 600 18px/1 var(--font-display); flex: none; }
.brand img { width: 32px; height: 32px; }
.site-nav { display: flex; gap: 26px; font-size: 15px; }
.site-nav a { color: var(--secondary); text-decoration: none; transition: color .15s; }
.site-nav a:hover { color: var(--heading); }
.site-header .btn { margin-left: auto; }

.btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; border-radius: 11px; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, filter .15s ease; }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-lg { padding: 18px 26px; font-size: 17px; border-radius: 13px; }
.btn-ghost { background: var(--raised); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--hover); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* hero */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 0%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); padding: 6px 12px 6px 10px; border-radius: 999px; margin-bottom: 24px; }
.eyebrow b { background: var(--signal); color: var(--ink); font-size: 11px; padding: 2px 7px; border-radius: 999px; letter-spacing: .02em; }
.hero h1 { font: 600 clamp(38px, 4.6vw, 60px)/1.04 var(--font-display); letter-spacing: -.025em; margin: 0 0 22px; }
.hero h1 .mark { color: var(--signal); }
.hero .lead { font-size: 18px; color: var(--secondary); max-width: 33em; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.dl-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 12px; font-variant-numeric: tabular-nums; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--secondary); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--signal); flex: none; }

.hero-shot { position: relative; }
.hero-shot .app { border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); }
.hero-shot .mini { position: absolute; width: 56%; left: -8%; bottom: -11%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); }

.watch-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; transition: color .15s; }
.watch-link:hover { color: var(--signal); }
.watch-link svg { width: 22px; height: 22px; }

/* demo video */
.demo { padding-top: 72px; padding-bottom: 24px; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); aspect-ratio: 16 / 9; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(200, 242, 92, .05); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* what's new strip */
.new-strip { padding: 0 0 24px; }
.new-strip .container > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.new-strip .item { padding: 24px 26px; display: flex; gap: 16px; align-items: flex-start; }
.new-strip .item + .item { border-left: 1px solid var(--border); }
.new-strip .num { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--signal-soft); color: var(--signal); }
.new-strip .num svg { width: 18px; height: 18px; }
.new-strip h3 { font-size: 16px; margin: 2px 0 4px; }
.new-strip p { margin: 0; font-size: 14.5px; color: var(--secondary); }

/* sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin: 0 0 12px; }
.section-head h2 { font: 600 clamp(28px, 3.4vw, 42px)/1.12 var(--font-display); letter-spacing: -.015em; margin: 0 0 14px; }
.section-head p { font-size: 17px; color: var(--secondary); margin: 0; }

/* feature rows */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; margin-bottom: 104px; }
.feature-row:last-of-type { margin-bottom: 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--signal); border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
.feature-copy h3 { font: 600 clamp(24px, 2.6vw, 32px)/1.18 var(--font-display); letter-spacing: -.01em; margin: 0 0 14px; }
.feature-copy p { color: var(--secondary); font-size: 17px; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--body); }
.ticks svg { width: 18px; height: 18px; color: var(--signal); flex: none; margin-top: 4px; }
.shot { border-radius: var(--radius); border: 1px solid var(--border-strong); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85); }
.mini-stage { position: relative; border-radius: var(--radius-lg); padding: 56px 32px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.mini-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 18px 18px; opacity: .6; }
.mini-stage .fake-app { position: relative; display: grid; gap: 10px; opacity: .6; }
.mini-stage .fake-app span { height: 12px; border-radius: 6px; background: var(--raised); }
.mini-stage .fake-app span:nth-child(1) { width: 60%; } .mini-stage .fake-app span:nth-child(2) { width: 85%; }
.mini-stage .fake-app span:nth-child(3) { width: 72%; } .mini-stage .fake-app span:nth-child(4) { width: 40%; }
.mini-stage img { position: relative; margin: 36px 0 0 auto; width: min(100%, 420px); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }

/* small features grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 88px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.card:hover { border-color: var(--border-strong); }
.card .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; background: var(--raised); color: var(--text); }
.card .ico svg { width: 20px; height: 20px; }
.card .ico.signal { background: var(--signal-soft); color: var(--signal); }
.card .ico.blue { background: rgba(141, 183, 255, .12); color: var(--upload); }
.card .ico.amber { background: rgba(242, 184, 75, .12); color: var(--warning); }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--secondary); font-size: 15px; }

/* steps */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--signal); color: var(--ink); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--secondary); font-size: 15px; }

/* install help */
.install-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.notes { display: grid; gap: 16px; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--warning); border-radius: var(--radius); padding: 20px 22px; }
.note h3 { font-size: 16px; margin: 0 0 6px; }
.note p { margin: 0; color: var(--secondary); font-size: 15px; }
.note kbd { font: 600 13px var(--font); background: var(--raised); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; color: var(--text); white-space: nowrap; }
.reqs { margin-top: 24px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: 15px; }
.reqs dt { color: var(--muted); }
.reqs dd { margin: 0; color: var(--text); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 600; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--secondary); max-width: 68ch; }

/* final cta */
.final { text-align: center; }
.final .panel { position: relative; border-radius: 26px; padding: 72px 28px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.final .panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 44px 44px; opacity: .5; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 70%); }
.final .panel > * { position: relative; }
.final img.logo { width: 68px; height: 68px; margin: 0 auto 24px; }
.final h2 { font: 600 clamp(28px, 3.6vw, 44px)/1.12 var(--font-display); letter-spacing: -.015em; margin: 0 0 12px; }
.final p { color: var(--secondary); margin: 0 0 30px; font-size: 17px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer a { color: var(--secondary); text-decoration: none; }
.site-footer a:hover { color: var(--heading); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .container, .feature-row, .install-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .feature-row.flip .feature-copy { order: 0; }
  .hero { padding-top: 48px; }
  .hero-shot { margin: 0 4% 8%; }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .new-strip .container > div { grid-template-columns: minmax(0, 1fr); }
  .new-strip .item + .item { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  section { padding: 68px 0; }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .watch-link { justify-content: center; }
  .hero-shot .mini { width: 72%; left: -4%; bottom: -14%; }
  .site-footer .links { margin-left: 0; }
}
