/* Flog landing — brand from the app (FlogTheme) and the "Fresh & Bold" App Store set. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lime: #d5f970;
  --lime-soft: #ecfbc4;
  --ink: #16301f;          /* deep green text */
  --ink-2: #3e5a2e;
  --green: #4caf50;        /* FlogTheme.green */
  --green-deep: #2f7d34;
  --amber: #f5a623;        /* FlogTheme.amber */
  --yolk: #ffd54f;         /* FlogTheme.yolk */
  --paper: #f7f5f1;        /* FlogTheme.screenBackground */
  --card: #fffefd;
  --forest: #13261b;
  --forest-2: #1c3526;
  --line: rgba(22, 48, 31, .12);
  --muted: #5d6b60;
  --radius: 28px;
  --shadow: 0 30px 60px -28px rgba(22, 48, 31, .45), 0 10px 24px -12px rgba(22, 48, 31, .25);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.6 "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--lime); box-shadow: 0 12px 24px -12px rgba(22, 48, 31, .7); }
.btn-dark:hover { background: #0e2215; }
.btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: rgba(22, 48, 31, .06); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(213, 249, 112, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .2s ease;
}
.top.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(22, 48, 31, .5); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; }
.wordmark { font-weight: 800; font-size: 1.6rem; letter-spacing: -.05em; line-height: 1; }
.wordmark i { font-style: normal; color: var(--green); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: rgba(22, 48, 31, .08); color: var(--ink); }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { background: var(--lime); position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.6rem); letter-spacing: -.055em; line-height: .95; }
.hero h1 span { color: var(--green-deep); }
.lede { margin-top: 26px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--ink-2); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .86rem; font-weight: 800; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(22, 48, 31, .12); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 560px; }
.ring { position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(22, 48, 31, .12); box-shadow: 0 0 0 70px rgba(255, 255, 255, .12), 0 0 0 140px rgba(255, 255, 255, .07); }
.spark { position: absolute; width: 44px; aspect-ratio: 1; background: var(--amber); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.spark-a { top: 4%; right: 6%; animation: twinkle 5s ease-in-out infinite; }
.spark-b { bottom: 10%; left: 2%; width: 30px; background: var(--ink); animation: twinkle 6s ease-in-out 1s infinite; }
@keyframes twinkle { 50% { transform: rotate(45deg) scale(.8); } }

/* Device frames (CSS, around real captures) */
.phone {
  position: relative; width: 100%; max-width: 300px;
  padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #2a2f2c, #0c0f0d);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone img { border-radius: 42px; aspect-ratio: 1320 / 2868; object-fit: cover; background: var(--paper); }
.phone::before {
  content: ""; position: absolute; z-index: 1; top: 21px; left: 50%; translate: -50% 0;
  width: 30%; height: 24px; border-radius: 999px; background: #0b0d0c;
}
.phone figcaption { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-weight: 800; font-size: .95rem; }
.phone-hero { max-width: 340px; rotate: 3deg; z-index: 1; animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -10px; } }
.watch {
  width: 150px; padding: 12px 10px; border-radius: 44px;
  background: linear-gradient(145deg, #d9dcd7, #9ea39c);
  box-shadow: var(--shadow);
}
.watch img { border-radius: 32px; background: #000; }
.watch-hero { position: absolute; z-index: 2; left: 2%; bottom: 8%; rotate: -6deg; }

/* Bands */
.band { padding: clamp(72px, 10vw, 128px) 0; }
.band-dark { background: var(--forest); color: #eaf5e3; }
.band-dark .eyebrow { color: var(--lime); }
.band-lime { background: var(--lime-soft); }
.section-head { max-width: 800px; margin-bottom: 48px; }
.sub { margin-top: 20px; color: var(--ink-2); font-size: 1.1rem; font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy h2 { margin-bottom: 28px; }
.split-art { display: flex; justify-content: center; }
.split-art .phone { max-width: 320px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { position: relative; padding-left: 38px; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.duo { gap: 20px; align-items: flex-start; }
.duo .phone { max-width: 270px; }
.duo .offset { margin-top: 70px; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--forest-2); border-radius: var(--radius); padding: 32px; box-shadow: inset 0 0 0 1px rgba(213, 249, 112, .1); }
.card h3 { color: var(--lime); margin-bottom: 12px; }
.card p { color: #c3d2c0; }

.modes { margin: 0; display: grid; gap: 14px; }
.modes div { background: var(--card); border-radius: 22px; padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.modes dt { font-weight: 800; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.modes dt em { font-style: normal; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--lime); padding: 3px 9px; border-radius: 999px; }
.modes dd { margin: 4px 0 0; color: var(--muted); }

.gallery {
  display: flex; gap: 28px; overflow-x: auto; padding: 8px 4px 64px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.gallery .phone { flex: 0 0 250px; scroll-snap-align: center; }

.health-art { position: relative; gap: 24px; align-items: center; }
.health-art .phone { max-width: 290px; }
.watch-stack { display: grid; gap: 20px; }
.watch-stack .watch { width: 140px; }
.watch-stack .watch:first-child { rotate: -4deg; }
.watch-stack .watch:last-child { rotate: 3deg; }

.pills { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; }
.body { color: #c3d2c0; max-width: 32em; }
.body a { color: var(--lime); }

.final { background: var(--lime); padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final img { border-radius: 26px; box-shadow: var(--shadow); }
.final p { color: var(--ink-2); font-weight: 600; max-width: 36em; }

.foot { background: var(--forest); color: #a9bba6; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .92rem; }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; }
.foot a { color: #eaf5e3; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { text-decoration: none; font-weight: 700; }
.foot nav a:hover { color: var(--lime); }
.foot .fine { grid-column: 1 / -1; font-size: .8rem; color: #7f927c; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }
  .hero-art { min-height: 0; padding: 20px 0 10px; }
  .ring { width: 120%; }
  .cards.three { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cta .btn { width: 100%; }
  .phone-hero { max-width: 250px; }
  .watch-hero { width: 104px; padding: 8px 7px; border-radius: 30px; left: 0; bottom: 4%; }
  .watch-hero img { border-radius: 22px; }
  .duo .phone { max-width: 46%; }
  .duo .offset { margin-top: 40px; }
  .phone { padding: 7px; border-radius: 38px; }
  .phone img { border-radius: 31px; }
  .phone::before { top: 15px; height: 17px; }
  .gallery .phone { flex-basis: 70%; }
  .health-art .phone { max-width: 58%; }
  .watch-stack .watch { width: 112px; padding: 9px 8px; border-radius: 34px; }
  .watch-stack .watch img { border-radius: 25px; }
  .card { padding: 26px; }
}
