/* Gallery Guard website: one stylesheet for every page. Values follow the design handoff
   (website-design.html). Light only, like the design. */

:root {
  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --ink: #1B1F18;
  --ink-body: #33372F;
  --ink-2: #4C5247;
  --ink-3: #5E6559;
  --line: #E3E6DF;
  --line-soft: #ECEEE8;
  --brand: #2D5016;
  --brand-tint: #E8F0E1;
  --on-brand-text: #DCE6D3;
  --on-brand-icon: #C9DDB8;
  --eyebrow: #4A7A2C;
  --pick: #3F6680;
  --delete: #D93A2F;
  --chip: #E8EBE4;
  --photo-placeholder: #DCE3D5;
  --phone-black: #0B0B0B;
  --wide: 1080px;
  color-scheme: light;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img { display: block; }

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

/* Ionicons from assets/icons.svg, sized with font-size like <ion-icon> */
.i { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Header and footer */
.site-header {
  max-width: var(--wide);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.site-nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer > div {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px 24px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-3);
}
.site-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }

/* Shared text */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .6px; color: var(--eyebrow); }
.display {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-wrap: balance;
}
.plain-list { list-style: none; margin: 0; padding: 0; }

/* Photos: an <img> filling a box, like a CSS cover background */
.photo { position: relative; overflow: hidden; background: var(--photo-placeholder); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo img.left { object-position: left; }
.photo img.right { object-position: right; }
.dim { position: absolute; inset: 0; background: rgba(20, 22, 19, .5); }

/* Hero */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px 24px 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 6px; }
.hero-copy .eyebrow .i { font-size: 15px; }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -2px;
  text-wrap: balance;
}
.lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 480px; text-wrap: pretty; }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink-body); }
.tick {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tick .i { font-size: 14px; color: var(--brand); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.store:hover { color: #fff; text-decoration: none; }
.store .i { font-size: 26px; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-text small { font-size: 11px; opacity: .8; }
.store-text strong { font-size: 19px; font-weight: 700; }
.cta-note { font-size: 14px; color: var(--ink-3); }

.hero-art { display: flex; justify-content: center; }

/* Phone mockups: .phone-lg in the hero, .phone-sm in How it works */
.phone { position: relative; background: linear-gradient(145deg, #C9CCC6, #8E918B 40%, #B7BAB3); padding: 3px; }
.phone-lg {
  width: 312px;
  height: 678px;
  border-radius: 56px;
  box-shadow: 0 50px 90px rgba(27, 31, 24, .22), 0 10px 24px rgba(27, 31, 24, .12);
}
.phone-sm { width: 248px; height: 520px; border-radius: 44px; box-shadow: 0 30px 60px rgba(27, 31, 24, .18); }
.bezel { height: 100%; box-sizing: border-box; background: var(--phone-black); }
.phone-lg .bezel { border-radius: 53px; padding: 6px; }
.phone-sm .bezel { border-radius: 41px; padding: 5px; }
.screen { position: relative; height: 100%; box-sizing: border-box; background: var(--bg); color: var(--ink); overflow: hidden; }
.phone-lg .screen { border-radius: 47px; }
.phone-sm .screen { border-radius: 36px; }
.island { position: absolute; left: 50%; transform: translateX(-50%); background: var(--phone-black); }
.phone-lg .island { top: 11px; width: 96px; height: 28px; border-radius: 14px; }
.phone-sm .island { top: 9px; width: 76px; height: 22px; border-radius: 11px; z-index: 3; }
.status { position: absolute; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.status > span:last-child { display: flex; align-items: center; }
.phone-lg .status { top: 14px; left: 30px; right: 26px; font-size: 14px; }
.phone-lg .status > span:last-child { gap: 4px; }
.phone-lg .status .cell { font-size: 13px; }
.phone-lg .status .wifi { font-size: 14px; }
.phone-lg .status .battery { font-size: 20px; }
.phone-sm .status { top: 11px; left: 24px; right: 20px; font-size: 12px; z-index: 2; }
.phone-sm .status > span:last-child { gap: 3px; }
.phone-sm .status .cell { font-size: 11px; }
.phone-sm .status .wifi { font-size: 12px; }
.phone-sm .status .battery { font-size: 17px; }
.home-bar { position: absolute; left: 50%; transform: translateX(-50%); height: 4px; border-radius: 2px; background: var(--ink); }
.phone-lg .home-bar { bottom: 7px; width: 110px; }
.phone-sm .home-bar { bottom: 6px; width: 90px; }
.side-button { position: absolute; width: 3px; background: #9A9D96; }
.side-button.l { left: -3px; border-radius: 2px 0 0 2px; }
.side-button.r { right: -3px; border-radius: 0 2px 2px 0; }
.side-button.b1 { top: 150px; height: 30px; }
.side-button.b2 { top: 200px; height: 56px; }
.side-button.b3 { top: 268px; height: 56px; }
.side-button.b4 { top: 220px; height: 86px; }

/* Hero phone */
.float-size {
  position: absolute;
  left: -56px;
  top: 190px;
  z-index: 5;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px rgba(27, 31, 24, .16);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.float-size strong { font-size: 26px; font-weight: 800; letter-spacing: -.8px; line-height: 1; }
.float-size span { font-size: 12px; color: var(--ink-3); }
.float-best {
  position: absolute;
  right: -48px;
  top: 420px;
  z-index: 5;
  background: var(--brand);
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 18px 40px rgba(27, 31, 24, .2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.float-best .i { font-size: 16px; color: var(--on-brand-icon); }
.hero-grid {
  position: absolute;
  inset: 0;
  padding: 50px 6px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-content: start;
}
.hero-grid .photo { aspect-ratio: 1; border-radius: 6px; }
.x-badge {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--delete);
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.x-badge .i { font-size: 11px; color: #fff; }
.screen-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(246, 247, 244, 0), #F6F7F4 70%);
}

/* What it finds */
.finds { background: var(--surface); padding: 96px 24px; }
.finds-inner { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.finds-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
.finds-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.finds-head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 380px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.feature {
  background: var(--bg);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.feature-text { display: flex; flex-direction: column; gap: 8px; }
.feature-kicker { font-size: 13px; font-weight: 700; color: var(--pick); }
.feature h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.feature p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 380px; }
.feature-dark { background: var(--ink); color: #fff; }
.feature-dark .feature-kicker { color: #F2A49C; }
.feature-dark p { color: #C9CDC4; }

.shots { display: flex; gap: 10px; margin-top: auto; width: 100%; max-width: 420px; }
.shots .photo { flex: 1; aspect-ratio: 4 / 5; border-radius: 14px; }
.shots .dim { background: rgba(20, 22, 19, .4); }
.shots .best::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--brand); }
.shots .soft { filter: blur(1.2px); }
.keep-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
}
.keep-chip .i { font-size: 13px; }

.id-art { margin-top: auto; display: flex; justify-content: center; padding: 8px 0; }
.id-stack { position: relative; width: 260px; height: 160px; flex-shrink: 0; }
.id-back {
  position: absolute;
  left: 30px;
  top: 0;
  width: 230px;
  height: 144px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4A5A6A, #2B3540);
  transform: rotate(6deg);
}
.id-front {
  position: absolute;
  left: 0;
  top: 14px;
  width: 230px;
  height: 144px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6E8B5A, #2D5016);
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
}
.id-chip { width: 34px; height: 26px; border-radius: 5px; background: #D9C27A; }
.id-number { white-space: nowrap; font-size: 13px; letter-spacing: 1px; font-family: ui-monospace, Menlo, monospace; }
.id-hide {
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}
.id-hide .i { font-size: 20px; color: var(--ink); }

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.categories li { background: var(--surface); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.categories .i { font-size: 24px; color: var(--brand); }
.categories h3 { margin: 6px 0 0; font-size: 16px; font-weight: 700; }
.categories p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); text-wrap: pretty; }

/* How it works */
.how { padding: 96px 24px 0; }
.how-inner { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.how-head { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 32px; }
.steps > li { display: flex; flex-direction: column; align-items: center; gap: 28px; flex: 1 1 260px; max-width: 340px; }
.steps > li:first-child { flex-basis: 280px; }
.step-text { display: flex; flex-direction: column; gap: 8px; max-width: 300px; text-align: center; align-items: center; }
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.step-text h3 { margin: 0; font-size: 19px; font-weight: 700; }
.step-text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* Step 1: scanning */
.scan-screen { position: absolute; top: 44px; left: 14px; right: 14px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; }
.scan-title { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin-top: 6px; }
.scan-progress { display: flex; flex-direction: column; gap: 6px; }
.scan-bar { height: 6px; border-radius: 3px; background: var(--line); }
.scan-bar > div { width: 48%; height: 100%; border-radius: 3px; background: var(--brand); }
.scan-meta { font-size: 11px; color: var(--ink-3); }
.scan-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.scan-thumbs .photo { aspect-ratio: 1; border-radius: 5px; }
.scan-thumbs .pending { opacity: .35; }
.scan-label { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .4px; margin-top: 4px; }
.scan-list { background: var(--surface); border-radius: 12px; display: flex; flex-direction: column; }
.scan-list > div { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.scan-list .i { font-size: 16px; color: var(--brand); }
.scan-list span { font-size: 12px; color: var(--ink-3); }
.scan-list span:first-of-type { flex: 1; font-weight: 600; color: var(--ink); }
.scan-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.scan-privacy { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--ink-3); }
.scan-privacy .i { font-size: 11px; }
.scan-button {
  align-self: stretch;
  height: 40px;
  border-radius: 12px;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

/* Step 2: picking the best shot */
.review-nav { position: absolute; top: 38px; left: 0; right: 0; height: 30px; display: flex; align-items: center; padding: 0 12px; font-size: 12px; }
.review-nav span { width: 50px; }
.review-nav span:first-child { color: var(--brand); }
.review-nav strong { flex: 1; text-align: center; font-weight: 700; }
.review-photo.photo { position: absolute; top: 70px; left: 0; right: 0; height: 270px; }
.review-chips { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.review-keeping {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 7px;
}
.review-keeping .i { font-size: 12px; }
.review-best {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #fff;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  padding: 5px 7px;
  border-radius: 7px;
}
.review-best .i { font-size: 10px; }
.review-group { position: absolute; top: 350px; left: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; }
.review-strip { display: flex; gap: 6px; }
.review-strip > div { flex: 1; }
.review-strip .photo { aspect-ratio: 1; border-radius: 7px; }
.review-strip .current { outline: 2px solid var(--ink); outline-offset: 1.5px; }
.mini-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 15px;
  height: 15px;
  border-radius: 8px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-badge.keep { background: var(--brand); }
.mini-badge.delete { background: var(--delete); }
.mini-badge .i { font-size: 9px; color: #fff; }
.review-count { font-size: 11px; color: var(--ink-3); }
.review-next {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 22px;
  height: 40px;
  border-radius: 12px;
  background: var(--pick);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.review-next .i { font-size: 14px; }

/* Step 3: space freed */
.freed-screen { position: absolute; top: 44px; left: 16px; right: 16px; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.freed-check {
  margin-top: 96px;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: var(--brand-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.freed-check .i { font-size: 32px; color: var(--brand); }
.freed-title { font-size: 26px; font-weight: 800; letter-spacing: -.6px; }
.freed-text { font-size: 12px; line-height: 1.45; color: var(--ink-3); text-align: center; }
.freed-link { margin-top: auto; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--brand); }

/* Trust cards */
.trust { padding: 72px 24px; }
.trust-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}
.trust-grid li { background: var(--surface); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.trust-grid .i { font-size: 24px; color: var(--brand); }
.trust-grid h3 { margin: 0; font-size: 20px; font-weight: 700; }
.trust-grid p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* The one green cell or card in a group */
.categories .on-brand, .trust-grid .on-brand { background: var(--brand); color: #fff; }
.on-brand .i { color: var(--on-brand-icon); }
.on-brand p { color: var(--on-brand-text); }

/* Support, privacy and 404 */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; display: flex; flex-direction: column; gap: 32px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; }
.doc h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: -1.4px; }
.doc-intro { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }

.mail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 20px 22px;
}
.mail-card:hover { color: #fff; text-decoration: none; }
.mail-card .i { font-size: 24px; }
.mail-card .i:last-child { font-size: 20px; }
.mail-card > span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mail-card strong { font-size: 17px; font-weight: 700; }
.mail-card small { font-size: 15px; color: var(--on-brand-text); }

.mail-block { display: flex; flex-direction: column; gap: 12px; }
.doc-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }

.faq-group { display: flex; flex-direction: column; gap: 12px; }
.faq-group > h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--eyebrow); }
.faq { display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; overflow: hidden; }
.faq > div { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.faq > div + div { border-top: 1px solid var(--line-soft); }
.faq h3 { margin: 0; font-size: 17px; font-weight: 700; }
.faq p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.privacy { gap: 28px; }
.privacy .doc-head { gap: 10px; }
.doc-date { margin: 0; font-size: 15px; color: var(--ink-3); }
.summary {
  background: var(--brand);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.summary .i { font-size: 22px; color: var(--on-brand-icon); margin-top: 2px; }
.summary p { margin: 0; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.policy { display: flex; flex-direction: column; gap: 8px; }
.policy h2 { margin: 0; font-size: 20px; font-weight: 700; }
.policy p, .policy ul, .doc-contact { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-body); text-wrap: pretty; }
.policy ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.policy strong { font-weight: 600; color: var(--ink); }

/* Narrow phones: shrink the mockups so the floating badges and ID cards stay on screen */
@media (max-width: 440px) {
  .hero-art .phone-lg { zoom: .8; }
  .id-stack { zoom: .85; }
}
