/* cammatch.in: the brand's blue → violet, light and dark mode. Text colours reach WCAG AA (4.5:1); text on photos
   sits on a dark overlay. */
:root {
  --bg: #ffffff;
  --surface: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --blue: #2563eb;
  --violet: #7c3aed;
  --link: #6d28d9;
  --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --on-gradient: #ffffff;
  --notice-bg: #fff7ed;
  --notice-line: #f59e0b;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.07);
  --radius: 18px;
  --header-h: 72px;
  --page-max: 1600px;                     /* content width on very large screens */
  --gutter: clamp(20px, 4.5vw, 80px);     /* space at the sides, growing with the screen */
  --edge: max(var(--gutter), calc((100vw - var(--page-max)) / 2)); /* where content starts */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b12;
    --surface: #12121c;
    --card: #181826;
    --text: #f1f5f9;
    --muted: #b4b9c6;
    --line: #2a2a3c;
    --link: #c4b5fd;
    --notice-bg: #2a1f0a;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.015em; }
h1 { font-size: clamp(36px, 5.6vw, 64px); letter-spacing: -0.03em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: calc(var(--page-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 50; }

/* ---------- header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, border-color 0.25s;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: 24px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.site-header .brand-icon { width: 46px; height: 46px; border-radius: 12px; }
.brand img { border-radius: 9px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: 15px; position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform 0.2s; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: 9px 16px; border-radius: 999px; background: var(--gradient); color: #fff !important; }
.menu-button { display: none; background: none; border: 0; color: inherit; padding: 8px; border-radius: 10px; cursor: pointer; }

/* On a photo: transparent and white until you scroll. */
.over-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.over-hero .site-header .brand, .over-hero .site-header .main-nav a, .over-hero .menu-button { color: #fff; }
.over-hero.scrolled .site-header, .over-hero.menu-open .site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); border-color: var(--line); backdrop-filter: saturate(1.4) blur(12px); }
.over-hero.scrolled .site-header .brand, .over-hero.scrolled .site-header .main-nav a:not(.nav-cta), .over-hero.scrolled .menu-button,
.over-hero.menu-open .site-header .brand, .over-hero.menu-open .menu-button { color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; background: var(--gradient); color: var(--on-gradient); font-weight: 650; text-decoration: none; border: 0; }
.btn:hover { filter: brightness(1.07); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); border: 1.5px solid rgba(255, 255, 255, 0.7); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.round-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.65); background: rgba(15, 23, 42, 0.35); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.round-btn:hover { background: rgba(15, 23, 42, 0.55); }
.round-btn .icon { width: 20px; height: 20px; }
.round-btn.dark { background: var(--card); color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.round-btn.dark:hover { border-color: var(--violet); }
.round-btn:disabled { opacity: 0.4; cursor: default; }
.i-play, .is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }

/* ---------- hero with slideshow ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #111; }
.hero-short { min-height: min(72vh, 640px); }
.slideshow { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active img { transform: scale(1); }
/* Dark enough behind every word for 4.5:1 even over a white photo: the text side, the menu band at the top, the bottom. */
.slideshow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 8, 20, 0.72) 0, rgba(8, 8, 20, 0) 150px), linear-gradient(90deg, rgba(8, 8, 20, 0.85) 0%, rgba(8, 8, 20, 0.68) 55%, rgba(8, 8, 20, 0.3) 100%), linear-gradient(0deg, rgba(8, 8, 20, 0.55) 0%, rgba(8, 8, 20, 0) 35%); }
.slide figcaption { position: absolute; left: var(--edge); bottom: 34px; z-index: 2; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(6px); }
.slide-controls { position: absolute; right: var(--edge); bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 0; padding: 0; }
/* Each dot is a 24 × 24 px tap target (WCAG 2.2 target size); the visible dot is drawn inside it. */
.dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; transition: width 0.3s; }
.dot::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transition: background 0.3s; }
.dot.is-active { width: 42px; }
.dot.is-active::before { background: #fff; }
.dot:focus-visible { outline: 3px solid #fff; outline-offset: 0; }
html:not(.js) .slide-controls { display: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: 110px; }
.hero-content h1 { max-width: 760px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero-content .lead { color: rgba(255, 255, 255, 0.92); max-width: 600px; }
.eyebrow { display: inline-block; font-weight: 650; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--card); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-row div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.trust-row .icon { color: var(--violet); width: 28px; height: 28px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 36px; max-width: 760px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head .section-title { margin-bottom: 28px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.num { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--gradient); color: var(--on-gradient); font-weight: 750; }
.step-icon { color: var(--muted); width: 26px; height: 26px; }
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p, .step-desc { margin: 0; color: var(--muted); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); margin-bottom: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.cards .card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }
.card-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--violet); background: color-mix(in srgb, var(--violet) 12%, transparent); margin-bottom: 16px; }
.card h3, .card h2 { font-size: 19px; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.cards .card p { color: var(--muted); }

/* ---------- shoots carousel ---------- */
.carousel {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--edge) 12px; scroll-padding-inline: var(--edge);
}
.carousel::-webkit-scrollbar { display: none; }
.shoot-card { position: relative; flex: 0 0 clamp(220px, 24vw, 280px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: #222; color: #fff; }
.shoot-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.shoot-card:hover img { transform: scale(1.05); }
.shoot-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 20, 0.85) 0%, rgba(8, 8, 20, 0.2) 45%, rgba(8, 8, 20, 0) 70%); }
.shoot-text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.shoot-text h3 { font-size: 20px; margin: 8px 0 4px; }
.shoot-text p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.88); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); }
.carousel-buttons { display: flex; gap: 10px; margin-bottom: 28px; }
html:not(.js) .carousel-buttons { display: none; }

/* ---------- tips + pagination ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-height: 210px; }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); animation: fade-in 0.35s ease; }
.tip[hidden] { display: none; }
.tip-num { display: inline-block; font-weight: 800; font-size: 28px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.tip h3 { font-size: 18px; }
.tip p { color: var(--muted); margin: 0; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-btn { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.page-btn:hover:not(:disabled) { border-color: var(--violet); }
.page-btn[aria-current="page"] { background: var(--gradient); color: #fff; border-color: transparent; }
.page-btn:disabled { opacity: 0.45; cursor: default; }

/* ---------- questions ---------- */
details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: var(--card); }
summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--link); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); }

