/* Photos Copy — static site styles.
   Layout modeled on foldersync.io's structure, in Photos Copy's colors:
   white / soft lavender ground, deep navy headings, violet accent
   (pulled from the app icon + approved feature graphic). */

:root {
  --ink: #232338;
  --navy: #211d6e;
  --navy-deep: #171344;
  --violet: #6d28d9;
  --violet-dark: #5b21b6;
  --muted: #5a5a72;
  --bg: #ffffff;
  --wash: #f4f3fb;
  --line: #e4e2f2;
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--violet); }
a:hover { color: var(--violet-dark); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16.5px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  line-height: 1.3;
}

.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-dark); color: #fff; }

.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet-dark); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--wash); color: var(--navy); }

.nav-cta { padding: 8px 18px; font-size: 15px; margin-left: 8px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.site-header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  margin-right: auto;
}

.brand img { width: 38px; height: 38px; border-radius: 9px; }

.brand small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.25;
}

.site-header nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }

.site-header nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 15.5px;
}

.site-header nav a:hover { background: var(--wash); color: var(--navy); }
.site-header nav a[aria-current="page"] {
  background: var(--wash);
  color: var(--navy);
  font-weight: 600;
}
.site-header nav a.btn-primary { color: #fff; }
.site-header nav a.btn-primary:hover { background: var(--violet-dark); color: #fff; }

/* ---------- layout ---------- */

main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px 72px; }

section:not(.panel) { padding: 76px 0 8px; }

h1 {
  color: var(--navy);
  font-size: clamp(36px, 5.6vw, 56px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

h1 .accent, h2 .accent { color: var(--violet); }

h2 {
  color: var(--navy);
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.25;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

h3 { color: var(--navy); font-size: 19px; margin: 26px 0 6px; }

.eyebrow {
  color: var(--violet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 0 auto; }

.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 10px; }

p { max-width: 720px; }
li { max-width: 700px; margin-bottom: 6px; }

.page-head { padding: 52px 0 4px; }
.page-head p { font-size: 19px; color: var(--muted); max-width: 680px; }

/* ---------- hero ---------- */

.hero {
  background-color: #f8f7fc;
  background-image:
    linear-gradient(rgba(109, 40, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 217, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  border-radius: 0 0 28px 28px;
  padding: 72px 36px 0;
  margin: 0 -20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0 0 14px;
  padding: 0;
  font-size: 15.5px;
  color: var(--ink);
}

.trust-row li { margin: 0; }
.trust-row li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 7px; }

.hero .soon { color: var(--muted); font-size: 14.5px; margin: 0 0 34px; }

.hero-visual { width: min(320px, 100%); margin: 0 auto -54px; position: relative; z-index: 2; }

/* ---------- spec strip ---------- */

.spec-section { padding-top: 92px; }

.spec-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(33, 29, 110, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec { padding: 24px 18px; text-align: center; }
.spec + .spec { border-left: 1px solid var(--line); }
.spec b { display: block; color: var(--navy); font-size: 21px; line-height: 1.3; margin-bottom: 4px; }
.spec span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; }

/* ---------- panels, cards, grids ---------- */

.panel { border-radius: 24px; padding: 52px 44px; margin-top: 76px; }
.panel-wash { background: var(--wash); }
.panel .note-line { text-align: center; color: var(--muted); margin: 24px auto 0; }

.panel-dark {
  background: var(--navy);
  color: #e6e3fa;
  text-align: center;
}
.panel-dark h2 { color: #fff; }
.panel-dark p { color: #cfcbf2; margin-left: auto; margin-right: auto; }
.panel-dark .eyebrow { color: #b7aef5; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.work-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
}

.work-cell span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; margin-top: 3px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(33, 29, 110, 0.05);
}

.card .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eceafd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .ic svg { width: 24px; height: 24px; stroke: var(--violet); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { margin: 14px 0 6px; font-size: 18.5px; }
.card p { margin: 0; font-size: 16px; color: var(--ink); }

.shot {
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(33, 29, 110, 0.16);
  border: 1px solid var(--line);
}

.shots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 26px 0 6px;
}

.shots-row figure, .duo figure { margin: 0; }

.shots-row figcaption, .duo figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 26px;
  justify-content: center;
  margin: 26px 0 6px;
}

.in-short {
  background: var(--wash);
  border: 1px solid var(--line);
  border-left: 5px solid var(--violet);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 36px 0;
  max-width: 760px;
}

.in-short h2, .in-short h3 { margin-top: 0; }
.in-short p:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */

.steps { counter-reset: step; padding: 0; list-style: none; margin: 22px auto; max-width: 720px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 18px 58px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; }

/* ---------- comparison table ---------- */

.table-scroll { overflow-x: auto; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 16px;
}

table.compare th, table.compare td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }
table.compare thead th { background: var(--navy); color: #fff; font-size: 16.5px; }
table.compare tbody th { color: var(--navy); font-weight: 600; white-space: nowrap; }
table.compare td.yes { color: var(--ink); }
table.compare td.dim { color: var(--muted); }

/* ---------- pricing ---------- */

.price-card {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(33, 29, 110, 0.1);
  padding: 36px 38px;
  text-align: center;
}

.price-card .app-name { color: var(--navy); font-weight: 700; font-size: 19px; margin: 0; }
.price-card .price { color: var(--navy); font-size: 52px; font-weight: 800; line-height: 1.1; margin: 8px 0 2px; letter-spacing: -1px; }
.price-card .per { color: var(--muted); margin: 0 0 22px; }

.checks { list-style: none; padding: 0; margin: 0 auto 6px; text-align: left; max-width: 340px; }
.checks li { margin-bottom: 9px; }
.checks li::before { content: "✓"; color: var(--violet); font-weight: 700; margin-right: 9px; }

.price-note { text-align: center; color: var(--muted); font-size: 15px; max-width: 620px; margin: 20px auto 0; }

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

.faq-list { max-width: 820px; margin: 0 auto; }

details.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  margin-bottom: 12px;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  color: var(--navy);
  font-weight: 600;
  font-size: 17px;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--violet); font-size: 24px; font-weight: 400; line-height: 1; }
details.faq-item[open ] summary::after { content: "–"; }
details.faq-item p { margin: 0 0 17px; }

/* plain FAQ (sub-pages) */
.faq h3 { margin-top: 30px; }
.faq p { margin-top: 0; }

.note { color: var(--muted); font-size: 15px; }

/* ---------- changelog ---------- */

.log-item { border-left: 3px solid var(--line); padding: 2px 0 30px 24px; position: relative; max-width: 760px; }
.log-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--violet);
}
.log-item h3 { margin: 0 0 2px; }
.log-item .log-date { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.log-item p { margin: 0; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-deep); color: #c9c5ef; margin-top: 84px; }

.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 52px 20px 30px; }

.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.f-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 19px; }
.f-brand img { width: 36px; height: 36px; border-radius: 9px; }
.f-blurb { color: #a49ed8; font-size: 15px; max-width: 300px; margin: 14px 0; }

.site-footer h4 { color: #fff; font-size: 15px; margin: 4px 0 12px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; max-width: none; }
.site-footer a { color: #c9c5ef; text-decoration: none; font-size: 15.5px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14.5px;
  color: #a49ed8;
}

/* ---------- small screens ---------- */

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

@media (max-width: 760px) {
  section:not(.panel) { padding-top: 56px; }
  .hero { padding: 48px 22px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { width: min(260px, 80%); margin-bottom: -40px; }
  .spec-section { padding-top: 72px; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(3) { border-left: none; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel { padding: 38px 24px; }
  .cards { grid-template-columns: 1fr; }
  .shots-row { grid-template-columns: 1fr; justify-items: center; }
  .shots-row .shot { width: min(260px, 80%); }
  .duo { grid-template-columns: minmax(0, 260px); }
  .brand small { display: none; }
  .f-grid { grid-template-columns: 1fr; }
  table.compare tbody th { white-space: normal; }
}
