/* ExConformity landing page
   Palette sampled from the shipped document theme (kit_theme):
   navy #1f3864, critical red #b02418, high amber #b06a00, panel grey #f4f4f4 */

:root {
  --navy: #1f3864;
  --navy-dark: #16294a;
  --ink: #171717;
  --grey-text: #52525b;
  --grey-line: #d9d9d9;
  --panel: #f4f4f4;
  --white: #ffffff;
  --red: #b02418;
  --amber: #b06a00;
  --orange: #e8570a;
  --orange-dark: #c44a08;
  --orange-pale: #fef1e9;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar accent, matches the cover artwork */
.topbar {
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 70%, var(--orange) 70%, var(--orange) 100%);
}

/* Nav */
header.site {
  border-bottom: 1px solid var(--grey-line);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 20;
}

nav.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: 40px;
  display: block;
}

.wordmark {
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-size: 15px;
  text-decoration: none;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlinks a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}

.navlinks a:hover { color: var(--navy); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 2px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--panel); }

.btn-small { padding: 8px 16px; font-size: 13px; }

/* Eyebrow / labels */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--grey-text);
  font-weight: bold;
}

.tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
}

.tag-outline {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 5px 11px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--grey-line);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.18;
  margin: 16px 0 20px;
  max-width: 820px;
}

.hero .lede {
  font-size: 18px;
  color: var(--grey-text);
  max-width: 720px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.cta-note {
  font-size: 13px;
  color: var(--grey-text);
}

.stat-row {
  display: flex;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--grey-line);
  flex-wrap: wrap;
}

.stat {
  flex: 1 1 200px;
  padding: 20px 24px 0 0;
}

.stat .num {
  font-size: 30px;
  font-weight: bold;
  color: var(--navy);
  margin-bottom: 4px;
}

.stat .label {
  font-size: 14px;
  color: var(--grey-text);
}

/* Section shell */
section { padding: 64px 0; }
section.alt { background: var(--panel); }
section.tight { padding: 48px 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: 28px;
  margin: 10px 0 14px;
}

.section-head p {
  color: var(--grey-text);
  font-size: 16px;
}

hr.rule {
  border: none;
  border-top: 1px solid var(--grey-line);
  margin: 40px 0;
}

/* Callout box */
.callout {
  border: 1.5px solid var(--navy);
  padding: 20px 24px;
  font-size: 15px;
  margin: 24px 0;
  background: var(--white);
}

.callout strong { color: var(--navy); }

/* Tables */
table.spec {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}

table.spec th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

table.spec td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-line);
  vertical-align: top;
}

table.spec td:first-child {
  font-weight: bold;
  white-space: nowrap;
  color: var(--navy-dark);
}

table.spec tr:nth-child(even) td { background: var(--panel); }

/* Tier comparison table */
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
  font-size: 14.5px;
}

table.compare th {
  text-align: left;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 2px solid var(--ink);
}

table.compare th.tier {
  text-align: center;
  color: var(--white);
  background: var(--navy);
}

table.compare th.tier.featured { background: var(--orange); }

table.compare td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--grey-line);
  color: var(--grey-text);
}

table.compare td.tier { text-align: center; }

table.compare tr:nth-child(even) td { background: var(--panel); }

table.compare .yes, table.compare .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

table.compare .yes { background: var(--orange-pale); color: var(--orange-dark); }
table.compare .no { color: var(--grey-line); }

table.compare .price-row td { font-weight: bold; color: var(--ink); font-size: 16px; padding-top: 16px; padding-bottom: 16px; }
table.compare .price-row td.tier { color: var(--navy); }
table.compare .price-row td.tier.featured { color: var(--orange-dark); }

/* Inline feature icons */
.icon-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 18px;
}

.icon-badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-pale);
  border-radius: 8px;
}

.icon-badge svg { width: 18px; height: 18px; }

.forwho .yes li, .forwho .no li { display: flex; gap: 10px; align-items: flex-start; }
.forwho .yes li svg, .forwho .no li svg { flex: 0 0 auto; margin-top: 3px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.price-card {
  border: 1px solid var(--grey-line);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--orange);
  box-shadow: 0 4px 0 0 var(--orange);
  position: relative;
}

.price-card .tier-tag { margin-bottom: 14px; }

.price-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.price-card .price {
  font-size: 32px;
  font-weight: bold;
  color: var(--navy);
  margin: 4px 0 14px;
}

.price-card .price small {
  font-size: 14px;
  font-weight: normal;
  color: var(--grey-text);
}

.price-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
  color: var(--grey-text);
  flex-grow: 1;
}

.price-card li {
  padding: 7px 0;
  border-top: 1px solid var(--grey-line);
}
.price-card li:first-child { border-top: none; }

.price-card .btn { text-align: center; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--grey-line);
}

.gallery .shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
}

.gallery .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.gallery figcaption {
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--grey-text);
  border-top: 1px solid var(--grey-line);
}

/* For-not-for */
.forwho {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.forwho h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.forwho ul { margin: 0; padding-left: 20px; }
.forwho li { margin-bottom: 10px; font-size: 15px; }

.forwho .yes h3 { color: var(--navy); }
.forwho .no h3 { color: var(--grey-text); }

/* Boundaries */
.boundaries ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.boundaries li {
  padding: 16px 0;
  border-top: 1px solid var(--grey-line);
  font-size: 15px;
}
.boundaries li:last-child { border-bottom: 1px solid var(--grey-line); }

.boundaries li strong { display: block; color: var(--navy-dark); margin-bottom: 4px; }

/* FAQ */
details.faq {
  border-bottom: 1px solid var(--grey-line);
  padding: 16px 0;
}

details.faq summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 20px;
  color: var(--navy);
}

details.faq[open] summary::after { content: "\2212"; }

details.faq p {
  margin: 12px 0 4px;
  color: var(--grey-text);
  font-size: 15px;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--grey-line);
  padding: 40px 0 48px;
  background: var(--panel);
}

footer.site .foot-word {
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 10px;
}

footer.site p {
  font-size: 13px;
  color: var(--grey-text);
  max-width: 760px;
  margin: 0 0 10px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero h1 { font-size: 30px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .forwho { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .stat-row { gap: 16px; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  section { padding: 44px 0; }
  nav.wrap .btn.btn-small { display: none; }
  .brand img { height: 26px; width: 26px; }
  .wordmark { font-size: 13px; }
}
