/* Masajobs website. Colours follow the app logo: navy, orange, warm yellow. */
:root {
  --navy-900: #0b1d47;
  --navy-800: #11285e;
  --navy-700: #183777;
  --navy-100: #e6ebf5;
  --orange: #e8590c;
  --orange-dark: #c24a0a;
  --sun: #f5b52e;
  --ink: #1b2233;
  --ink-soft: #4a5368;
  --line: #e1e5ee;
  --paper: #ffffff;
  --sand: #f7f5f1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 29, 71, 0.06), 0 8px 24px rgba(11, 29, 71, 0.08);
  --wrap: 1140px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { color: var(--navy-900); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--navy-100); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--orange-dark); }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.nav a.btn-primary:hover { background: var(--orange-dark); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy-900); cursor: pointer; }

/* Buttons */
.btn { transition: background .15s, transform .15s, box-shadow .15s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px -6px rgba(232, 89, 12, 0.55); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 12px; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-100); color: var(--navy-900); }

/* Sections */
section { padding: 80px 0; }
.section-sand { background: var(--sand); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo { border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; width: 100%; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-100); color: var(--navy-800); font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: #fdeee4; color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.cat h3 { font-size: 1.02rem; margin-bottom: 6px; }
.cat p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23183777' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Callout */
.callout { border-left: 4px solid var(--sun); background: #fff8e8; border-radius: 0 12px 12px 0; padding: 18px 22px; color: var(--ink); }
.callout p:last-child { margin: 0; }

/* Band */
.band { background: var(--navy-900); color: #cfd8ec; border-radius: 20px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.band h2 { color: #fff; margin-bottom: 0.3em; }
.band p { margin: 0; max-width: 36em; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

/* Legal / long text */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose .updated { color: var(--ink-soft); font-size: 0.93rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: #aebbd6; padding: 56px 0 28px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe5f2; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.86rem; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 10%, #2a4fae 0%, transparent 60%), linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 75%); color: #dfe5f2; overflow: hidden; padding: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -0.03em; line-height: 1.06; }
.hl { color: var(--sun); }
.hero .lead { font-size: 1.16rem; color: #cfd8ec; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--sun); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: 0.95rem; color: #fff; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--sun); }
.hero-arc { position: absolute; left: -10%; right: -10%; bottom: -340px; height: 420px; border-radius: 50%; border-top: 6px solid rgba(232, 89, 12, 0.75); box-shadow: 0 -14px 0 -8px rgba(245, 181, 46, 0.5); pointer-events: none; }
.hero-visual { position: relative; min-height: 600px; }
.hero-visual .phone-front { position: absolute; right: 6%; top: 0; width: 290px; z-index: 2; }
.hero-visual .phone-back { position: absolute; left: 4%; top: 70px; width: 250px; opacity: 0.92; transform: rotate(-4deg); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 18px 40px -12px rgba(4, 12, 36, 0.55); font-size: 0.86rem; line-height: 1.3; animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy-900); font-size: 0.93rem; }
.float-card span { color: var(--ink-soft); }
.fc-1 { left: 0; bottom: 120px; }
.fc-2 { right: 0; bottom: 30px; animation-delay: -3s; }
.fc-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.fc-icon svg { width: 20px; height: 20px; }
.fc-green { background: #e3f7ec; color: #14804a; }
.fc-orange { background: #fdeee4; color: var(--orange-dark); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-sub .hero-grid { padding-top: 64px; padding-bottom: 80px; }
.page-hero { background: radial-gradient(900px 400px at 90% 0%, #2a4fae 0%, transparent 60%), var(--navy-900); color: #cfd8ec; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { max-width: 42em; font-size: 1.1rem; margin: 0; }
.page-hero .pill { margin-bottom: 16px; }

/* Phone frame */
.phone { margin: 0; padding: 9px; border-radius: 46px; background: #0c0f16; box-shadow: inset 0 0 0 1.5px #3a4153, 0 40px 70px -25px rgba(4, 12, 36, 0.6), 0 14px 28px -14px rgba(4, 12, 36, 0.45); }
.phone img { width: 100%; height: auto; border-radius: 37px; background: #f4f6fb; }

/* Highlights strip */
.strip { padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 26px 22px; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip-grid strong { display: block; color: var(--navy-900); font-size: 1.02rem; }
.strip-grid span { color: var(--ink-soft); font-size: 0.93rem; }

/* Screen showcase */
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.showcase { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: show; }
.showcase li { counter-increment: show; }
ol.showcase h3::before { content: counter(show); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 0.85rem; margin-right: 10px; vertical-align: 2px; }
.showcase p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.stage { position: relative; height: 390px; overflow: hidden; border-radius: 22px; background: radial-gradient(260px 200px at 50% 0%, #2a4fae, transparent 70%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); padding: 30px 26px 0; margin-bottom: 22px; }
.stage .phone { max-width: 250px; margin: 0 auto; }
.section-sand .stage { box-shadow: var(--shadow); }
.stage-lg { height: 560px; padding-top: 44px; margin: 0; }
.stage-lg .phone { max-width: 300px; }

/* Category and card polish */
.cat { transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat:hover { border-color: #c9d3e8; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-700); margin-bottom: 14px; }
.cat-icon svg { width: 21px; height: 21px; }
.card { transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* Navy section */
.section-navy { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #cfd8ec; }
.section-navy h2 { color: #fff; }
.eyebrow-sun { color: var(--sun); }
.checks-light li { color: #e6ebf5; }
.checks-light li::before { background-color: rgba(245, 181, 46, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23f5b52e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Photo + phone pairing */
.duo { position: relative; padding-right: 110px; padding-bottom: 40px; }
.duo .photo { aspect-ratio: 4 / 5; border-radius: 22px; object-position: 50% 15%; box-shadow: 0 30px 60px -25px rgba(4, 12, 36, 0.6); }
.duo .duo-phone { position: absolute; right: 0; bottom: 0; width: 230px; }
.duo-hero .photo { aspect-ratio: 5 / 6; }
.photo-frame { position: relative; }
.photo-frame .photo { aspect-ratio: 4 / 4.6; border-radius: 22px; object-position: 50% 0%; }
.photo-frame .tag { position: absolute; left: -18px; bottom: 28px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px -14px rgba(11, 29, 71, 0.4); font-size: 0.9rem; max-width: 270px; border-left: 4px solid var(--orange); }
.photo-frame .tag strong { display: block; color: var(--navy-900); }

/* Band + store badges */
.band { position: relative; overflow: hidden; background: radial-gradient(500px 300px at 100% 0%, #2a4fae, transparent 70%), var(--navy-900); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.store { position: relative; display: inline-flex; align-items: center; gap: 10px; min-width: 172px; padding: 9px 18px 9px 14px; border-radius: 10px; background: #000; border: 1px solid #a6a6a6; color: #fff; font-size: 1.15rem; font-weight: 600; line-height: 1.1; text-decoration: none; }
a.store:hover { background: #1a1a1a; }
.store svg { width: 28px; height: 28px; flex-shrink: 0; }
.store small { display: block; font-weight: 500; font-size: 0.68rem; letter-spacing: 0.02em; color: #fff; }
.store.is-soon { opacity: 0.9; cursor: default; }
.store em { position: absolute; top: -9px; right: -8px; padding: 2px 8px; border-radius: 999px; background: var(--sun, #f5b301); color: #1b1300; font-size: 0.62rem; font-style: normal; font-weight: 700; }
.faq-wide { max-width: 820px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding-top: 56px; padding-bottom: 72px; }
  .hero-visual { min-height: 0; height: 540px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps, .grid-4, .cats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .duo { max-width: 520px; margin: 0 auto; width: 100%; }
  .photo-frame { max-width: 520px; margin: 0 auto; width: 100%; }
  .photo-frame .tag { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .stage-lg { height: 480px; }
  .band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .hero-grid, .hero-sub .hero-grid { padding-top: 44px; padding-bottom: 64px; }
  .hero-visual { height: 470px; }
  .hero-visual .phone-front { width: 220px; right: 2%; }
  .hero-visual .phone-back { width: 190px; left: 0; top: 50px; }
  .fc-1 { bottom: 90px; }
  .float-card { font-size: 0.8rem; padding: 10px 12px 10px 10px; }
  .showcase { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .showcase::-webkit-scrollbar { display: none; }
  .showcase li { flex: 0 0 78%; scroll-snap-align: center; }
  .duo { padding-right: 70px; }
  .duo .duo-phone { width: 160px; }
}
@media (max-width: 560px) {
  .steps, .grid-3, .grid-4, .cats, .site-footer .cols { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .float-card { animation: none; } .btn, .card, .cat { transition: none; } }

/* Contact page */
.page-hero a.on-dark { color: #fff; }
.contact-grid { align-items: start; }
.contact-form h2 { font-size: 1.45rem; margin-bottom: 18px; }
.contact-side { display: grid; gap: 16px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; color: var(--navy-900); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #cdd4e2; border-radius: 10px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(24, 55, 119, 0.15); }
.field [aria-invalid="true"] { border-color: #c4320a; }
.field-error { color: #b42318; font-size: 0.88rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #e7f6ed; color: #14653b; border-radius: 10px; padding: 12px 14px; }
.form-status.is-error { background: #fdeceb; color: #a4161a; border-radius: 10px; padding: 12px 14px; }
.form-status a { color: inherit; }
.btn:disabled { opacity: 0.7; cursor: wait; }
.contact-email-big { font-size: 1.3rem; font-weight: 800; margin: 18px 0; }
.contact-email-big a { color: var(--orange-dark); text-decoration: none; }
.contact-email-big a:hover { text-decoration: underline; }
p.muted { color: var(--ink-soft); }
.site-footer .footer-contact { color: #fff; font-weight: 700; }
.site-footer .footer-contact a { color: var(--sun); }
.band p a { color: var(--sun); text-decoration: underline; }
.band p a:hover { color: #fff; }
.hero-actions { align-items: center; }
.hero-actions .store { min-height: 56px; }
.store > span { white-space: nowrap; }
@media (max-width: 560px) { .hero-actions .store { flex: 1 1 140px; min-width: 0; justify-content: center; padding: 9px 12px; font-size: 1.05rem; } .hero-actions .store svg { width: 24px; height: 24px; } }
