/* VS Photo Print: one stylesheet, no scripts, no web fonts.
   Every colour is a token here; the dark theme redefines the tokens only. */

:root {
  --bg: #f4f7f7;
  --band: #e6eeee;
  --surface: #ffffff;
  --text: #13201f;
  --muted: #45595a;
  --brand: #0e7c86;
  --brand-strong: #0a5f67;
  --on-brand: #ffffff;
  --link: #0a6770;
  --accent: #ffc857;
  --heart: #c0304a;
  --eyebrow: #0a5f67;
  --border: #cfdcdc;
  --shadow: 0 10px 30px rgba(10, 60, 66, .16);
  --phone: #1c2627;
  --radius: 16px;
  --tint: #d9eef0;
  --on-tint: #0a4f56;
  --hero-a: #0e7c86;
  --hero-b: #0a4f56;
  --on-hero: #ffffff;
  --on-hero-muted: rgba(255, 255, 255, .88);
  --hero-glass: rgba(255, 255, 255, .16);
  --hero-line: rgba(255, 255, 255, .55);
  --hero-glow: rgba(255, 255, 255, .20);
  --hero-warm: rgba(255, 200, 87, .22);
  --paper: #ffffff;
  --on-accent: #13201f;
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, .35);
  --shadow-print: 0 14px 34px rgba(0, 0, 0, .30);
  --deep: #073a40;
  --wrap: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1718;
    --band: #152022;
    --surface: #1b2729;
    --text: #e6efef;
    --muted: #a9bcbd;
    --brand: #5cc6cf;
    --brand-strong: #86d8df;
    --on-brand: #06282b;
    --link: #7fd3da;
    --border: #2c3d3f;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --phone: #050909;
    --heart: #ff8a9c;
    --eyebrow: #7fd3da;
    --tint: #1d3c40;
    --on-tint: #bfeef2;
    --hero-a: #0b5f67;
    --hero-b: #06343a;
    --deep: #03191c;
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 40rem) { .wrap { padding: 0 24px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--surface); color: var(--text); padding: .6em 1em; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* App bar: as in the app, name on the left, language and menu on the right */
.appbar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--border); }
.appbar-in { max-width: var(--wrap); margin: 0 auto; padding: 0 8px 0 16px; min-height: 60px; display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; margin-right: auto; white-space: nowrap; min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand img { border-radius: 8px; }

/* Menu: three dots, a list under them */
.menu { position: relative; }
.menu summary {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; list-style: none; color: var(--text);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--band); }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; min-width: 13rem;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--text); text-decoration: none; }

.menu-list a[aria-current="page"] { font-weight: 700; color: var(--link); }

/* Language picker */
.lang { position: relative; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); min-height: 44px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
@media (max-width: 26rem) { .lang summary svg:last-child { display: none; } .brand { font-size: 1rem; } }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; min-width: 12rem;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.lang-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; min-height: 44px;
}
@media (hover: hover) { .lang-menu a:hover { background: var(--band); } }
.lang-menu a[aria-current="page"] { font-weight: 700; color: var(--link); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--text); }

.btn-wide { width: 100%; justify-content: center; }

/* The landing: sections set apart by their background and a centred head */
.sec { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; background: var(--surface); }
.band { background: var(--band); }
.dark { background: linear-gradient(160deg, var(--hero-b), var(--deep)); color: var(--on-hero); }
.narrow { max-width: 50rem; }
.sec-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2, .dark h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -.02em; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 0; }
.dark .sub { color: var(--on-hero-muted); }
.eyebrow { color: var(--eyebrow); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .6rem; }
.dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.badge {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--tint); color: var(--on-tint); margin-bottom: .9rem;
}
.badge svg { width: 24px; height: 24px; }

/* Header: the sections in view on a wide screen, a menu on a phone */
.topnav { display: none; }
@media (min-width: 60rem) {
  .topnav { display: block; margin-right: 8px; }
  .topnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; }
  .topnav a[aria-current="page"] { color: var(--text); }
  .menu { display: none; }
}
.appbar.on-hero { background: var(--hero-a); border-bottom-color: transparent; }
.on-hero .brand, .on-hero .menu summary, .on-hero .topnav a { color: var(--on-hero); }
.on-hero .lang summary { color: var(--on-hero); border-color: var(--hero-line); }
.on-hero .menu[open] summary { background: var(--hero-glass); }
@media (hover: hover) {
  .topnav a:hover { background: var(--band); color: var(--text); }
  .on-hero .menu summary:hover, .on-hero .topnav a:hover { background: var(--hero-glass); color: var(--on-hero); }
  .menu summary:hover, .menu-list a:hover { background: var(--band); }
}

