/* FieldDrop Go website: same look as the app (calm dark glass by default, soft-blue light). */
:root {
  --bg: #141518;
  --glass: rgba(255, 255, 255, 0.06);
  --rim: rgba(255, 255, 255, 0.12);
  --rim-top: rgba(255, 255, 255, 0.24);
  --title: #ffffff;
  --text: #e2e8f0;
  --muted: #cbd5e1;
  --label: #94a3b8;
  --blue: #3b82f6;
  --blue-text: #60a5fa;
  --brand-drop: #4f8cff; /* logo DROP only (bright blue) */
  --link: #7db4ff;
  --glow-1: rgba(59, 130, 246, 0.16);
  --glow-2: rgba(148, 163, 184, 0.1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #eef5ff;
    --glass: rgba(255, 255, 255, 0.6);
    --rim: rgba(59, 130, 246, 0.16);
    --rim-top: rgba(255, 255, 255, 0.95);
    --title: #0f172a;
    --text: #1e293b;
    --muted: #334155;
    --label: #475569;
    --blue-text: #1d4ed8;
    --brand-drop: #1d4ed8;
    --link: #1d4ed8;
    --glow-1: rgba(96, 165, 250, 0.45);
    --glow-2: rgba(125, 211, 252, 0.4);
  }
}
:root[data-theme="light"] {
    --bg: #eef5ff;
    --glass: rgba(255, 255, 255, 0.6);
    --rim: rgba(59, 130, 246, 0.16);
    --rim-top: rgba(255, 255, 255, 0.95);
    --title: #0f172a;
    --text: #1e293b;
    --muted: #334155;
    --label: #475569;
    --blue-text: #1d4ed8;
    --brand-drop: #1d4ed8;
    --link: #1d4ed8;
    --glow-1: rgba(96, 165, 250, 0.45);
    --glow-2: rgba(125, 211, 252, 0.4);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(700px 500px at 90% -10%, var(--glow-1), transparent 70%),
    radial-gradient(600px 500px at -10% 60%, var(--glow-2), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  min-height: 100vh;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
/* The top bar stays put and the page scrolls under it (James, 7 Nov). A full-width frosted band sits behind it. */
.top { position: sticky; top: 0; z-index: 20; }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--bg) 88%, transparent), 0 1px 0 100vmax var(--rim); clip-path: inset(0 -100vmax -1px);
  opacity: 0; transition: opacity .25s; }
.top.stuck::before { opacity: 1; }
/* Privacy, Terms and admin pages don't load site.js, so their sticky bar keeps the frosted band on all the time. */
body:has(main.legal) .top::before { opacity: 1; }
/* The menu item for where you are lights up. */
.nav a { padding: 6px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--title); }
.nav a[aria-current] { color: var(--title); background: var(--glass); box-shadow: inset 0 0 0 1.5px var(--rim); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--title); font-weight: 800; letter-spacing: 0.06em; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand b { color: var(--brand-drop); }
.nav { display: flex; gap: 4px; font-size: 15px; }
.nav a { color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 40px 0 60px; }
.hero h1 { color: var(--title); font-size: clamp(38px, 6vw, 60px); line-height: 1.05; font-weight: 800; }
.hero h1 i { font-style: normal; color: var(--title); }
.hero h1 b { font-weight: inherit; color: var(--brand-drop); }
.hero p.lead { color: var(--muted); font-size: 19px; margin: 18px 0 26px; max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px;
  border-radius: 14px; border: 1.5px solid var(--rim); color: var(--title); font-weight: 600;
  background: var(--glass);
}
.store small { display: block; font-size: 11px; color: var(--label); font-weight: 500; line-height: 1; }
.fine { color: var(--label); font-size: 14px; margin-top: 12px; }
.heroArt { display: flex; justify-content: center; }
.heroArt img { width: min(300px, 70vw); border-radius: 22.5%; box-shadow: 0 30px 60px rgba(29, 78, 216, 0.35); }

