/* MORTAR — landing styles. Warm industrial palette from the app (mortar orange). */
:root {
  --orange: #D96B1A;
  --orange-dark: #B8550F;
  --ink: #1A1815;
  --ink-soft: #4A463F;
  --muted: #7A746B;
  --line: #E7E2DA;
  --cream: #FBF8F3;
  --card: #FFFFFF;
  --green: #1E8E4E;
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(26,24,21,.04), 0 8px 24px rgba(26,24,21,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700;
  color: var(--orange); margin: 0 0 12px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 1px solid transparent; transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 16px; letter-spacing: 0;
}
.brand .logo-img { width: 34px; height: 34px; border-radius: 9px; display: block; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { margin: 22px 0 18px; }
.hero .cta-row { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Phone mockup */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300/620;
  border-radius: 42px; background: #111; padding: 12px; box-shadow: 0 30px 70px rgba(26,24,21,.22);
  position: relative;
}
.phone-shot {
  width: 100%; height: 100%; object-fit: cover; border-radius: 32px; display: block;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream);
  display: flex; flex-direction: column;
}

/* Screenshot showcase */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; max-width: 320px; } }
.shot-card { text-align: center; }
.shot-card .frame {
  background: #111; border-radius: 32px; padding: 8px; box-shadow: 0 20px 50px rgba(26,24,21,.16);
  display: inline-block; line-height: 0;
}
.shot-card img { width: 100%; max-width: 260px; border-radius: 25px; display: block; }
.shot-card .cap { margin-top: 16px; font-weight: 700; font-size: 15px; }
.shot-card .cap small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.ps-bar { height: 54px; background: var(--orange); display: flex; align-items: flex-end; padding: 0 18px 10px; color: #fff; font-weight: 700; }
.ps-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ps-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.ps-card .row { display: flex; justify-content: space-between; align-items: center; }
.ps-card .big { font-size: 26px; font-weight: 800; color: var(--orange); }
.ps-tag { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.ps-line { height: 9px; border-radius: 5px; background: var(--line); }
.ps-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.ps-tabbar { height: 50px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; }
.ps-tab { width: 22px; height: 22px; border-radius: 6px; background: var(--line); }
.ps-tab.active { background: var(--orange); }

/* Logos / persona strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 26px 0; }
.strip-inner span { color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: .02em; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow);
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; background: #FBEFE3; color: var(--orange);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .ico svg { width: 24px; height: 24px; stroke-width: 2; }

/* Lucide icon defaults */
[data-lucide], svg.lucide { stroke: currentColor; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner svg { width: 18px; height: 18px; color: var(--orange); }
.store-btn .t svg { width: 22px; height: 22px; vertical-align: middle; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-top: 14px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list .ck { color: var(--green); flex: none; width: 20px; height: 20px; margin-top: 3px; stroke-width: 3; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.stat-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.stat .n { font-size: 30px; font-weight: 800; color: var(--orange); }
.stat .l { font-size: 13px; color: var(--muted); }

/* Pricing */
.pricing { background: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
  background: var(--cream);
}
.plan.featured { border: 2px solid var(--orange); background: #fff; box-shadow: 0 20px 50px rgba(217,107,26,.12); position: relative; }
.plan .tag-pop { position: absolute; top: -13px; left: 30px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; }
.price { margin: 14px 0 4px; }
.price .amt { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price .per { color: var(--muted); font-weight: 600; }
.plan .sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan ul li { font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; }
.plan ul li::before { content: "✓"; color: var(--green); font-weight: 900; }
.plan ul li.off { color: var(--muted); }
.plan ul li.off::before { content: "—"; color: var(--line); }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 14px 0 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(rgba(26,24,21,.84), rgba(26,24,21,.92)), url("images/contractor.jpg") center 30%/cover no-repeat;
  color: #fff; border-radius: 24px; padding: 56px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9C3B8; max-width: 540px; margin: 14px auto 28px; }
.cta-photo {
  position: relative; padding: 104px 0; text-align: center; color: #fff;
  background-size: cover; background-position: center;
}
.cta-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(26,24,21,.80), rgba(26,24,21,.90));
}
.cta-photo .wrap { position: relative; z-index: 1; }
.cta-photo h2 { color: #fff; }
.cta-photo p { color: rgba(255,255,255,.88); max-width: 540px; margin: 14px auto 28px; }
@media (max-width: 600px) { .cta-photo { padding: 72px 0; } }
.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink);
  padding: 12px 20px; border-radius: 12px; font-weight: 700; min-height: 52px;
}
.store-btn small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.store-btn .t { font-size: 16px; }

/* Footer */
footer.ft { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 40px; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.ft h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
.ft a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; }
.ft a:hover { color: var(--orange); }
.ft-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal { background: #fff; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 24px; margin: 36px 0 12px; }
.legal-body h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 16px; }
.legal-body ul { padding-left: 22px; }
.legal-body .updated { color: var(--muted); font-size: 14px; }

/* Language switch (EN / BM) — English is the default */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px;
}
.lang-switch button {
  appearance: none; border: none; background: transparent; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); padding: 5px 11px; border-radius: 999px; line-height: 1;
  transition: background .15s, color .15s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--orange); color: #fff; }
@media (max-width: 560px) {
  .lang-switch button { padding: 5px 9px; font-size: 11px; }
}

/* ===== Sub-pages (features / guide / pricing / faq / about / contact / blog) ===== */
.nav-links a.active { color: var(--ink); position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px;
}

/* Compact page hero for sub-pages */
.page-hero { padding: 64px 0 24px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin: 6px 0 12px; }
.page-hero .lead { max-width: 680px; }

/* Homepage "how it works" 4-step strip */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step h3 { font-size: 18px; margin: 14px 0 6px; }
.step p { font-size: 15px; margin: 0; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; font-weight: 800;
  background: var(--orange); color: #fff;
}

/* Guide: numbered vertical walkthrough */
.guide-steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.guide-step { display: flex; gap: 18px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.guide-step .step-n { flex: 0 0 auto; }
.guide-step-body h3 { font-size: 18px; margin: 4px 0 6px; }
.guide-step-body p { margin: 0; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(26,24,21,.10); }
.post-card h3 { font-size: 20px; margin: 12px 0 8px; color: var(--ink); }
.post-card p { font-size: 15px; margin: 0 0 14px; }
.post-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--orange); background: rgba(217,107,26,.10); padding: 4px 10px; border-radius: 999px; }
.post-more { font-weight: 700; color: var(--orange); font-size: 15px; }
.post-meta { color: var(--muted); font-size: 14px; margin: -6px 0 22px; }
.post-back { display: inline-block; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.legal-body article, .legal-body { line-height: 1.7; }
.legal-body h2 { margin-top: 32px; }

/* Blog post imagery */
.post-hero-img { width: 100%; max-width: 980px; margin: 0 auto 28px; display: block;
  border-radius: 18px; box-shadow: 0 10px 30px rgba(26,24,21,.16); aspect-ratio: 16/9; object-fit: cover; }
.post-figure { margin: 28px 0; }
.post-figure img { width: 100%; border-radius: 14px; box-shadow: 0 6px 20px rgba(26,24,21,.12);
  display: block; aspect-ratio: 3/2; object-fit: cover; }
.post-figure figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; text-align: center; }
.post-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 14px; display: block; }
.post-card { padding-top: 14px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 14px; color: var(--ink); }
.contact-card i { color: var(--orange); flex: 0 0 auto; }
.contact-card h3 { font-size: 16px; margin: 0 0 4px; }
.contact-card p { font-size: 14px; margin: 0; color: var(--muted); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.contact-form .msg { color: var(--green); font-size: 14px; margin-top: 10px; }

@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== Sub-page hero with image + lifestyle band ===== */
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.page-hero-grid .hero-img { width: 100%; border-radius: 18px; box-shadow: 0 10px 30px rgba(26,24,21,.16); display: block; }
@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero-grid .hero-img { max-width: 380px; margin: 4px auto 0; }
}
.lifestyle-band { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.lifestyle-band::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,24,21,.82), rgba(26,24,21,.40)); }
.lifestyle-band .wrap { position: relative; z-index: 1; }
.lifestyle-band .eyebrow { color: #ffb169; }
.lifestyle-band h2 { color: #fff; }
.lifestyle-band p { color: rgba(255,255,255,.92); }

/* ===== Full-width photo hero for sub-pages ===== */
.hero-photo {
  position: relative; min-height: 58vh; display: flex; align-items: center;
  padding: 96px 0; background-size: cover; background-position: center; color: #fff;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,24,21,.82) 0%, rgba(26,24,21,.58) 45%, rgba(26,24,21,.20) 100%);
}
.hero-photo .wrap { position: relative; z-index: 1; }
.hero-photo .eyebrow { color: #ffb169; }
.hero-photo h1 { color: #fff; max-width: 720px; margin-bottom: 16px; }
.hero-photo .lead { color: rgba(255,255,255,.92); max-width: 620px; }
.hero-photo .cta-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-photo .note { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.78); }
.hero-photo .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.hero-photo .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }
@media (max-width: 600px) { .hero-photo { min-height: 50vh; padding: 72px 0; } }

/* In-hand app mockup shown at its natural portrait ratio (no stretch) */
.inhand-img {
  width: 100%; max-width: 330px; border-radius: 20px; display: block; margin: 0 auto;
  box-shadow: 0 14px 40px rgba(26,24,21,.18);
}
