/* OthSync website. Colours are the OthTech greens; type is Nunito, the app's own font. */

@font-face { font-family: Nunito; src: url(/assets/fonts/Nunito-Medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: Nunito; src: url(/assets/fonts/Nunito-SemiBold.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: Nunito; src: url(/assets/fonts/Nunito-Bold.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url(/assets/fonts/Nunito-ExtraBold.woff) format("woff"); font-weight: 800; font-display: swap; }

:root {
  --deep: #003c30;
  --deep-2: #04503f;
  --night: #022a21;
  --mint: #60e59d;
  --green: #1f9d6b;
  --paper: #f7f5ef;
  --tint: #eef4f0;
  --white: #ffffff;
  --ink: #0e1f1a;
  --body: #4f5d58;
  --muted: #7a8782;
  --line: #e2e3dc;
  --amber: #c98a1b;
  --radius: 20px;
  --shadow: 0 24px 50px -30px rgba(0, 40, 30, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 14px; background: var(--deep); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 15px; }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { background: var(--deep-2); }
.btn-mint { background: var(--mint); color: var(--deep); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: var(--mint); }
.btn-ghost svg { font-size: 18px; }

.play { display: inline-block; flex: none; }
.play img { width: auto; height: 64px; margin: -9px -9px; }   /* the badge file has its own padding */

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 800; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--body); font-weight: 700; font-size: 15px; text-decoration: none; }
.links a:hover { color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; margin-left: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 22px; place-items: center; cursor: pointer; }
@media (max-width: 900px) {
  .menu { display: grid; }
  .nav-cta { margin-left: auto; }
  .links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* Hero */
.hero { padding: 36px 0 40px; overflow: hidden; }
.hero-in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: 48px 0 56px; }
  .hero-in { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 32px; }
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  color: var(--deep);
}
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 107, 0.18); }
.live .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--deep);
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  background: linear-gradient(transparent 72%, rgba(96, 229, 157, 0.45) 72%, rgba(96, 229, 157, 0.45) 92%, transparent 92%);
}
.lead { margin-top: 20px; max-width: 540px; font-size: clamp(17px, 1.6vw, 20px); color: var(--body); }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.qr-card {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
  color: var(--body);
}
.qr-card b { color: var(--ink); }
.qr { width: 76px; height: 76px; image-rendering: pixelated; }
@media (min-width: 1000px) and (hover: hover) { .qr-card { display: flex; } }

.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 700; color: var(--body); }
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta svg { color: var(--green); font-size: 17px; stroke-width: 3; }
.meta a { color: inherit; }

.hero-art { margin: 0; }
.hero-art img { width: 100%; max-width: 680px; margin: 0 auto; }

