/* ------------------------------------------------------------------
   Verona Solutions - shared app detail page
   Each page sets its own palette in a small :root block:
     --hero-a / --hero-b   hero gradient stops (dark)
     --accent              app accent, used on the hero and CTA
     --accent-ink          text colour that sits on --accent
   Everything else is shared.
   ------------------------------------------------------------------ */

:root {
  --ink: #1c2b2c;
  --ink-soft: #4a5a5b;
  --paper: #faf9f5;
  --panel: #ffffff;
  --line: #e7e3d8;
  --teal: #1F5C64;
  --muted: #9aa3a3;

  /* sensible defaults; pages override */
  --hero-a: #17323a;
  --hero-b: #0a1a1e;
  --accent: #5ab7a5;
  --accent-ink: #06181c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2 { font-family: "Fraunces", Georgia, serif; }

/* ---- Header ---- */
header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; text-decoration: none; color: #fff; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.header-link { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 14px; font-weight: 600; }
.header-link:hover { color: #fff; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 78% 10%, rgba(255,255,255,0.10), transparent 70%),
    linear-gradient(165deg, var(--hero-a) 0%, var(--hero-b) 100%);
  padding: 128px 0 96px;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
/* pages with no screenshots centre the copy instead */
.hero-grid.is-solo { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; text-align: center; }
.hero-grid.is-solo .app-lockup,
.hero-grid.is-solo .store-row,
.hero-grid.is-solo .hero-trust { justify-content: center; }
.hero-grid.is-solo .lede { margin-left: auto; margin-right: auto; }

.app-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.app-lockup img { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.app-lockup .name { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.app-lockup .by { font-size: 13px; color: rgba(255,255,255,0.6); }

.hero h1 { font-size: clamp(36px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 500px; margin-bottom: 26px; }

.badge-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 6px 15px; border-radius: 999px; margin-bottom: 26px; }
.badge-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Store buttons ---- */
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; padding: 11px 20px; border-radius: 12px;
  text-decoration: none; line-height: 1.2; border: 1px solid rgba(255,255,255,0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge small { display: block; font-size: 10.5px; opacity: 0.78; font-weight: 500; }
.store-badge strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.store-badge.is-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.store-badge.is-primary svg path { fill: var(--accent-ink); }
.store-badge.is-primary small { opacity: 0.72; }
.store-badge.is-soon { background: rgba(255,255,255,0.06); border-style: dashed; border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.65); cursor: default; }
.store-badge.is-soon:hover { transform: none; box-shadow: none; }
.store-badge.is-soon svg path { fill: rgba(255,255,255,0.5); }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,0.66); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Phone mockup */
.phone { position: relative; margin: 0 auto; width: 300px; }
.phone-frame { border-radius: 42px; background: #0e1518; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.14); }
.phone-frame img { border-radius: 33px; width: 100%; height: auto; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #0e1518; border-radius: 999px; }

/* ---- Feature strip ---- */
.features { background: var(--panel); border-bottom: 1px solid var(--line); padding: 54px 0; }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px 20px; }
.feat { text-align: center; }
.feat .puck { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--teal); }
.feat .puck svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.feat p { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* ---- Sections ---- */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(27px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* Screens gallery - screenshots vary in aspect, so let them keep it */
/* auto-fit so a two-shot gallery centres instead of hanging left */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 278px)); gap: 32px; max-width: 900px; margin: 0 auto; align-items: start; justify-content: center; }
.screens figure { margin: 0; }
.screens img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(28, 43, 44, 0.12); background: #fff; }
.screens figcaption { text-align: center; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.screens figcaption small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; margin-top: 2px; }

/* Detail list */
.detail { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; max-width: 860px; margin: 0 auto; }
.detail-grid li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); padding: 8px 0; }
.detail-grid li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; stroke: var(--teal); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.detail-grid li b { color: var(--ink); font-weight: 700; }

/* Callout - for caveats like "account required" */
.callout { max-width: 720px; margin: 36px auto 0; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 10px; padding: 18px 22px; font-size: 15px; color: var(--ink-soft); }
.callout b { color: var(--ink); }

/* Final CTA */
.cta { background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta h2 em { font-style: normal; color: var(--accent); }
.cta p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 520px; margin: 0 auto 30px; }
.cta .store-row { justify-content: center; }

/* Sibling apps */
.siblings { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.sib { display: flex; align-items: center; gap: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; transition: box-shadow 0.18s, transform 0.18s; }
.sib:hover { box-shadow: 0 10px 26px rgba(28,43,44,0.09); transform: translateY(-2px); }
.sib img { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; }
.sib .sib-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.sib .sib-sub { font-size: 12.5px; color: var(--ink-soft); }

/* Footer */
footer { padding: 42px 0 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .brand { color: var(--ink); font-size: 15px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
.foot-links a:hover { color: var(--teal); }
.disclaimer { color: var(--muted); font-size: 12.5px; margin: 26px auto 0; text-align: center; max-width: 680px; line-height: 1.5; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; align-items: center; gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 20, 26, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.sticky-cta img { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; }
.sticky-cta .sc-text { flex: 1; min-width: 0; color: #fff; }
.sticky-cta .sc-text strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .sc-text small { font-size: 12px; color: var(--accent); font-weight: 600; }
.sticky-cta .sc-btn { background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; padding: 10px 20px; border-radius: 999px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .app-lockup, .store-row, .hero-trust { justify-content: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .screens { grid-template-columns: 1fr; max-width: 300px; }
}
@media (max-width: 620px) {
  .hero { padding: 104px 0 72px; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
}
