/* PicHive website: cream, chocolate and honey, like the app. Light and dark. */
:root {
  --page: #fbf7ee; --card: #ffffff; --text: #2b1d14; --muted: #6f5d4e; --comb: #eadfc6;
  --honey: #e9a520; --honeyText: #9a6200; --choc: #2b1d14; --onChoc: #ffffff;
  --shadow: 0 10px 30px rgba(80, 55, 20, .14), 0 2px 6px rgba(80, 55, 20, .10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #17110c; --card: #241a13; --text: #f6efe4; --muted: #c4b29b; --comb: #2e2218;
    --honeyText: #f2b33d; --choc: #f2b33d; --onChoc: #2b1d14; --shadow: 0 12px 32px rgba(0, 0, 0, .55);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.rounded, h1, h2, h3, .logo { font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; }
a { color: var(--honeyText); }
img { max-width: 100%; }

/* Faint honeycomb behind every page */
.comb { position: fixed; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'><path d='M28 0 L56 16.2 L56 48.5 L28 64.7 L0 48.5 L0 16.2 Z M28 64.7 L28 97 M0 48.5 L0 80.8 L28 97 M56 48.5 L56 80.8 L28 97' fill='none' stroke='%23eadfc6' stroke-width='1.3'/></svg>"); }
@media (prefers-color-scheme: dark) { .comb { opacity: .12; } }

nav { display: flex; justify-content: space-between; align-items: center; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -.3px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.logo b { color: var(--honey); font-weight: inherit; }
nav .links a { margin-left: 18px; text-decoration: none; font-weight: 600; font-size: 15px; }

/* Home: hero */
.hero { position: relative; max-width: 1080px; margin: 0 auto; padding: 10px 20px 40px; text-align: center; overflow: hidden; }
.hero .art { width: min(760px, 100%); height: auto; display: block; margin: 0 auto; }
.tag { font-size: clamp(20px, 3vw, 26px); color: var(--muted); margin: 6px auto 26px; max-width: 640px; }
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.store { display: inline-flex; flex-direction: column; align-items: center; background: var(--choc); color: var(--onChoc); border-radius: 14px; padding: 12px 26px; font-weight: 700; text-decoration: none; box-shadow: var(--shadow); line-height: 1.3; }
.store small { font-weight: 500; font-size: 12px; opacity: .85; }

/* Flying bees: they stay in the margins beside and above the artwork, never over text.
   Shown on wide screens only; hidden for Reduce Motion. */
.bee { display: none; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .bee { display: block; position: absolute; top: 0; left: 0; width: 56px; height: auto; pointer-events: none;
         offset-rotate: 0deg; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18)); }
  .bee.b1 { offset-path: path("M -80 40 C 200 -10, 400 70, 600 20 S 950 0, 1180 50"); animation: fly 26s linear infinite, bob 1.6s ease-in-out infinite; }
  .bee.b2 { width: 46px; offset-path: path("M 1170 90 C 1060 180, 1090 300, 1010 380 S 1060 480, 1170 540"); animation: fly 22s linear infinite -8s, bob 1.3s ease-in-out infinite; }
  .bee.b3 { width: 40px; offset-path: path("M -70 540 C 60 470, 20 350, 100 260 S 60 140, -70 80"); animation: fly 30s linear infinite -15s, bob 1.9s ease-in-out infinite; }
  .bee.b4 { display: none; }
}
/* Phones and tablets: one bee flies straight through the band above the artwork, with a loop as it
   enters and as it leaves, then rests out of sight. The path is set from the page width (index.html). */
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  .hero { padding-top: 94px; }
  .bee.b4 { display: block; position: absolute; top: 0; left: 0; width: 36px; height: auto; pointer-events: none;
            offset-rotate: 0deg; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .18));
            animation: hop 8s linear infinite, bob 1.4s ease-in-out infinite; }
}
@keyframes hop { 0% { offset-distance: 0%; } 75%, 100% { offset-distance: 100%; } }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* Sections */
section { max-width: 1080px; margin: 0 auto; padding: 50px 20px; }
h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 10px; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 34px; max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.step { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); text-align: center; }
.step .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--honey); color: #2b1d14; font-weight: 800; align-items: center; justify-content: center; }
.step h3 { margin: 10px 0 4px; font-size: 22px; }
.step p { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.shot { width: 72%; max-width: 230px; border-radius: 26px; box-shadow: var(--shadow); display: block; margin: 0 auto; }
.promise { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); padding: 34px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; text-align: center; }
.promise svg { width: 34px; height: 34px; stroke: var(--honey); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.promise b { display: block; font-size: 19px; margin-bottom: 2px; }
.promise span { color: var(--muted); font-size: 15px; }
.devices { text-align: center; }
.chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.chip { background: var(--card); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); font-weight: 600; font-size: 15px; }

/* Privacy and Support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 20px 20px 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 10px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc h3 { font-size: 20px; margin: 28px 0 6px; }
.doc .card { background: var(--card); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); margin: 18px 0; }
.doc .card p { margin: 4px 0; }

footer { text-align: center; padding: 40px 20px 60px; color: var(--muted); font-size: 14px; }
footer a { margin: 0 10px; font-weight: 600; text-decoration: none; }

/* Phones: keep the top menu on one line */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  nav .links a { margin-left: 14px; }
  nav .links .wide { display: none; }
}
