/* ClickLahh marketing site. No external fonts, no imports. System font stack only. */

:root {
  --blue: #2257f5;
  --blue-dark: #1a46cc;
  --blue-50: #eef3ff;
  --orange: #ff6b35;
  --orange-strong: #c2410c;
  --ink: #0b1b3a;
  --canvas: #f8fafc;
  --surface: #ffffff;
  --border: #e4e7ef;
  --muted: #5b6477;
  --radius: 12px;
  --max: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1rem;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
}

.malay {
  font-style: italic;
  color: var(--muted);
}

.meta-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-strong);
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.accent {
  color: var(--orange-strong);
}

.nav-toggle {
  font: inherit;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  min-height: 44px;
  cursor: pointer;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 16px rgba(11, 27, 58, 0.08);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav.is-open .nav-list {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
}

.nav-list a {
  display: block;
  padding: 0.6rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav-list a[aria-current="page"] {
  color: var(--blue-dark);
  font-weight: 700;
}

.nav-list .btn {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav.is-open .nav-list,
  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }

  .nav-list .btn {
    margin-top: 0;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange-strong);
  color: #fff;
}

.btn-primary:hover {
  background: #9a3412;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Layout blocks ---------- */

.hero {
  padding: 3rem 0 3.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero {
  padding: 2.5rem 0 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

section.block {
  padding: 3.5rem 0;
}

.block-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.block-dark {
  background: var(--ink);
  color: #fff;
}

.block-dark h2,
.block-dark h3 {
  color: #fff;
}

.block-dark .muted {
  color: #c9d1e0;
}

.block-head {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-dark {
  background: #13274d;
  border-color: #23365e;
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.callout {
  background: var(--blue-50);
  border: 1px solid #c9d8ff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.5rem;
}

.checklist li::before {
  content: "\2713\00a0";
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Pricing ---------- */

.plan {
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border: 2px solid var(--orange);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.5rem 0 0.25rem;
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.plan .btn {
  margin-top: auto;
}

.toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
  background: var(--surface);
  margin-top: 1.5rem;
}

.toggle button {
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.save-note {
  color: var(--orange-strong);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Services, FAQ, clients ---------- */

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.client-logo {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 40px;
}

details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.quote {
  margin: 0;
}

.quote p {
  font-size: 1.05rem;
}

.quote footer {
  color: var(--muted);
  font-size: 0.95rem;
}

.quote footer strong {
  color: var(--ink);
}

.legal-body p {
  max-width: 44rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #c9d1e0;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: #fff;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .accent {
  color: var(--orange);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.fine {
  border-top: 1px solid #23365e;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.875rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.error-page {
  text-align: center;
  padding: 5rem 0;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

/* ---------- Utilities (no inline style attributes; CSP forbids them) ---------- */

.mt-sm {
  margin-top: 0.75rem;
}

.mt {
  margin-top: 1rem;
}

.mt-lg {
  margin-top: 1.5rem;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 500;
}

.nav-list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

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