/* Backup via SSH — shared styles for the marketing, support and privacy pages.
   Palette mirrors the app: navy → indigo brand gradient, blue accent, rounded cards. */

:root {
  --bg: #f4f5fb;
  --card: #ffffff;
  --card-2: #f7f8fd;
  --text: #13152b;
  --muted: #5d6280;
  --faint: #8a8fab;
  --border: rgba(20, 24, 70, 0.09);
  --accent: #3a63f0;
  --accent-2: #5b3ad6;
  --accent-soft: rgba(58, 99, 240, 0.1);
  --green: #1fa463;
  --orange: #e8800c;
  --red: #e0453a;
  --shadow: 0 1px 2px rgba(15, 20, 60, 0.05), 0 8px 24px rgba(15, 20, 60, 0.06);
  --radius: 18px;
  --hero-1: #0a0f26;
  --hero-2: #1a1447;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f22;
    --card: #141a34;
    --card-2: #11162d;
    --text: #eef0ff;
    --muted: #a1a7c9;
    --faint: #737a9e;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #6f8dff;
    --accent-2: #9a7bff;
    --accent-soft: rgba(111, 141, 255, 0.14);
    --green: #3ccf86;
    --orange: #ffa13d;
    --red: #ff6a5e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

code, kbd {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--accent-soft);
  color: var(--text);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  white-space: nowrap;
}

kbd {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 15, 38, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 16px/1 var(--font-display);
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }

.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 14% -10%, rgba(80, 120, 255, 0.35), transparent 70%),
    radial-gradient(800px 520px at 96% 0%, rgba(140, 80, 255, 0.3), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(60, 110, 255, 0.28), transparent 70%),
    linear-gradient(180deg, var(--hero-1), var(--hero-2));
}

.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; text-align: center; }

.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 30px rgba(40, 70, 255, 0.45));
}

.hero h1 {
  margin: 0;
  font: 700 clamp(36px, 6vw, 60px)/1.08 var(--font-display);
  letter-spacing: -0.02em;
}

.hero .lead {
  margin: 16px auto 0;
  max-width: 640px;
  font-size: clamp(18px, 2.2vw, 21px);
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-actions .note { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.badge img { height: 54px; width: auto; }

.hero-shot {
  margin: 56px auto -140px;
  width: 100%;
  max-width: min(1000px, 100%);
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 20, 0.5);
}

/* Raw window captures already carry the macOS window shadow */
img.shot { border-radius: 0; box-shadow: none; }
.hero-shot.shot { margin-left: auto; margin-right: auto; }

.hero-compact .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero-compact h1 { font-size: clamp(32px, 5vw, 46px); }
.hero-compact .hero-icon { width: 84px; height: 84px; margin-bottom: 18px; }

/* ---------- Sections ---------- */

main { padding: 56px 0 24px; }
.hero-has-shot + main { padding-top: 190px; }

section { margin: 0 0 64px; }

.section-title {
  margin: 0 0 8px;
  font: 700 clamp(26px, 3.4vw, 34px)/1.15 var(--font-display);
  letter-spacing: -0.015em;
}

.section-lead { margin: 0 0 28px; color: var(--muted); font-size: 18px; }

h2 { font: 700 26px/1.2 var(--font-display); letter-spacing: -0.01em; margin: 48px 0 14px; }
h3 { font: 600 19px/1.3 var(--font-display); margin: 28px 0 8px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
}

.muted { color: var(--muted); }

/* Feature rows on the marketing page */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}
.feature:nth-of-type(even) { grid-template-columns: 1.35fr 1fr; }
.feature:nth-of-type(even) .feature-text { order: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 34px); }
.feature p { margin: 0 0 14px; color: var(--muted); }

.feature img {
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(10, 15, 50, 0.28);
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin: 8px 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.tile h3 { margin: 12px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--c1, #4a8dff), var(--c2, #3a5ef0));
  box-shadow: 0 6px 14px rgba(40, 70, 200, 0.25);
}
.tile-icon svg { width: 22px; height: 22px; }

.cta {
  text-align: center;
  color: #fff;
  border-radius: 24px;
  padding: 56px 24px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(80, 120, 255, 0.4), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(140, 80, 255, 0.35), transparent 70%),
    linear-gradient(160deg, var(--hero-1), var(--hero-2));
}
.cta h2 { margin: 0 0 10px; color: #fff; }
.cta p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.72); }
.cta .badge { display: inline-block; }

/* Steps (support quick start) */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 66px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 15px/1 var(--font-display);
  color: #fff;
  background: linear-gradient(140deg, #4a8dff, #5b3ad6);
}
.steps li > strong { display: block; margin-bottom: 2px; }
.steps li > span { display: block; color: var(--muted); font-size: 15.5px; }
.steps li > span strong { color: var(--text); font-weight: 600; }

/* FAQ accordion */

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer ul { margin: 0 0 10px; padding-left: 20px; }

/* Tables */

.table-card { padding: 6px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 22px; vertical-align: top; }
th { font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
tr + tr td { border-top: 1px solid var(--border); }
td:first-child { font-family: var(--font-mono); font-size: 13.5px; color: var(--red); width: 42%; }
.shortcuts td:first-child { font-family: var(--font); font-size: 15.5px; color: var(--text); width: auto; }
.shortcuts td:last-child { text-align: right; white-space: nowrap; }

/* Legal text */

.legal .card { padding: 34px 38px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 22px; }
.updated {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.summary-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green);
  background: color-mix(in srgb, var(--green) 13%, transparent);
}
.pill::before { content: "✓"; font-weight: 800; }

.contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact .tile-icon { width: 48px; height: 48px; border-radius: 13px; }
.contact p { margin: 0; color: var(--muted); }
.contact strong { color: var(--text); }
.button {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(140deg, #4a8dff, #3a5ef0);
  box-shadow: 0 6px 16px rgba(58, 99, 240, 0.35);
}
.button:hover { text-decoration: none; filter: brightness(1.06); }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .brand span { display: none; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  .hero-shot { margin-bottom: -60px; }
  .hero-has-shot + main { padding-top: 100px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .card, .legal .card { padding: 20px; }
  th, td { padding: 10px 14px; }
  td:first-child { width: auto; }
  .button { margin-left: 0; }
  footer nav { margin-left: 0; }
}
