/* Ampy website. One stylesheet, no frameworks, no web fonts: the system font stack loads instantly. */

:root {
  color-scheme: dark light;
  --bg: #101418;
  --surface: #181d22;
  --surface-2: #20262c;
  --line: #2a3138;
  --text: #f2f5f7;
  --muted: #a9b4be;
  --accent: #34c759;
  --accent-ink: #062b12;
  --pro: #ffc24a;
  --pro-fill: #ffb020;
  --pro-ink: #1f1400;
  --radius: 20px;
  --max: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8f9;
    --surface: #ffffff;
    --surface-2: #eef2f4;
    --line: #dde3e7;
    --text: #12181d;
    --muted: #55616b;
    --accent: #12813a;
    --accent-ink: #ffffff;
    --pro: #955700;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--accent); text-underline-offset: 3px; }

a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.975rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

/* Sections */

section { padding: 64px 0; }

section + section { border-top: 1px solid var(--line); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }

h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; }

h3 { font-size: 1.15rem; }

.lead {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 38em;
  margin: 0 0 28px;
}

.section-intro {
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 32px;
}

/* Hero */

.hero { padding-top: 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: linear-gradient(135deg, #4568dc, #b06ab3);
  border-radius: var(--radius);
  padding: 18px;
}

.hero-shots .wide { grid-column: 1 / -1; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: var(--accent);
  color: var(--accent-ink);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 14px 0 0;
}

/* Features */

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

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature p { margin: 0; color: var(--muted); }

/* Galleries */

.gallery-group + .gallery-group { margin-top: 36px; }

.gallery-group > h3 { color: var(--muted); font-weight: 600; margin-bottom: 16px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery figure { margin: 0; text-align: center; }

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #4568dc, #b06ab3);
  border-radius: 18px;
  padding: 10px;
}

.gallery figcaption { margin-top: 8px; font-size: 0.975rem; }

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pro);
  margin-left: 4px;
}

.tag.free { color: var(--accent); }

/* Free and Pro */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.plan.pro { border: 2px solid var(--pro-fill); }

.plan .price { font-size: 1.6rem; font-weight: 800; margin: 4px 0 16px; }

.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.plan ul { margin: 0; padding-left: 20px; }

.plan li + li { margin-top: 6px; }

/* FAQ */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}

.faq details + details { margin-top: 10px; }

.faq summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Prose pages: privacy, support */

.prose { max-width: 46em; }

.prose h2 { font-size: 1.4rem; margin-top: 36px; }

.prose p, .prose li { color: var(--muted); }

.prose strong { color: var(--text); }

.prose .updated { font-size: 0.95rem; }

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

.contact-card p { margin: 0; }

.contact-card a { font-size: 1.2rem; font-weight: 700; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav { display: flex; gap: 20px; }

.site-footer a { color: var(--muted); }

/* Phones and small tablets */

@media (max-width: 860px) {
  .hero-grid, .plans { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  section { padding: 48px 0; }
  .site-nav { gap: 14px; }
  .site-nav .optional { display: none; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .button { width: 100%; }
}
