/* Tarian Advisory — site styles
   Colors: navy #163B5C · teal #319F98 · teal-text #1E7A74 · teal-on-navy #6CC4BC
           light gray #E8EEF2 · ink #3D5468 · footer navy #0F2C46
   Type:   Outfit (headings) · Source Sans 3 (body) */

:root {
  --navy: #163B5C;
  --navy-deep: #0F2C46;
  --navy-panel: #1C4870;
  --navy-line: #2D5D88;
  --teal: #319F98;
  --teal-text: #1E7A74;
  --teal-light: #6CC4BC;
  --gray: #E8EEF2;
  --line: #D5DFE7;
  --ink: #3D5468;
  --on-navy: #C9D6E2;
  --muted-on-navy: #A9BCCD;
  --white: #FFFFFF;
  --radius: 12px;
  --max: 1200px;
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; }
p, ul, ol { margin: 0; }
a { color: var(--teal-text); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 16px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-family: var(--head); font-size: 16px; font-weight: 500; }
.nav a { color: var(--navy); text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--teal-text); }
.nav a[aria-current="page"] { color: var(--teal-text); border-bottom-color: var(--teal); }
.nav .btn { padding: 12px 22px; border: 0; color: var(--white); }
.nav .btn:hover { color: var(--white); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 6px; font-family: var(--head); font-size: 17px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-teal { background: var(--teal-text); color: var(--white); }
.btn-teal:hover { background: #17635E; color: var(--white); }
.btn-light { background: var(--teal-light); color: var(--navy); }
.btn-light:hover { background: #8AD3CC; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: #6E8FAD; font-weight: 500; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--teal-text); border-color: var(--teal-text); }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 17px; font-weight: 600; color: var(--teal-text); text-decoration: none; padding: 10px 0; }
.arrow-link svg { width: 18px; height: 18px; }

/* ---------- type helpers ---------- */
.eyebrow { font-family: var(--head); font-size: 14px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-text); }
.on-navy .eyebrow { color: var(--teal-light); }
.h-section { font-size: clamp(32px, 3.6vw, 44px); }
.lead { font-size: 19px; color: var(--ink); }
.creds-line { font-family: var(--head); font-size: 17px; font-weight: 500; color: var(--teal-text); letter-spacing: 0.04em; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.narrow { max-width: 720px; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-tight { padding: 96px 0; }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.border-top { border-top: 1px solid var(--gray); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }
.on-navy p { color: var(--on-navy); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.split > * { min-width: 0; }
.split-center { align-items: center; }
.col-1 { flex: 1 1 380px; }
.col-2 { flex: 1.4 1 520px; }

/* ---------- hero ---------- */
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 112px; padding-bottom: 120px; }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.01em; }
.hero p { font-size: 20px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.cred-card { flex: 1 1 340px; min-width: 0; max-width: 440px; background: var(--navy-panel); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.cred-card-head { display: flex; align-items: center; gap: 14px; }
.cred-card-head img { width: 44px; height: auto; background: var(--white); border-radius: 8px; padding: 6px; }
.cred-card-head span { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-light); }
.cred-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.cred-list li { display: flex; gap: 14px; align-items: flex-start; }
.cred-list svg { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.cred-list strong { display: block; font-family: var(--head); font-size: 18px; font-weight: 600; color: var(--white); }
.cred-list span { display: block; font-size: 15px; line-height: 1.4; color: var(--on-navy); }
.cred-list em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--teal-light); letter-spacing: 0.04em; }
.cred-foot { border-top: 1px solid var(--navy-line); padding-top: 18px; font-size: 15px; line-height: 1.5; color: var(--on-navy); }

.page-hero .container { padding-top: 88px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); max-width: 860px; }
.page-hero p { font-size: 20px; max-width: 720px; }

/* ---------- frameworks strip ---------- */
.strip .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; font-family: var(--head); font-size: 15px; font-weight: 500; color: var(--ink); }
.strip .eyebrow { font-size: 13px; letter-spacing: 0.16em; }

/* ---------- cards ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.section-head .stack { flex: 1 1 520px; max-width: 700px; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 320px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; }
.card p { font-size: 17px; color: var(--ink); }
.icon-tile { width: 52px; height: 52px; border-radius: 10px; background: var(--gray); display: flex; align-items: center; justify-content: center; }
.icon-tile svg { width: 26px; height: 26px; }

.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; }
.step { flex: 1 1 240px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--head); font-size: 40px; font-weight: 600; line-height: 1; color: var(--teal); }
.step h3 { font-size: 21px; }
.step p { font-size: 16px; color: var(--ink); }

.reasons { list-style: none; padding: 0; }
.reasons li { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--gray); }
.reasons li:last-child { border-bottom: 0; }
.reasons .num { flex: none; width: 32px; padding-top: 4px; font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--teal-text); }
.reasons h3 { font-size: 22px; margin-bottom: 8px; }
.reasons p { font-size: 17px; color: var(--ink); }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; background: var(--gray); border-radius: 999px; padding: 12px 22px; font-family: var(--head); font-size: 17px; font-weight: 500; }
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }

.photo { flex: 0 1 400px; min-width: 260px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--gray); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink); font-size: 15px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo svg { width: 56px; height: 56px; }

/* ---------- CTA band ---------- */
.cta .container { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.cta .stack { flex: 1 1 560px; min-width: 0; gap: 14px; }
.cta h2 { font-size: clamp(30px, 3.2vw, 40px); }
.cta p { font-size: 19px; max-width: 640px; }

/* ---------- services page ---------- */
.service { display: flex; flex-wrap: wrap; gap: 32px 64px; padding: 56px 0; border-bottom: 1px solid var(--gray); scroll-margin-top: 24px; }
.service:last-child { border-bottom: 0; }
.service-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.service-copy h2 { font-size: 30px; }
.service-copy p { font-size: 18px; color: var(--ink); }
.included { flex: 1 1 400px; min-width: 0; background: var(--gray); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.included h3 { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-text); }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.checks li { display: flex; gap: 12px; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 4px; }

.models .card { border: 0; padding: 36px 32px; }
.models .card h3 { font-size: 24px; }
.models .price { margin-top: auto; padding-top: 12px; font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--teal-text); }
.models .card-navy { background: var(--navy); }
.models .card-navy h3 { color: var(--white); }
.models .card-navy p { color: var(--on-navy); }
.models .card-navy .price { color: var(--teal-light); }

/* ---------- about page ---------- */
.cred-cards .card { border: 0; padding: 32px 28px; gap: 10px; flex-basis: 250px; }
.cred-cards .abbr { font-family: var(--head); font-size: 32px; font-weight: 600; line-height: 1.1; }
.cred-cards .name { font-size: 17px; font-weight: 600; line-height: 1.4; }
.cred-cards .issuer { font-size: 15px; color: var(--ink); }
.cred-cards .pending { border: 1px dashed #6E8FAD; }
.badge { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-text); margin-left: 10px; }
.name-mark { flex: 0 1 300px; min-width: 200px; display: flex; justify-content: center; }
.name-mark img { width: 100%; max-width: 280px; height: auto; }
.pron { font-weight: 400; color: var(--ink); font-size: 0.6em; }
.values { display: flex; flex-wrap: wrap; gap: 40px 48px; margin-top: 48px; }
.value { flex: 1 1 230px; min-width: 0; border-top: 3px solid var(--teal); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.value h3 { font-size: 22px; }
.value p { font-size: 17px; color: var(--ink); }

/* ---------- contact page ---------- */
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 48px; padding-top: 80px; padding-bottom: 112px; }
.form-card { flex: 1.6 1 560px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 44px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: flex; flex-wrap: wrap; gap: 22px; }
.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.form > .field { flex: none; }
.field label { font-family: var(--head); font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; color: var(--navy); background: var(--white); border: 1px solid #A9BCCD; border-radius: 6px; padding: 0 14px; height: 48px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--teal-light); outline-offset: 1px; border-color: var(--teal-text); }
.hint { font-size: 14px; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; }
.form-status { font-size: 17px; }
.form-status.ok { color: var(--teal-text); font-weight: 600; }
.form-status.err { color: #A32D2D; font-weight: 600; }
.aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.aside-card { border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; background: var(--white); }
.aside-card h2 { font-size: 22px; }
.aside-card.bg-navy { background: var(--navy); }
.aside-card.bg-navy h2 { color: var(--white); }
.contact-line { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.contact-line svg { flex: none; width: 22px; height: 22px; }
.contact-line a { color: var(--white); }
.next-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.next-steps li { display: flex; gap: 14px; font-size: 16px; color: var(--ink); }
.next-steps b { flex: none; width: 24px; font-family: var(--head); font-weight: 600; color: var(--teal-text); }

/* ---------- prose pages ---------- */
.prose { max-width: 760px; padding-top: 72px; padding-bottom: 112px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy); }
.site-footer .container { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-brand { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 52px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 16px; max-width: 340px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-col h2 { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-light); padding-bottom: 4px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col a:hover { color: var(--teal-light); text-decoration: underline; }
.footer-col span { color: var(--white); }
.footer-bottom { border-top: 1px solid #24476A; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted-on-navy); }
.footer-bottom a { color: var(--muted-on-navy); }

/* ---------- small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand img { height: 42px; }
  .nav { gap: 2px 20px; font-size: 15px; }
  .nav .btn { width: 100%; justify-content: center; margin-top: 6px; }
  .section { padding: 72px 0; }
  .section-tight, .cta .container { padding-top: 64px; padding-bottom: 64px; }
  .hero .container { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .page-hero .container { padding-top: 56px; padding-bottom: 64px; }
  .card, .cred-card, .form-card, .included { padding: 24px; }
  .contact-grid { padding-top: 48px; padding-bottom: 72px; }
}
