/* Photinerary marketing site — plain CSS on purpose, no build step.
   See README.md for why: this site is static content with no accounts
   or database, so it doesn't need any tooling heavier than itself. */

:root {
  --bg-dark: #073b40;
  --bg-mid: #0e5a5a;
  --bg-light: #2f9e8f;
  --accent: #ef5b4e;
  --accent-light: #ff8a7a;
  --text-light: #f5faf9;
  --text-muted: #bfe3dd;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.14);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 45%, var(--bg-dark) 100%);
  color: var(--text-light);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

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

/* Nav */

header.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(7, 59, 64, 0.75);
  border-bottom: 1px solid var(--card-border);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav nav a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 22px;
  font-size: 0.95rem;
}

.site-nav nav a:hover {
  color: var(--text-light);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero img.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.hero p.subhead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(239, 91, 78, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(239, 91, 78, 0.45);
}

.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pill-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Sections */

section {
  padding: 56px 0;
}

section h2 {
  font-size: 1.7rem;
  margin: 0 0 8px;
  text-align: center;
}

section p.section-lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card .glyph {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

/* Tools list */

.tools-list {
  columns: 2;
  column-gap: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.tools-list li {
  margin-bottom: 10px;
  break-inside: avoid;
  color: var(--text-muted);
}

.tools-list li strong {
  color: var(--text-light);
}

/* Screenshots */

.screenshot-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
}

.screenshot-frame {
  scroll-snap-align: start;
  flex: 0 0 220px;
  aspect-ratio: 9 / 19.5;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 16px;
  overflow: hidden;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Legal pages */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 36px;
  text-align: left;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal a {
  color: var(--accent-light);
}

/* Footer */

footer {
  border-top: 1px solid var(--card-border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer nav a {
  text-decoration: none;
  color: var(--text-muted);
  margin-left: 16px;
}

footer nav a:hover {
  color: var(--text-light);
}

@media (max-width: 560px) {
  .tools-list {
    columns: 1;
  }
  footer .wrap {
    flex-direction: column;
    text-align: center;
  }
  footer nav a:first-child {
    margin-left: 0;
  }
}