/* Facts */
.facts { background: var(--deep); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .facts-in { grid-template-columns: repeat(4, 1fr); } }
.facts-in div { padding: 26px 20px; border-right: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 860px) { .facts-in div { border-bottom: 0; } .facts-in div:last-child { border-right: 0; } }
.facts b { display: block; font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; color: var(--mint); }
.facts span { display: block; margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--tint); }
.head { max-width: 760px; }
.head h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); color: var(--deep); }
.head > p:not(.kicker), .head p:last-child:not(.kicker) { margin-top: 16px; color: var(--body); font-size: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Routes */
.routes-art { margin: 40px 0 0; }
.routes-art img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.trio { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trio h3 { font-size: 21px; color: var(--deep); }
.trio p { margin-top: 8px; color: var(--body); }

/* Phone frame for real screenshots */
.shot {
  position: relative;
  padding: 8px;
  border-radius: 38px;
  background: #0d1311;
  box-shadow: inset 0 0 0 2px #2b3330, var(--shadow);
  aspect-ratio: 600 / 1333;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }

/* Steps */
.steps { display: grid; gap: 44px; margin: 48px 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps .shot { max-width: 280px; margin: 0 auto 28px; }
.steps .num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep);
  color: var(--mint);
  font-weight: 800;
}
.steps h3 { margin-top: 14px; font-size: 22px; color: var(--deep); }
.steps p { margin-top: 8px; color: var(--body); }

/* Feature rows */
.row { display: grid; gap: 32px; align-items: center; margin-top: 64px; }
@media (min-width: 900px) {
  .row { grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 88px; }
  .row.flip .row-media { order: 2; }
}
.row-copy h3 { font-size: clamp(26px, 3vw, 34px); color: var(--deep); }
.row-copy p { margin-top: 14px; color: var(--body); font-size: 18px; }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; margin-top: 8px; font-weight: 700; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003c30' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.card-media { padding: clamp(20px, 4vw, 48px); border-radius: 28px; background: var(--deep); }
.card-media img { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.phone-media { position: relative; padding: 32px 0; border-radius: 28px; background: var(--tint); }
.phone-media .shot { max-width: 270px; margin: 0 auto; }
.float-card {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 46%;
  border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(0, 40, 30, 0.5);
  transform: rotate(3deg);
}

.grid { display: grid; gap: 16px; margin: 80px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.grid svg { font-size: 26px; color: var(--green); }
.grid b { display: block; margin-top: 14px; font-size: 18px; }
.grid span { display: block; margin-top: 4px; color: var(--body); font-size: 15.5px; }

/* Comparison */
.table-wrap { margin-top: 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 800; color: var(--body); line-height: 1.3; vertical-align: bottom; }
.compare tbody th { text-align: left; font-weight: 700; }
.compare .us { background: var(--deep); color: #fff; border-bottom-color: rgba(255, 255, 255, 0.08); }
.compare thead .us { font-size: 16px; color: #fff; }
.compare thead .us img { display: inline-block; width: 26px; height: 26px; margin-right: 6px; vertical-align: -7px; padding: 2px; border-radius: 50%; background: #fff; object-fit: contain; }
.compare td::before { content: ""; display: inline-block; width: 22px; height: 22px; vertical-align: middle; background: center / contain no-repeat; }
.compare td.y::before, .legend .y::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%231f9d6b'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare td.us.y::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2360e59d'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23003c30' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare td.p::before, .legend .p::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23c98a1b' stroke-width='2'/%3E%3Cpath d='M8 12h8' stroke='%23c98a1b' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare td.n::before, .legend .n::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23b9c1be' stroke-width='2'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6' stroke='%23b9c1be' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare td.y::after { content: "Yes"; } .compare td.p::after { content: "Limited"; } .compare td.n::after { content: "No"; }
.compare td::after { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--body); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 18px; height: 18px; background: center / contain no-repeat; }
.fine { max-width: 700px; margin: 10px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* Privacy */
.dark { background: var(--deep); color: #fff; }
.dark .kicker { color: var(--mint); }
.dark h2 { margin-top: 12px; font-size: clamp(32px, 4.4vw, 52px); color: #fff; }
.privacy-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .privacy-in { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.lead-dark { margin-top: 18px; font-size: 18px; color: rgba(255, 255, 255, 0.75); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--mint); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.promises { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.1); }
@media (min-width: 600px) { .promises { grid-template-columns: 1fr 1fr; } }
.promises li { padding: 26px; background: var(--deep); }
.promises svg { font-size: 26px; color: var(--mint); }
.promises b { display: block; margin-top: 14px; font-size: 18px; }
.promises span { display: block; margin-top: 4px; font-size: 15.5px; color: rgba(255, 255, 255, 0.68); }

/* Store gallery */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.scroll-btns { display: none; gap: 10px; }
@media (min-width: 760px) { .scroll-btns { display: flex; } }
.scroll-btns button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--deep); font-size: 20px; cursor: pointer; }
.scroll-btns button:hover { border-color: var(--deep); }
.gallery {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  padding: 4px max(20px, calc((100vw - 1200px) / 2 + 32px)) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; width: min(260px, 64vw); border-radius: 22px; scroll-snap-align: center; box-shadow: var(--shadow); }

/* FAQ */
.faq-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 10px; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--deep); text-align: center; line-height: 28px; font-size: 20px; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--deep); color: var(--mint); }
.faq details p { padding: 0 22px 20px; color: var(--body); }

/* Closing */
.closing { padding: 0 0 clamp(64px, 9vw, 112px); background: var(--tint); }
.closing-card {
  padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 1px 1px, rgba(96, 229, 157, 0.12) 1.3px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(165deg, var(--deep-2), var(--deep) 55%, var(--night));
  color: #fff;
  text-align: center;
}
.closing-logo { width: 84px; height: 84px; margin: 0 auto; border-radius: 22px; }
.closing h2 { max-width: 720px; margin: 24px auto 0; font-size: clamp(30px, 4.4vw, 50px); }
.closing p { max-width: 560px; margin: 16px auto 0; color: rgba(255, 255, 255, 0.75); font-size: 18px; }
.closing-get { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 32px; }

/* Footer */
.foot { padding: 56px 0 28px; background: var(--night); color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.foot-in { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.foot .brand { color: #fff; }
.foot .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.foot-brand p { margin-top: 14px; max-width: 300px; }
.foot h4 { margin-bottom: 12px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.foot a { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.foot a:hover { color: var(--mint); }
.foot-contact p { display: flex; gap: 10px; margin-top: 8px; }
.foot-contact p a { margin: 0; }
.foot-contact svg { margin-top: 4px; color: var(--mint); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* Sticky install bar, phones only */
.sticky-get {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 12px;
  border-radius: 18px;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 20px 40px -14px rgba(0, 20, 15, 0.6);
  transform: translateY(140%);
  transition: transform 0.3s ease;
}
.sticky-get.show { transform: none; }
.sticky-get img { width: 40px; height: 40px; border-radius: 10px; }
.sticky-get b, .sticky-get small { display: block; line-height: 1.25; }
.sticky-get small { color: rgba(255, 255, 255, 0.65); font-size: 13px; }
.sticky-get .btn { margin-left: auto; }
@media (min-width: 900px) { .sticky-get { display: none; } }

/* Privacy policy page */
.doc { padding: 48px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); color: var(--deep); }
.doc .sub { margin-top: 14px; font-size: 19px; color: var(--body); }
.doc .summary { display: grid; gap: 12px; margin: 36px 0 8px; padding: 0; list-style: none; }
@media (min-width: 640px) { .doc .summary { grid-template-columns: 1fr 1fr; } }
.doc .summary li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.doc .summary b { display: block; color: var(--deep); }
.doc .summary span { display: block; margin-top: 2px; font-size: 15px; color: var(--body); }
.doc h2 { margin-top: 44px; font-size: 26px; color: var(--deep); }
.doc p { margin-top: 12px; color: var(--body); }
.doc strong { color: var(--ink); }

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

/* ---------- Motion ---------- */

/* Scroll progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--mint));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

/* Hero entrance */
.hero-copy > * { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
.hero h1 em { background-size: 0 100%; background-repeat: no-repeat; background-image: linear-gradient(transparent 72%, rgba(96, 229, 157, 0.5) 72%, rgba(96, 229, 157, 0.5) 92%, transparent 92%); animation: mark 0.9s 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.live .dot { animation: ping 2s ease-out infinite; }

.hero-art { position: relative; }
.hero-art picture { position: relative; z-index: 1; display: block; animation: art-in 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-art picture img { animation: bob 7s 1.3s ease-in-out infinite; }

/* Radar rings, the app's own Nearby idea */
.pulse { position: absolute; left: 50%; top: 46%; width: 0; height: 0; z-index: 0; }
.pulse i {
  position: absolute;
  left: 0;
  top: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border: 2px solid rgba(31, 157, 107, 0.35);
  border-radius: 50%;
  opacity: 0;
  animation: radar 4.5s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.pulse i:nth-child(2) { animation-delay: 1.5s; }
.pulse i:nth-child(3) { animation-delay: 3s; }

/* Files drifting in */
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 40, 30, 0.45), 0 0 0 1px rgba(0, 60, 48, 0.06);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.chip b { width: 22px; height: 22px; border-radius: 7px; }
.chip small { font-weight: 600; color: var(--muted); }
.c-blue { background: #d9eefa; box-shadow: inset 0 0 0 6px #2d9cdb; }
.c-purple { background: #ece6fe; box-shadow: inset 0 0 0 6px #8b5cf6; }
.c-orange { background: #fdebd8; box-shadow: inset 0 0 0 6px #f2994a; }
.chip-a { top: 6%; left: 2%; animation: drift 6s 1.2s ease-in-out infinite, fade-in 0.6s 1s both; }
.chip-b { top: 30%; right: -2%; animation: drift 7s 1.6s ease-in-out infinite reverse, fade-in 0.6s 1.3s both; }
.chip-c { bottom: 4%; left: 30%; animation: drift 8s 2s ease-in-out infinite, fade-in 0.6s 1.6s both; }
@media (max-width: 700px) { .chip-b, .chip-c { display: none; } .chip-a { top: 0; } }

/* Ticker */
.ticker { overflow: hidden; padding: 18px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 18px; font-weight: 800; color: var(--deep); white-space: nowrap; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Scroll reveal: script adds .reveal to things below the fold, then .in when they appear */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(0.94); }
.reveal.in { opacity: 1; transform: none; }

/* Hover life */
.steps .shot, .phone-media .shot { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.steps li:hover .shot { transform: translateY(-8px) rotate(-1.5deg); }
.row:hover .phone-media .shot { transform: translateY(-6px); }
.float-card { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.row:hover .float-card { transform: rotate(0deg) translateY(-8px) scale(1.03); }
.card-media img { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card-media:hover img { transform: scale(1.02) rotate(-0.5deg); }
.grid li, .promises li, .faq details { transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
.grid li:hover { transform: translateY(-4px); border-color: var(--green); }
.grid li svg { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.grid li:hover svg { transform: scale(1.18) rotate(-6deg); }
.promises li:hover { background: var(--deep-2); }
.play img { transition: transform 0.2s ease, filter 0.2s ease; }
.play:hover img { transform: translateY(-2px); filter: drop-shadow(0 10px 14px rgba(0, 40, 30, 0.3)); }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.links a:hover::after { transform: scaleX(1); }
.compare tbody tr { transition: background-color 0.2s ease; }
.compare tbody tr:hover { background: #f6faf8; }
.compare tbody tr:hover .us { background: var(--deep-2); }
.gallery img { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery img:hover { transform: translateY(-8px); }

/* Closing card radar */
.closing-card { position: relative; overflow: hidden; isolation: isolate; }
.pulse-closing { top: 110px; z-index: -1; }
.pulse-closing i { border-color: rgba(96, 229, 157, 0.3); }
.closing-logo { animation: bob 5s ease-in-out infinite; }

/* Sticky bar: a gentle nudge on the button */
.sticky-get.show .btn { animation: nudge 3.5s 1s ease-in-out infinite; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mark { to { background-size: 100% 100%; } }
@keyframes art-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes radar { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-2deg); } 50% { transform: translate(10px, -14px) rotate(2deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 107, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(31, 157, 107, 0); } }
@keyframes nudge { 0%, 80%, 100% { transform: none; } 85% { transform: translateX(-3px); } 90% { transform: translateX(3px); } 95% { transform: translateX(-2px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 em { background-size: 100% 100%; }
  .progress { display: none; }
}
