/* Fadak Inc. — site styles */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0B1220;
  --bg-alt: #0E1626;
  --surface: #111A2B;
  --surface-hi: #142036;
  --deep: #0A101C;
  --line: #22304A;
  --line-soft: #1B2638;
  --line-strong: #3A4A66;
  --text: #EEF1F5;
  --text-2: #C9D1DC;
  --muted: #B3BDCC;
  --faint: #8C97A8;
  --accent: #A9C1E0;
  --warn: #F0A58A;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: #D3E0F0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
.num { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -9999px; top: 0; padding: 12px 16px; background: var(--text); color: var(--bg); z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
@media (max-width: 720px) { .section { padding: 72px 0; } }

.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.14; letter-spacing: -0.01em; max-width: 860px; text-wrap: balance; }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 700px; text-wrap: pretty; }
.section-head { margin-bottom: 52px; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.split-head > div { flex: 1 1 560px; min-width: 0; }
.split-head > p { flex: 1 1 340px; font-size: 18px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 2px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn--solid { background: var(--text); color: var(--bg); }
.btn--solid:hover { background: #FFFFFF; color: var(--bg); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); font-weight: 500; }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; font-weight: 500; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.02em; }
.brand-tag { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 900px) { .nav-link { display: none; } .brand-tag { display: none; } }

/* Hero */
.hero { border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 104px; padding-bottom: 120px; }
.hero-copy { flex: 1 1 540px; min-width: 0; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -0.015em; margin-bottom: 28px; text-wrap: balance; }
.hero-sub { font-size: 20px; color: var(--text-2); max-width: 590px; margin-bottom: 16px; }
.hero-for { font-size: 16px; color: var(--faint); max-width: 590px; margin-bottom: 40px; }
.hero-note { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--faint); }
@media (max-width: 720px) { .hero-grid { padding-top: 64px; padding-bottom: 80px; gap: 40px; } .hero-sub { font-size: 18px; } }

.rating-card { flex: 1 1 400px; min-width: 0; max-width: 470px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.rating-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.label { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.rating-co { font-family: var(--serif); font-size: 22px; margin-top: 6px; }
.rating-meta { font-size: 13px; color: var(--faint); }
.grade { text-align: center; border: 1px solid var(--line-strong); border-radius: 2px; padding: 6px 16px; }
.grade b { display: block; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; }
.grade span { font-size: 11px; color: var(--faint); }
.score-list { list-style: none; border-top: 1px solid var(--line); }
.score-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.score-list .s { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.score-list .s--warn { color: var(--warn); }
.score-list .s--good { color: var(--accent); }
.finding { margin-top: 20px; padding: 16px 18px; background: var(--bg-alt); border-left: 2px solid var(--warn); }
.finding .label { color: var(--warn); margin-bottom: 6px; }
.finding p { font-size: 14px; line-height: 1.55; color: #DDE3EA; }

/* Grids and cards */
.ruled-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
.ruled-grid > * { background: var(--surface); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols-method { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cols-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.q-card { padding: 32px; }
.q-card .label { margin-bottom: 14px; }
.q-card p:last-child { font-family: var(--serif); font-size: 22px; line-height: 1.35; }

.module { padding: 34px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-alt) !important; }
.module .n { font-size: 14px; font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; }
.module h3 { font-size: 20px; font-weight: 600; }
.module p { color: var(--muted); }
.module .tests { margin-top: 8px; font-size: 13.5px; color: var(--faint); }

.plain-grid { display: grid; gap: 32px 40px; }
.plain-grid > div { border-top: 1px solid var(--line); padding-top: 18px; }
.plain-grid h3, .plain-grid h4 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.plain-grid p { color: var(--muted); font-size: 16px; }

/* Report viewer */
.report-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.report-tabs a, .report-tabs button { min-height: 44px; padding: 0 18px; border-radius: 2px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); font: inherit; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.report-tabs [aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.report-stage { background: var(--deep); border: 1px solid var(--line); padding: 32px; }
.report-page { margin: 0 auto; max-width: 816px; }
.report-page + .report-page { margin-top: 32px; }
.report-page img { width: 100%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); background: #fff; }
.js .report-page[hidden] { display: none; }
.report-foot { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--faint); }
@media (max-width: 720px) { .report-stage { padding: 12px; } }

/* Value creation */
.step { padding: 26px 24px; }
.step .label { margin-bottom: 10px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }
.step--last { border-top: 2px solid var(--accent); }
.step--last .label { color: var(--accent); }
.sub-h { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 72px 0 28px; }
.stats { display: flex; flex-wrap: wrap; border: 1px solid var(--line); background: var(--bg-alt); margin-top: 72px; }
.stat { flex: 1 1 220px; padding: 32px; border-right: 1px solid var(--line); }
.stat:last-of-type { border-right: 0; }
.stat .label { margin-bottom: 8px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.stat b span { color: var(--faint); }
.stats-note { flex: 1 1 100%; padding: 14px 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
@media (max-width: 720px) { .stat { border-right: 0; border-bottom: 1px solid var(--line); } }

.guarantee { margin-top: 72px; border: 1px solid var(--line-strong); background: var(--surface); padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.guarantee > div { flex: 1 1 260px; min-width: 0; }
.guarantee .big { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--text); }
.guarantee .eyebrow { font-size: 12.5px; color: var(--accent); }
.guarantee h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.guarantee p { color: var(--muted); font-size: 16px; }
@media (max-width: 720px) { .guarantee { padding: 28px; } }

/* Engagements */
.tier { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.tier--core { background: var(--surface-hi) !important; border-top: 2px solid var(--accent); }
.tier--core .label { color: var(--accent); }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.tier > p { color: var(--muted); }
.tier dl { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; }
.tier dt { font-weight: 600; color: var(--text); }
.tier dd { margin: 0; }

/* Trust */
.panels { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.panel { flex: 1 1 420px; min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: 30px; }
.panel .label { margin-bottom: 12px; }
.panel p, .panel li { color: var(--text-2); }
.panel strong { color: var(--text); font-weight: 600; }
.panel ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Team */
.team { display: flex; flex-wrap: wrap; gap: 56px; }
.team > div { flex: 1 1 460px; min-width: 0; }
.team .lead { margin-top: 0; }
.team .list { margin-top: 32px; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.team .list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.team .list b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact > div { flex: 1 1 420px; min-width: 0; }
.contact h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; margin-bottom: 22px; }
.contact-copy p { font-size: 18px; color: var(--text-2); }
.contact-copy .small { margin-top: 28px; font-size: 15px; color: var(--faint); }
.contact-copy .eyebrow { font-size: 12.5px; color: var(--accent); }
.form { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: 34px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { min-height: 46px; padding: 0 12px; border-radius: 2px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.form textarea { padding: 12px; resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.form .consent { font-size: 13px; color: var(--faint); }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) { .form { padding: 22px; } }

/* Footer */
.site-footer { background: #070C16; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 32px; padding-bottom: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); }

/* Simple pages (thanks, privacy, 404) */
.page { padding: 96px 0 120px; }
.page .wrap { max-width: 760px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin-bottom: 24px; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 40px 0 12px; }
.page p, .page li { color: var(--text-2); }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.page .btn { margin-top: 32px; }

/* Insights: list and post pages */
.post-list { list-style: none; padding: 0 !important; margin: 48px 0 0 !important; display: flex !important; flex-direction: column; gap: 0 !important; border-top: 1px solid var(--line); }
.post-item a { display: flex; flex-direction: column; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.post-item a:hover .post-item-title { color: var(--accent); }
.post-item-meta { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.post-item-title { font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.post-item-desc { color: var(--muted); font-size: 16px; }
.post-list--grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px !important; background: var(--line); border: 1px solid var(--line); margin: 0 !important; }
.post-list--grid .post-item a { background: var(--surface); padding: 28px; border-bottom: 0; height: 100%; }
.post-rss { margin-top: 32px; font-size: 14px; }
.split-head a { color: var(--accent); }

.post { padding: 88px 0 112px; }
.post-wrap { max-width: 760px; }
.post .eyebrow a { color: var(--accent); text-decoration: none; }
.post h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 18px; text-wrap: balance; }
.post-meta { font-size: 14px; color: var(--faint); margin-bottom: 28px; }
.post-lead { font-size: 20px; color: var(--text-2); padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 36px; text-wrap: pretty; }

.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--text); margin-top: 1.9em; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-top: 1.6em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); color: var(--text); font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 2px; }
.prose pre { background: var(--deep); border: 1px solid var(--line); padding: 18px 20px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose img { margin: 1.6em 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; border-bottom-color: var(--line-strong); }

.post-cta { margin-top: 64px; padding: 36px; background: var(--surface); border: 1px solid var(--line-strong); }
.post-cta .eyebrow { margin-bottom: 12px; }
.post-cta-h { font-family: var(--serif); font-size: 28px; line-height: 1.2; margin-bottom: 10px; }
.post-cta > p:not(.eyebrow):not(.post-cta-h) { color: var(--muted); margin-bottom: 24px; }
@media (max-width: 720px) { .post { padding: 56px 0 80px; } .prose { font-size: 17px; } .post-cta { padding: 24px; } }
.split-head > p.more { flex: 0 0 auto; }
