/* Current Lekka product site. Plain CSS, no build step. */

:root {
  --indigo: #3A2FD0;
  --indigo-deep: #2A21A3;
  --saffron: #FFB21A;
  --ink: #1F2328;        /* 15.8:1 on white */
  --ink-2: #5B616B;      /* secondary text, 6.2:1 on white */
  --hairline: #E6E7EB;
  --quiet: #F1F2F5;
  --bg: #FFFFFF;

  --font: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-te: "Noto Sans Telugu", "Roboto Flex", system-ui, sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --radius-pill: 999px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-wrap: break-word;
}

[lang="te"] { font-family: var(--font-te); line-height: 1.6; }

img { max-width: 100%; height: auto; display: block; }

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

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

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }

h2 {
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 500;
  margin-bottom: 10px;
}

p { margin: 0 0 14px; }

/* Lead-in labels; the browser default (700) is too heavy for the calm treatment. */
strong, b { font-weight: 500; }

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

.narrow { max-width: 760px; }
.wrap.narrow { max-width: var(--max); }
.wrap.narrow > * { max-width: 760px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* Header */
.top { border-bottom: 1px solid var(--hairline); }
.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}
.brand img { width: 32px; height: 32px; }
.top__link {
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  padding: 10px 4px;
}
.top__link:hover { text-decoration: underline; }

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--indigo-deep); color: #fff; }
.btn--quiet { background: var(--quiet); color: var(--ink); }
.btn--quiet:hover { background: #E4E6EB; color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; gap: 40px; }
.hero__logo { margin-bottom: 26px; }
.hero__logo img { width: min(100%, 330px); }
.hero__promise {
  font-size: clamp(26px, 6.4vw, 44px);
  line-height: 1.2;
  font-weight: 600;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 19ch;
}
.hero__note { color: var(--ink-2); font-size: 15px; margin: 0; }
.hero__shot { margin: 0; justify-self: center; }
.hero__shot figcaption,
.step__shot figcaption {
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 12px;
  max-width: min(300px, 78vw);
}

/* Phone screenshots: hairline outline, no heavy frame */
.phone {
  width: min(300px, 78vw);
  border-radius: 28px;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 40px -24px rgba(20, 22, 26, 0.35);
}

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--hairline); }
.section--last { padding-bottom: 64px; }

.eyebrow {
  color: var(--indigo);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 6px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--saffron);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

.lead {
  font-size: clamp(19px, 4.6vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 22px;
}

.small { font-size: 15px; color: var(--ink-2); }

/* Hairline lists */
.lines { list-style: none; margin: 0; padding: 0; }
.lines li {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}
.lines li:last-child { border-bottom: 1px solid var(--hairline); }

.lines--check li {
  position: relative;
  padding-left: 36px;
}
.lines--check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--indigo);
}
.lines--check li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 25px;
  width: 6px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Steps */
.steps { list-style: none; margin: 32px 0 0; padding: 0; }
.step {
  display: grid;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
}
.step:first-child { border-top: 0; padding-top: 8px; }
.step__text { max-width: 520px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 14px;
}
.step__shot { margin: 0; justify-self: center; }

/* Proof stats */
.stats {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
}
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
}
.stat:last-child { border-bottom: 1px solid var(--hairline); }
.stat dt { font-size: 17px; color: var(--ink-2); max-width: 16ch; }
.stat dd {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
}
.stat__num {
  font-size: clamp(44px, 12vw, 64px);
  font-weight: 600;
  font-variation-settings: "opsz" 120;
  color: var(--indigo);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Footer */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 32px 0 40px;
}
.foot__inner { display: grid; gap: 16px; }
.foot img { width: 206px; }
.foot p { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 60ch; }

/* Wider screens */
@media (min-width: 900px) {
  :root { --gutter: 32px; }

  .hero { padding: 72px 0 88px; }
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }
  .hero__shot { justify-self: end; }
  .hero__logo img { width: 380px; }

  .section { padding: 88px 0; }

  .phone { width: 300px; }

  .step {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 56px 0;
  }
  .step:nth-child(even) .step__text { order: 2; }
  .step:nth-child(even) .step__shot { order: 1; }
  .step--text { grid-template-columns: 1fr; }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .stat {
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 8px;
    border-bottom: 1px solid var(--hairline);
  }
  .stat dt { max-width: none; }

  .foot__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
  }
}
