/* lotara.app home, October 2026: Workouts, Fuel and Lotara Intelligence.
   Same language as the App Store set: one sans, flat lavender light, a real
   iPhone, two short lines with the second in the section's colour. */
:root {
  --bg: #f6f3fc;
  --ink: #15122b;
  --ink-2: #4a4660;
  --ink-3: #6e6a84;
  --line: rgba(21, 18, 43, .08);
  --lav: #6b4fd8;
  --sky: #2f6bd8;
  --peach: #c45a22;
  --rose: #b0386f;
  --radius: 36px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  background: rgba(246, 243, 252, .78); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.3px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; padding: 10px 18px; font-size: 15px; }
.btn-store { background: #000; color: #fff; padding: 12px 22px 12px 18px; box-shadow: 0 10px 30px rgba(21, 18, 43, .18); }
.btn-store svg { width: 26px; height: 26px; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 20px; letter-spacing: -.2px; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: 0; }
.btn-light { background: #fff; color: var(--ink); }

/* type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent, var(--lav)); margin: 0 0 18px; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(44px, 5.4vw, 80px); }
h2 { font-size: clamp(38px, 5vw, 66px); }
h1 span, h2 span { display: block; color: var(--accent, var(--lav)); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 34ch; margin: 24px 0 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero-art::before { content: ""; position: absolute; left: -10%; top: 0; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 90%;
  background: radial-gradient(closest-side, rgba(160, 130, 240, .38), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .95fr; align-items: center; gap: 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-bottom: 26px; box-shadow: 0 4px 14px rgba(21, 18, 43, .05); }
.pill b { background: var(--lav); color: #fff; font-size: 11px; letter-spacing: .6px; padding: 3px 8px; border-radius: 999px; }
.hero .lead { max-width: 42ch; }
.cta-row { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--ink-3); }
.hero-art { position: relative; height: 640px; }
.hero-art img { position: absolute; width: 300px; filter: drop-shadow(0 40px 60px rgba(40, 20, 90, .28)); }
.hero-art .a { left: 4%; top: 20px; transform: rotate(-6deg); }
.hero-art .b { left: 44%; top: 70px; transform: rotate(5deg); }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); border-radius: 16px; padding: 10px 14px 10px 10px;
  box-shadow: 0 8px 22px rgba(21, 18, 43, .09), 0 1px 2px rgba(21, 18, 43, .06); font-size: 12.5px; color: var(--ink-3); }
.chip strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: -.2px; }
.chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.hero-art .chip.food { right: 0; bottom: 80px; }
.hero-art .chip.sleep { left: -6px; top: 70px; }

/* proof strip */
.proof { padding: 20px 0 70px; }
.proof .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof div { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.proof strong { display: block; font-size: 26px; letter-spacing: -.6px; }
.proof span { color: var(--ink-3); font-size: 15px; }
.proof strong span { color: inherit; font-size: inherit; font-variant-numeric: tabular-nums; }

/* people: three photo cards */
.people { padding: 30px 0 90px; }
.people-head { text-align: center; margin-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 3 / 4; background: #1b1830; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 24, 0) 45%, rgba(10, 8, 24, .72)); }
.card figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 14px; justify-items: start; }
.card figcaption > b { color: #fff; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; }
.tag { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px; padding: 10px 14px 10px 10px; font-size: 13px; color: var(--ink-3); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.tag strong { display: block; color: var(--ink); font-size: 15px; letter-spacing: -.2px; }
.tag i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 17px; flex: none; }

/* feature panels */
.feature { margin: 0 auto 22px; width: min(1240px, calc(100% - 24px)); border-radius: var(--radius); overflow: hidden; position: relative; }
.feature .inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: 80px 70px 0; min-height: 700px; }
.feature.flip .copy { order: 2; }
.feature .copy { padding-bottom: 80px; }
.feature ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; max-width: 46ch; }
.feature li { position: relative; padding-left: 34px; color: var(--ink-2); }
.feature li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.feature li b { color: var(--ink); font-weight: 600; }
.art { position: relative; height: 620px; align-self: end; }
.art img { position: absolute; bottom: -120px; filter: drop-shadow(0 40px 60px rgba(20, 15, 60, .3)); }
.art .p1 { width: 300px; left: 8%; }
.art .p2 { width: 280px; left: 50%; bottom: -170px; }
.art .w1 { width: 240px; left: 50%; bottom: 190px; }

.sky { --accent: var(--sky); background: linear-gradient(180deg, #f3f7fd, #d8e3f5); }
.peach { --accent: var(--peach); background: linear-gradient(180deg, #fefaf7, #f8e9dd); }
.rose { --accent: var(--rose); background: linear-gradient(180deg, #fcf4f8, #efd3e2); }
.dark { --accent: #c9b8f2; background: #16141d; color: #fff; }
.dark .lead, .dark li { color: rgba(255, 255, 255, .72); }
.dark li b { color: #fff; }
.dark .eyebrow { color: #c9b8f2; }
.dark li::before { background-color: #6b4fd8; }

/* intelligence: three phones in a row */
.intel .inner { grid-template-columns: 1fr; text-align: center; padding-top: 90px; min-height: 0; }
.intel .copy { padding-bottom: 10px; }
.intel .lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
.intel ul.points { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 30px auto 0; text-align: left; gap: 20px; }
.intel ul.points li { font-size: 15px; }
.trio { display: flex; justify-content: center; gap: 34px; height: 560px; margin-top: 40px; overflow: hidden; }
.trio img { width: 290px; height: auto; align-self: flex-start; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.trio img:nth-child(odd) { margin-top: 56px; }

/* enlarged app details */
img.detail { border-radius: 26px; box-shadow: 0 30px 60px rgba(20, 15, 60, .28), 0 0 0 1px rgba(255, 255, 255, .08); }
.art .d1 { width: 300px; left: 40%; bottom: 190px; }
.trio img.detail { width: 330px; align-self: center; margin-top: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }

/* intelligence: one worked example */
.connect .in, .connect .out, .connect figcaption { transition: opacity .8s ease, translate 1s cubic-bezier(.16, 1, .3, 1), scale 1s cubic-bezier(.16, 1, .3, 1); }
.connect .in:nth-child(2) { transition-delay: .14s; }
.connect .in:nth-child(3) { transition-delay: .28s; }
.connect:not(.in) .in { opacity: 0; translate: 0 18px; }
.connect .inputs::after, .connect .inputs::before { transition: clip-path .7s cubic-bezier(.65, 0, .35, 1); }
.connect .inputs::after { transition-delay: .55s; }
.connect .inputs::before { transition-delay: .95s; }
.connect:not(.in) .inputs::after, .connect:not(.in) .inputs::before { clip-path: inset(0 0 100% 0); }
.connect .out { transition-delay: 1.15s; }
.connect:not(.in) .out { opacity: 0; translate: 0 16px; scale: .985; }
.connect figcaption { transition-delay: 1.6s; }
.connect:not(.in) figcaption { opacity: 0; }
.connect { margin: 48px auto 0; max-width: 1040px; text-align: left; }
.connect .inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.connect .in, .connect .out { display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 18px 20px; }
.connect .in { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.connect i { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: rgba(255, 255, 255, .08); }
.connect small { display: block; font-size: 12px; letter-spacing: .4px; color: rgba(255, 255, 255, .55); }
.connect strong { display: block; font-size: 15.5px; font-weight: 600; color: #fff; letter-spacing: -.1px; line-height: 1.35; }
/* three lines meeting in the answer */
.connect .inputs::after { content: ""; position: absolute; left: 16.6%; right: 16.6%; bottom: -26px; height: 26px;
  border: 1.5px solid rgba(201, 184, 242, .45); border-top: 0; border-radius: 0 0 14px 14px; }
.connect .inputs::before { content: ""; position: absolute; left: 50%; bottom: -26px; width: 1.5px; height: 26px; background: rgba(201, 184, 242, .45); }
.connect .out { margin-top: 26px; background: linear-gradient(135deg, rgba(122, 91, 204, .38), rgba(122, 91, 204, .12)); border: 1px solid rgba(201, 184, 242, .4); padding: 28px 30px; gap: 20px; align-items: flex-start; }
.connect .out img { width: 48px; height: 48px; border-radius: 12px; flex: none; margin-top: 2px; }
.connect .out strong { font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; line-height: 1.32; letter-spacing: -.015em; }
.connect .out small { margin-bottom: 6px; }
.connect figcaption { margin-top: 10px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, .4); text-align: right; }

/* watch */
.watch { padding: 110px 0 90px; text-align: center; }
.watch .lead { margin-left: auto; margin-right: auto; }
.watches { display: flex; justify-content: center; gap: 28px; margin-top: 46px; flex-wrap: wrap; }
.watches figure { margin: 0; width: 220px; }
.watches img { width: 100%; filter: drop-shadow(0 26px 40px rgba(40, 20, 90, .2)); }
.watches figcaption { margin-top: 6px; font-size: 15px; color: var(--ink-3); }

/* faq */
.faq { padding: 30px 0 100px; }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.2px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }
.faq h2 a { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--lav); display: inline-block; margin-top: 22px; text-decoration: none; }

/* closing */
.closing { margin: 0 auto 22px; width: min(1240px, calc(100% - 24px)); border-radius: var(--radius); color: #fff;
  background: linear-gradient(180deg, rgba(18, 15, 32, .35), rgba(18, 15, 32, .55) 45%, rgba(18, 15, 32, .9)), url("/assets/v5/photos/lockin.webp?v=4") 30% 55% / cover, #16141d;
  text-align: center; padding: 110px 24px; position: relative; overflow: hidden; --accent: #c9b8f2; }
.closing::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; margin-left: -450px;
  background: radial-gradient(closest-side, rgba(122, 91, 204, .45), transparent); }
.closing > * { position: relative; }
.closing img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.closing .lead { color: rgba(255, 255, 255, .7); margin: 22px auto 34px; }

/* footer */
.foot { padding: 60px 0 40px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-3); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h3 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.foot a { display: block; text-decoration: none; margin: 8px 0; }
.foot a:hover { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--line); font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* tablet */
@media (max-width: 980px) {
  .hero .wrap, .feature .inner, .faq .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-art { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .feature .inner { padding: 64px 32px 0; text-align: center; min-height: 0; }
  .feature.flip .copy { order: 0; }
  .feature .copy { padding-bottom: 20px; }
  .feature ul { margin-left: auto; margin-right: auto; text-align: left; }
  .art { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .intel ul.points { grid-template-columns: 1fr; max-width: 46ch; }
  .connect .inputs { grid-template-columns: 1fr; }
  .connect .inputs::after { display: none; }
  .connect .inputs::before { bottom: -22px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .trio img:nth-child(3) { display: none; }
  .nav-links { display: none; }
  .nav .btn-dark { margin-left: auto; }
}
/* phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero-art { height: 440px; }
  .hero-art img { width: 210px; }
  .hero-art .chip { transform: scale(.88); }
  .hero-art .chip.food { right: -8px; bottom: 30px; }
  .hero-art .chip.sleep { left: -8px; top: 30px; }
  .proof .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards .card, .cards .card:last-child { aspect-ratio: 4 / 5; }
  .feature { width: calc(100% - 16px); --radius: 28px; }
  .feature .inner { padding: 52px 20px 0; }
  .art { height: 430px; }
  .art .p1 { width: 210px; left: 2%; bottom: -90px; }
  .art .p2 { width: 196px; left: 46%; bottom: -130px; }
  .art .w1 { width: 170px; left: 50%; bottom: 120px; }
  .trio { height: 430px; gap: 14px; }
  .trio img { width: 200px; }
  .trio { flex-direction: column; align-items: center; height: auto; gap: 16px; }
  .trio img:nth-child(2) { display: none; }
  .trio img.detail { display: block; width: 100%; max-width: 340px; }
  .art .d1 { width: 205px; left: auto; right: 4px; bottom: 110px; }
  .connect .out { padding: 22px 20px; }
  .watches figure { width: 46%; }
  .closing { width: calc(100% - 16px); padding: 80px 20px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .lead-col { grid-column: 1 / -1; }
  .foot .legal { flex-direction: column; gap: 6px; }
}

/* ---------- motion: calm and brief. Things settle into place once, then stay still. ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes phoneInA { from { opacity: 0; transform: translateY(36px) rotate(-6deg); } to { opacity: 1; transform: rotate(-6deg); } }
@keyframes phoneInB { from { opacity: 0; transform: translateY(48px) rotate(5deg); } to { opacity: 1; transform: rotate(5deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.hero .pill, .hero h1, .hero .lead, .hero .cta-row { animation: rise 1s cubic-bezier(.16, 1, .3, 1) both; }
.hero h1 { animation-delay: .08s; }
.hero .lead { animation-delay: .18s; }
.hero .cta-row { animation-delay: .26s; }
.hero-art .a { animation: phoneInA 1.4s cubic-bezier(.16, 1, .3, 1) .2s both; }
.hero-art .b { animation: phoneInB 1.4s cubic-bezier(.16, 1, .3, 1) .32s both; }
.hero-art .chip { animation: fade .8s ease .9s both; }

/* a light parallax on the device art while it's on screen */
.hero-art, .art, .trio { transform: translate3d(0, var(--py, 0px), 0); }

/* section phones settle up into place */
.art img, .trio img { transition: opacity .9s ease, translate 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.art:not(.in) img, .trio:not(.in) img { opacity: 0; translate: 0 48px; }

.reveal { transition-delay: var(--d, 0s); }
.watches figure { transition: opacity .9s ease, translate 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.trio:not(.in) img.detail:first-child { translate: -56px 24px; }
.trio:not(.in) img.detail:last-child { translate: 56px 24px; }
.watches:not(.in) figure { opacity: 0; translate: 0 20px; }
.card .tag { transition: opacity .7s ease, translate .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0s) + .35s); }
.card:not(.in) .tag { translate: 0 10px; }
.card:not(.in) .tag { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .connect *, .connect .inputs::after, .connect .inputs::before { opacity: 1 !important; translate: none !important; scale: none !important; clip-path: none !important; transition: none !important; }
  .hero *, .hero-art * { animation: none !important; }
  .hero-art, .art, .trio { transform: none !important; }
  .art img, .trio img, .watches figure, .card .tag { opacity: 1 !important; translate: none !important; transition: none !important; }
}
