/*
  mybestconectus.info
  Text-first, low-contrast, irregular rhythm.
*/

:root{
  --bg: #f5f4f1;
  --ink: #222;
  --muted: rgba(34,34,34,.72);
  --faint: rgba(34,34,34,.16);
  --link: rgba(34,34,34,.88);
  --linkHover: rgba(34,34,34,.62);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.62;

  background-image:
    linear-gradient(rgba(245,244,241,0.92), rgba(245,244,241,0.92)),
    url('background_lock_soft.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.wrap{
  max-width: 880px;
  margin: 0 auto;
  padding: 38px 22px 72px;
}

.topnav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
}

.topnav a{
  color: var(--link);
  text-decoration: none;
}
.topnav a:hover{ text-decoration: underline; }

.brand{
  letter-spacing: .06em;
  text-transform: lowercase;
  margin-right: 10px;
}

header{
  margin-bottom: 34px;
}

.kicker{
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 62ch;
}

h1{
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: .01em;
}

h2{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 14px;
}

p{
  margin: 0 0 14px;
  max-width: 70ch;
}

.soft-rule{
  height: 1px;
  background: linear-gradient(to right, transparent, var(--faint), transparent);
  margin: 26px 0;
}

.state{
  margin: 0;
}
.state .label{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(34,34,34,.54);
  margin-bottom: 8px;
}
.state .state-title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

/* Asymmetry: locked feels narrower + held back. unlocked breathes but drifts. */
.locked{
  padding: 18px 0 6px;
}
.locked .inner{
  max-width: 62ch;
}

.unlocked{
  padding: 26px 0 8px;
}
.unlocked .inner{
  max-width: 68ch;
  margin-left: 10px;
}

.unlocked p{
  color: rgba(34,34,34,.92);
}

.section-gap-a{ margin-top: 14px; }
.section-gap-b{ margin-top: 26px; }
.section-gap-c{ margin-top: 40px; }

.points{
  margin-top: 10px;
}

.point{
  margin: 0;
}

/* Uneven spacing: intentionally non-uniform rhythm, no symmetry. */
.point:nth-child(1){ margin-top: 10px; }
.point:nth-child(2){ margin-top: 22px; }
.point:nth-child(3){ margin-top: 14px; }
.point:nth-child(4){ margin-top: 28px; }
.point:nth-child(5){ margin-top: 12px; }
.point:nth-child(6){ margin-top: 34px; }
.point:nth-child(7){ margin-top: 16px; }
.point:nth-child(8){ margin-top: 24px; }
.point:nth-child(9){ margin-top: 18px; }

.point a{
  display: inline-block;
  color: var(--link);
  text-decoration: none;
  max-width: 72ch;
}

.point a:hover{
  text-decoration: underline;
  opacity: .9;
}

.point .title{
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.point .note{
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.lines{
  margin-top: 8px;
  padding-left: 0;
  list-style: none;
  max-width: 68ch;
}
.lines li{
  margin: 0 0 10px;
  color: rgba(34,34,34,.82);
}
.lines li:nth-child(2){ margin-bottom: 16px; }
.lines li:nth-child(4){ margin-bottom: 18px; }
.lines li:nth-child(6){ margin-bottom: 14px; }

.meta{
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.related a,
.article a,
.contact-block a{
  color: var(--link);
  text-decoration: none;
}
.related a:hover,
.article a:hover,
.contact-block a:hover{
  text-decoration: underline;
  color: var(--linkHover);
}

.related{
  margin-top: 22px;
}
.related .links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.return{
  margin-top: 26px;
}

.contact-block{
  margin-top: 34px;
  color: rgba(34,34,34,.86);
}

.fade{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 700ms ease, transform 900ms ease;
  will-change: opacity, transform;
}
.fade.in-view{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .fade{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

