/* lazytime.app: the website's one stylesheet (the app's colours: ink 111114 on F5F5F8, gold F8DA7C to E2A93B for Plus). */
:root { --coral: #E2A93B; --coral-text: #8A5F00; --gold-top: #F8DA7C; --ink: #111114; --ink2: #3C3C46; --muted: #5B5B66; --field: #F5F5F8; --line: #E4E4EC; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--coral-text); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 700px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.faqbox { max-width: 760px; }

header.top { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; z-index: 20; }
header.top .right { display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
nav.links a { color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 500; margin-left: 22px; }
nav.links a:hover { color: var(--ink); }

/* The language menu (top right) */
details.lang-menu { position: relative; margin-left: 20px; border: 0; padding: 0; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 19px;
  background: #fff; font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
details.lang-menu summary::after, details.lang-menu[open] summary::after { content: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: #CFCFDA; box-shadow: 0 6px 16px -10px rgba(17,17,20,.35); }
.lang-menu summary .i:last-child { transition: rotate .2s ease; }
.lang-menu[open] summary .i:last-child { rotate: 180deg; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 176px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(17,17,20,.4); animation: menu-in .18s ease-out; }
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--ink2); text-decoration: none; }
.lang-menu li a:hover { background: var(--field); color: var(--ink); }
.lang-menu li a.on { color: var(--ink); font-weight: 600; background: #FFF6DF; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Icon tiles (cards, steps, plans, devices) */
.i { display: block; flex: none; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 15px; background: #FFF3D6; color: var(--coral-text); margin-bottom: 16px; position: relative; }
.tile.small { width: 38px; height: 38px; border-radius: 12px; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--c) 13%, #fff); }
ul.iconlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.iconlist li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; line-height: 1.45; color: var(--ink2); }

.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--coral-text); margin: 0 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 28px;
  font-size: 17px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary.light { background: #fff; color: var(--ink); }
.btn.outline { border: 1.5px solid #D9D9E2; color: var(--ink); background: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.soon { cursor: default; }
.btn.soon:hover { transform: none; box-shadow: none; }
.cta .stores { justify-content: center; }
.cta .btn.outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink2); }

/* Hero: the words, and three phones */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: 1.0; letter-spacing: -2.4px; margin: 0 0 20px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 520px; margin: 0 0 30px; }
.hero-phones { position: relative; height: 640px; }
.phone { background: #0d0d0f; border-radius: 48px; padding: 9px; box-shadow: 0 40px 80px -30px rgba(28,31,36,.45), 0 0 0 1px rgba(0,0,0,.06); }
.phone img { display: block; width: 100%; height: auto; border-radius: 40px; }
.hero-phones .phone { position: absolute; }
.hero-phones .front { width: 290px; left: 50%; top: 0; margin-left: -145px; z-index: 2; }
.hero-phones .back { width: 238px; top: 70px; opacity: .96; }
.hero-phones .back.left { left: 2%; transform: rotate(-7deg); }
.hero-phones .back.right { right: 2%; transform: rotate(7deg); }
.cycle { position: relative; }
.cycle img + img { position: absolute; top: 9px; left: 9px; width: calc(100% - 18px); opacity: 0; transition: opacity .8s ease; }
.cycle img.on { opacity: 1; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff;
  font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; box-shadow: 0 18px 40px -18px rgba(17,17,20,.45), 0 0 0 1px rgba(17,17,20,.05); }
.chip .dot { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 15px; background: #FFF3D6; color: var(--coral-text); }
.chip .dot.ink { background: var(--ink); color: #fff; }
.chip.c1 { top: 18px; left: -4%; }
.chip.c2 { top: 46%; right: -6%; }
.chip.c3 { bottom: 64px; left: 2%; }
.js .chip { opacity: 0; animation: chip-in .7s cubic-bezier(.34,1.56,.64,1) forwards, float 7s ease-in-out infinite; }
.js .chip.c1 { animation-delay: .9s, 1.6s; }
.js .chip.c2 { animation-delay: 1.7s, 2.4s; }
.js .chip.c3 { animation-delay: 2.5s, 3.2s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
.float { animation: float 6s ease-in-out infinite; }

/* Bands */
section.band { padding: 84px 0; border-top: 1px solid var(--line); }
section.band h2, .feature h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; line-height: 1.08; margin: 0 0 16px; }
section.band .lead { max-width: 720px; margin: 0 0 34px; }

.pains { background: linear-gradient(180deg, #FFF9EC 0%, #fff 100%); }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 12px 30px -24px rgba(28,31,36,.4); }
.pain:hover, .source:hover, ol.steps li:hover, .plan:hover { translate: 0 -4px; box-shadow: 0 22px 40px -26px rgba(28,31,36,.5); }
.pain .q { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin: 0 0 12px; color: var(--ink); }
.pain .a { font-size: 16px; line-height: 1.55; color: var(--ink2); margin: 0; }

.features-list { padding: 36px 0 24px; }
.feature { display: grid; grid-template-columns: 0.8fr 1fr; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.feature.flip .feature-shot { order: 2; }
.feature-shot { display: flex; justify-content: center; }
.feature-shot .phone { width: 300px; }
.feature-text .lead { margin: 0 0 20px; }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding-left: 32px; margin: 0 0 12px; font-size: 16.5px; line-height: 1.5; color: var(--ink2); }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: var(--ink); }
ul.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

.how { background: var(--field); border-top: 0 !important; }
ol.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
ol.steps li { background: #fff; border-radius: 24px; padding: 26px; }
.tile.step .num { position: absolute; top: -7px; right: -7px; display: inline-flex; width: 22px; height: 22px; border-radius: 11px; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 3px #fff; }
ol.steps h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.3px; }
ol.steps p { margin: 0; color: var(--ink2); line-height: 1.55; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan { border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; }
.plan.on { border-color: var(--coral); background: #FFF9EC; }
.plan.free { background: var(--field); border-color: var(--field); }
.plan h3 { margin: 0 0 6px; font-size: 19px; }
.plan p { margin: 0; color: var(--ink2); line-height: 1.55; font-size: 16px; }
.name { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
/* The app's yawning TV, animated: the Zz drift up, the mouth yawns, the antennas sway */
.mascot svg { display: block; border-radius: 30px; box-shadow: 0 24px 50px -26px rgba(17,17,20,.5), 0 0 0 1px rgba(17,17,20,.06); }
.mascot .z, .mascot .mouth, .mascot .ant { transform-box: fill-box; }
.mascot .z { transform-origin: center; animation: zz 3.2s ease-in-out infinite; }
.mascot .z2 { animation-delay: .5s; }
.mascot .mouth { transform-origin: 50% 20%; animation: yawn 4.8s ease-in-out infinite; }
.mascot .ant { transform-origin: 50% 100%; animation: sway 4.8s ease-in-out infinite; }
@keyframes zz { 0% { opacity: 0; transform: translate(-3px, 5px) scale(.6); } 25%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(4px, -7px) scale(1.15); } }
@keyframes yawn { 0%, 55%, 100% { transform: scale(.8, .55); } 70%, 85% { transform: none; } }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: -4deg; } }

.cta { background: var(--ink); color: #fff; text-align: center; padding: 88px 0; }
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -1.2px; margin: 0 0 12px; }
.cta p { font-size: 19px; opacity: .92; margin: 0 0 30px; }

/* Text pages */
.doc { padding-top: 40px; padding-bottom: 72px; }
.doc h1 { font-size: 40px; letter-spacing: -1px; margin: 0 0 12px; }
.doc h2 { font-size: 20px; margin: 34px 0 8px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: var(--ink2); }
.doc .meta { color: var(--muted); font-size: 15px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--ink2); }

footer.bottom { border-top: 1px solid var(--line); padding: 30px 0 46px; font-size: 14.5px; color: var(--muted); }
footer.bottom .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer.bottom a { color: var(--ink2); text-decoration: none; margin-right: 18px; }

/* Import sources and devices */
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.source { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: 0 12px 30px -24px rgba(17,17,20,.4); }
.source h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.3px; }
.source p { margin: 0; color: var(--ink2); line-height: 1.55; font-size: 16px; }
.sources { background: var(--field); border-top: 0 !important; }
.devices-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.code-card { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(17,17,20,.45); }
.code-card .label { font-size: 14px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.code-card .code { font-size: 42px; font-weight: 800; letter-spacing: 3px; font-variant-numeric: tabular-nums; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.code-card .small { font-size: 14px; color: var(--muted); }

/* Things that appear as they come into view (only when the script runs, never for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .feature-shot.reveal { transform: translateY(40px) scale(.97); }
.js .feature-shot.reveal.in { transform: none; }
.js .pain.reveal, .js .source.reveal, .js ol.steps li.reveal, .js .plan.reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), translate .25s ease, box-shadow .25s ease; }
.js .reveal .tile, .js .reveal .kicker-icon { opacity: 0; scale: .5; transition: scale .6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0ms) + 220ms), opacity .3s ease calc(var(--d, 0ms) + 220ms); }
.js .reveal.in .tile, .js .reveal.in .kicker-icon { opacity: 1; scale: 1; }
.js .reveal ul.ticks li::before { scale: .3; opacity: 0; transition: scale .5s cubic-bezier(.34,1.56,.64,1), opacity .3s ease; }
.js .reveal ul.ticks li::after { opacity: 0; transition: opacity .3s ease; }
.js .reveal.in ul.ticks li::before { scale: 1; opacity: 1; }
.js .reveal.in ul.ticks li::after { opacity: 1; }
.js .reveal ul.ticks li:nth-child(1)::before, .js .reveal ul.ticks li:nth-child(1)::after { transition-delay: .35s; }
.js .reveal ul.ticks li:nth-child(2)::before, .js .reveal ul.ticks li:nth-child(2)::after { transition-delay: .5s; }
.js .reveal ul.ticks li:nth-child(3)::before, .js .reveal ul.ticks li:nth-child(3)::after { transition-delay: .65s; }
.js .reveal ul.ticks li:nth-child(n+4)::before, .js .reveal ul.ticks li:nth-child(n+4)::after { transition-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .feature-shot.reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .cycle img + img { transition: none; }
  .js .chip { opacity: 1; animation: none; }
  .js .reveal .tile, .js .reveal .kicker-icon, .js .reveal ul.ticks li::before, .js .reveal ul.ticks li::after { opacity: 1; scale: 1; transition: none; }
  .mascot .z, .mascot .mouth, .mascot .ant { animation: none; }
  .pain:hover, .source:hover, ol.steps li:hover, .plan:hover { translate: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-phones { height: 560px; }
  .hero-phones .front { width: 250px; margin-left: -125px; }
  .hero-phones .back { width: 200px; top: 60px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .feature.flip .feature-shot { order: 0; }
  .feature-shot .phone { width: 260px; }
  .devices-row { grid-template-columns: 1fr; }
  .hero .stores { justify-content: center; }
}
@media (max-width: 900px) {
  .chip.c1 { left: 0; }
  .chip.c2 { right: 0; }
}
@media (max-width: 560px) {
  nav.links { display: none; }
  details.lang-menu { margin-left: 0; }
  .chip { font-size: 13px; padding: 6px 12px 6px 6px; gap: 8px; }
  .chip .dot { width: 26px; height: 26px; }
  .chip.c3 { display: none; }
  .hero-phones { height: 470px; }
  .hero-phones .front { width: 214px; margin-left: -107px; }
  .hero-phones .back { width: 168px; top: 56px; }
  .hero-phones .back.left { left: -4%; }
  .hero-phones .back.right { right: -4%; }
  section.band { padding: 64px 0; }
}