/* cards */
.glass {
  background: var(--glass); border: 1.5px solid var(--rim); border-top-color: var(--rim-top);
  border-radius: 20px; padding: 22px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
h2 { color: var(--title); font-size: 30px; margin-bottom: 18px; }
.section { padding: 40px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps h3 { color: var(--title); font-size: 22px; margin-bottom: 6px; }
.steps .go { color: var(--blue-text); }
.steps p { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.features h3 { color: var(--title); font-size: 18px; margin-bottom: 4px; }
.features p { color: var(--muted); font-size: 16px; }

/* pricing */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.price .big { color: var(--title); font-size: 46px; font-weight: 800; line-height: 1; }
.price .big span { font-size: 18px; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; color: var(--muted); }
.price li::before { content: "✓  "; color: var(--blue-text); font-weight: 700; }

/* faq */
details { border-bottom: 1px solid var(--rim); padding: 14px 0; }
summary { cursor: pointer; color: var(--title); font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--blue-text); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 8px; }

/* footer */
/* The light/dark switch lives down here (James, 7 Nov): a small pill with the look you'd switch to. */
.themeBtn.footTheme { width: auto; height: 34px; padding: 0 14px 0 10px; gap: 8px; border-radius: 999px; display: inline-flex; align-items: center;
  font: inherit; font-size: 14px; color: var(--muted); align-self: flex-start; }
.themeBtn.footTheme svg { width: 17px; height: 17px; }
.themeBtn.footTheme { border: 0; background: none; box-shadow: none; padding: 0; height: auto; cursor: pointer; }
.themeBtn.footTheme:hover { color: var(--title); }
footer { padding: 40px 0 60px; color: var(--label); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { overflow-wrap: anywhere; }
/* Safety net: nothing may make the page scroll sideways on a phone (clip keeps a sticky header working). */
html, body { overflow-x: clip; }
/* Jump links land below the top bar that stays put. */
html { scroll-padding-top: 88px; }
@media (max-width: 760px) { html { scroll-padding-top: 70px; } }

/* legal pages */
.legal { max-width: 760px; padding: 20px 0 40px; overflow-wrap: break-word; }
.legal h1 { color: var(--title); font-size: 38px; margin-bottom: 6px; }
.legal .date { color: var(--label); margin-bottom: 26px; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal strong { color: var(--title); }
.callout { border-left: 3px solid var(--blue); padding: 12px 16px; margin: 16px 0; background: var(--glass); border-radius: 0 12px 12px 0; }

@media (max-width: 760px) {
  .hero, .steps, .features, .price { grid-template-columns: 1fr; }
  .nav { display: none; }
}

/* hero animation: the drop zips in, the camera flashes, two rings ripple out (like the app) */
.heroArt .anim { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 30px 50px rgba(29, 78, 216, 0.35)); overflow: visible; }
.anim .drop { transform-box: fill-box; transform-origin: 50% 80%; animation: dropIn 1s cubic-bezier(.2,.8,.25,1.15) both, settle .5s 1.25s ease-out; }
.anim .lines { animation: streak .7s ease-out both; }
.anim .flash { opacity: 0; animation: flash .45s 1s ease-out; }
.anim .ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 1s 1.45s ease-out; }
.anim .r2 { animation-delay: 1.62s; }
@keyframes dropIn { 0% { transform: translateX(-70%) rotate(12deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes settle { 40% { transform: translateY(5%) scaleY(.95); } 100% { transform: none; } }
@keyframes streak { 0% { opacity: 0; transform: translateX(-40%); } 100% { opacity: .75; transform: none; } }
@keyframes flash { 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ring { 0% { opacity: 0; transform: scale(.3); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { .anim * { animation: none !important; } }

.who { color: var(--muted); margin: -6px 0 20px; max-width: 760px; }

/* phones: smaller icon beside the headline, stacked buttons, tighter spacing */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { padding: 16px 0; }
  .hero { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "title art" "text text"; gap: 8px 16px; padding: 12px 0 32px; align-items: center; }
  .hero > div:first-child { display: contents; }
  .hero h1 { grid-area: title; font-size: 40px; }
  .heroArt { grid-area: art; order: 0; }
  .heroArt .anim { width: 112px; }
  .hero p.lead, .cta, .fine { grid-column: 1 / -1; }
  .hero p.lead { font-size: 17px; margin: 10px 0 18px; }
  .cta { flex-direction: column; }
  .store { width: 100%; justify-content: center; min-height: 52px; }
  .section { padding: 24px 0; }
  h2 { font-size: 24px; margin-bottom: 14px; }
  .glass { padding: 18px; }
  .steps, .features { gap: 12px; }
  .price .big { font-size: 40px; }
  footer { flex-direction: column; }
}

.cardTitle { color: var(--title); font-size: 20px; margin-bottom: 8px; }
.cardText { color: var(--muted); }
.price .yr { margin-top: 12px; }

/* the drop that falls from the hero icon and bounces down the page */
.fallDrop { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 5; opacity: 0;
  filter: drop-shadow(0 4px 8px rgba(29, 78, 216, 0.5)); }
.splash { position: absolute; width: 76px; height: 20px; margin: -10px 0 0 -38px; border: 2px solid var(--blue-text); border-radius: 50%;
  pointer-events: none; z-index: 4; animation: splash .8s ease-out forwards; }
.splash.big { width: 120px; height: 32px; margin: -16px 0 0 -60px; }
@keyframes splash { 0% { opacity: 0; transform: scale(.3); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
.glass { transition: border-color .4s, box-shadow .4s; }
.glass.lit { border-color: rgba(96, 165, 250, 0.55); box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.25), 0 10px 40px rgba(59, 130, 246, 0.18); }
.features .wide { grid-column: 1 / -1; }
.features strong { color: var(--title); }
.fallDrop .fdArt { display: block; overflow: visible; transform-origin: 50% 85%; transition: transform .3s ease-out; }
.fallDrop.flying .fdArt { transform: rotate(12deg); }
.fallDrop.left .fdArt { transform: scaleX(-1); }
.fallDrop.left.flying .fdArt { transform: scaleX(-1) rotate(12deg); }
.fallDrop .face { display: none; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.fallDrop .fdArt { width: 76px; height: 76px; }
.fallDrop[data-face="smile"] .face-smile, .fallDrop[data-face="happy"] .face-happy, .fallDrop[data-face="wow"] .face-wow,
.fallDrop[data-face="wink"] .face-wink, .fallDrop[data-face="shy"] .face-shy, .fallDrop[data-face="sleepy"] .face-sleepy,
.fallDrop[data-face="dizzy"] .face-dizzy, .fallDrop[data-face="love"] .face-love { display: block; }
.fallDrop .eyesBlink { transform-box: fill-box; transform-origin: center; animation: fdBlink 3.6s infinite; }
.fallDrop .fdStreaks { opacity: 0; transition: opacity .2s; }
.fallDrop.flying .fdStreaks { opacity: .8; }
@keyframes fdBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.fdDroplet { position: absolute; pointer-events: none; z-index: 4; }
/* one character: the white drop in both looks (no black version, 5 Oct); soft shadow + blue droplets on light */
.fallDrop .artBlack { display: none !important; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .fdDroplet path { fill: #3B82F6; }
  :root:not([data-theme="dark"]) .fallDrop .artWhite { filter: drop-shadow(0 6px 10px rgba(15,23,42,.28)); }
}
:root[data-theme="light"] .fdDroplet path { fill: #3B82F6; }
:root[data-theme="light"] .fallDrop .artWhite { filter: drop-shadow(0 6px 10px rgba(15,23,42,.28)); }

/* sun / moon switch */
.themeBtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--rim);
  background: var(--glass); color: var(--title); cursor: pointer; padding: 0; }
.themeBtn svg { width: 20px; height: 20px; }
.topRight { display: flex; align-items: center; gap: 22px; }

