/* fotobank.app: the same blues and system type as the app itself. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --text: #1b1c1f;
  --muted: #5f6368;
  --accent: #1a73e8;
  --accent-strong: #1559c4;
  --accent-text: #ffffff;
  --border: #e3e6ec;
  --error: #c5221f;
  --ok: #137333;
  --shadow: 0 24px 60px -24px rgb(25 45 90 / 0.35);
  --window: #ffffff;
  --window-bar: #eef1f6;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --bg-soft: #151821;
    --surface: #1a1d24;
    --text: #e8eaed;
    --muted: #a0a6b0;
    --accent: #8ab4f8;
    --accent-strong: #aecbfa;
    --accent-text: #0b1b33;
    --border: #2a2e38;
    --error: #f28b82;
    --ok: #81c995;
    --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.7);
    --window: #1e2129;
    --window-bar: #272b35;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--accent-strong); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.small { padding: 8px 16px; font-size: 15px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Hero */

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(60% 60% at 85% 10%, color-mix(in srgb, #4f8ef7 18%, transparent), transparent),
    radial-gradient(50% 50% at 0% 100%, color-mix(in srgb, #34a853 10%, transparent), transparent);
}
.hero-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.035em; }
h1 .line { display: block; text-wrap: balance; }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 34em; }

/* Waitlist form */

.waitlist-form { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.waitlist-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted); min-height: 1.5em; }
.form-note.ok { color: var(--ok); font-weight: 600; }
.form-note.error { color: var(--error); }
.waitlist-form.done input, .waitlist-form.done button { display: none; }

/* Device mock-ups, with drawn "photos" */

.devices { position: relative; padding-bottom: 28px; }
.laptop { width: 100%; }
.window {
  border-radius: 14px;
  background: var(--window);
  box-shadow: var(--shadow), 0 0 0 1px var(--border);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--window-bar); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.address { margin: 0 auto; padding: 2px 40px; border-radius: 6px; background: var(--window); color: var(--muted); font-size: 11px; }
