/* CSS for RonCon LLC Site */
:root {
  --navy: #0B2545;
  --navy-2: #123259;
  --blue: #1B4E7E;
  --blue-light: #4A90C2;
  --tint: #EAF2F9;
  --ink: #1A2733;
  --muted: #4D6377;
  --white: #FFFFFF;
  --border: #D7E4EF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

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

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

/* ---------- Header / Banner ---------- */

header.banner {
  background: var(--navy);
  color: var(--white);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
  width: min(100%, 1120px);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
}

.wordmark .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--blue-light) 0 58%, var(--navy) 59% 100%);
  color: var(--navy);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.06em;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}

.wordmark .name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.wordmark .name span {
  color: var(--blue-light);
}

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  color: #DCE9F5;
  font-size: 0.95rem;
  font-weight: 500;
}

nav.primary-nav a:hover {
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--tint);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/tempbg.png") center / cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 24px 64px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
  text-wrap: balance;
}

.hero p.lede {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.btn-primary:hover {
  background: var(--navy);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue-light);
}

.btn-secondary:hover {
  background: var(--white);
  text-decoration: none;
}

/* ---------- Content sections ---------- */

section.content {
  padding: 64px 24px;
}

section.content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0 0 12px;
  text-wrap: balance;
}

section.content .section-lede {
  color: var(--muted);
  max-width: 65ch;
  margin: 0 0 40px;
}

section.legal {
  padding-top: 0;
}

section.legal h2 {
  font-size: 1.3rem;
}

section.legal .section-lede {
  margin-bottom: 12px;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card.product-card {
  display: block;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.product-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 37, 69, 0.08);
}

.product-thumb {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto 16px;
  background: var(--tint);
  padding: 8px;
}

.card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 8px;
}

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

.product-card h3 {
  margin-bottom: 2px;
}

.product-card p {
  font-size: 0.8rem;
  line-height: 1.3;
}

.developer-card {
  text-align: center;
}

.developer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.alt-avatar {
  background: linear-gradient(135deg, #8b5e3c, #d4a373);
}

.neutral-avatar {
  background: linear-gradient(135deg, #3f5d7a, #7aa2c7);
}

section.about {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-inner p {
  color: var(--muted);
  margin: 0 0 14px;
}

.about-inner p:last-child { margin-bottom: 0; }

dl.contact-facts {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
}

dl.contact-facts dt {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

dl.contact-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--navy);
  color: #C9D9E8;
}

.footer-top {
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .wordmark .name { color: var(--white); }

.footer-brand p {
  color: #9FB6CC;
  font-size: 0.92rem;
  max-width: 32ch;
  margin: 14px 0 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #C9D9E8;
  font-size: 0.92rem;
}

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

.footer-bottom {
  border-top: 1px solid #1E3A5F;
}

.footer-bottom-inner {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8CA5BC;
}

.footer-bottom-inner a { color: #8CA5BC; }
.footer-bottom-inner a:hover { color: var(--white); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .banner-inner {
    padding: 16px 20px;
    justify-content: center;
    text-align: center;
  }
  nav.primary-nav ul { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .grid-three { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
