/* Limenly website. No external fonts, scripts or trackers: system fonts only. */

:root {
  --ink: #0c2340;
  --navy: #0b3d91;
  --wave: #2f80ed;
  --mist: #eef4fc;
  --sky: #d6e6fb;
  --muted: #4a5d78;
  --paper: #ffffff;
  --mint: #1e9e6a;
  --mint-soft: #e3f5ec;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--wave); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.07; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }

/* ---------- header ---------- */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 33px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav .login { color: var(--muted); text-decoration: none; font-size: 0.97rem; }
.nav .login:hover { color: var(--ink); text-decoration: underline; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: 2px solid var(--navy);
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--mist); color: var(--ink); border-color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero p.lead { margin-top: 22px; max-width: 34em; font-size: 1.2rem; color: var(--muted); }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }

.wave {
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M0 6q11-10 22 0t22 0' fill='none' stroke='%232F80ED' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
  opacity: 0.55;
}

/* phone + staff list (decorative example) */
.stage { position: relative; margin: 0; display: flex; justify-content: flex-end; padding: 8px 0 40px; }
.phone {
  width: 252px; border: 9px solid var(--ink); border-radius: 40px; background: #fff;
  padding: 22px 18px 20px; box-shadow: 0 24px 50px -24px rgba(12, 35, 64, 0.35);
}
.phone .hotel { font-size: 0.8rem; color: var(--muted); }
.phone .title { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin-top: 4px; }
.phone .meta { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.steps { list-style: none; margin: 20px 0 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sky); font-size: 0.95rem; font-weight: 600; }
.steps .dot { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-soft); display: grid; place-items: center; }
.steps .dot svg { width: 18px; height: 18px; }
.tick { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.phone .done-msg {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--mint-soft);
  color: #0f6b46; font-size: 0.9rem; font-weight: 600;
}

