/*
Theme Name: Laadhuu
Theme URI: https://laadhuu.com
Description: Fast, SEO-first marketing theme for Laadhuu — Somali Ludo. No animations, no web fonts, no tracking. Built for Core Web Vitals and Google Search Console out of the box, with Customizer-managed App Store / Google Play links and ready-made legal pages.
Author: Laadhuu
Author URI: https://laadhuu.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laadhuu
*/

/* ------------------------------------------------------------------ *
 * Design tokens
 * ------------------------------------------------------------------ */
:root {
  --purple-900: #1b0c3f;
  --purple-700: #2b1858;
  --purple-500: #4a1e5c;
  --amber: #ffb100;
  --amber-dark: #e89400;
  --amber-ink: #3d2817;
  --ink: #1b1b27;
  --muted: #5c5c6e;
  --line: #e7e7ef;
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --maxw: 1080px;
  --radius: 16px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #6a3fb5; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--amber); color: var(--amber-ink); padding: 10px 16px;
  font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ *
 * Header / nav
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(2px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand b { color: var(--ink); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.3px; }
.main-nav ul { list-style: none; display: flex; gap: 8px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 6px 4px;
}
.main-nav a:hover, .main-nav a:focus { color: #6a3fb5; }

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */
.btn {
  display: inline-block; font-weight: 800; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-size: 1.05rem;
}
.btn-amber { background: linear-gradient(90deg, var(--amber), var(--amber-dark)); color: var(--amber-ink); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }

/* App-store badge buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 12px; min-width: 200px;
  border: 1px solid rgba(255,255,255,0.25);
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn .l1 { display: block; font-size: 0.72rem; opacity: 0.85; line-height: 1.1; }
.store-btn .l2 { display: block; font-size: 1.18rem; font-weight: 700; line-height: 1.15; }
.store-soon {
  display: inline-block; color: rgba(255,255,255,0.8);
  border: 1px dashed rgba(255,255,255,0.4); border-radius: 12px;
  padding: 12px 18px; font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(160deg, var(--purple-900), var(--purple-700) 55%, var(--purple-500));
  color: #fff;
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,0.85); max-width: 38ch; }
.hero .badge {
  display: inline-block; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22); color: #fff;
  border-radius: 999px; padding: 6px 14px; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 18px;
}
.hero-shot { justify-self: center; }
.hero-shot img {
  width: 280px; max-width: 100%; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

/* ------------------------------------------------------------------ *
 * Sections
 * ------------------------------------------------------------------ */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 { text-align: center; }
.section .sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 40px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  background: linear-gradient(160deg, var(--purple-500), var(--purple-900));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; max-width: 820px; margin: 0 auto; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(27,12,63,0.12); margin: 0 auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step b { display: block; color: var(--amber-dark); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 6px; }

/* CTA */
.cta { background: linear-gradient(160deg, var(--purple-900), var(--purple-500)); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.85); }
.cta .store-buttons { justify-content: center; }

/* ------------------------------------------------------------------ *
 * Page (legal / generic) content — readable prose
 * ------------------------------------------------------------------ */
.page-wrap { padding: 48px 0 72px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { margin-bottom: 0.3em; }
.prose .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 2rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: #6a3fb5; }
.breadcrumbs { max-width: 760px; margin: 0 auto 20px; font-size: 0.9rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.site-footer { background: var(--purple-900); color: rgba(255,255,255,0.8); padding: 48px 0 32px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer .brand b { color: #fff; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legalnote { width: 100%; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 44px; padding-bottom: 44px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .store-buttons { justify-content: center; }
  .hero-shot { order: -1; }
}
