/* Shared styles for mizo.co landing pages (not the homepage, which inlines its own).
   Same tokens as index.html so the pages read as one site. */
:root {
  --ink: #14231d; --brand: #0b6e4f; --brand-dark: #085041; --brand-light: #12875f;
  --pale-green: #e1f5ee; --red: #c8102e; --pale-red: #f8e2e5; --amber: #d97706;
  --pale-amber: #faeee0; --paper: #fbfaf6; --paper-dim: #f3f1ea; --muted: #5b6b66;
  --border: #e2ded1; --radius: 4px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 650; letter-spacing: -0.015em; line-height: 1.12; }
a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

nav { position: sticky; top: 0; z-index: 40; background: rgba(251,250,246,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 24px; color: var(--brand-dark); letter-spacing: -0.055em; display: flex; align-items: center; gap: 6px; text-decoration: none; }
.logo svg { height: 0.86em; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: 14.5px; text-decoration: none; border: 1px solid transparent; transition: background .18s, transform .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }

.crumbs { font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.hero { padding: 36px 0 44px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse 700px 380px at 20% 0%, rgba(11,110,79,0.10), transparent 70%); }
.eyebrow { display: inline-block; background: var(--pale-green); color: var(--brand-dark); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; border: 1px solid rgba(11,110,79,0.15); }
.hero h1 { font-size: 50px; letter-spacing: -0.028em; margin-bottom: 16px; max-width: 820px; }
.hero h1 em { color: var(--brand); }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; margin-bottom: 26px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

section { padding: 52px 0; border-bottom: 1px solid var(--border); }
section.dim { background: var(--paper-dim); }
.kicker { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
h2 { font-size: 36px; letter-spacing: -0.022em; margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 8px; }
.sub { font-size: 17px; color: var(--muted); max-width: 680px; margin-bottom: 28px; }
p + p { margin-top: 12px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .big { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 650; color: var(--brand-dark); line-height: 1.1; margin: 4px 0 8px; }
.card.alert { border-color: rgba(200,16,46,.25); background: #fffafa; }
.card.alert .big { color: var(--red); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--paper-dim); font-weight: 600; font-size: 13.5px; }
tr:last-child td { border-bottom: 0; }

.steps { counter-reset: s; list-style: none; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px 18px 64px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 17px; font-family: 'Fraunces', serif; font-weight: 700; color: var(--brand); font-size: 20px; }
.steps li p { color: var(--muted); font-size: 15.5px; }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; font-size: 16px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.checks li span { color: var(--muted); }

.callout { background: var(--pale-amber); border-left: 3px solid var(--amber); padding: 16px 20px; border-radius: 6px; font-size: 15.5px; }
.callout.green { background: var(--pale-green); border-left-color: var(--brand); }

details { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 16.5px; }
details p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

.cta-band { text-align: center; background: var(--brand-dark); color: #fff; border: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0 auto 22px; max-width: 560px; }
.cta-band .ctas { justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }

.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related a { display: block; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; text-decoration: none; color: var(--ink); font-weight: 600; }
.related a span { display: block; font-weight: 400; color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.related a:hover { border-color: var(--brand); }

.small { font-size: 13px; color: var(--muted); }
footer { padding: 34px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--muted); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  h2 { font-size: 27px; }
  .grid, .grid.three, .related { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  section { padding: 40px 0; }
  th, td { padding: 11px 12px; font-size: 14px; }
}

/* Blog articles */
.article { padding: 44px 0 20px; }
.article .wrap { max-width: 780px; }
.article h2 { font-size: 30px; margin: 38px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 17px; line-height: 1.7; }
.article p { margin-top: 12px; }
.article .table-wrap, .article .callout, .article .checks, .article .steps { margin: 18px 0; }
.article .steps li p { font-size: 15.5px; }
@media (max-width: 820px) { .article h2 { font-size: 24px; } .article p, .article li { font-size: 16px; } }

/* Site-wide UAE e-invoicing bar (30 Sep 2026). Brand dark green, same as the homepage trial bar. */
.einv-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: var(--brand-dark); color: #fff; font-size: 13.5px; line-height: 1.4; padding: 9px 16px; text-decoration: none; text-align: center; }
.einv-bar:hover .einv-go { text-decoration: underline; }
.einv-tag { background: var(--amber); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; white-space: nowrap; }
.einv-go { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .einv-bar { font-size: 12.5px; gap: 6px 10px; } .einv-text { flex-basis: 100%; order: 3; } }
