/* HR Circuits - shared styles */

:root {
  --navy: #16223f;
  --navy-dark: #0e162b;
  --orange: #ff6a3d;
  --gray: #5a6478;
  --light: #f5f6f9;
  --white: #ffffff;
  --border: #e4e6ee;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .mark svg {
  width: 18px;
  height: 18px;
}

nav.main ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav.main a {
  font-weight: 500;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.main a:hover,
nav.main a.active {
  border-bottom-color: var(--orange);
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 64px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  color: #c7ccdb;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.btn.primary:hover {
  background: #e85a2d;
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid #4a557a;
}

.btn.ghost:hover {
  border-color: var(--orange);
}

.btn.dark {
  background: var(--navy);
  color: var(--white);
}

.btn.dark:hover {
  background: var(--navy-dark);
}

/* Placeholder graphic */
.placeholder {
  background: var(--navy-dark);
  border: 1px dashed #4a557a;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8bb0;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

.placeholder svg {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  opacity: 0.7;
}

/* Sections */
section {
  padding: 64px 0;
}

section.alt {
  background: var(--light);
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

h2.center {
  text-align: center;
}

.lede {
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 40px;
}

.lede.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 106, 61, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.price-tag {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 20px;
}

table.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
}

table.specs th,
table.specs td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

table.specs th {
  color: var(--gray);
  font-weight: 600;
  width: 40%;
}

.option-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0 8px;
}

.option-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.option-card .amount {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 6px 0 10px;
  color: var(--navy);
}

.option-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Comparison table */
table.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

table.compare th,
table.compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

table.compare thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

table.compare thead th:first-child {
  border-top-left-radius: 8px;
}

table.compare thead th:last-child {
  border-top-right-radius: 8px;
}

table.compare tbody th {
  font-weight: 500;
  color: var(--navy);
}

table.compare td.us {
  color: var(--navy);
  font-weight: 600;
}

table.compare td.us::before {
  content: "";
}

table.compare td.them {
  color: var(--gray);
}

/* Contact */
.contact-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 32px;
}

.contact-box .email {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--navy);
}

.contact-box p.note {
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 8px;
}

.team-names {
  margin-top: 28px;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Founders */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.founder-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--light);
  border: 1px dashed #c6cbdb;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.founder-photo svg {
  width: 36px;
  height: 36px;
}

.founder-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.founder-role {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.founder-card p.bio {
  color: var(--gray);
  font-size: 0.92rem;
  text-align: left;
}

/* Footer */
footer.site {
  background: var(--navy-dark);
  color: #9aa3bd;
  padding: 36px 0;
  margin-top: 40px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

footer.site a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 800px) {
  .hero .wrap,
  .product-layout {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .option-cards {
    grid-template-columns: 1fr;
  }
  .founders-grid {
    grid-template-columns: 1fr;
  }
  nav.main ul {
    gap: 18px;
    font-size: 0.9rem;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}