.app { padding: 10px 12px 12px; }
.app-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; }
.app-name { font-weight: 700; }
.app-tabs { display: flex; gap: 4px; margin-left: 10px; color: var(--muted); }
.app-tabs > * { padding: 2px 8px; border-radius: 999px; }
.app-tabs b { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); font-weight: 600; }
.app-upload { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #1a73e8; color: #fff; font-weight: 600; }
.laptop-base { height: 12px; margin: 0 -4%; border-radius: 0 0 14px 14px; background: linear-gradient(#d5d9e0, #b9bec8); }
@media (prefers-color-scheme: dark) { .laptop-base { background: linear-gradient(#3a3f4a, #2a2e37); } }

.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.grid.tight { grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ph { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.ph.star::before {
  content: "";
  position: absolute;
  left: 6%;
  bottom: 6%;
  z-index: 1;
  width: 16%;
  aspect-ratio: 1;
  background: #fff;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 2px rgb(0 0 0 / 0.5));
}
/* Hills, a lake or dunes in the lower part of some pictures. */
.ph::after { content: ""; position: absolute; inset: 0; }
.p1 { background: radial-gradient(circle at 70% 38%, #fff3c4 0 9%, transparent 10%), linear-gradient(#ffb47d, #ff7a8a 55%, #6b4c9a); }
.p1::after { background: #3b2d5c; clip-path: polygon(0 78%, 22% 62%, 40% 74%, 63% 56%, 100% 76%, 100% 100%, 0 100%); }
.p2 { background: linear-gradient(#a8dcff, #4f9fe3 55%, #1f5d9e); }
.p2::after { background: linear-gradient(#2c7cc4, #134a80); clip-path: polygon(0 66%, 100% 60%, 100% 100%, 0 100%); }
.p3 { background: linear-gradient(#d5f5c4, #74c48c 50%, #2b7a4f); }
.p3::after { background: #1f5e3b; clip-path: polygon(0 70%, 15% 45%, 28% 68%, 44% 38%, 60% 66%, 78% 42%, 100% 70%, 100% 100%, 0 100%); }
.p4 { background: radial-gradient(circle at 30% 30%, #fff8dd 0 8%, transparent 9%), linear-gradient(#ffe4b0, #f5b26b 60%, #d27a3e); }
.p4::after { background: #b85e2c; clip-path: polygon(0 80%, 35% 64%, 70% 76%, 100% 66%, 100% 100%, 0 100%); }
.p5 { background: radial-gradient(circle at 68% 30%, #fffbe0 0 7%, transparent 8%), radial-gradient(circle at 20% 22%, #fff 0 1%, transparent 2%), radial-gradient(circle at 40% 12%, #fff 0 1%, transparent 2%), linear-gradient(#18244a, #3c3f86); }
.p5::after { background: #0e1530; clip-path: polygon(0 82%, 30% 70%, 55% 80%, 80% 66%, 100% 76%, 100% 100%, 0 100%); }
.p6 { background: linear-gradient(#eef4ff, #c3d5ee 60%, #93acd1); }
.p6::after { background: #ffffff; clip-path: polygon(0 74%, 26% 40%, 46% 66%, 66% 34%, 100% 70%, 100% 100%, 0 100%); opacity: 0.9; }
.p7 { background: radial-gradient(circle at 28% 62%, #ff86b0 0 11%, transparent 12%), radial-gradient(circle at 64% 44%, #ffd36e 0 10%, transparent 11%), radial-gradient(circle at 46% 78%, #c58bff 0 9%, transparent 10%), linear-gradient(#cfeebf, #6fbf73); }
.p8 { background: radial-gradient(circle at 74% 26%, #fbbc04 0 10%, transparent 11%), linear-gradient(#e7f1ff, #ffffff); }
.p8::after { background: #34a853; clip-path: polygon(0 100%, 0 86%, 32% 48%, 55% 74%, 70% 58%, 100% 92%, 100% 100%); }
.p9 { background: linear-gradient(135deg, #ff9a8b, #ff6a88 50%, #ff99ac); }
.p9::after { background: radial-gradient(circle at 50% 120%, rgb(255 255 255 / 0.55), transparent 60%); }
.p10 { background: linear-gradient(#7fd3ff, #c8f0ff 50%, #f7e3b5 51%, #e8c784); }
.p11 { background: linear-gradient(#ffd1a1, #ff9a62 45%, #7d3c98); }
.p11::after { background: #1d2c4a; clip-path: polygon(0 64%, 100% 58%, 100% 100%, 0 100%); opacity: 0.85; }
.p12 { background: radial-gradient(circle at 50% 40%, #f5d0b5 0 18%, transparent 19%), radial-gradient(circle at 50% 95%, #4f6bd8 0 35%, transparent 36%), linear-gradient(#cfe0ff, #e9f1ff); }

.phone {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: 27%;
  padding: 7px;
  border-radius: 26px;
  background: #1c1d21;
  box-shadow: var(--shadow), 0 0 0 1px rgb(255 255 255 / 0.06);
}
.phone-screen { border-radius: 20px; overflow: hidden; background: var(--window); padding-bottom: 12px; }
.phone-bar { display: flex; align-items: center; gap: 5px; padding: 18px 8px 6px; font-size: 9px; font-weight: 700; }

/* Sections */

section { padding: 88px 0; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-align: center; }
.section-lead { margin: 14px auto 0; max-width: 36em; text-align: center; color: var(--muted); font-size: 19px; }

.why { padding: 56px 0 40px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.three h2 { font-size: 24px; margin-bottom: 10px; }
.three p { color: var(--muted); }

.features { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.card { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.card svg { width: 30px; height: 30px; fill: var(--accent); }
.card h3 { margin: 14px 0 8px; font-size: 19px; }
.card p { color: var(--muted); font-size: 15.5px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.step-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8ef7, #1a5fd0);
  color: #fff;
  font-weight: 800;
}
.steps h3 { margin: 18px 0 8px; font-size: 21px; }
.steps p { color: var(--muted); }

.faq { background: var(--bg-soft); }
.faq .section-title { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--border); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 2px 22px; color: var(--muted); }

.cta-box { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-box h2 { margin-top: 20px; font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; }
.cta-box > p { margin-top: 12px; color: var(--muted); font-size: 19px; max-width: 30em; }
.cta-box .waitlist-form { justify-content: center; width: 100%; }
.cta-box .form-note { text-align: center; }

.site-footer { padding: 32px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 20px; }
.footer-row .logo { font-size: 16px; margin-right: auto; }
.site-footer a:not(.logo) { color: var(--muted); }

/* Plain pages: privacy, not found, the waitlist list */

.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 22px; margin: 32px 0 10px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.list-table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.list-table th, .list-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.list-table th { color: var(--muted); font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Tablets and phones */

@media (max-width: 960px) {
  .hero { padding-top: 48px; }
  .hero-row { grid-template-columns: 1fr; gap: 48px; }
  .devices { max-width: 640px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav { display: none; }
  .header-row { gap: 12px; }
  .header-row .btn { margin-left: auto; }
  .three, .steps { grid-template-columns: 1fr; gap: 24px; }
  .lead, .section-lead, .cta-box > p { font-size: 17px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .waitlist-form .btn { flex: 1 1 100%; }
  .app-tabs span:not(:first-child) { display: none; }
  .phone { width: 34%; right: 0; }
  .footer-row { flex-wrap: wrap; gap: 10px 20px; }
}
.field {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.page .form-note { margin-top: 12px; }
#result .row h2 { margin: 32px auto 0 0; }
#result .row .btn { margin-top: 32px; }
