﻿/* Parity IT site styles
   Brand blues come from the logo gradient (#67D0F5 -> #2063D3). */

:root {
    --ink: #0E1A2B;
    --text: #3A4658;
    --muted: #4A5668;
    --line: #DCE3EC;
    --surface: #F3F6FA;
    --white: #ffffff;
    --brand: #2063D3;
    --brand-dark: #164AA3;
    --brand-tint: #E8F0FC;
    --sky: #67D0F5;
    --navy: #0E1A2B;
    --navy-2: #16263C;
    --navy-line: #3A4D68;
    --navy-text: #C9D3E0;
    --radius: 14px;
    --max: 1200px;
    --font-display: Manrope, "Segoe UI", system-ui, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0 0 16px;
}
/* hero headings (h1 is only used in page heroes): about 1.3x section headings (h2) */
h1 { font-size: clamp(36px, 4.4vw, 57px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
h4 { font-size: 21px; line-height: 1.3; }
p { margin: 0 0 16px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-brand { background: var(--brand); color: var(--white); }

.eyebrow {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.bg-navy .eyebrow { color: var(--sky); }

.lead { font-size: 20px; color: var(--text); max-width: 680px; }
.bg-navy .lead { color: var(--navy-text); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 8px;
    border: 2px solid transparent;
    font: 700 17px/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.bg-navy .btn-outline { border-color: var(--navy-line); color: var(--white); }
.bg-navy .btn-outline:hover { border-color: var(--sky); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
/* buttons in this row all take the width of the widest one */
.btn-row-equal { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #E3E8EF; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.brand img { display: block; height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); }
.site-nav .btn { color: var(--white); padding: 12px 20px; min-height: 44px; box-shadow: none; }
.site-nav .btn:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

/* About dropdown: opens on hover, or with the chevron button (touch and keyboard) */
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { background: none; border: 0; padding: 6px 2px; color: var(--ink); cursor: pointer; display: flex; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -18px; min-width: 240px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 24px rgba(14,26,43,.08); }
.has-sub:hover .sub-menu, .has-sub.is-open .sub-menu { display: flex; }
.site-nav .sub-menu a { display: block; padding: 10px 18px; font-size: 16px; white-space: nowrap; }
.site-nav .sub-menu a:hover { background: var(--surface); }
.site-nav .sub-menu a[aria-current="page"] { box-shadow: none; }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid #E3E8EF; box-shadow: 0 12px 24px rgba(14,26,43,.08); }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 24px 24px; gap: 0; }
    .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav a[aria-current="page"] { box-shadow: none; }
    .site-nav > ul > li:last-child a { margin-top: 16px; border-bottom: 0; text-align: center; }
    .has-sub { display: block; }
    .sub-toggle { display: none; }
    .site-nav .sub-menu { display: flex; position: static; min-width: 0; padding: 0 0 0 18px; border: 0; border-radius: 0; box-shadow: none; }
    .site-nav .sub-menu a { padding: 14px 0; font-size: 17px; white-space: normal; }
    .site-nav .sub-menu a:hover { background: none; }
    .brand img { height: 34px; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-copy .lead { font-size: 19px; margin-bottom: 36px; }
.hero .lead { color: var(--navy-text); }
.hero .eyebrow { color: var(--sky); }
.hero .btn-outline { border-color: var(--navy-line); color: var(--white); }
.hero .btn-outline:hover { border-color: var(--sky); color: var(--white); }
.hero-aside { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hero-card { display: block; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 26px 28px; color: var(--white); text-decoration: none; transition: border-color .15s; }
.hero-card:hover { border-color: var(--sky); color: var(--white); }
.hero-card .eyebrow { font-size: 14px; margin-bottom: 6px; }
.hero-card p:last-child { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.3; }
.page-hero .container { padding-top: 80px; padding-bottom: 88px; }
.page-hero h1 { max-width: 900px; }
.breadcrumb { font-size: 15px; margin: 0 0 20px; color: var(--navy-text); }
.breadcrumb a { color: var(--navy-text); }

/* Cards and grids */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.cards > * { flex: 1 1 300px; min-width: 0; }
.cards-2 > * { flex-basis: 440px; }
.cards-4 > * { flex-basis: 250px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card-soft { background: var(--surface); border-radius: var(--radius); padding: 32px; }
.bg-surface .card-soft { background: var(--white); }
.card h3, .card h4, .card-soft h3, .card-soft h4 { margin-bottom: 10px; }
.card p:last-child, .card-soft p:last-child { margin-bottom: 0; }
.card p, .card-soft p, .card li { color: var(--text); }
.path-card { display: flex; flex-direction: column; gap: 18px; padding: 40px; }
.path-card h3 { margin: 0; }
.path-card ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.path-card .text-link { margin-top: auto; }
.card-sub { display: flex; flex-direction: column; gap: 10px; }
.card-sub h4 { margin: 0; font-size: 18px; }
.path-card .card-sub .text-link { margin-top: 0; }
.icon-row { display: flex; align-items: center; gap: 14px; }
.icon-row .eyebrow { margin: 0; font-size: 14px; }
.icon-tile { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-tile svg { width: 28px; height: 28px; }

.ticks { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { width: 24px; height: 24px; flex: none; margin-top: 3px; color: var(--brand); }
.bg-navy .ticks svg { color: var(--sky); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 460px; min-width: 0; }
.split-top { align-items: flex-start; }
.split-stretch { align-items: stretch; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-fill > * { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.stack-fill > * > :last-child { margin-bottom: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 280px; min-width: 0; border-top: 3px solid var(--brand); padding-top: 24px; }
.steps .num { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--brand); margin: 0 0 8px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--text); margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 16px; color: var(--ink); }
.bg-navy .chips li { background: var(--navy-2); border-color: var(--navy-line); color: var(--white); }

/* Parity Assets module table */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.module { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.module h3 { margin: 0; padding: 14px 18px; font-size: 18px; background: var(--brand); color: var(--white); }
.module ul { list-style: none; margin: 0; padding: 12px 18px 16px; }
.module li { padding: 6px 0; border-bottom: 1px solid var(--surface); color: var(--text); font-size: 17px; }
.module li:last-child { border-bottom: 0; }

/* Illustrations */
.figure-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.figure-card svg { display: block; width: 100%; height: auto; }
.figure-card figcaption { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* Business Framework layer diagram */
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack-row { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-block { flex: 1 1 120px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px 12px; border-radius: 10px; background: var(--brand); color: var(--white); font-weight: 700; font-size: 16px; line-height: 1.3; }
.stack-block svg { width: 26px; height: 26px; }
.stack-block small { display: block; font-weight: 600; font-size: 14px; color: #D6E6FF; }
.stack-modules { background: var(--brand-tint); color: var(--brand-dark); border: 2px dashed #9DBBEB; }
.stack-ui { background: var(--navy); flex-direction: row; gap: 12px; padding: 22px; font-size: 18px; text-align: left; }
.stack-ui small { color: var(--sky); }
.stack-base { background: var(--brand-dark); }

/* EchoTalk example dashboard */
.dash { background: var(--white); color: var(--ink); border-radius: 16px; padding: 24px; box-shadow: 0 24px 48px rgba(0,0,0,.28); }
.bg-surface .dash { box-shadow: 0 12px 32px rgba(14,26,43,.12); }
.dash-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.dash-tiles { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.dash-tile { flex: 1 1 120px; background: var(--surface); border-radius: 10px; padding: 14px 16px; }
.dash-tile .k { font-size: 14px; color: var(--muted); margin: 0; }
.dash-tile .v { font-family: var(--font-display); font-weight: 800; font-size: 28px; margin: 0; line-height: 1.2; }
.dash-tile .d { font-size: 13px; color: #1B7A43; margin: 0; font-weight: 600; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.dash-bars span { flex: 1; background: var(--brand); border-radius: 4px 4px 0 0; opacity: .9; }
.dash-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-themes span { font-size: 14px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.theme-pos { background: #E3F4EA; color: #145C33; }
.theme-neg { background: #FDECEC; color: #8F1F1F; }

/* Pricing */
.pricing { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.plan { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; position: relative; }
.plan.featured { border: 2px solid var(--brand); }
.plan .badge { position: absolute; top: -14px; left: 32px; background: var(--brand); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.plan h3 { margin-bottom: 6px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 40px; margin: 12px 0 20px; }
.plan .price small { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--brand); }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--text); padding-bottom: 12px; }

/* Testimonial-ready quote block */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 20px 0 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }

/* Call to action band */
.cta-band .container { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 88px; padding-bottom: 88px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 20px; color: #E6EEFB; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 17px; }
.field .hint { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.field .hint[hidden] { display: none; }
.field input, .field select, .field textarea {
    width: 100%;
    font: 400 18px/1.4 var(--font-body);
    color: var(--ink);
    background: var(--white);
    border: 1px solid #A9B4C2;
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 0; border-color: var(--brand); }
.field-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.field-row .field { flex: 1 1 240px; min-width: 0; }
.form-message { border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; font-weight: 600; }
.form-message.success { background: #E3F4EA; color: #145C33; }
.form-message.error { background: #FDECEC; color: #8F1F1F; }
.form-message:empty { display: none; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 3px; }
.contact-list strong { display: block; }

/* Prose (legals) */
.prose { max-width: 780px; }
.prose p { color: var(--text); }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-text); font-size: 16px; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 48px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; flex: 0 1 200px; }
.footer-cols > div:first-child { flex: 1 1 280px; }
.footer-cols img { height: 40px; width: auto; margin-bottom: 12px; align-self: flex-start; }
.footer-cols h2 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--white); margin: 0 0 4px; letter-spacing: 0; }
.footer-cols p { margin: 0; }
.site-footer a { color: var(--navy-text); }
.site-footer a:hover { color: var(--white); }
.acknowledgement { margin: 0 0 24px; padding-top: 24px; border-top: 1px solid #2A3B54; max-width: 900px; }
.legal-line { margin: 0; font-size: 15px; color: #A9B8CC; }
.legal-line a { color: #A9B8CC; }

@media (max-width: 640px) {
    body { font-size: 17px; }
    .section { padding: 72px 0; }
    .hero .container { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
    .path-card, .card, .card-soft, .form-card { padding: 26px; }
    .btn-row .btn { flex: 1 1 100%; }
    .btn-row-equal { display: grid; grid-auto-flow: row; }
}
