/* Tahoor Technologies — site styles */
:root {
  --navy: #0E2F52;
  --navy-2: #164273;
  --navy-3: #0A2340;
  --blue: #1B5EA6;
  --link: #1B5EA6;
  --green: #237A45;
  --green-2: #1C6339;
  --green-soft: #8FD1A6;
  --ink: #1C2B39;
  --body: #3E4F60;
  --muted: #4A5B6C;
  --mist: #CFE0F2;
  --ground: #F4F8FC;
  --line: #D9E5F2;
  --white: #FFFFFF;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid #E8B44C; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(30px, 3.4vw, 40px); color: var(--navy); }
h3 { font-size: 20px; line-height: 1.35; color: var(--navy); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--ground { background: var(--ground); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 40px; }
.intro { max-width: 780px; display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 19px; color: var(--body); }
.section--navy .lead { color: var(--mist); }
.label { font-size: 15px; font-weight: 600; color: var(--green-soft); }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > * { flex: 1 1 300px; min-width: 0; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 15px 28px; border-radius: 6px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-2); color: var(--white); }
.btn--ghost { border-color: #93AECB; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--nav { background: var(--blue); color: var(--white); padding: 11px 20px; font-size: 16px; }
.btn--nav:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-weight: 500; font-size: 16px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:not(.btn):hover { color: var(--link); }

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.15; }
.hero p.lead { color: var(--mist); font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero__visual { flex: 1 1 520px; min-width: 0; }
.browser { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #EEF2F6; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__bar span:nth-child(1) { background: #E06C5F; }
.browser__bar span:nth-child(2) { background: #E8B44C; }
.browser__bar span:nth-child(3) { background: #5DB96A; margin-right: 8px; }

/* Trust strip */
.trust { background: var(--ground); border-bottom: 1px solid var(--line); }
.trust .wrap { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 30px; }
.proof { display: flex; flex-direction: column; gap: 4px; }
.proof strong { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.proof span { font-size: 16px; color: var(--muted); }
.partner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--body); font-size: 16px; }
.partner__logo { width: 150px; height: 48px; border: 1px dashed #93AECB; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.partner__logo-img { height: 44px; width: auto; max-width: 180px; object-fit: contain; align-self: flex-start; }
/* Cards */
.card { background: var(--ground); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { font-size: 16px; color: var(--body); }
.card--white { background: var(--white); border: 1px solid var(--line); }
.icon-dot { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.statement { font-size: 19px; font-weight: 600; color: var(--navy); }

/* Pillars */
.pillars__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pillars__head img { height: 72px; width: auto; }
.card .pillar__num { font-family: var(--serif); font-size: 32px; color: var(--green); line-height: 1; }

/* Audit cycle */
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; counter-reset: step; }
.steps li { flex: 1 1 200px; min-width: 0; border-top: 4px solid var(--navy); background: var(--ground); border-radius: 0 0 10px 10px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps .step-no { font-size: 14px; font-weight: 700; color: var(--link); }
.steps p { font-size: 15px; color: var(--body); }

/* Success story */
.story-cols { display: flex; flex-wrap: wrap; gap: 20px; }
.story-cols > div { flex: 1 1 300px; min-width: 0; background: var(--navy-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.story-cols > div.result { background: var(--green); }
.story-cols ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #D6E4EF; }
.story-cols .result ul { color: var(--white); }
.quote-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 16px; }
.quote-row figure { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; }
.quote-row blockquote { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.55; }
.quote-row figcaption { color: var(--mist); font-size: 16px; }
.quote-row .shot { flex: 1 1 420px; min-width: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.section--navy .more { color: var(--green-soft); }
.section--navy .more:hover { color: var(--white); }

/* Benefits */
.benefit-group { display: flex; flex-direction: column; gap: 14px; }
.benefit-group h3 { font-family: var(--sans); font-size: 16px; color: var(--link); }
.benefit { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.benefit strong { display: block; color: var(--navy); }
.benefit span { font-size: 15px; color: var(--body); }

/* Skills gap */
.skills { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.skills__visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.venn { position: relative; width: min(440px, 100%); aspect-ratio: 44 / 30; }
.venn__circle { position: absolute; top: 3%; width: 64%; aspect-ratio: 1; border-radius: 50%; }
.venn__circle--audit { left: 0; background: rgba(27, 94, 166, .12); border: 2px solid var(--link); }
.venn__circle--shariah { right: 0; background: rgba(35, 122, 69, .12); border: 2px solid var(--green); }
.venn__label { position: absolute; top: 43%; width: 27%; font-size: 15px; font-weight: 600; line-height: 1.3; }
.venn__label--audit { left: 5%; color: #174F8C; }
.venn__label--shariah { right: 4%; color: var(--green-2); text-align: right; }
.venn__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27%; aspect-ratio: 1; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 14px; font-weight: 700; }
.skills__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.skills__text h2 { font-size: clamp(28px, 3vw, 36px); }
.skills__text p { color: var(--body); }
.outcomes { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.outcomes strong { color: var(--navy); }

/* Institution fit */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.fit > div { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.fit p { font-size: 15px; color: var(--body); }

/* Who it serves */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { background: var(--white); border: 1px solid #BCD3EC; border-radius: 24px; padding: 9px 20px; font-weight: 500; color: var(--navy); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 32px; }
.about > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about img { height: 56px; width: auto; align-self: flex-start; }
.about h2 { font-size: clamp(26px, 2.6vw, 32px); }
.about p { color: var(--body); }
.about .card { padding: 36px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.contact__text a { color: var(--white); }
.contact form { flex: 1 1 480px; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.contact input, .contact textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px; border: 1px solid #93AECB; border-radius: 6px; color: var(--ink); }
.contact .full { grid-column: 1 / -1; }
.contact .hp { position: absolute; left: -9999px; }
.contact small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-3); color: var(--mist); font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.site-footer .cols > * { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .name { font-size: 18px; font-weight: 700; color: var(--white); }
.site-footer .legal { padding-top: 24px; border-top: 1px solid #1E4573; font-size: 14px; color: #A3BAD3; }

/* Simple pages (privacy) */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-size: clamp(32px, 4vw, 44px); color: var(--navy); }
.page h2 { font-size: 24px; margin-top: 18px; }
.page p, .page li { color: var(--body); }

.hero__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__logo-img { height: 72px; width: auto; display: block; }
.hero__by { font-size: 18px; font-weight: 500; color: var(--mist); }

.values { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.values strong { color: var(--navy); }

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .nav { width: 100%; justify-content: space-between; }
  .site-header { position: static; }
  .skills__visual { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Brand colours (TKT-2): headings in iShariahAudit blue, Tahoor green footer line */
h2, h3, .page h1 { color: #1B5EA6; }
.site-footer { border-top: 4px solid #558B31; }
/* Hero and demo section in iShariahAudit logo blue */
.hero, #contact { background: #1B5EA6; }
.hero .btn--ghost, #contact .btn--ghost { border-color: #CFE0F2; }