/* Hero: a gradient in the colours of the app, the phone and real prints */
.hero {
  position: relative; overflow: clip; color: var(--on-hero);
  padding: clamp(1.5rem, 1rem + 3vw, 4rem) 0 clamp(5.5rem, 4.5rem + 4vw, 8rem);
  background:
    radial-gradient(circle at 85% 15%, var(--hero-glow), transparent 42%),
    radial-gradient(circle at 5% 95%, var(--hero-warm), transparent 40%),
    linear-gradient(165deg, var(--hero-a), var(--hero-b));
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  letter-spacing: .03em; background: var(--hero-glass); margin-bottom: 1.1rem; white-space: nowrap;
}
@media (max-width: 26rem) { .pill { font-size: .74rem; letter-spacing: .01em; padding: 6px 12px; } }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.8rem); letter-spacing: -.025em; }
.hero .lead { color: var(--on-hero-muted); }
.btn-light { background: var(--on-hero); color: var(--hero-b); }
.btn-light:hover { background: var(--accent); color: var(--on-accent); }
.btn-outline-light { border-color: var(--hero-line); color: var(--on-hero); }
.btn-outline-light:hover { border-color: var(--on-hero); color: var(--on-hero); }
.hero-art { position: relative; display: flex; justify-content: center; padding: 1rem 0; }
.phone {
  position: relative; z-index: 1; width: min(62vw, 290px); padding: 10px; background: var(--phone);
  border-radius: 36px; box-shadow: var(--shadow-strong);
}
.phone img { border-radius: 27px; width: 100%; }
.float {
  position: absolute; border-radius: 3px; box-shadow: var(--shadow-print);
  outline: 5px solid var(--paper); outline-offset: -1px;
}
.hero .f1 { width: min(32vw, 190px); top: 6%; right: max(3%, calc(50% - 280px)); transform: rotate(4deg); z-index: 2; }
.hero .f2 { width: min(34vw, 200px); bottom: 14%; left: max(3%, calc(50% - 290px)); transform: rotate(-5deg); z-index: 2; }
.hero .f3 { width: min(20vw, 120px); bottom: 3%; right: max(5%, calc(50% - 230px)); transform: rotate(-2deg); z-index: 0; }

/* Numbers, in a bar resting on the hero */
.stats-wrap { padding: 0 0 1rem; }
.stats {
  list-style: none; margin: -3.75rem 0 0; padding: 8px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); padding: 12px 8px; } }
.stats li { text-align: center; padding: 14px 8px; }
.stats li + li { border-left: 1px solid var(--border); }
@media (max-width: 47.99rem) {
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--border); }
}
.stats strong { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--brand); }
.stats span { color: var(--muted); font-size: .92rem; }
#how { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* Steps: three in a row, joined by a line */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; position: relative; text-align: center; padding: 0 .5rem; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--surface); color: var(--brand); border: 2px solid var(--brand);
  font-weight: 800; font-size: 1.15rem; position: relative; z-index: 1;
}
@media (min-width: 48rem) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 1.5rem; left: calc(50% + 2rem); right: calc(-50% + 1rem);
    border-top: 2px dashed var(--border);
  }
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0 auto; max-width: 22rem; }

/* Features: text beside its screenshot, sides taking turns, a rule between */
.show { display: grid; gap: 1.75rem; align-items: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; }
.show + .show { border-top: 1px solid var(--border); }
.shows .show:first-child { padding-top: 0; }
@media (min-width: 52rem) {
  .show { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .show:nth-of-type(even) .show-text { order: 2; }
}
.step-no { color: var(--brand); font-weight: 800; font-size: .9rem; letter-spacing: .1em; margin: 0 0 .3rem; }
.show-text h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.01em; }
.show-text p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 32rem; }
.show-art { position: relative; display: flex; justify-content: center; }
.show-art .phone { width: min(58vw, 250px); box-shadow: var(--shadow); }
.show-art .float { width: min(34vw, 170px); bottom: 6%; right: max(0px, calc(50% - 230px)); transform: rotate(4deg); z-index: 2; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; }
.card .badge { width: 42px; height: 42px; border-radius: 12px; margin-bottom: .8rem; }
.card h3 { font-size: 1.08rem; }
.card p { color: var(--muted); margin: 0; }

/* Price, on the dark section: words on the left, the card on the right */
.price-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .price-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.offer {
  background: var(--surface); color: var(--text); border-radius: 24px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-strong);
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; color: var(--brand); margin-top: .25em; }
.offer .actions { margin-top: 1.6rem; }

/* Questions: the head on the left, the answers on the right */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 56rem) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }
.faq-grid .sec-head .btn { margin-top: 1.25rem; }
.qa { border-top: 1px solid var(--border); }
.qa-item { border-bottom: 1px solid var(--border); }
.qa-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 4px; min-height: 48px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item h3 { font-size: 1.05rem; margin: 0; }
.qa-item summary svg { flex: none; color: var(--muted); transition: transform .2s; }
.qa-item[open] summary svg { transform: rotate(180deg); }
.qa-item p { color: var(--muted); margin: 0; padding: 0 4px 20px; }
@media (prefers-reduced-motion: reduce) { .qa-item summary svg { transition: none; } }

/* Closing band */
.cta-wrap { padding-top: 0; }
.cta {
  text-align: center; color: var(--on-hero); border-radius: 28px;
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 1.25rem;
  background:
    radial-gradient(circle at 15% 10%, var(--hero-glow), transparent 40%),
    linear-gradient(160deg, var(--hero-a), var(--hero-b));
}
.cta img { margin: 0 auto 1rem; border-radius: 22px; box-shadow: var(--shadow-print); }
.cta h2 { max-width: 30rem; margin-left: auto; margin-right: auto; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.cta p { color: var(--on-hero-muted); max-width: 30rem; margin: 0 auto; }
.cta .actions { justify-content: center; }

/* Privacy and support */
.prose { max-width: 46rem; margin: 0 auto; padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.prose h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose p { color: var(--text); }
.updated { color: var(--muted); font-size: .95rem; }

/* Footer: three columns, then the line of who makes it */
.site-footer { background: var(--band); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; color: var(--muted); font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.foot-about p { margin: .9rem 0 0; max-width: 26rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: .4rem 0 .8rem; }
.foot-links, .foot-langs { list-style: none; margin: 0; padding: 0; }
.foot-links a, .foot-langs a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.foot-links a:hover, .foot-langs a:hover { color: var(--text); text-decoration: underline; }
.foot-langs { columns: 2; column-gap: 1.5rem; }
.foot-langs a[aria-current="page"] { color: var(--text); font-weight: 700; }
.foot-base { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.25rem; }
.foot-base p { margin: 0; font-size: .9rem; }
.heart { color: var(--heart); }