/* ---------- call to action ---------- */
.cta { padding: 24px 0 88px; }
.cta-inner { position: relative; overflow: hidden; border-radius: 28px; color: #fff; background: var(--gradient); min-height: 340px; display: flex; align-items: center; }
.cta-inner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(37, 99, 235, 0.92) 0%, rgba(124, 58, 237, 0.82) 55%, rgba(124, 58, 237, 0.35) 100%); }
.cta-inner.plain::after { display: none; }
.cta-text { position: relative; z-index: 1; padding: 48px; max-width: 620px; }
.cta-text h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-text p { color: rgba(255, 255, 255, 0.92); font-size: 18px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-pill { font-weight: 700; font-size: 17px; }
.store-small { font-size: 11px; font-weight: 500; opacity: 0.8; }

/* ---------- inner pages ---------- */
.page-header { background: var(--gradient); color: #fff; padding: 64px 0 56px; }
.page-header h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 0; }
.page-header .lead { color: rgba(255, 255, 255, 0.92); margin: 12px 0 0; }
.doc { padding: 40px var(--gutter) 80px; }
.doc section { margin-top: 34px; }
.doc section h2 { font-size: 22px; }
.notice { background: var(--notice-bg); border-left: 4px solid var(--notice-line); padding: 12px 16px; border-radius: 8px; font-size: 15px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 26px 0; }
.toc h2 { font-size: 15px; margin-bottom: 8px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.price-card .big { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-card .big span { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.example { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.example caption { text-align: left; font-weight: 650; margin-bottom: 8px; }
.example th, .example td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.example td { text-align: right; font-variant-numeric: tabular-nums; }
.example .total th, .example .total td { font-weight: 750; border-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1024px) {
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-button { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a::after { display: none; }
  .over-hero .site-header .main-nav a:not(.nav-cta) { color: var(--text); }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
  html:not(.js) .main-nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; box-shadow: none; padding: 0; background: none; border: 0; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .slideshow::after { background: linear-gradient(0deg, rgba(8, 8, 20, 0.85) 0%, rgba(8, 8, 20, 0.68) 55%, rgba(8, 8, 20, 0.7) 100%); }
  .section { padding: 64px 0; }
  .steps, .cards, .cards.two, .tips { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .trust-row div { font-size: 14px; }
  .hero-content { padding-bottom: 130px; }
  .slide figcaption { bottom: 86px; }
  .slide-controls { left: 20px; right: 20px; bottom: 24px; justify-content: space-between; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 0; }
  .carousel-buttons { margin-bottom: 20px; }
  .toc ol { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; gap: 2px; }
  .details dd { margin-bottom: 12px; }
  .cta-text { padding: 32px 24px; }
}

/* ======================= motion ======================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero: the words arrive one after another. */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
.grad-text {
  background: linear-gradient(90deg, #7dd3fc, #c4b5fd, #f9a8d4, #7dd3fc); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 300% 0; } }

/* Sections fade up as they scroll into view (site.js adds .reveal, then .in). */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--delay, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Buttons and cards respond to the pointer. */
.btn { transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3); }
.btn:active { transform: translateY(0); }
.step-top .num { transition: transform 0.3s; }
.steps li { transition: transform 0.2s, border-color 0.2s; }
.steps li:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }

/* ======================= the logo, animated ======================= */
.logo-mark { width: 100%; height: auto; overflow: visible; color: #94a3b8; }
.logo-mark .lm-ring, .logo-mark .lm-plate { transform-box: fill-box; transform-origin: center; }
.logo-mark .lm-corners { transform-box: view-box; transform-origin: 256px 240px; }
html.js [data-logo-anim] .lm-ring-a { transform: translateX(-70px); opacity: 0; }
html.js [data-logo-anim] .lm-ring-b { transform: translateX(70px); opacity: 0; }
html.js [data-logo-anim] .lm-plate { transform: scale(0.2) rotate(-25deg); opacity: 0; }
html.js [data-logo-anim] .lm-corners { opacity: 0; transform: scale(1.12); }
html.js [data-logo-anim].play .lm-ring-a, html.js [data-logo-anim].play .lm-ring-b { animation: ring-in 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) forwards; }
html.js [data-logo-anim].play .lm-ring-b { animation-delay: 0.08s; }
html.js [data-logo-anim].play .lm-plate { animation: plate-in 0.7s cubic-bezier(0.3, 1.7, 0.5, 1) 0.95s forwards; }
html.js [data-logo-anim].play .lm-corners { animation: focus-in 0.8s ease 1.4s forwards; }
@keyframes ring-in { to { transform: none; opacity: 1; } }
@keyframes plate-in { to { transform: none; opacity: 1; } }
@keyframes focus-in { 0% { opacity: 0; transform: scale(1.12); } 60% { opacity: 1; transform: scale(0.97); } 100% { opacity: 1; transform: none; } }
/* Once locked, the CM letters glow now and then. */
[data-logo-anim].play .lm-plate text { animation: glow 3.5s ease-in-out 2.4s infinite; }
@keyframes glow { 0%, 100% { filter: none; } 50% { filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.8)); } }
.brand-logo { max-width: 360px; margin: 8px 0 24px; }

/* ======================= photo puzzle ======================= */
.match { background:
  radial-gradient(700px 300px at 0% 0%, color-mix(in srgb, var(--blue) 10%, transparent), transparent),
  radial-gradient(700px 300px at 100% 100%, color-mix(in srgb, var(--violet) 12%, transparent), transparent); }
.match-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.game-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.game-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.game-head h3 { font-size: 22px; margin-bottom: 4px; }
.game-head p { margin: 0; }
.game-stats { display: flex; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); }
.game-stats strong { color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; margin-left: 4px; }
html:not(.js) .game-card { display: none; }

.puzzle-board {
  --n: 3;
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 18px auto;
  border-radius: 16px; overflow: hidden; background: var(--surface); outline-offset: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.puzzle-board:focus-visible { outline: 3px solid var(--violet); }
.tile {
  position: absolute; top: 0; left: 0; width: calc(100% / var(--n)); height: calc(100% / var(--n));
  padding: 0; border: 0; cursor: pointer;
  background-image: var(--image); background-size: calc(var(--n) * 100%) calc(var(--n) * 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s, box-shadow 0.4s;
}
.tile:disabled { cursor: default; }
.tile.movable:hover, .tile.movable:focus-visible { filter: brightness(1.12); z-index: 1; }
.tile.movable:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; }
.tile.empty { background: transparent; box-shadow: none; }
/* Peek: every piece in its home place. */
.peeking .puzzle-board::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--image) center / cover; animation: peek-in 0.15s ease; }
@keyframes peek-in { from { opacity: 0; } }
/* Solved: the lines disappear, the missing corner fills in, and a banner shows the result. */
.solved .tile { box-shadow: none; }
.solved .tile.empty { background-image: var(--image); animation: fill-in 0.5s ease 0.15s both; }
@keyframes fill-in { from { opacity: 0; } to { opacity: 1; } }
.solved .puzzle-board { animation: solved-pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); box-shadow: 0 0 0 3px #a855f7, 0 16px 40px rgba(124, 58, 237, 0.35); }
@keyframes solved-pop { 40% { transform: scale(1.03); } }
.solved-banner { text-align: center; font-weight: 750; min-height: 26px; margin: -6px 0 6px; color: var(--link); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.solved .solved-banner { opacity: 1; transform: none; }

.game-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.size-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.chip-btn { border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 600; font-size: 14px; padding: 10px 14px; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--gradient); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--text); border: 1.5px solid var(--line); user-select: none; -webkit-user-select: none; touch-action: none; }
.btn-ghost-dark:hover { border-color: var(--violet); box-shadow: none; }
.btn-ghost-dark[aria-pressed="true"] { border-color: var(--violet); color: var(--link); }

/* ======================= payout bar ======================= */
.split { display: flex; height: 40px; border-radius: 12px; overflow: hidden; margin: 6px 0 18px; font-size: 13px; font-weight: 700; color: #fff; }
.split span { width: var(--w); display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.split.play span { transform: none; }
.split .split-pay { transition-delay: 0.25s; }
.split .split-bal { transition-delay: 0.5s; }
.split-fee { background: #6d28d9; }
.split-pay { background: #1d4ed8; }
.split-bal { background: #0f766e; }
html:not(.js) .split span { transform: none; }

@media (max-width: 860px) {
  .match-grid { grid-template-columns: 1fr; gap: 24px; }
  .brand-logo { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .grad-text, [data-logo-anim] *, .tile { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html.js [data-logo-anim] .lm-ring, html.js [data-logo-anim] .lm-plate, html.js [data-logo-anim] .lm-corners { transform: none; opacity: 1; }
  .split span { transform: none; transition: none; }
}

/* ======================= store buttons ======================= */
/* Each store has its own colour; white text stays above 4.5:1 on both. */
.store-row .store-pill, .store-row.light .store-pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; flex-direction: row; gap: 12px;
  padding: 10px 16px 10px 14px; border-radius: 14px; color: #fff; text-decoration: none; line-height: 1.15;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s;
}
.store-row .store-pill.apple { background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #0369a1 100%); }
.store-row .store-pill.play { background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #0f766e 100%); }
.store-pill > span:not(.soon-tag) { display: inline-flex; flex-direction: column; }
.store-pill .store-small { font-size: 11px; font-weight: 500; opacity: 0.85; letter-spacing: 0.02em; }
.store-pill .store-icon { width: 26px; height: 26px; flex: none; }
.store-pill.apple .store-icon { color: #fff; }
.store-pill.play .store-icon { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
/* A light sweeps across now and then, and on hover. */
.store-pill::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); animation: store-shine 5s ease-in-out infinite;
}
.store-pill.play::after { animation-delay: 0.6s; }
@keyframes store-shine { 0%, 70% { transform: translateX(-120%); } 90%, 100% { transform: translateX(120%); } }
.store-pill:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.store-pill:hover::after { animation-duration: 1.2s; }
.soon-tag {
  margin-left: 4px; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
}
.store-pill.apple .soon-tag { color: #dbeafe; }
.store-pill.play .soon-tag { color: #d1fae5; }
/* On the coloured banners: a white ring so the buttons stand out from the background. */
.store-row.light .store-pill { border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 10px 26px rgba(15, 23, 42, 0.3); }
/* The smaller pair inside the photographers' first step. */
.store-row.small { margin: 16px 0 0; gap: 8px; flex-direction: column; align-items: flex-start; }
.store-row.small .store-pill { padding: 8px 12px 8px 10px; border-radius: 12px; gap: 9px; font-size: 14px; }
.store-row.small .store-icon { width: 20px; height: 20px; }
.store-row.small .store-small { font-size: 10px; }
.store-row.small .soon-tag { font-size: 9px; padding: 2px 6px; }
@media (prefers-reduced-motion: reduce) { .store-pill::after { animation: none; } }

/* ======================= photographers' pricing ======================= */
.price-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; box-shadow: var(--shadow); overflow: hidden; }
.price-tile.featured { color: #fff; border-color: transparent; background: var(--gradient); box-shadow: 0 18px 40px rgba(124, 58, 237, 0.3); }
.price-tile.featured::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.price-label { display: inline-block; font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); background: color-mix(in srgb, var(--violet) 12%, transparent); padding: 4px 10px; border-radius: 999px; }
.featured .price-label { color: #fff; background: rgba(255, 255, 255, 0.2); }
.price-big { font-size: clamp(44px, 5vw, 60px); font-weight: 850; letter-spacing: -0.03em; margin: 14px 0 4px; line-height: 1; }
.price-big.small-fee { font-size: clamp(34px, 3.8vw, 46px); }
.price-note { margin: 0; color: var(--muted); }
.featured .price-note { color: rgba(255, 255, 255, 0.9); }

.flow-title { font-size: 20px; margin: 48px 0 18px; }
.money-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 22px 22px; margin-right: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.flow-step:last-child { margin-right: 0; }
/* Arrows between the steps. */
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -22px; width: 16px; height: 16px; border-top: 3px solid var(--violet); border-right: 3px solid var(--violet); transform: translateY(-50%) rotate(45deg); opacity: 0.7; }
.flow-step strong { font-size: 16px; }
.flow-step span:last-child { color: var(--muted); font-size: 14px; }
.flow-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--violet); background: color-mix(in srgb, var(--violet) 12%, transparent); margin-bottom: 8px; }

.included { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.included h3 { font-size: 20px; margin-bottom: 16px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gradient); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.price-foot { margin-top: 18px; }

@media (max-width: 960px) {
  .price-tiles { grid-template-columns: 1fr; }
  .money-flow { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .flow-step:nth-child(2n) { margin-right: 0; }
  .flow-step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .money-flow { grid-template-columns: 1fr; gap: 26px; }
  .flow-step { margin-right: 0; }
  .flow-step:not(:last-child)::after { display: block; top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .check-list { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
}

/* Free tiles: icon, title and a ₹0 badge. */
.price-tiles { grid-template-columns: repeat(2, 1fr); }
.price-tile { display: flex; align-items: center; gap: 18px; padding: 24px 26px; transition: transform 0.25s, border-color 0.25s; }
.price-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }
.price-tile h3 { font-size: 20px; margin: 0 0 4px; }
.price-tile p { margin: 0; color: var(--muted); }
.price-tile > div { flex: 1; }
.tile-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3); }
.tile-icon .icon { width: 28px; height: 28px; }
.tile-badge { flex: none; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 999px; color: #047857; background: color-mix(in srgb, #10b981 15%, transparent); border: 1px solid color-mix(in srgb, #10b981 35%, transparent); }
@media (prefers-color-scheme: dark) { .tile-badge { color: #6ee7b7; } }
@media (max-width: 760px) { .price-tiles { grid-template-columns: 1fr; } }

/* ======================= inner pages: aligned with the header ======================= */
/* Long texts keep a comfortable line length, starting at the same left edge as the logo. */
.doc > * { max-width: 820px; }
.doc.wide > * { max-width: none; }
.doc.wide .cards.two { margin-top: 8px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.doc .panel { margin-top: 0; }
.panel h2 { font-size: 20px; }
.panel p:last-child, .panel dl { margin-bottom: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ======================= contact page ======================= */
.help-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.help-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: transform 0.2s, border-color 0.2s; }
a.help-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
.help-card h2 { font-size: 19px; margin: 0 0 6px; }
.help-card p { color: var(--muted); margin: 0; }
.help-card .email-line { color: var(--link); font-weight: 650; }
.doc .help-options, .doc .contact-main { margin-top: 28px; }
.contact-main { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.form-panel { background: var(--card); box-shadow: var(--shadow); padding: 30px; }
.form-panel h2 { font-size: 24px; }
.contact-form { display: grid; gap: 16px; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; position: relative; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg); width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.counter { justify-self: end; font-weight: 400; font-size: 12px; color: var(--muted); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; font-weight: 550; }
@media (prefers-color-scheme: dark) { .form-error { background: #3b1515; color: #fca5a5; border-color: #7f1d1d; } }
.contact-form .btn { justify-self: start; }
.contact-form .btn .icon { width: 20px; height: 20px; }
.contact-form .btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.form-done { text-align: center; padding: 24px 8px; animation: rise 0.5s ease both; outline: none; }
.form-done[hidden] { display: none; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #059669, #10b981); box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35); }
.done-icon .icon { width: 30px; height: 30px; }
.form-done h3 { font-size: 22px; }
.form-done p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }
.no-js { display: none; }
html:not(.js) .no-js { display: block; }
html:not(.js) .contact-form { display: none; }
.contact-side { display: grid; gap: 20px; }
.contact-side h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.contact-side h3 .icon { color: var(--violet); }
.tips-list, .link-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.link-list { list-style: none; padding: 0; }
.link-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 550; }
.link-list li:last-child a { border-bottom: 0; }
.link-list a::after { content: "›"; font-size: 20px; line-height: 1; }
.doc .contact-grid { margin-top: 28px; }
@media (max-width: 960px) {
  .help-options { grid-template-columns: 1fr; }
  .contact-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .form-panel { padding: 22px; }
  .contact-form .btn { justify-self: stretch; }
}

/* Contact form block: photo panel with the related text, the form beside it. */
.contact-main { grid-template-columns: 0.95fr 1.05fr; gap: 0; align-items: stretch; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1); background: var(--card); }
.form-intro { position: relative; color: #fff; display: flex; align-items: flex-end; min-height: 100%; }
.form-intro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(37, 99, 235, 0.88) 0%, rgba(91, 33, 182, 0.9) 60%, rgba(30, 12, 70, 0.95) 100%); }
.form-intro-text { position: relative; z-index: 1; padding: 44px 40px; }
.form-intro-text h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; }
.form-intro-text > p { color: rgba(255, 255, 255, 0.92); font-size: 17px; }
.kicker.light { color: #ddd6fe; }
.intro-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.intro-points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, 0.92); font-size: 15px; }
.intro-points strong { color: #fff; }
.intro-points .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; }
.contact-main .form-panel { background: var(--card); border: 0; border-radius: 0; box-shadow: none; padding: 40px; }
@media (max-width: 960px) {
  .contact-main { grid-template-columns: 1fr; }
  .form-intro-text { padding: 32px 26px; }
  .contact-main .form-panel { padding: 28px 22px; }
}

/* Questions: full site width, heading on the left, questions on the right. */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.5fr; gap: 48px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-intro .section-title { margin-bottom: 12px; }
.faq-list details:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 8px; }
  .faq-intro { position: static; }
}

/* "Get the app" card under Why CamMatch. */
.app-cta {
  position: relative; overflow: hidden; margin-top: 36px; padding: 30px 34px; border-radius: 26px; color: #fff;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: linear-gradient(120deg, #1e1b4b 0%, #312e81 45%, #5b21b6 100%);
  box-shadow: 0 22px 50px rgba(49, 46, 129, 0.35);
}
.app-cta::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, 0.45), transparent 70%); }
.app-cta::after { content: ""; position: absolute; width: 300px; height: 300px; left: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%); }
.app-cta > * { position: relative; z-index: 1; }
.app-cta-art { width: 120px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); animation: cta-float 5s ease-in-out infinite; }
.app-cta-art .logo-mark { color: #cbd5e1; }
@keyframes cta-float { 50% { transform: translateY(-6px); } }
.app-cta-text h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 6px; }
.app-cta-text p { color: rgba(255, 255, 255, 0.88); margin-bottom: 12px; }
.app-cta-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; color: #e0e7ff; }
.app-cta-points li { display: inline-flex; align-items: center; gap: 7px; }
.app-cta-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.app-cta-stores .store-row { margin: 0; flex-direction: column; align-items: stretch; }
@media (max-width: 1024px) {
  .app-cta { grid-template-columns: auto 1fr; }
  .app-cta-stores { grid-column: 1 / -1; }
  .app-cta-stores .store-row { flex-direction: row; }
}
@media (max-width: 640px) {
  .app-cta { grid-template-columns: 1fr; padding: 26px 22px; text-align: left; }
  .app-cta-art { width: 88px; }
  .app-cta-stores .store-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .app-cta-art { animation: none; } }

/* ======================= home: the two paths, mission ======================= */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path-card { position: relative; display: block; min-height: 460px; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none; background: #111; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18); }
.path-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.path-card:hover > img { transform: scale(1.05); }
.path-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 20, 0.92) 0%, rgba(8, 8, 20, 0.55) 45%, rgba(8, 8, 20, 0.1) 100%); }
.path-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; }
.path-text h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 14px; }
.path-text ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; color: rgba(255, 255, 255, 0.9); }
.path-text li { display: flex; gap: 10px; align-items: flex-start; }
.path-text li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.path-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 11px 18px; border-radius: 12px; background: var(--gradient); transition: gap 0.2s; }
.path-link .icon { width: 18px; height: 18px; }
.path-card:hover .path-link { gap: 12px; }
.path-card:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }

