/* Fingers Up! web pages. Colours match App/DesignSystem/Theme.swift. */
@font-face { font-family: "Titan One"; src: url("TitanOne-Regular.ttf") format("truetype"); font-display: swap; }
:root {
  --ink: #0B1A4A; --ink-soft: #4A5A86; --cloud: #F3F7FF; --cloud-blue: #CFE6FF;
  --sky-top: #23A6FF; --sky-mid: #0B74F2; --sky-bottom: #0340C8; --blue-deep: #05309E;
  --gold: #FFD21F; --gold-deep: #FFB300; --gold-dark: #D98500; --pink: #FF4F9A; --flew: #2B7FFF; --flop: #FF6B3D;
  --display: "Titan One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--cloud); }
a { color: var(--flew); text-underline-offset: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: 980px; margin-left: auto; margin-right: auto; padding-left: 22px; padding-right: 22px; }

/* Sky hero with soft light beams */
.sky { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bottom) 100%); }
.sky::before { content: ""; position: absolute; inset: -40% -20% auto; height: 160%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 30%, rgba(255,255,255,.10) 0deg 8deg, rgba(255,255,255,0) 8deg 22deg);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 65%);
  animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sky > * { position: relative; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 22px var(--display); letter-spacing: .3px; white-space: nowrap; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 3px 0 rgba(5,48,158,.55); }
.bar nav a { color: #fff; opacity: .9; text-decoration: none; font-weight: 600; margin-left: 18px; font-size: 15px; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }

/* Landing hero */
.hero { text-align: center; padding: 34px 0 86px; }
.hero .icon { width: 148px; height: 148px; margin: 0 auto 22px; border-radius: 34px;
  box-shadow: 0 8px 0 var(--blue-deep), 0 22px 44px rgba(3,24,90,.45); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
h1.word { font: clamp(48px, 11vw, 92px)/1 var(--display); margin: 0; letter-spacing: .5px;
  text-shadow: 0 5px 0 var(--blue-deep), 0 14px 26px rgba(3,24,90,.35); }
.tag { font: clamp(20px, 4.4vw, 28px)/1.25 var(--display); color: var(--gold); margin: 16px 0 6px; text-shadow: 0 3px 0 var(--blue-deep); }
.lede { max-width: 560px; margin: 10px auto 30px; font-size: 19px; color: #EAF4FF; }

/* Soft 3D keycap button (gold) */
.key { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 14px 28px; border-radius: 18px;
  font: clamp(16px, 4.6vw, 20px) var(--display); color: var(--ink); text-decoration: none; letter-spacing: .3px; white-space: nowrap;
  background: linear-gradient(180deg, #FFE25A 0%, var(--gold) 45%, var(--gold-deep) 100%);
  box-shadow: 0 6px 0 var(--gold-dark), 0 14px 26px rgba(3,24,90,.35), inset 0 2px 0 rgba(255,255,255,.65);
  transition: transform .08s, box-shadow .08s; }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--gold-dark), 0 6px 12px rgba(3,24,90,.3), inset 0 2px 0 rgba(255,255,255,.65); }
.key.soon { cursor: default; }
.key svg { width: 22px; height: 22px; }
.small { font-size: 14px; color: #D6E9FF; margin-top: 14px; }

/* Curved edge from sky into page */
.curve { display: block; width: 100%; height: 48px; margin-top: -47px; position: relative; }

/* Sections */
section { padding-top: 56px; padding-bottom: 56px; }
section + section { padding-top: 8px; }
h2 { font: 32px/1.15 var(--display); margin: 0 0 8px; text-align: center; }
.sub { text-align: center; color: var(--ink-soft); margin: 0 auto 34px; max-width: 560px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

/* Soft 3D card */
.card { background: #fff; border-radius: 24px; padding: 26px 24px 24px;
  box-shadow: 0 6px 0 var(--cloud-blue), 0 18px 34px rgba(11,26,74,.10); }
.card h3 { font: 22px/1.2 var(--display); margin: 10px 0 6px; }
.card p { margin: 0; color: var(--ink-soft); }
.badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font: 26px var(--display); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.35); }
.b-blue { background: var(--flew); } .b-gold { background: var(--gold-deep); color: var(--ink); } .b-pink { background: var(--pink); }
.b-orange { background: var(--flop); } .b-purple { background: #8B5CF6; } .b-green { background: #22B14C; }

/* Screenshot strip: swipe on phones, a centred row on wide screens */
.shots-section { padding-bottom: 24px; }
.shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 6px max(22px, calc((100% - 980px) / 2 + 22px)) 26px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots img { flex: 0 0 auto; width: min(62vw, 240px); height: auto; border-radius: 26px; scroll-snap-align: center;
  box-shadow: 0 6px 0 var(--cloud-blue), 0 18px 34px rgba(11,26,74,.16); }
.shots:focus-visible { outline: 3px solid var(--flew); outline-offset: -3px; }
@media (min-width: 1620px) { .shots { justify-content: center; } }

/* Rule strip */
.rule { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.pill { font: 18px var(--display); padding: 10px 20px; border-radius: 999px; color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.pill.yes { background: var(--flew); } .pill.no { background: var(--flop); }

/* Promise band */
.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 38px 28px; text-align: center; }
.band h2 { color: #fff; }
.band ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.band li { background: rgba(255,255,255,.10); border-radius: 999px; padding: 9px 18px; font-weight: 600; }

/* Legal / document pages */
.doc-head { padding: 6px 0 64px; text-align: center; }
.doc-head h1 { font: clamp(34px, 7vw, 52px)/1.1 var(--display); margin: 8px 0 8px; text-shadow: 0 4px 0 var(--blue-deep); }
.doc-head p { margin: 0; color: #DDEEFF; }
.doc { max-width: 720px; margin: -10px auto 0; background: #fff; border-radius: 28px; padding: 34px 30px 26px;
  box-shadow: 0 6px 0 var(--cloud-blue), 0 18px 34px rgba(11,26,74,.10); position: relative; }
.doc h2 { text-align: left; font-size: 22px; margin: 30px 0 6px; }
.doc h2:first-of-type { margin-top: 18px; }
.doc p, .doc li { color: #24315E; }
.doc .short { background: var(--cloud); border-radius: 18px; padding: 16px 18px; font-weight: 600; color: var(--ink); margin: 0; }
.doc ul { padding-left: 22px; }

/* Footer */
footer { padding-top: 46px; padding-bottom: 56px; text-align: center; color: var(--ink-soft); font-size: 15px; }
footer nav a { color: var(--ink); font-weight: 600; text-decoration: none; margin: 0 10px; }
footer nav a:hover { text-decoration: underline; }
footer p { margin: 14px 0 0; }

@media (max-width: 560px) {
  .card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px 18px; border-radius: 22px; }
  .card .badge { grid-row: span 2; width: 52px; height: 52px; font-size: 22px; }
  .card h3 { margin: 2px 0 4px; font-size: 20px; }
  .key { padding: 14px 20px; }
  .bar nav a { margin-left: 12px; font-size: 14px; }
  .brand { font-size: 19px; gap: 8px; } .brand img { width: 34px; height: 34px; } .doc { padding: 26px 20px 20px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .sky::before, .hero .icon { animation: none; } .key { transition: none; } }
