/* =============================================
   byvero.co — main stylesheet
   Based on 2C Refined
   ============================================= */

:root {
  --pink:        #F598FF;
  --light-pink:  #FBE9E5;
  --light-blue:  #E5E9FD;
  --mint:        #78DEC4;
  --mint-soft:   #E0F6F0;
  --navy:        #171D3A;
  --white:       #FFFFFF;
  --mid-grey:    #64748B;
  --border:      #DDE1EE;
  --font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: linear-gradient(
    var(--gradient-angle, 180deg),
    var(--gradient-color, #E5E9FD) 0%,
    var(--white) 100%
  );
  min-height: 100vh;
  line-height: 1.75;
}

/* ── Layout ───────────────────────────────── */

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ───────────────────────────────── */

.site-header {
  background: var(--navy);
  padding: 0.75rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-name {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-name-accent {
  color: var(--mint);
}

.site-name:hover {
  color: var(--mint);
  text-decoration: none;
}

nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  margin-left: 1.75rem;
}

nav a:first-child { margin-left: 0; }

nav a:hover,
nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--mint);
}

nav a[aria-current="page"] {
  border-bottom: 2px solid var(--mint);
  padding-bottom: 1px;
  text-decoration: none;
}

nav a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Hero ─────────────────────────────────── */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero h1 {
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero p {
  font-weight: 300;
  font-size: 1.3rem;
  /* max-width: 54ch; */ 
  margin-bottom: 1rem;
  color: #2a3050;
}

.hero p strong { font-weight: 500; }

.hero p.hero-note {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(42, 48, 80, 0.75);
  margin-top: 0.25rem;
}

.hero-note a {
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.hero-photo {
  float: right;
  margin: 0 0 1rem 2rem;
}

.hero-photo img {
  width: 300px;
  height: auto;
  display: block;
}

/* ── Sections ─────────────────────────────── */

.section      { padding: 2rem 0; }
.section-blue { background: var(--light-blue); padding: 1.5rem 0; }

/* ── Typography ───────────────────────────── */

h1 {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

h2 {
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

h3 {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.6rem;
}

p {
  font-weight: 300;
  margin-bottom: 1.1rem;
  max-width: 63ch;
}

p:last-child { margin-bottom: 0; }
p strong { font-weight: 500; }

/* ── Links ────────────────────────────────── */

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── CTAs ─────────────────────────────────── */

.cta {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--white);
  background: var(--navy);
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 3px;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.cta:hover {
  background: #0e1226;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.7);
}

.cta:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.cta-mint {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--mint);
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  border-radius: 3px;
  margin-top: 0.75rem;
  margin-left: 0.75rem;
  letter-spacing: 0.01em;
}

.cta-mint:hover {
  filter: brightness(0.93);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(23,29,58,0.6);
}

/* ── HR ───────────────────────────────────── */

hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── Cards ────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(23,29,58,0.08), 0 0 0 1px rgba(23,29,58,0.06);
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  margin-bottom: 0.85rem;
}

.card h3 {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.card p  { font-size: 1rem; font-weight: 300; color: #374151; margin: 0; }

/* ── Quote block ──────────────────────────── */

.section-quote {
  padding: 1rem 0;
}

blockquote {
  border-left: 3px solid var(--pink);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1rem 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy);
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.825rem;
  color: var(--mid-grey);
  margin-top: 0.6rem;
}

/* ── Post list ────────────────────────────── */

.post-list { list-style: none; margin-top: 1.25rem; }

.post-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

/* remove the top line before the first item */
.post-list li:first-child { border-top: none; }

/* remove the bottom line after the last item */
.post-list li:last-child { border-bottom: none; }

.post-list a {
  font-weight: 500;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  text-decoration: none;
}

.post-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--pink);
}

.post-meta { font-size: 0.8rem; color: var(--mid-grey); }

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(23,29,58,0.08);
  color: var(--navy);
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-left: 0.3rem;
}

.post-title {
  font-weight: 500;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

/* ── Footer ───────────────────────────────── */

.color-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--mint) 0%, var(--light-blue) 40%, var(--light-pink) 70%, var(--pink) 100%);
}

.site-footer {
  background: var(--navy);
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.footer-col a:hover {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  width: 100%;
  max-width: none;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  line-height: 1.8;
}

.footer-company {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.2rem;

}

.footer-company a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-col p:last-child {
  margin-bottom: 0;
}

.footer-company a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero p {
    font-size: 1.1rem;
  }

  .hero-photo {
  float: none;
  margin: 1.5rem 0 0 0;
  margin-bottom: 1.5rem;
  text-align: center;
  }

  .hero-photo img {
    width: 200px;
    height: auto;
    margin: 0 auto;
  }
}
