:root {
  --bg: #ffffff;
  --surface: #fafaf9;
  --surface-2: #f5f5f4;
  --border: #e7e5e4;
  --text: #0a0a0a;
  --muted: #57534e;
  --link: #1d4ed8;
  --link-hover: #1e40af;
  --photoro-bg: #314109;
  --photoro-bg-edge: #29360a;
  --container: 1100px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04), 0 1px 3px rgba(15, 15, 15, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 15, 15, 0.06), 0 8px 24px rgba(15, 15, 15, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 100;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.brand {
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--link);
}
.site-nav a.active {
  color: var(--muted);
}

/* Headings */
h1, h2, h3 {
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.15;
}
h1 {
  font-size: clamp(2rem, 4.5vw + 1rem, 3.5rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.75rem, 2.25rem);
  font-weight: 700;
  margin-top: 2.5rem;
}
h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

p.lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.55;
}

/* Generic page section */
main {
  display: block;
}
.page {
  padding: 3rem 0 4rem;
}
.page-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.page-narrow h2 {
  margin-top: 2rem;
}
.page-narrow ul, .page-narrow ol {
  margin: 0 0 1rem 1.25rem;
}
.page-narrow li {
  margin-bottom: 0.4rem;
}

/* Hero */
.hero {
  padding: 4rem 0 1rem;
}
.hero h1 {
  max-width: 18ch;
}
.hero .lead {
  margin-top: 0.75rem;
}
.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* App Store badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  font-weight: 500;
  transition: transform 0.18s ease;
}
.app-store-badge:hover {
  color: #fff;
  transform: translateY(-1px);
}
.app-store-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.app-store-badge .badge-line1 {
  display: block;
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.app-store-badge .badge-line2 {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 2px;
}

/* Photoro showcase card */
.photoro {
  margin: 2.5rem 0 4rem;
  background: radial-gradient(circle at 30% 20%, var(--photoro-bg) 0%, var(--photoro-bg-edge) 70%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 0;
  color: #f5f1e8;
  overflow: hidden;
  position: relative;
}
.photoro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: end;
}
.photoro-copy {
  padding-bottom: 2rem;
}
.photoro-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.65);
  margin-bottom: 0.85rem;
}
.photoro h2 {
  color: #f5f1e8;
  font-size: clamp(1.5rem, 2.4vw + 0.6rem, 2rem);
  max-width: 16ch;
  margin: 0 0 1rem;
}
.photoro-copy p {
  color: rgba(245, 241, 232, 0.8);
  margin: 0 0 1rem;
  max-width: 32ch;
}
.photoro-specs {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}
.photoro-specs li {
  color: rgba(245, 241, 232, 0.75);
  display: flex;
  gap: 0.6rem;
}
.photoro-specs li::before {
  content: "→";
  color: rgba(245, 241, 232, 0.45);
  font-weight: 500;
}
.photoro-shot {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.photoro-shot img {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

/* Quiet section under Photoro */
.studio-note {
  text-align: center;
  padding: 1rem 0 3rem;
}
.studio-note p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 38rem;
  margin: 0 auto;
}

/* Contact / Support cards */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  margin: 1.5rem 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.email-link {
  font-weight: 600;
  font-size: 1.0625rem;
}

/* FAQ list */
.faq {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}
.faq h3 {
  margin: 0 0 0.4rem;
  font-size: 1.0625rem;
}
.faq p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-copy {
  margin: 0;
}
.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--text);
}

/* Responsive */
@media (min-width: 720px) {
  .header-row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .photoro {
    padding: 4rem 3rem 0;
  }
  .photoro-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .photoro-copy {
    padding-bottom: 4rem;
  }
  .photoro-shot img {
    max-width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
