/* getflotop.com: one stylesheet for every page. Light and dark follow the visitor's Mac. */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.1);
  --accent: #5b5bf0;
  --accent-2: #b14cf0;
  --accent-text: #ffffff;
  --shadow: 0 12px 40px rgba(20, 20, 60, 0.12);
  --radius: 18px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0f;
    --bg-alt: #15151b;
    --card: #1c1c23;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #7c7cff;
    --accent-2: #c77dff;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }

.site-nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
}
.button:hover { text-decoration: none; filter: brightness(1.06); }
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-text);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}
.button.secondary { background: var(--card); color: var(--text); border-color: var(--line); }
.button.small { padding: 7px 14px; font-size: 14px; }

/* Hero */

.hero { padding: 72px 0 40px; text-align: center; }
.hero .icon { width: 128px; height: 128px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18)); }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fineprint { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* An illustration of the tab bar (not a screenshot). */

.mock {
  margin: 48px auto 0;
  max-width: 920px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #4b6cb7, #8e54e9 55%, #f093fb);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
  position: relative;
}
.mock .menubar {
  height: 24px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}
.mock .tabbar {
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  margin: 6px 8px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.mock .tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #1d1d1f;
  white-space: nowrap;
  min-width: 0;
}
.mock .tab i { width: 14px; height: 14px; border-radius: 4px; flex: none; display: inline-block; }
.mock .tab.on { background: rgba(255, 255, 255, 0.9); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.mock .sidebar {
  position: absolute;
  right: 12px;
  top: 74px;
  width: 26%;
  display: grid;
  gap: 8px;
}
.mock .card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  height: 64px;
}
.mock .card.tall { height: 110px; }
.mock .window {
  position: absolute;
  left: 7%;
  top: 92px;
  width: 52%;
  height: 52%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Sections */

section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
section h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-align: center;
}
section .sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; font-size: 19px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature .glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-2) 18%, transparent));
  margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.widgets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 15px;
}

/* Screenshots: a slot each until real ones are added. */

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.shot img { display: block; width: 100%; }
.shot .placeholder {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  background: repeating-linear-gradient(135deg, var(--bg-alt) 0 12px, var(--card) 12px 24px);
}
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 15px; }

/* Pricing */

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 20px; }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .note { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.plan li.limit::before { content: "–"; color: var(--muted); }
.plan .button { width: 100%; }

/* Plain pages (policies, support, download) */

.page { padding: 56px 0 72px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.page .updated { color: var(--muted); margin: 0 0 32px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; text-align: left; }
.page h3 { font-size: 18px; margin: 24px 0 6px; }
.page p, .page li { color: var(--text); }
.page .muted { color: var(--muted); }

.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
}

details.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 10px 0;
}
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

kbd {
  font: 14px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

/* Footer */

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

@media (max-width: 640px) {
  .site-nav a.hide-small { display: none; }
  .site-nav { gap: 14px; }
  .hero { padding-top: 48px; }
  .mock { aspect-ratio: 4 / 3; }
  .mock .sidebar { width: 34%; }
  .site-footer nav { margin-left: 0; }
}
