/* Lonco (lonco.com): the public site. No cookies, no third-party scripts or fonts. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
:root {
  --navy: #0b2650;
  --cyan: #00b2ff;
  --violet: #8b5cf6;
  --ink: #0b2650;
  --text: #334155;
  --bg: #f6f9fe;
  --card: #ffffff;
  --soft: #e8f4fd;
  --muted: #5b6b80;
  --line: #e5e7eb;
  --radius: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --btn-bg: var(--navy);
  --btn-fg: #ffffff;
  --logo-light: inline;
  --logo-dark: none;
  color-scheme: light;
}
/* Dark ("azul") theme: only when the visitor picks it with the switch. White is always the default. */
:root[data-theme="dark"] {
  --ink: #ffffff;
  --text: #d6deea;
  --bg: #071a38;
  --card: #0e2a55;
  --soft: #12325f;
  --muted: #a3b2c7;
  --line: rgba(255, 255, 255, 0.12);
  --btn-bg: var(--cyan);
  --btn-fg: var(--navy);
  --logo-light: none;
  --logo-dark: inline;
  color-scheme: dark;
}
.logo-light {
  display: var(--logo-light);
}
.logo-dark {
  display: var(--logo-dark);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  word-spacing: 0.05em;
  font:
    17px / 1.6 "Plus Jakarta Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
h1,
h2,
h3 {
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.top img {
  height: 48px;
  width: auto;
  vertical-align: middle;
}
.button {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 700;
}
.button.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 40px 0 72px;
}
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 72px 0 96px;
  }
}
.kicker {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 36ch;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  margin-right: 8px;
  vertical-align: 1px;
}
.robot {
  justify-self: center;
  position: relative;
  width: min(400px, 88%);
  isolation: isolate;
}
.robot::before {
  content: "";
  position: absolute;
  inset: 12% -4% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0%, #dff1fd 55%, #cfe8fb 100%);
}
.robot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 30px rgba(11, 38, 80, 0.2));
}
.robot .note {
  position: absolute;
  left: 12px;
  bottom: 28px;
  background: var(--card);
  color: var(--ink);
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px -20px rgba(11, 38, 80, 0.5);
}
.robot .note b {
  color: var(--violet);
}
section {
  padding: 64px 0;
}
section h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
section p.intro {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 32px;
}
.how {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .how {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.phone {
  justify-self: center;
  width: min(340px, 100%);
  background: var(--card);
  border-radius: 34px;
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(11, 38, 80, 0.35);
  display: grid;
  gap: 10px;
}
.phone .who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}
.phone .who img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.bubble {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 15px;
  line-height: 1.45;
}
.bubble.me {
  justify-self: end;
  background: #dcf8c6;
  color: #1f2a1a;
  border-bottom-right-radius: 6px;
}
.bubble.lonco {
  background: var(--soft);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .grid.three,
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 var(--line);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--muted);
}
.invite {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2650 0%, #13306a 60%, #3b2a86 100%);
  color: #fff;
  border-radius: 32px;
  padding: 48px 28px;
  text-align: center;
}
.invite .wave {
  display: block;
  width: 120px;
  height: auto;
  margin: -8px auto 12px;
  padding: 10px 10px 0;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #dff1fd 70%);
}
.invite h2 {
  color: #fff;
}
.invite p {
  color: #d6deea;
  max-width: 52ch;
  margin: 0 auto 24px;
}
.invite .button {
  background: var(--cyan);
  color: var(--navy);
}
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
footer .tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.legal {
  max-width: 760px;
  padding: 24px 0 72px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin: 24px 0 8px;
}
.legal h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}
.legal .updated {
  color: var(--muted);
  margin: 0 0 24px;
}
.menu {
  display: none;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.menu a {
  text-decoration: none;
}
.menu a:hover {
  color: var(--cyan);
}
@media (min-width: 900px) {
  .menu {
    display: flex;
  }
}
/* Trust bar under the hero: GDPR, encryption, no training. */
.trust {
  display: grid;
  gap: 0;
  margin: -32px 0 40px;
  padding: 6px 20px;
  border-radius: 22px;
  background: var(--card);
  box-shadow:
    0 1px 0 var(--line),
    0 24px 48px -36px rgba(11, 38, 80, 0.45);
}
@media (min-width: 1000px) {
  .trust {
    grid-template-columns: repeat(4, 1fr);
    padding: 18px 8px;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  text-decoration: none;
  color: inherit;
}
.trust-item + .trust-item {
  border-top: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .trust-item {
    padding: 4px 18px;
  }
  .trust-item + .trust-item {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}
.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}
.trust-item .t-sub {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
.trust-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s var(--ease-out);
}
.trust-icon svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}
/* Four in a row: tighter so every title and line fits on one line. */
@media (min-width: 1000px) {
  .trust-item {
    gap: 12px;
  }
  .trust-item strong {
    font-size: 15px;
  }
  .trust-item .t-sub {
    font-size: 13px;
  }
  .trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .trust-icon svg {
    width: 24px;
    height: 24px;
  }
}
.trust-icon .t-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-icon .t-fill,
.trust-icon .eu-stars {
  fill: var(--cyan);
}
.trust-icon .t-slash {
  fill: none;
  stroke: var(--violet);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
}
.trust-icon * {
  transform-box: fill-box;
  transform-origin: center;
}
.trust-icon .eu-stars {
  transform-box: view-box;
  transform-origin: 12px 12px;
}
@media (prefers-reduced-motion: no-preference) {
  .trust-icon .eu-stars {
    animation: trust-spin 24s linear infinite;
  }
  .trust-icon .t-shackle {
    animation: trust-shackle 4s var(--ease-out) infinite;
  }
  .trust-icon .t-key {
    animation: trust-glow 4s ease-in-out infinite;
  }
  .trust-icon .t-slash {
    animation: trust-slash 4s var(--ease-out) infinite;
  }
  .trust-item:hover .trust-icon {
    transform: translateY(-2px);
  }
  @keyframes trust-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes trust-shackle {
    0%,
    15% {
      transform: translateY(-2px);
    }
    25%,
    90% {
      transform: none;
    }
    100% {
      transform: translateY(-2px);
    }
  }
  @keyframes trust-glow {
    0%,
    20%,
    100% {
      opacity: 0.35;
      transform: scale(0.8);
    }
    30%,
    85% {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes trust-slash {
    0%,
    10% {
      stroke-dashoffset: 1;
    }
    35%,
    90% {
      stroke-dashoffset: 0;
    }
    100% {
      stroke-dashoffset: 1;
    }
  }
}
.strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 0 32px;
}
@media (min-width: 860px) {
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
}
.strip div {
  border-left: 3px solid var(--cyan);
  padding: 4px 0 4px 14px;
}
.strip div:nth-child(even) {
  border-color: var(--violet);
}
.strip strong {
  display: block;
  color: var(--ink);
}
.strip span {
  color: var(--muted);
  font-size: 15px;
}
section .kicker {
  margin-bottom: 8px;
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--navy);
  color: #fff;
}
.steps li:last-child::before {
  background: var(--violet);
}
.steps h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.ticks li {
  padding-left: 22px;
  position: relative;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.business {
  display: grid;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #f3efff 0%, #e9e2ff 100%);
  border-radius: 32px;
  padding: 40px 28px 0;
  overflow: hidden;
  color: #334155;
}
.business h2 {
  color: #0b2650;
}
.business .kicker {
  color: #6b5aa6;
}
.business .button.ghost {
  color: #0b2650;
  box-shadow: inset 0 0 0 1.5px #0b2650;
  background: transparent;
  margin-bottom: 32px;
}
.business p {
  max-width: 52ch;
}
.business img.mascot {
  justify-self: center;
  width: min(280px, 80%);
  height: auto;
  display: block;
}
@media (min-width: 860px) {
  .business {
    grid-template-columns: 1.3fr 0.7fr;
    padding: 40px 48px 0;
  }
  .business > div {
    padding-bottom: 8px;
  }
}
.violet {
  color: var(--violet);
}
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq details {
  background: var(--card);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 1px 0 var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--cyan);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}
.contact {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 720px) {
  .contact {
    grid-template-columns: repeat(2, 1fr);
  }
}
.top {
  gap: 16px;
}
.top .right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
}
.top .theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .sun {
  display: var(--logo-dark);
}
.theme-toggle .moon {
  display: var(--logo-light);
}
@media (min-width: 720px) {
  .top img {
    height: 64px;
  }
}

