/* PhotosFS site. Dark, with the icon's violet as the accent. System fonts only, so the pages
   load nothing from anyone else. */

:root {
  color-scheme: dark;
  --bg: #0c0b10;
  --raised: #16141d;
  --card: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eeecf4;
  --muted: #a9a4ba;
  --accent: #b784ff;
  --violet: #8e47e6;
  --radius: 18px;
  --shadow: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.55));
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg) radial-gradient(1200px 640px at 50% -160px, rgba(142, 71, 230, 0.32), transparent 70%) no-repeat;
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--raised); }

/* ------------------------------------------------------------------ top bar */

.topbar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(12, 11, 16, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 18px; font-weight: 650; }
.mark:hover { text-decoration: none; }
.mark img { width: 32px; height: 32px; }
.topbar nav { display: flex; gap: 22px; font-size: 15px; }
.topbar nav a { color: var(--muted); white-space: nowrap; }
.topbar nav a:hover, .topbar nav a[aria-current] { color: var(--text); text-decoration: none; }

/* ------------------------------------------------------------------ type */

h1 { margin: 0 auto 18px; font-size: clamp(36px, 6vw, 64px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 750; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 650; }

.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { max-width: 38em; margin: 0 auto 26px; color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); }

.pill {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(183, 132, 255, 0.45); background: rgba(142, 71, 230, 0.16);
  color: var(--text); font-size: 15px; font-weight: 600;
}
.req { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ sections */

section { padding: 96px 0; }

.hero { padding: 72px 0 24px; text-align: center; }
.hero h1 { max-width: 15ch; }
.hero-icon { width: 128px; height: 128px; margin: 0 auto 20px; filter: drop-shadow(0 14px 32px rgba(142, 71, 230, 0.35)); }
.hero-shot { max-width: 1180px; margin: 56px auto 0; padding: 0 24px; }
.hero-shot img { filter: var(--shadow); }

.features h2 { margin-bottom: 40px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.split-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.alt .split-text { order: 2; }
.split-text p { color: var(--muted); }
.split-shot { margin: 0; }

/* The About window with the menu over its right-hand side, as they sit on screen. */
.duo { position: relative; padding-bottom: 4%; }
.duo-about { width: 70%; filter: var(--shadow); }
.duo-menu { position: absolute; top: 12%; right: 0; width: 55%; filter: var(--shadow); }

.detail { width: 100%; max-width: 540px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

.fskit p, .start p { color: var(--muted); }

.steps { margin: 8px 0 24px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 4px 0 20px 54px; color: var(--muted); counter-increment: step; }
.steps li strong { color: var(--text); font-weight: 600; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(183, 132, 255, 0.45); background: rgba(142, 71, 230, 0.18);
  color: var(--text); font-size: 15px; font-weight: 650;
}

.foot { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.foot p { margin: 6px 0; }

/* ------------------------------------------------------------------ privacy */

.policy { padding: 64px 0 16px; }
.policy h1 { margin: 0 0 8px; font-size: clamp(34px, 5vw, 48px); }
.updated { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.summary {
  margin: 0 0 8px; padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid rgba(183, 132, 255, 0.3); background: rgba(142, 71, 230, 0.10);
  font-size: 19px;
}
.policy h2 { margin: 40px 0 10px; font-size: 22px; }
.policy p, .policy li { color: var(--muted); }
.policy .summary { color: var(--text); }
.policy strong { color: var(--text); font-weight: 600; }
.policy ul { padding-left: 20px; }
.policy li { margin: 8px 0; }
.back-row { margin: 24px 0 0; padding-bottom: 72px; }

/* ------------------------------------------------------------------ narrow screens */

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split-in { grid-template-columns: 1fr; gap: 36px; }
  .split.alt .split-text { order: 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .hero-shot { padding: 0 16px; }
  .topbar nav { gap: 16px; font-size: 14px; }
  .topbar nav a[href="#features"] { display: none; }   /* no room beside the name on a phone */
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 16px; }
  .hero-icon { width: 96px; height: 96px; }
  .hero-shot { margin-top: 40px; }
}
