/* photorush.ca homepage, in the design of the PhotoRush web app (public/styles.css).
   Same tokens, same parts: white page, black type and buttons, light grey fills, Poppins headings,
   the black Book button, the outline pill, the purple promo card with the gold price, the app's
   "How it works" card, and the app's own logo. Brand purple only on the mark and the promo card.
   No gradients. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --ink: #111111;
  --accent: #111111;
  --accent-deep: #000000;
  --on-accent: #FFFFFF;
  --fill: #F3F3F3;
  --bg: #FFFFFF;
  --bg-2: #F3F3F3;
  --gray: #6B6B6B;
  --gray-2: #8E8E8E;
  --line: #E8E8E8;
  --line-strong: #D6D6D6;
  --brand: #683D91;
  --gold: #EFC061;
  --navy: #2B2D42;
  --white: #FFFFFF;

  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  --gutter: 16px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
::selection { background: var(--accent); color: var(--on-accent); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 4px; letter-spacing: -0.015em; text-wrap: balance; }
p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- the app's logo parts ---------- */
.pr-mark { width: 40px; height: 36px; flex-shrink: 0; }
.wordmark-svg { height: 15px; width: 148px; color: var(--navy); flex-shrink: 0; }
.auth-from { color: var(--gray); font-size: 0.78rem; }
.auth-sonset { width: 72px; height: 15px; color: var(--accent); }

.topbar { padding: 14px var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }

/* ---------- buttons (the app's) ---------- */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 15px 18px;
  border-radius: var(--radius-md); border: none;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.1;
  text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, opacity .15s ease, transform .12s var(--ease-out);
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: var(--white); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 13.5px 18px; }
.btn-outline:hover { background: var(--bg-2); }

/* ---------- hero ---------- */
.hero { padding: 16px var(--gutter) 0; display: flex; flex-direction: column; gap: 18px; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; }
.hero-photo { order: -1; }
.hero-photo img { width: 100%; height: 232px; object-fit: cover; object-position: 50% 26%; border-radius: var(--radius-xl); background: var(--bg-2); }

h1 { font-weight: 800; font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; }
.lede { margin-top: 10px; font-size: 1.02rem; color: var(--gray); max-width: 32em; }

/* the app's promo card: purple, gold mark, gold price */
.promo {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px; padding: 16px 18px;
  background: var(--brand); color: var(--white); border-radius: var(--radius-lg);
}
.promo .pr-mark--gold { width: 44px; height: 39px; }
.promo-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.promo-text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--gold); }
.promo-text span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.86); }

.cta-row { display: none; gap: 10px; margin-top: 18px; }

/* ---------- sections ---------- */
.block { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 36px var(--gutter) 0; }
.section-label { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.015em; margin: 0 2px 12px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); background: var(--bg-2); box-shadow: var(--shadow-sm); }
.gallery figcaption { margin-top: 6px; padding: 0 2px; font-size: 0.85rem; font-weight: 500; color: var(--gray); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.how-list { display: flex; flex-direction: column; gap: 16px; }
.how-row { display: flex; gap: 12px; align-items: flex-start; }
.how-num { width: 28px; height: 28px; border-radius: 50%; background: var(--fill); color: var(--accent); font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.how-row strong { display: block; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 2px; }
.how-row p { color: var(--gray); font-size: 0.9rem; }

.close { padding-bottom: 40px; }
.close-card { background: var(--bg-2); border-radius: var(--radius-lg); padding: 24px 20px; }
.close-card h2 { font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; }
.close-card p { margin-top: 8px; color: var(--gray); }
.close-card .cta-row { display: flex; flex-direction: column; margin-top: 18px; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 28px var(--gutter) 28px; font-size: 0.9rem; color: var(--gray); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 18px; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; }
.site-foot address { font-style: normal; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

/* ---------- phone: Book now and Call stay on screen ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--white); border-top: 1px solid var(--line);
}
.dock .btn { min-height: 52px; padding: 0 14px; font-size: 1rem; }
.dock .btn-primary { flex: 1 1 auto; }
.dock .btn-outline { flex: 0 0 auto; width: auto; }
.has-dock { padding-bottom: 76px; }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-photo img { height: 340px; }
  h1 { font-size: 44px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .section-label { font-size: 1.6rem; }
}

/* ---------- desktop: words left, the photo right, like the app's cards made big ---------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .has-dock { padding-bottom: 0; }
  .dock { display: none; }
  .topbar { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-top: 22px; }
  .pr-mark { width: 48px; height: 43px; }
  .wordmark-svg { width: 178px; height: 18px; }

  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 28px; }
  .hero-photo { order: 0; }
  .hero-photo img { height: 600px; object-position: 47% 36%; border-radius: var(--radius-xl); }
  h1 { font-size: clamp(44px, 4.3vw, 56px); line-height: 1.04; }
  .lede { margin-top: 16px; font-size: 1.15rem; }
  .promo { margin-top: 26px; gap: 18px; padding: 22px 26px; border-radius: var(--radius-lg); }
  .promo .pr-mark--gold { width: 64px; height: 56px; }
  .promo-text strong { font-size: 2rem; }
  .promo-text span { font-size: 1.05rem; }
  .cta-row { display: flex; margin-top: 22px; }
  .cta-row .btn { width: auto; min-height: 58px; padding: 0 28px; font-size: 1.1rem; }
  .cta-row .btn-primary { flex: 1 1 0; }
  .cta-row .btn-outline { flex: 1 1 0; }

  .block { padding-top: 72px; }
  .section-label { font-size: 2rem; margin-bottom: 18px; }
  .gallery { gap: 22px 16px; }
  .gallery figcaption { font-size: 0.95rem; }
  .how-list { flex-direction: row; gap: 40px; padding: 32px; }
  .how-row { flex: 1 1 0; }
  .how-num { width: 36px; height: 36px; font-size: 1rem; }
  .how-row strong { font-size: 1.15rem; margin-bottom: 4px; }
  .how-row p { font-size: 1rem; }
  .close { padding-bottom: 88px; }
  .close-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; align-items: center; padding: 44px; }
  .close-card h2 { font-size: 2.3rem; }
  .close-card .cta-row { flex-direction: row; margin-top: 0; }
  .foot-inner { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .site-foot { padding-top: 40px; padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- text pages: terms, privacy, support, 404 ---------- */
.doc { max-width: 680px; margin: 0 auto; padding: 24px var(--gutter) 64px; }
.doc h1 { font-weight: 800; font-size: 2rem; line-height: 1.1; margin-bottom: 6px; }
.doc h2 { font-size: 1.15rem; margin-top: 36px; margin-bottom: 8px; }
.doc p, .doc li { font-size: 1rem; line-height: 1.6; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a:not(.btn) { color: var(--ink); }
.doc .updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 28px; }
.doc .card { margin-top: 12px; }
.doc .card h2 { margin-top: 0; }
.doc .card p + p { margin-top: 6px; }
.doc .btn { width: 100%; max-width: 360px; }
.support-book { margin-top: 24px; }
.doc .support-book + .support-book { margin-top: 10px; }
