/* ==========================================================================
   Mufti Development Fund — public site
   Same palette and type as the portal: ink green, brass reserved for money.
   ========================================================================== */

:root {
    --ink:        #0E241C;
    --ink-soft:   #1B2A24;
    --emerald:    #16624B;
    --emerald-dk: #0F4738;
    --brass:      #A8762A;
    --paper:      #EFF1EC;
    --card:       #FFFFFF;
    --rule:       #D9DDD5;
    --rule-soft:  #E9ECE6;
    --muted:      #64736C;
    --radius:     4px;
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Newsreader", Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    letter-spacing: -.01em;
}

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--emerald); }

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

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */

.top {
    background: var(--ink);
    color: #C9D6CF;
    position: sticky;
    top: 0;
    z-index: 10;
}

.top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.mark {
    font-family: "Newsreader", Georgia, serif;
    font-size: 21px;
    color: #fff;
    text-decoration: none;
    line-height: 1.15;
}

.mark span { color: var(--brass); }
.mark small { display: block; font-family: inherit; font-size: 12.5px; color: #8FA49A; }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: #C9D6CF; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }

/* ---------------------------------------------------------------- button */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--emerald);
    color: #fff;
    font-size: 15.5px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.2;
}

.btn:hover { background: var(--emerald-dk); color: #fff; }
.btn--brass { background: var(--brass); }
.btn--brass:hover { background: #8E6220; }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover { background: #E7EAE4; color: var(--ink); }
.btn--lg { padding: 14px 26px; font-size: 17px; }

/* ------------------------------------------------------------------ hero */

.hero {
    background: var(--ink);
    color: #C9D6CF;
    padding: 64px 0 76px;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 100% 38px;
}

.hero h1 { color: #fff; font-size: 52px; line-height: 1.08; max-width: 16ch; }
.hero h1 span { color: var(--brass); }
.hero p { color: #9DB0A6; font-size: 18px; margin-top: 20px; max-width: 54ch; }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__note { margin-top: 26px; font-size: 14px; color: #7C9187; }

/* --------------------------------------------------------------- section */

.section { padding: 62px 0; }
.section--paper { background: var(--paper); }
.section--card { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section h2 { font-size: 32px; margin-bottom: 8px; }
.section__lead { color: var(--muted); max-width: 58ch; margin-bottom: 34px; }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cols h3 { font-size: 19px; margin-bottom: 6px; }
.cols p { font-size: 15px; color: var(--muted); margin: 0; }

/* -------------------------------------------------------------- packages */

.tiers { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); overflow: hidden; }

.tier {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--rule-soft);
    flex-wrap: wrap;
}

.tier:last-child { border-bottom: 0; }

.tier__name { font-family: "Newsreader", Georgia, serif; font-size: 22px; color: var(--ink); min-width: 130px; }
.tier__note { color: var(--muted); font-size: 15px; flex: 1; }

.tier__amount {
    font-family: "Newsreader", Georgia, serif;
    font-size: 26px;
    color: var(--brass);
    font-variant-numeric: tabular-nums lining-nums;
    white-space: nowrap;
}

/* ----------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.step { border-top: 2px solid var(--brass); padding-top: 16px; }

.step::before {
    counter-increment: step;
    content: counter(step);
    font-family: "Newsreader", Georgia, serif;
    font-size: 15px;
    color: var(--brass);
    display: block;
    margin-bottom: 6px;
}

.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ call */

.call {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.call h2 { font-size: 27px; }
.call p { margin: 6px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- footer */

.foot { background: var(--ink); color: #8FA49A; padding: 40px 0 34px; font-size: 14.5px; }
.foot a { color: #C9D6CF; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }

.foot__inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot__brand { font-family: "Newsreader", Georgia, serif; font-size: 19px; color: #fff; }
.foot__brand span { color: var(--brass); }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }

.foot__bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13.5px;
}

/* ------------------------------------------------------------------ small */

@media (max-width: 860px) {
    .hero { padding: 46px 0 54px; }
    .hero h1 { font-size: 36px; }
    .cols, .steps { grid-template-columns: 1fr; gap: 26px; }
    .section { padding: 46px 0; }
    .section h2 { font-size: 26px; }
    .nav { gap: 16px; font-size: 14px; }
    .call { padding: 26px; }
    .tier__amount { margin-left: auto; }
}
