:root {
  --navy: #111c2c;
  --navy-soft: #2a3a52;
  --blue: #285dc5;
  --blue-light: #6a90d8;
  --bg: #fefefe;
  --bg-alt: #f4f6fa;
  --border: #e2e6ee;
  --text: #1c2531;
  --text-muted: #5b6577;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
}

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

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand span {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

nav.site-nav { display: flex; gap: 28px; }
nav.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.site-nav a:hover { color: var(--blue); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--navy);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero p.lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.tagline {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.tagline .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-light); }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 1px 2px rgba(17,28,44,0.15);
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(17,28,44,0.22); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
section .section-lede {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.pillar .num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.1em;
}
.pillar h3 {
  color: var(--navy);
  margin: 8px 0 10px;
  font-size: 1.15rem;
}
.pillar p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Product card */
.product-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--navy);
  border-radius: 20px;
  padding: 48px;
  color: #fff;
}
.product-card img.icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  flex-shrink: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.product-card h3 { margin: 0 0 8px; font-size: 1.5rem; }
.product-card p { color: #b8c2d6; margin: 0 0 18px; }
.product-card .btn-primary { background: var(--blue); }

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; text-align: center; padding: 36px 24px; }

  header.site .wrap {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    row-gap: 10px;
  }
  .brand span { font-size: 1rem; }
  nav.site-nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }
  nav.site-nav a { font-size: 0.88rem; }
}

@media (max-width: 360px) {
  nav.site-nav { gap: 12px; }
  nav.site-nav a { font-size: 0.82rem; }
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site a { color: var(--text-muted); }
footer.site .foot-links { display: flex; gap: 20px; }

/* FlickIt page specifics */
.app-hero {
  padding: 72px 0 48px;
  display: flex;
  align-items: center;
  gap: 56px;
}
.app-hero img.icon {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  box-shadow: 0 16px 40px rgba(17,28,44,0.18);
  flex-shrink: 0;
}
.app-hero .app-name {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.app-hero .app-sub { color: var(--text-muted); font-size: 1.1rem; margin: 0 0 22px; }

.screenshots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 0 12px;
}
.screenshots img {
  height: 480px;
  width: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-list li {
  padding-left: 26px;
  position: relative;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
@media (max-width: 640px) {
  .app-hero { flex-direction: column; text-align: center; padding-top: 48px; }
  .feature-list { grid-template-columns: 1fr; }
}

.faq dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 22px;
}
.faq dd { margin: 6px 0 0; color: var(--text-muted); }