.mission { padding: 96px 0; color: #fff; background: radial-gradient(800px 400px at 15% 0%, rgba(56, 189, 248, 0.25), transparent 60%), radial-gradient(700px 400px at 90% 100%, rgba(244, 114, 182, 0.22), transparent 60%), linear-gradient(120deg, #1e1b4b 0%, #312e81 50%, #5b21b6 100%); }
.mission-inner { max-width: 980px; text-align: center; }
.mission .kicker.light { color: #c4b5fd; }
.mission-text { font-size: clamp(24px, 3.2vw, 38px); font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; margin: 0; }

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .path-card { min-height: 420px; }
  .path-text { padding: 24px; }
  .mission { padding: 72px 0; }
}

/* ======================= mission, redesigned ======================= */
.mission { position: relative; overflow: hidden; padding: 110px 0 96px; }
.mission-inner { position: relative; z-index: 1; max-width: 1000px; }
/* The logo's rings drift slowly behind the words. */
.mission-rings { position: absolute; inset: 0; pointer-events: none; }
.mission-rings .ring { position: absolute; border-radius: 50%; border: 22px solid; opacity: 0.16; animation: ring-drift 18s ease-in-out infinite; }
.mission-rings .r1 { width: 340px; height: 340px; left: -90px; top: -110px; border-color: #38bdf8; }
.mission-rings .r2 { width: 340px; height: 340px; left: 120px; top: -110px; border-color: #a78bfa; animation-delay: -6s; }
.mission-rings .r3 { width: 260px; height: 260px; right: -60px; bottom: -90px; border-color: #a78bfa; animation-delay: -3s; }
.mission-rings .r4 { width: 260px; height: 260px; right: 110px; bottom: -90px; border-color: #f472b6; animation-delay: -9s; }
@keyframes ring-drift { 50% { transform: translate(18px, 14px) rotate(8deg); } }
.mission-text { position: relative; margin: 6px 0 0; padding: 0; font-size: clamp(24px, 3.1vw, 38px); font-weight: 700; line-height: 1.38; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.95); }
.quote-mark { position: absolute; left: 50%; top: -0.62em; transform: translateX(-50%); font-family: Georgia, serif; font-size: 3.6em; line-height: 1; color: rgba(196, 181, 253, 0.35); pointer-events: none; }
.mission-hl { background: linear-gradient(90deg, #7dd3fc, #c4b5fd, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mission-sign { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-weight: 650; color: #ddd6fe; letter-spacing: 0.02em; }
.sign-line { width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #38bdf8, #f472b6); }
.pillars { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); transition: transform 0.25s, background 0.25s; }
.pillar:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.13); }
.pillar .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.pillar strong { display: block; font-size: 18px; color: #fff; margin-bottom: 2px; }
.pillar span { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 860px) {
  .mission { padding: 80px 0 72px; }
  .pillars { grid-template-columns: 1fr; margin-top: 36px; }
  .mission-rings .r2, .mission-rings .r4 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mission-rings .ring { animation: none; } }
/* The quote mark sits between the label and the words. */
.mission-text .quote-mark { position: static; display: block; transform: none; height: 0.5em; margin: 6px 0 14px; font-size: 3.2em; line-height: 0.9; }

/* Site map page */
.site-map, .site-map ul { list-style: none; margin: 0; padding: 0; }
.site-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.site-map > li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.site-map > li > a { font-weight: 700; font-size: 18px; text-decoration: none; }
.site-map ul { margin-top: 10px; display: grid; gap: 6px; }
.site-map ul a { color: var(--muted); }
.site-map ul a:hover { color: var(--link); }

/* ======================= the logo animation, calmer ======================= */
/* The rings draw themselves around (instead of sliding in), then the CM plate fades in, then the viewfinder corners. */
html.js [data-logo-anim] .lm-ring-a, html.js [data-logo-anim] .lm-ring-b { transform: none; opacity: 1; stroke-dasharray: 604; stroke-dashoffset: 604; }
html.js [data-logo-anim] .lm-ring-b { transform: rotate(180deg); }
html.js [data-logo-anim] .lm-plate { transform: scale(0.92); opacity: 0; }
html.js [data-logo-anim] .lm-corners { transform: none; opacity: 0; }
html.js [data-logo-anim].play .lm-ring-a { animation: ring-draw 1.2s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
html.js [data-logo-anim].play .lm-ring-b { animation: ring-draw 1.2s cubic-bezier(0.6, 0, 0.3, 1) 0.15s forwards; }
html.js [data-logo-anim].play .lm-plate { animation: plate-fade 0.6s ease-out 1.1s forwards; }
html.js [data-logo-anim].play .lm-corners { animation: corners-fade 0.6s ease-out 1.5s forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes plate-fade { to { transform: none; opacity: 1; } }
@keyframes corners-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.js [data-logo-anim] .lm-ring-a, html.js [data-logo-anim] .lm-ring-b { stroke-dashoffset: 0; animation: none !important; }
  html.js [data-logo-anim] .lm-plate, html.js [data-logo-anim] .lm-corners { transform: none; opacity: 1; animation: none !important; }
}

/* ======================= "How to join" illustrations ======================= */
.steps.with-visuals li { padding-top: 16px; }
.step-visual { margin: 0 0 16px; border-radius: 14px; overflow: hidden; }
.step-visual svg { display: block; width: 100%; height: auto; }
.sv-soft { fill: color-mix(in srgb, var(--violet) 8%, var(--surface)); }
.sv-card { fill: var(--card); stroke: var(--line); stroke-width: 1.5; }
.sv-line { fill: color-mix(in srgb, var(--text) 70%, transparent); }
.sv-faint { fill: color-mix(in srgb, var(--muted) 40%, transparent); }
.sv-faint-stroke { stroke: color-mix(in srgb, var(--muted) 70%, transparent); fill: none; }
.sv-photo { fill: color-mix(in srgb, var(--violet) 14%, var(--surface)); }
.sv-person { fill: color-mix(in srgb, var(--violet) 55%, var(--muted)); }
.sv-dot { fill: color-mix(in srgb, var(--violet) 30%, transparent); }
.sv-star path { fill: #f59e0b; }
.sv-ok { fill: #047857; }
.sv-ok-soft { fill: color-mix(in srgb, #10b981 16%, var(--card)); }
.sv-ok-text { font: 700 10px system-ui, sans-serif; fill: #047857; }
.sv-arrow { stroke: var(--violet); }
.sv-btn-text, .sv-badge-text { font: 700 9px system-ui, sans-serif; fill: #fff; }
.sv-badge-text { font-size: 10px; }
@media (prefers-color-scheme: dark) { .sv-ok-text { fill: #6ee7b7; } }

/* "How to join": icon tile + "Step 1 of 4" + a progress bar instead of a plain number. */
.step-top.journey { justify-content: flex-start; gap: 14px; }
.step-tile { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 8px 18px rgba(124, 58, 237, 0.28); }
.step-tile .icon { width: 24px; height: 24px; }
.step-meta { display: grid; gap: 7px; flex: 1; }
.step-label { font-size: 12px; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--link); }
.step-progress { display: flex; gap: 4px; }
.step-progress i { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.step-progress i.done { background: var(--gradient); }
.sv-lock { fill: none; stroke: var(--violet); stroke-width: 4; stroke-linecap: round; }

/* Tips: an icon that fits each tip instead of 01, 02, 03. */
.tip-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 8px 18px rgba(124, 58, 237, 0.25); margin-bottom: 14px; }
.tip-icon .icon { width: 24px; height: 24px; }

/* ======================= back to top (every page) ======================= */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 18; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--gradient); box-shadow: 0 10px 26px rgba(124, 58, 237, 0.35);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.25s, box-shadow 0.2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45); }
.to-top:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.2; }

/* ======================= "On this page" progress chip ======================= */
.section-chip { position: fixed; left: 20px; bottom: 20px; z-index: 18; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.section-chip.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.section-chip-button {
  display: flex; align-items: center; gap: 12px; min-width: 230px; padding: 8px 14px 8px 8px; border-radius: 999px; cursor: pointer; font: inherit; color: var(--text); text-align: left;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.section-chip-button:hover { border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); box-shadow: 0 14px 36px rgba(76, 29, 149, 0.2); }
.section-chip-button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.chip-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--gradient); }
.chip-icon .icon { width: 18px; height: 18px; }
.chip-text { flex: 1; display: grid; gap: 6px; min-width: 0; }
.chip-label { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-bar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.chip-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--gradient); transition: width 0.15s linear; }
.chip-caret { flex: none; color: var(--muted); display: grid; transition: transform 0.25s; }
.chip-caret .icon { width: 16px; height: 16px; }
.section-chip.is-open .chip-caret { transform: rotate(180deg); }
/* The list opens above the chip. */
.section-chip-menu { position: absolute; left: 0; bottom: calc(100% + 10px); min-width: 100%; padding: 10px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent); background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  animation: chip-menu-in 0.2s ease; }
@keyframes chip-menu-in { from { opacity: 0; transform: translateY(6px); } }
.section-chip-title { margin: 4px 8px 8px; font-size: 11px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.section-chip-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.section-chip-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.section-chip-menu a:hover { background: color-mix(in srgb, var(--violet) 9%, transparent); }
.section-chip-menu a.is-active { color: var(--link); background: color-mix(in srgb, var(--violet) 12%, transparent); }
.chip-num { font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.section-chip-menu a.is-active .chip-num { color: var(--link); }
@media (max-width: 640px) {
  .section-chip { left: 16px; right: 80px; bottom: 16px; }
  .section-chip-button { min-width: 0; width: 100%; }
  .to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .to-top, .section-chip, .chip-caret, .chip-bar i { transition: none; } .section-chip-menu { animation: none; } }

/* Back to top: a slim pill with the arrow on top and the words running vertically. */
.to-top { width: 44px; height: auto; padding: 14px 0 16px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.to-top .icon { width: 20px; height: 20px; }
.to-top-text { writing-mode: vertical-rl; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
@media (max-width: 640px) { .to-top { width: 40px; padding: 12px 0 14px; } .to-top-text { font-size: 11px; } }

/* ======================= "On this page" by screen size ======================= */
/* Large screens: the progress chip. Laptops: the dots in the left margin. Tablets and phones: neither. */
.section-chip, .section-dots { display: none; }
@media (min-width: 1680px) { .section-chip { display: block; } }
@media (min-width: 1320px) and (max-width: 1679px) { .section-dots { display: block; } }

.section-dots { position: fixed; left: max(12px, calc(var(--edge) - 72px)); top: 50%; z-index: 15;
  opacity: 0; transform: translate(-10px, -50%); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.section-dots.is-visible { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.section-dots ol { position: relative; list-style: none; margin: 0; padding: 10px 8px; display: grid; gap: 6px; border-radius: 999px; border: 1.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(124, 58, 237, 0.55)) border-box;
  box-shadow: 0 14px 32px rgba(76, 29, 149, 0.16), 0 2px 6px rgba(15, 23, 42, 0.06); }
/* The track joining the dots, filled up to the current section. */
.section-dots ol::before, .section-dots ol::after { content: ""; position: absolute; left: 23px; top: 26px; width: 2px; border-radius: 2px; }
.section-dots ol::before { bottom: 26px; background: var(--line); }
.section-dots ol::after { height: calc((100% - 52px) * var(--progress, 0)); background: linear-gradient(180deg, #2563eb, #7c3aed); transition: height 0.35s ease; }
.section-dots li { position: relative; z-index: 1; }
.section-dots a { position: relative; display: flex; padding: 8px; border-radius: 999px; }
.dots-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--card); background: var(--line); box-sizing: content-box; transition: background 0.25s, box-shadow 0.25s; }
.section-dots a:hover .dots-dot { background: color-mix(in srgb, var(--violet) 60%, var(--line)); }
.section-dots a.is-past .dots-dot { background: color-mix(in srgb, var(--violet) 55%, var(--line)); }
.section-dots a.is-active .dots-dot { background: var(--gradient); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet) 22%, transparent); }
.section-dots a:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; }
.dots-label { position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-4px, -50%); white-space: nowrap; padding: 6px 12px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.section-dots a:hover .dots-label, .section-dots a:focus-visible .dots-label { opacity: 1; transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) { .section-dots, .section-dots ol::after, .dots-dot, .dots-label { transition: none; } }

/* Back to top: arrow and small horizontal text in a compact pill. */
.to-top { flex-direction: row; width: auto; height: 38px; padding: 0 14px 0 11px; gap: 6px; }
.to-top .icon { width: 16px; height: 16px; }
.to-top-text { writing-mode: horizontal-tb; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 640px) { .to-top { width: auto; height: 36px; padding: 0 12px 0 10px; } .to-top-text { font-size: 10.5px; } }

/* ======================= faster animations ======================= */
.reveal { transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--delay, 0ms); transform: translateY(16px); }
.reveal.in { transform: none; }
.hero-content > * { animation-duration: 0.5s; }
.hero-content > :nth-child(2) { animation-delay: 0.07s; }
.hero-content > :nth-child(3) { animation-delay: 0.14s; }
.hero-content > :nth-child(4) { animation-delay: 0.21s; }
.slide { transition-duration: 0.7s; }
html.js [data-logo-anim].play .lm-ring-a { animation: ring-draw 0.6s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
html.js [data-logo-anim].play .lm-ring-b { animation: ring-draw 0.6s cubic-bezier(0.6, 0, 0.3, 1) 0.08s forwards; }
html.js [data-logo-anim].play .lm-plate { animation: plate-fade 0.35s ease-out 0.55s forwards; }
html.js [data-logo-anim].play .lm-corners { animation: corners-fade 0.35s ease-out 0.75s forwards; }

/* A small gradient line under "On this page" in the chip's menu. */
.section-chip-title { position: relative; padding-bottom: 8px; margin-bottom: 10px; }
.section-chip-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 3px; border-radius: 3px; background: var(--gradient); }

/* No back-to-top button on tablets and phones. */
@media (max-width: 1024px) { .to-top { display: none; } }

/* Trust strip: equal gaps between the items (not equal columns), so a short item doesn't leave a big hole. */
@media (min-width: 1025px) {
  .trust-row { display: flex; justify-content: space-between; align-items: center; }
}

/* Shorter line before "The CamMatch team". */
.sign-line { width: 18px; }




/* ======================= "Get the app" (clients + photographers), laid out like Questions ======================= */
.get-app { position: relative; overflow: hidden; }
.get-app::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--violet) 14%, transparent), transparent 70%); }
.get-app .wrap { position: relative; }
.get-app-lead { font-size: 17px; line-height: 1.6; margin: 0; }
.get-app .faq-intro .store-row { margin: 24px 0 0; flex-wrap: wrap; }
@media (max-width: 860px) { .get-app .faq-grid { gap: 28px; } }

/* ======================= Clients "Get the app": the journey as a roadmap ======================= */
.roadmap { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
/* The road: a gradient line through the step markers. */
.roadmap::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, #2563eb, #7c3aed 60%, #db2777); opacity: 0.85; }
.roadmap-step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; }
.roadmap-node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--link);
  background: var(--card); border: 2px solid color-mix(in srgb, var(--violet) 45%, var(--line)); box-shadow: 0 0 0 5px var(--surface); }
.roadmap-node .icon { width: 22px; height: 22px; }
.roadmap-step:first-child .roadmap-node, .roadmap-step.is-goal .roadmap-node { color: #fff; border-color: transparent; background: var(--gradient);
  box-shadow: 0 0 0 5px var(--surface), 0 10px 22px rgba(124, 58, 237, 0.3); }
.roadmap-step.is-goal .roadmap-node { width: 52px; height: 52px; margin-left: -2px; }
.roadmap-card { padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.roadmap-step:hover .roadmap-card { transform: translateX(3px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); box-shadow: 0 12px 26px rgba(76, 29, 149, 0.1); }
.roadmap-label { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.roadmap-tag { padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: 0.04em; color: var(--text); background: color-mix(in srgb, var(--violet) 14%, var(--card)); }
.roadmap-card h3 { font-size: 16px; margin: 0 0 4px; }
.roadmap-card p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.roadmap-step.is-goal .roadmap-card { border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); }
@media (max-width: 640px) {
  .roadmap::before { left: 19px; }
  .roadmap-step { grid-template-columns: 40px 1fr; gap: 12px; }
  .roadmap-node, .roadmap-step.is-goal .roadmap-node { width: 40px; height: 40px; margin-left: 0; }
  .roadmap-node .icon { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .roadmap-card { transition: none; } .roadmap-step:hover .roadmap-card { transform: none; } }

/* Wide screens: the roadmap as a horizontal winding road; narrower screens keep the straight list. */
.roadmap-wrap { position: relative; }
.road-svg { display: none; }
.get-app-head > div > .section-title { margin-bottom: 12px; }
@media (min-width: 1100px) {
  .get-app.has-road .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .get-app-head { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .get-app-head > div > .section-title { margin-bottom: 0; }
  .get-app-head .store-row { flex-direction: row; }

  .road-svg { display: block; position: absolute; left: 0; right: 0; top: 50%; height: 150px; width: 100%; transform: translateY(-50%); overflow: visible; }
  .road-glow, .road-surface, .road-lines { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
  .road-glow { stroke: color-mix(in srgb, var(--violet) 14%, transparent); stroke-width: 46; }
  .road-surface { stroke: url(#road-grad); stroke-width: 26; }
  .road-lines { stroke: rgba(255, 255, 255, 0.9); stroke-width: 2.5; stroke-dasharray: 10 12; }

  /* Five columns; each step spans card-row / road-row / card-row through a subgrid. */
  .roadmap-wrap .roadmap { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 1fr 150px 1fr; gap: 0; }
  .roadmap-wrap .roadmap::before { display: none; }
  .roadmap-wrap .roadmap-step { grid-row: 1 / 4; display: grid; grid-template-rows: subgrid; grid-template-columns: 1fr; gap: 0; align-items: stretch; }
  .roadmap-wrap .roadmap-node, .roadmap-wrap .roadmap-step.is-goal .roadmap-node { grid-row: 2; justify-self: center; align-self: start; width: 52px; height: 52px; margin: 79px 0 0;
    box-shadow: 0 0 0 5px var(--surface), 0 8px 18px rgba(76, 29, 149, 0.18); }
  .roadmap-wrap .roadmap-step:nth-child(even) .roadmap-node { margin-top: 19px; }
  .roadmap-wrap .roadmap-card { grid-row: 3; align-self: start; text-align: center; margin: 0 8px; }
  .roadmap-wrap .roadmap-step:nth-child(even) .roadmap-card { grid-row: 1; align-self: end; }
  .roadmap-wrap .roadmap-label { justify-content: center; }
  .roadmap-wrap .roadmap-step:hover .roadmap-card { transform: translateY(-2px); }
}

/* ======================= Stronger page rhythm ======================= */
/* Deep navy areas: the colour tokens switch inside them, so text, cards and links keep their contrast. */
.ink, .site-footer {
  --bg: #0a0f24; --surface: #0a0f24; --card: #121a36; --text: #f1f5f9; --muted: #b6bed3;
  --line: rgba(148, 163, 184, 0.2); --link: #c4b5fd; --shadow: none;
  color: var(--text);
}
.section.ink { position: relative; border: 0;
  background:
    radial-gradient(900px 460px at 0% 0%, rgba(37, 99, 235, 0.24), transparent 60%),
    radial-gradient(800px 460px at 100% 100%, rgba(124, 58, 237, 0.26), transparent 60%),
    #0a0f24; }
/* A faint blueprint grid, fading out towards the edges. */
.section.ink::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.section.ink > .wrap { position: relative; z-index: 1; }
.ink.get-app::before { display: none; }
.ink .roadmap-card { box-shadow: 0 10px 28px rgba(2, 6, 23, 0.45); }
.ink .roadmap-step:hover .roadmap-card { border-color: rgba(196, 181, 253, 0.45); box-shadow: 0 14px 34px rgba(2, 6, 23, 0.6); }
.ink .road-glow { stroke: rgba(124, 58, 237, 0.28); }
.ink .roadmap-tag { color: #f1f5f9; background: rgba(196, 181, 253, 0.18); }

.site-footer { background: #070b1c; border-top: 1px solid rgba(148, 163, 184, 0.16); }
.site-footer .footer-links a:hover { color: #ffffff; }

/* Grey bands: a cooler tint and a fine dot pattern. */
.band { background-color: #eef2f9; background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1.2px); background-size: 22px 22px; border-color: #e2e8f0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band { background-color: #10101a; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.2px); border-color: var(--line); }
}
:root[data-theme="dark"] .band { background-color: #10101a; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.2px); border-color: var(--line); }

/* ======================= Site search ======================= */
.header-actions { display: flex; align-items: center; gap: 8px; }
.main-nav { margin-left: auto; }
.search-button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 550; color: var(--muted); background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, color 0.2s; }
.search-button .icon { width: 18px; height: 18px; }
.search-button:hover { color: var(--text); border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
.search-button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
html:not(.js) .search-button { display: none; }
.over-hero .site-header .search-button { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }
.over-hero.scrolled .site-header .search-button, .over-hero.menu-open .site-header .search-button { color: var(--muted); background: var(--card); border-color: var(--line); }
@media (max-width: 1180px) { .search-button-text { display: none; } .search-button { width: 40px; padding: 0; justify-content: center; } }

.search-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 96px)); margin: 72px auto auto; padding: 0;
  border: 1px solid var(--line); border-radius: 20px; background: var(--card); color: var(--text); box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45); overflow: hidden; }
.search-dialog[open] { display: flex; flex-direction: column; animation: search-in 0.16s ease-out; }
.search-dialog::backdrop { background: rgba(10, 15, 36, 0.55); backdrop-filter: blur(4px); }
@keyframes search-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }
.search-box { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.search-box-icon { width: 22px; height: 22px; color: var(--link); flex: none; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 18px; padding: 8px 0; }
.search-box input::placeholder { color: var(--muted); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-close { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; }
.search-close .icon { width: 18px; height: 18px; }
.search-close:hover { color: var(--text); }
.search-close:focus-visible, .search-chip:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.search-body { overflow-y: auto; padding: 10px; flex: 1; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.search-result { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
.search-result[aria-selected="true"] { background: color-mix(in srgb, var(--violet) 10%, var(--card)); border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); }
.search-where { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.search-title { font-weight: 650; }
.search-text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.search-result mark { background: color-mix(in srgb, var(--violet) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.search-empty { margin: 0; padding: 28px 14px; text-align: center; color: var(--muted); }
.search-suggest { padding: 10px 10px 14px; }
.search-suggest-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-chip { font: inherit; font-size: 14px; font-weight: 550; padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--text); background: var(--surface); border: 1px solid var(--line); }
.search-chip:hover { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
html.search-open { overflow: hidden; }
@media (max-width: 640px) {
  .search-dialog { width: 100vw; max-width: none; max-height: none; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .search-dialog[open] { animation: none; } }

/* ======================= Full width on large screens + premium polish ======================= */
/* Laptops with the section dots: a wider gutter so the dots sit clear of the content. */
@media (min-width: 1320px) and (max-width: 1679px) { :root { --gutter: 88px; } }

/* More room between sections on big screens. */
.section { padding: clamp(72px, 7vw, 128px) 0; }

/* Headings: larger, tighter, a touch heavier. */
h1, h2, h3 { font-weight: 750; }
.section-title { font-size: clamp(30px, 3.2vw, 52px); letter-spacing: -0.03em; line-height: 1.08; max-width: 880px; margin-bottom: clamp(32px, 3vw, 48px); }
h1 { letter-spacing: -0.035em; }
@media (min-width: 1600px) { h1 { font-size: 76px; } .hero-content h1 { max-width: 900px; } .lead { font-size: 21px; } }

/* Section labels: a short gradient line in front. */

/* Cards: layered soft shadows and a gentle lift. */
:root { --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04), 0 18px 40px rgba(15, 23, 42, 0.06); --radius: 20px; }
.card, .steps li, .tip, .roadmap-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card:hover, .steps li:hover, .tip:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--violet) 35%, var(--line));
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 48px rgba(76, 29, 149, 0.12); }
.card { padding: clamp(24px, 2vw, 32px); }

/* Buttons: a soft sheen and depth. */
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px rgba(76, 29, 149, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 28px rgba(76, 29, 149, 0.32); }
.btn-ghost { box-shadow: none; }
.nav-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 16px rgba(76, 29, 149, 0.28); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card:hover, :root:not([data-theme="light"]) .steps li:hover, :root:not([data-theme="light"]) .tip:hover { box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
}
@media (prefers-reduced-motion: reduce) { .card:hover, .steps li:hover, .tip:hover, .btn:hover { transform: none; } }

/* Section labels as tags: a tinted pill with a blue-to-violet border and a glowing dot. */
.kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 1; color: var(--link);
  border: 1px solid transparent;
  background: linear-gradient(color-mix(in srgb, var(--violet) 7%, var(--card)), color-mix(in srgb, var(--violet) 7%, var(--card))) padding-box,
              linear-gradient(120deg, color-mix(in srgb, var(--blue) 45%, transparent), color-mix(in srgb, var(--violet) 55%, transparent)) border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 16px rgba(124, 58, 237, 0.08); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--gradient);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 16%, transparent); }
/* On dark photos and the purple cards. */
/* See-through fill, so a plain soft border (a gradient border would show through the fill). */
.kicker.light, .mission .kicker.light { color: #ede9fe; background: rgba(255, 255, 255, 0.1); border-color: rgba(196, 181, 253, 0.5); box-shadow: none; backdrop-filter: blur(6px); }
.kicker.light::before { background: linear-gradient(135deg, #93c5fd, #c4b5fd); box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.2); }
/* The navy sections: a deeper tint. */
.ink .kicker { background: linear-gradient(#1a1d45, #1a1d45) padding-box,
  linear-gradient(120deg, rgba(96, 165, 250, 0.7), rgba(167, 139, 250, 0.75)) border-box; box-shadow: none; }
.mission .kicker { margin-left: auto; margin-right: auto; }

/* ======================= Home: "The app is on its way" (navy, with a phone) ======================= */
.app-launch { overflow: hidden; padding-bottom: 0; }
.app-launch-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.app-launch-text { padding-bottom: clamp(72px, 7vw, 128px); }
.app-launch .section-title { margin-bottom: 16px; }
.app-launch-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 600px; margin: 0; }
.app-launch-points { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.app-launch-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(148, 163, 184, 0.22); }
.app-launch-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: #10b981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.app-launch .store-row { margin: 0; }
/* The phone rises from the bottom edge, in a soft glow, floating gently. */
.app-launch-visual { position: relative; align-self: end; display: flex; justify-content: center; padding-top: 24px; }
.app-launch-visual::before { content: ""; position: absolute; width: 440px; height: 440px; left: 50%; top: 30%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(37, 99, 235, 0.25) 45%, transparent 70%); filter: blur(10px); }
.launch-phone { position: relative; width: clamp(230px, 20vw, 290px); margin-bottom: -90px; animation: phone-float 6s ease-in-out infinite; }
.phone-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(2, 6, 23, 0.6)); }
@keyframes phone-float { 50% { transform: translateY(-10px); } }
.launch-tag { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #0f172a; background: #fff; box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45); }
.launch-tag .icon { width: 16px; height: 16px; color: #6d28d9; }
.launch-tag.tag-a { left: -110px; top: 30%; }
.launch-tag.tag-b { right: -70px; top: 58%; }
.launch-tag.tag-b .icon { color: #047857; }
@media (max-width: 900px) {
  .app-launch { padding-bottom: clamp(56px, 7vw, 96px); }
  .app-launch-grid { grid-template-columns: minmax(0, 1fr); }
  .app-launch-text { padding-bottom: 0; }
  .app-launch-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) { .launch-phone { animation: none; } }

/* ======================= Button pairs: always the same size ======================= */
/* Side by side, each button is as wide as the wider one; on narrow phones they stack, full width. */
.store-row, .hero-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: fit-content; max-width: 100%; align-items: stretch; justify-items: stretch; }
.store-row .store-pill { justify-content: flex-start; }
.store-row .soon-tag { margin-left: auto; }          /* SOON lines up on the right edge of both buttons */
.hero-actions .btn { justify-content: center; }
/* The app card: stacked beside the text, side by side under it on tablets, stacked on phones. */
.app-cta-stores .store-row { grid-auto-flow: row; }
@media (max-width: 1024px) { .app-cta-stores .store-row { grid-auto-flow: column; } }
@media (max-width: 560px) {
  .store-row, .app-cta-stores .store-row, .hero-actions { grid-auto-flow: row; width: 100%; }
}
/* Same height side by side: the outlined button has a border, so the filled one gets an invisible one. */
.hero-actions .btn:not(.btn-ghost) { border: 1.5px solid transparent; }
/* "Get the app" (clients + photographers): stacked while the column is narrow, side by side once there's room. */
.get-app .faq-intro .store-row { grid-auto-flow: row; }
@media (min-width: 1200px) { .get-app .get-app-head .store-row { grid-auto-flow: column; } }
/* Very small phones: slightly more compact store buttons, so "Google Play" stays on one line. */
@media (max-width: 380px) {
  .store-row .store-pill, .store-row.light .store-pill { gap: 10px; padding: 9px 12px 9px 11px; font-size: 15px; }
  .store-pill .store-icon { width: 22px; height: 22px; }
}
/* The hero tag stays on one line on small phones. */
.eyebrow { white-space: nowrap; max-width: 100%; }
@media (max-width: 400px) { .eyebrow { font-size: 11px; letter-spacing: 0.02em; padding: 6px 11px; } }

/* ======================= Roadmap animation (only with script and motion allowed) ======================= */
.road-camera { position: absolute; left: 0; top: 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; pointer-events: none;
  background: #fff; box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.9), 0 10px 26px rgba(76, 29, 149, 0.45); opacity: 0; transition: opacity 0.3s ease; }
.road-camera img { width: 30px; height: 30px; display: block; }
.road-camera::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(167, 139, 250, 0.7); animation: camera-ping 1.2s ease-out infinite; }
@keyframes camera-ping { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.road-driving .road-camera { opacity: 1; }
.road-done .road-camera { opacity: 0; }
/* The road waits dimmed, and lights up behind the camera. */
.road-anim:not(.road-done) .road-svg .road-surface:not(.road-lit) { opacity: 0.28; }
.road-lit { opacity: 1; }
.road-done .road-lit { display: none; }
/* Stops and cards wait, then pop as the camera arrives. */
.road-anim .roadmap-node { transform: scale(0.4); opacity: 0.35; transition: transform 0.45s cubic-bezier(0.34, 1.7, 0.5, 1), opacity 0.25s ease; }
.road-anim .roadmap-card { opacity: 0; transform: translateY(14px) scale(0.92); transition: opacity 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.5, 0.5, 1); }
.road-anim .roadmap-step:nth-child(even) .roadmap-card { transform: translateY(-14px) scale(0.92); }
.road-anim .roadmap-step.is-reached .roadmap-node { transform: none; opacity: 1; }
.road-anim .roadmap-step.is-reached .roadmap-card { opacity: 1; transform: none; }
@media (max-width: 1099px) { .road-anim .roadmap-step:nth-child(even) .roadmap-card { transform: translateX(14px) scale(0.96); } .road-anim .roadmap-card { transform: translateX(14px) scale(0.96); } }
@media (prefers-reduced-motion: reduce) { .road-camera { display: none; } }