/* Motion. Everything below only runs when the visitor has not asked for reduced motion.
   Hero: staged entrance on load (CSS only). Rest: scroll reveals driven by motion.js. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes pop {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.85);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes robot-in {
    from {
      opacity: 0;
      transform: translateY(40px) scale(0.92);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-14px);
    }
  }
  @keyframes halo {
    0%,
    100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.04);
      opacity: 0.85;
    }
  }
  @keyframes shine {
    from {
      background-position: 0% 50%;
    }
    to {
      background-position: 200% 50%;
    }
  }
  @keyframes ping {
    0% {
      box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.55);
    }
    80%,
    100% {
      box-shadow: 0 0 0 8px rgba(139, 92, 246, 0);
    }
  }
  @keyframes wave {
    0%,
    60%,
    100% {
      transform: rotate(0);
    }
    10%,
    30% {
      transform: rotate(-8deg);
    }
    20%,
    40% {
      transform: rotate(8deg);
    }
  }

  /* Hero: text arrives line by line, then the robot, then its greeting. */
  .hero > div:first-child > * {
    animation: rise 0.8s var(--ease-out) both;
  }
  .hero .kicker {
    animation-delay: 0.05s;
  }
  .hero h1 {
    animation-delay: 0.15s;
  }
  .hero p.lead {
    animation-delay: 0.3s;
  }
  .hero .eyebrow {
    animation-delay: 0.42s;
  }
  .hero .actions {
    animation-delay: 0.52s;
  }
  .hero h1 em {
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s linear infinite;
  }
  .eyebrow::before {
    animation: ping 2.4s var(--ease-out) 1.2s infinite;
  }
  .robot {
    animation: robot-in 1s var(--ease-out) 0.25s both;
  }
  .robot img {
    animation: float 6s ease-in-out 1.3s infinite;
  }
  .robot::before {
    animation: halo 6s ease-in-out 1.3s infinite;
  }
  .robot .note {
    animation: pop 0.6s var(--ease-out) 1.1s both;
  }

  /* Feedback on hover and press. */
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(11, 38, 80, 0.45);
  }
  .button:active,
  .theme-toggle:active {
    transform: scale(0.96);
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 1px 0 var(--line),
      0 24px 40px -28px rgba(11, 38, 80, 0.45);
  }

  /* Scroll reveals (classes added by motion.js). */
  .motion .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .motion .reveal.in {
    opacity: 1;
    transform: none;
  }
  .motion .card.reveal.in:hover {
    transform: translateY(-4px);
    transition-delay: 0s;
  }

  /* The chat plays out like a real conversation once the phone is on screen. */
  .motion .phone .bubble {
    opacity: 0;
  }
  .motion .phone.in .bubble {
    animation: pop 0.5s var(--ease-out) both;
  }
  .motion .phone.in .bubble:nth-child(2) {
    animation-delay: 0.4s;
    transform-origin: bottom right;
  }
  .motion .phone.in .bubble:nth-child(3) {
    animation-delay: 1.3s;
    transform-origin: bottom left;
  }
  .motion .phone.in .bubble:nth-child(4) {
    animation-delay: 2.3s;
    transform-origin: bottom right;
  }
  .motion .phone.in .bubble:nth-child(5) {
    animation-delay: 3s;
    transform-origin: bottom left;
  }

  .business img.mascot {
    animation: float 7s ease-in-out infinite;
  }
  .invite .wave {
    transform-origin: 50% 90%;
    animation: wave 3.2s ease-in-out 1s infinite;
  }
}

/* Cards: soft spotlight and, with a mouse, a tilt towards the pointer (motion.js feeds
   --mx/--my/--rx/--ry). The animated illustrations live in scenes.css. */
.card {
  position: relative;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(0, 178, 255, 0.14),
    rgba(139, 92, 246, 0.08) 40%,
    transparent 70%
  );
  transition: opacity 0.35s var(--ease-out);
}
.card:hover::before {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .motion .card.reveal.in:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
    transition-duration: 0.15s;
  }
}
