/* CameraConnect — marketing site
   Palette, spacing and radii mirror the app's AppTheme so the site and the
   product read as one thing. */

:root {
  --bg: #070707;
  --bg-top: #141414;
  --card: #161616;
  --card-hi: #1c1c1c;
  --divider: #2c2c2c;
  --tile: #ededed;

  --brand: #fa7801;
  --brand-soft: rgba(250, 120, 1, 0.16);
  --brand-line: rgba(250, 120, 1, 0.35);

  --text: #ffffff;
  --text-dim: #9b9b9b;

  --r-badge: 10px;
  --r-control: 16px;
  --r-card: 18px;

  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;

  --maxw: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Honeycomb texture, echoing the artwork inside the app. */
.hex-field {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.4'/%3E%3Cpath d='M28 64 56 80v32M28 64 0 80v32' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.4'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 var(--s-md);
}

h1,
h2,
h3 {
  margin: 0 0 var(--s-md);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 6.4vw, 62px);
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
}

h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--s-md);
}

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 56ch;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--s-xl);
}

.section-head p {
  color: var(--text-dim);
  margin-bottom: 0;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(7, 7, 7, 0.78);
  border-bottom: 1px solid var(--divider);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  height: 66px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex: none;
}

.brand-lockup:hover {
  text-decoration: none;
}

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

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s-lg);
}

.nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

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

@media (max-width: 760px) {
  .nav .nav-link {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-control);
  padding: 13px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #0b0b0b;
  box-shadow: 0 10px 30px rgba(250, 120, 1, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--divider);
}

.btn-ghost:hover {
  border-color: #4a4a4a;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: var(--r-badge);
}

/* The App Store slot before release: informative, not clickable. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--r-control);
  padding: 11px 20px;
  cursor: default;
}

.store-badge .apple {
  font-size: 26px;
  line-height: 1;
  color: var(--text);
}

.store-badge .lines {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}

.store-badge .small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.store-badge .big {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-lg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top), var(--bg));
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
}

.hero .glow {
  width: 620px;
  height: 620px;
  top: -240px;
  right: -140px;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero-note {
  font-size: 14px;
  color: var(--text-dim);
  margin: var(--s-md) 0 0;
}

@media (max-width: 880px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* Phone frame holding the in-app artwork. */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #3a3a3a, #101010 45%, #2a2a2a);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.phone::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 35px;
}

.phone-stack {
  display: flex;
  justify-content: center;
  gap: var(--s-lg);
  flex-wrap: wrap;
}

/* ---------- Brand strip ---------- */

.strip {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--card);
  padding: var(--s-xl) 0;
}

.strip-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s-lg);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-md);
}

.logo-tile {
  background: var(--tile);
  border-radius: var(--r-control);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--s-md);
}

.logo-tile img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: var(--s-md);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--r-card);
  padding: var(--s-lg);
}

.card h3 {
  margin-bottom: var(--s-sm);
}

.card p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin: 0;
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-md);
}

.card .icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: var(--r-badge);
  padding: 3px 9px;
  margin-top: var(--s-md);
}

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.split + .split {
  margin-top: clamp(48px, 7vw, 88px);
}

.split.reverse .split-media {
  order: -1;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }
}

.split-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--s-md) 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  margin-bottom: var(--s-sm);
  font-size: 16px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
}

.step .num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #0b0b0b;
  font-weight: 900;
  font-size: 17px;
  margin-bottom: var(--s-md);
}

/* ---------- Film rolls ---------- */

.film-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-md);
  justify-content: center;
  margin-top: var(--s-lg);
}

.film-row img {
  height: 110px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.look-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-sm);
  margin-top: var(--s-lg);
}

.look-tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--divider);
  border-radius: var(--r-badge);
  padding: 5px 11px;
}

/* ---------- Privacy callout ---------- */

.callout {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top), var(--bg));
  border: 1px solid var(--divider);
  border-radius: var(--r-card);
  padding: clamp(28px, 5vw, 56px);
}

.callout .glow {
  width: 420px;
  height: 420px;
  top: -220px;
  left: 20%;
}

.callout .inner {
  position: relative;
}

/* ---------- FAQ ---------- */

.faq details {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--r-control);
  padding: var(--s-md) var(--s-lg);
  margin-bottom: var(--s-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-md);
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--text-dim);
  margin: var(--s-md) 0 0;
  font-size: 15.5px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: var(--s-xl) 0;
  background: var(--bg);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
}

.footer-links a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-fine {
  margin-top: var(--s-lg);
  padding-top: var(--s-md);
  border-top: 1px solid var(--divider);
  color: #6d6d6d;
  font-size: 13px;
  line-height: 1.65;
}

.footer-fine p {
  margin: 0 0 var(--s-sm);
}

/* ---------- Legal pages ---------- */

.legal {
  padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
}

.legal .doc {
  max-width: 78ch;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 46px);
}

.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: var(--s-xl);
}

.legal h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: var(--s-xl);
  scroll-margin-top: 90px;
}

.legal h3 {
  font-size: 17px;
  margin-top: var(--s-lg);
}

.legal p,
.legal li {
  color: #cfcfcf;
  font-size: 16.5px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 0 0 var(--s-md);
}

.legal li {
  margin-bottom: var(--s-sm);
}

.legal .note {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--r-control);
  padding: var(--s-lg);
  margin: var(--s-lg) 0;
}

.legal .note p:last-child {
  margin-bottom: 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-md) 0 var(--s-lg);
  font-size: 15.5px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  color: #cfcfcf;
}

.legal th {
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.toc {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--r-control);
  padding: var(--s-lg);
  margin-bottom: var(--s-xl);
}

.toc strong {
  display: block;
  margin-bottom: var(--s-sm);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin-bottom: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
