/* Kafuo public landing page. Brand palette from tailwind.config.mts (handoff colors only). */
:root {
  --navy: #001336;
  --navy-700: #0a2a5c;
  --navy-300: #6e8099;
  --navy-100: #dce3ec;
  --bg: #ececec;
  --white: #ffffff;
  --sky: #62d6fd;
  --sky-light: #ddf3ff;
  --turquoise: #04d0ae;
  --orange: #ff6430;
  --radius: 20px;
  --shadow: 0 4px 16px rgba(0, 19, 54, 0.12);
  --max: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--navy-700); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 12px; text-wrap: pretty; }
p { margin: 0 0 12px; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(236, 236, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--navy-100);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--navy-700); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--orange); color: var(--white);
}
.btn.secondary { background: var(--white); color: var(--navy); border: 1px solid var(--navy-100); }

/* Sections */
section { padding: 64px 0; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--navy-700); background: var(--sky-light); padding: 4px 12px; border-radius: 999px; font-size: 14px; margin-bottom: 12px; }
.lead { color: var(--navy-700); font-size: 19px; max-width: 760px; }

.hero { background: linear-gradient(135deg, #001336 0%, #0a2a5c 100%); color: var(--white); padding: 72px 0; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.hero .lead { color: var(--navy-100); }
.hero .eyebrow { background: rgba(98, 214, 253, 0.18); color: var(--sky); }
.hero .trust { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .trust li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); padding: 4px 14px; border-radius: 999px; font-size: 15px; }
.hero .shot { max-width: 300px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); border: 6px solid #0b1226; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; }
.card p { color: var(--navy-700); font-size: 16px; margin: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #62d6fd 0%, #04d0ae 100%); color: var(--navy); font-weight: 800; margin-bottom: 10px; }

.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.screens figure { margin: 0; background: var(--white); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.screens img { border-radius: 14px; }
.screens figcaption { text-align: center; font-weight: 700; margin-top: 8px; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
.plan { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan.featured { border-color: var(--orange); }
.plan .price { font-size: 40px; font-weight: 800; margin: 8px 0; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--navy-300); }
.plan ul { padding: 0 20px 0 0; margin: 16px 0 0; }
.plan li { margin-bottom: 6px; }
.note { color: var(--navy-300); font-size: 14px; margin-top: 16px; text-align: center; }

/* FAQ */
details { background: var(--white); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--navy-700); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 10px; }
.contact-list b { display: inline-block; min-width: 140px; }

/* English summary */
.en { direction: ltr; text-align: left; font-family: "Nunito", "Segoe UI", Arial, sans-serif; }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal .doc { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 22px; margin-top: 28px; }
.legal ul, .legal ol { padding-right: 22px; padding-left: 0; }
.legal .meta { color: var(--navy-300); font-size: 15px; }

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-100); padding: 48px 0 32px; font-size: 15px; }
.site-footer a { color: var(--white); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: var(--white); font-size: 17px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ltr { direction: ltr; unicode-bidi: embed; }

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

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 44px 0; }
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .legal .doc { padding: 20px; }
  .contact-list b { min-width: 0; display: block; }
}