.staff {
  position: absolute; left: 0; bottom: 0; width: 214px; background: #fff;
  border: 1px solid var(--sky); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 18px 40px -22px rgba(12, 35, 64, 0.4);
}
.staff h3 { font-family: var(--sans); font-size: 0.9rem; font-weight: 700; line-height: 1.3; }
.staff h3 span { display: block; color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.staff ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.88rem; }
.staff li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--mist); }
.tag { font-weight: 700; font-size: 0.78rem; padding: 2px 9px; border-radius: 999px; }
.tag.ready { background: var(--mint-soft); color: #0f6b46; }
.tag.wait { background: var(--mist); color: var(--muted); }
.staff .eg { margin-top: 8px; font-size: 0.74rem; color: var(--muted); }

/* ---------- motion (all of it is off when the visitor asks for reduced motion) ---------- */
.tick { stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* hero entrance on load */
  .enter { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: var(--d, 0s); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }

  /* phone check-in loop (the script toggles these classes) */
  .anim .steps .tick { stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s ease; }
  .anim .steps li.on .tick { stroke-dashoffset: 0; }
  .anim .steps .dot { background: var(--mist); transition: background-color 0.3s; }
  .anim .steps li.on .dot { background: var(--mint-soft); }
  .anim .done-msg { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
  .anim.finished .done-msg { opacity: 1; transform: none; }
  .steps, .staff ul, .staff h3 span { transition: opacity 0.4s; }
  .anim.resetting .steps, .anim.resetting .done-msg, .anim.resetting .staff ul, .anim.resetting .staff h3 span { opacity: 0; }
  .tag.pop { animation: pop 0.5s ease; }
  @keyframes pop { 40% { transform: scale(1.18); } }

  /* sections rise into view once (the script adds .reveal, then .in) */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }

  /* the dotted trail draws across, then the stops pop in one by one */
  .path .trail.reveal { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s ease; transition-delay: 0.2s; }
  .path .trail.reveal.in { clip-path: inset(0 0 0 0); }
  .path li.reveal .stop { --sc: 0.4; }
  .path li.reveal.in .stop { --sc: 1; }

  /* stickers keep their tilt while they rise */
  .stickers li.reveal, .stickers li.reveal.in { transform: translateY(var(--ty, 0px)) rotate(var(--rot, 0deg)); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.3, 1.4, .5, 1); transition-delay: var(--d, 0s); }
  .stickers li.reveal { --ty: 18px; }
  .stickers li.reveal.in { --ty: 0px; }

  /* the wave drifts slowly */
  .wave { animation: drift 7s linear infinite; }
  @keyframes drift { to { background-position-x: 44px; } }

  /* buttons respond */
  .btn { transition: background-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(11, 61, 145, 0.55); }
  .btn:active { transform: none; box-shadow: none; }

  /* FAQ opens and closes smoothly where the browser supports it */
  details { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
  details[open]::details-content { block-size: auto; }
  summary::after { transition: transform 0.25s; }
  details[open] summary::after { transform: rotate(180deg); }
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.mist { background: var(--mist); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.split > h2 { position: sticky; top: 24px; }

.pains { display: grid; }
.pains > div { padding: 22px 0; border-top: 1px solid var(--sky); }
.pains > div:first-child { padding-top: 0; border-top: 0; }
.pains h3 { margin-bottom: 6px; }
.pains p { color: var(--muted); max-width: 34em; }

.how h2, #features h2 { max-width: 16em; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* how it works: a dotted trail with three stops */
.path { position: relative; margin-top: 52px; }
.path .trail { position: absolute; left: 0; top: 14px; width: 100%; height: 100px; }
.path ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.stop {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 2.3rem; box-shadow: 0 0 0 8px var(--mist);
  transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg)) scale(var(--sc, 1));
  transition: transform 0.6s cubic-bezier(.3, 1.5, .5, 1);
  transition-delay: calc(var(--d, 0s) + 0.1s);
}
.stop.s1 { --r: -6deg; background: var(--sky); color: var(--navy); }
.stop.s2 { --y: 14px; --r: 4deg; background: var(--wave); color: #fff; }
.stop.s3 { --r: -3deg; background: var(--mint); color: #fff; }
.path li:nth-child(2) h3 { margin-top: 14px; }
.path p { margin: 8px auto 0; color: var(--muted); max-width: 17em; }

/* what you get: stickers */
.stickers { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 16px; }
.stickers li {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px;
  background: #fff; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.95rem; color: var(--muted); line-height: 1.3; max-width: 100%;
  transform: translateY(var(--ty, 0px)) rotate(var(--rot, 0deg));
  transition: transform 0.25s ease;
}
.stickers li:hover { --rot: 0deg; --ty: -3px; }
.stickers .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; }
.stickers b { display: block; color: var(--ink); font-size: 1.02rem; }
.k1 { --rot: -2.5deg; } .k2 { --rot: 1.6deg; } .k3 { --rot: -1deg; } .k4 { --rot: 2.4deg; }
.k5 { --rot: -1.8deg; } .k6 { --rot: 1deg; } .k7 { --rot: -2.2deg; } .k8 { --rot: 1.8deg; }
.k1 .ic, .k5 .ic { background: var(--sky); color: var(--navy); }
.k2 .ic, .k6 .ic { background: var(--mint-soft); color: var(--mint); }
.k3 .ic, .k7 .ic { background: var(--wave); color: #fff; }
.k4 .ic, .k8 .ic { background: var(--navy); color: #fff; }

.data { background: var(--navy); color: #fff; padding: 76px 0; }
.data h2 { color: #fff; max-width: 16em; }
.data p { margin-top: 16px; max-width: 38em; color: #dbe8fb; font-size: 1.15rem; }
.data a { color: #fff; }

.pilot { text-align: left; }
.pilot h2 { max-width: 14em; }
.pilot p { margin-top: 16px; max-width: 36em; color: var(--muted); }
.pilot .actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pilot .alt { font-size: 0.97rem; color: var(--muted); }

.faq h2 { margin-bottom: 28px; }
details { border-top: 1px solid var(--sky); padding: 18px 0; max-width: 46em; }
details:last-of-type { border-bottom: 1px solid var(--sky); }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--navy); }
details[open] summary::after { content: "\2013"; }
details p { margin-top: 10px; color: var(--muted); max-width: 40em; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--sky); padding: 36px 0 48px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* ---------- legal pages ---------- */
.prose { max-width: 42em; padding: 40px 24px 80px; margin: 0 auto; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-top: 6px; }
.prose .updated { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .hero { padding: 24px 0 48px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .split > h2 { position: static; }
  .path ol { grid-template-columns: 1fr; gap: 36px; }
  .path .trail { display: none; }
  .stop { --y: 0px !important; }
  .path li:nth-child(2) h3 { margin-top: 0; }
  .stage { flex-direction: column; align-items: center; gap: 18px; }
  .stage { padding-bottom: 8px; }
  .staff { position: static; width: 252px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .nav .login { display: none; }
  .hero .actions .btn { width: 100%; }
}
