/* ===================================================================
   ZEELINKHUB — design system
   Concept: a hub — many publisher relationships converging into one
   reliable point of contact. Warm ivory paper, brass accent, editorial
   serif for trust, quiet dotted "connection lines" as the signature motif.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --paper: #0D1826;
  --paper-2: #101E30;
  --panel: #12213A;
  --ink: #F1ECDD;
  --line: rgba(201,162,39,0.16);
  --line-soft: rgba(201,162,39,0.09);
  --muted: #A9B3C6;
  --muted-dim: #6D7A93;
  --brass: #C9A227;
  --brass-deep: #E8C158;
  --brass-tint: rgba(201,162,39,0.14);
  --ok: #5FAE7A;

  --display: 'Fraunces', serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --container: 1160px;
  --radius: 12px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }
.container{ max-width: var(--container); margin:0 auto; padding: 0 28px; }
::selection{ background: var(--brass-tint); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--brass); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

h1,h2,h3,h4{ font-family: var(--display); font-weight:600; letter-spacing:-0.01em; color: var(--ink); }
.eyebrow{
  font-family: var(--mono); font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  color: var(--brass); display:inline-flex; align-items:center; gap:8px;
}
.eyebrow::before{ content:""; width:16px; height:1px; background: var(--brass); }
.muted{ color: var(--muted); }

/* connection-line divider motif */
.hub-divider{
  display:flex; align-items:center; gap:8px; margin: 10px 0 26px;
}
.hub-divider .node{ width:5px; height:5px; border-radius:50%; background: var(--brass); flex-shrink:0; }
.hub-divider .line{ flex:1; height:1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index:40;
  background: rgba(13,24,38,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.logo{ display:flex; align-items:center; gap:10px; font-family: var(--display); font-weight:700; font-size:19px; }
.logo .mark{
  width:30px; height:30px; border-radius:8px; background: var(--brass);
  position:relative; flex-shrink:0;
}
.logo .mark::before, .logo .mark::after{
  content:""; position:absolute; background: var(--paper); border-radius:50%;
}
.logo .mark::before{ width:6px; height:6px; top:6px; left:6px; }
.logo .mark::after{ width:6px; height:6px; bottom:6px; right:6px; }
.logo .mark span{
  position:absolute; top:50%; left:50%; width:14px; height:1px; background: var(--paper);
  transform: translate(-50%,-50%) rotate(45deg);
}

.main-nav{ display:flex; gap:32px; }
.main-nav a{
  font-size:14.5px; color: var(--muted); position:relative; padding:4px 0;
}
.main-nav a::after{ content:""; position:absolute; left:0; bottom:-3px; width:0; height:1px; background: var(--brass); transition:width .25s ease; }
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ width:100%; }
.main-nav a.current{ color: var(--brass); }

.nav-cta{
  font-size:14px; font-weight:600; background: var(--brass); color: var(--paper);
  padding:11px 22px; border-radius:999px; transition: background .2s ease;
}
.nav-cta:hover{ background: var(--brass-deep); }

/* ---------- hero ---------- */
.hero{ padding: 88px 0 70px; border-bottom:1px solid var(--line); }
.hero .grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:60px; align-items:center; }
.hero h1{ font-size: clamp(32px,4.4vw,52px); line-height:1.12; margin-top:16px; }
.hero h1 em{ font-style: italic; color: var(--brass); }
.hero p.lede{ margin-top:20px; max-width:48ch; color: var(--muted); font-size:17px; }
.hero .btn-row{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

.stat-strip{ display:flex; gap:0; margin-top:44px; border-top:1px solid var(--line); padding-top:24px; }
.stat-strip .stat{ padding-right:36px; margin-right:36px; border-right:1px solid var(--line); }
.stat-strip .stat:last-child{ border-right:none; }
.stat-strip b{ display:block; font-family: var(--display); font-size:28px; }
.stat-strip span{ font-family: var(--mono); font-size:10.5px; color: var(--muted-dim); text-transform:uppercase; letter-spacing:0.06em; }

/* hub graphic */
.hub-graphic{ position:relative; width:100%; aspect-ratio: 1/0.9; max-width: 440px; margin:0 auto; }
.hub-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:88px; height:88px; border-radius:50%; background: var(--brass);
  display:flex; align-items:center; justify-content:center; z-index:3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.hub-center span{ font-family: var(--display); color: var(--paper); font-weight:700; font-size:15px; }
.hub-node{
  position:absolute; width:46px; height:46px; border-radius:50%;
  background: var(--panel); border: 1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--mono); font-size:10px; color: var(--muted); z-index:2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hub-svg{ position:absolute; inset:0; z-index:1; }
.hub-svg line{ stroke: var(--line); stroke-width:1.4; stroke-dasharray: 3 5; }

/* ---------- section ---------- */
.section{ padding: 80px 0; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: 30px; margin-top:10px; }
.section-head p{ color: var(--muted); margin-top:12px; font-size:15.5px; }

/* service cards */
.service-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
.service-card{
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover{ border-color: var(--brass); transform: translateY(-2px); }
.service-card .num{ font-family: var(--mono); font-size:12px; color: var(--brass); letter-spacing:0.06em; }
.service-card h3{ font-size:22px; margin-top:14px; }
.service-card p{ color: var(--muted); margin-top:12px; font-size:14.5px; }
.service-card ul{ margin-top:18px; }
.service-card li{ padding-left:18px; position:relative; color: var(--muted); font-size:13.5px; margin-bottom:8px; }
.service-card li::before{ content:"—"; position:absolute; left:0; color: var(--brass); }

/* process steps */
.process-row{ display:grid; grid-template-columns: repeat(4,1fr); gap:0; margin-top:10px; }
.process-step{ padding: 0 20px 0 0; position:relative; }
.process-step:not(:last-child)::after{
  content:""; position:absolute; top:20px; right:-4px; width:100%; height:1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px);
}
.process-step .n{
  width:40px; height:40px; border-radius:50%; border:1.5px solid var(--brass); color: var(--brass);
  display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:14px;
  background: var(--paper); position:relative; z-index:2;
}
.process-step h4{ font-size:16px; margin-top:16px; }
.process-step p{ font-size:13.5px; color: var(--muted); margin-top:8px; }

/* niche band */
.niche-band{ background: var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.niche-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.niche-card{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.niche-card .tag-mono{ font-family:var(--mono); font-size:11px; color: var(--muted-dim); text-transform:uppercase; letter-spacing:0.06em; }
.niche-card h3{ font-size:24px; margin-top:10px; }
.niche-card p{ color: var(--muted); margin-top:12px; font-size:14.5px; }
.metric-row{ display:flex; gap:26px; margin-top:20px; padding-top:18px; border-top:1px solid var(--line-soft); }
.metric-row div b{ display:block; font-family: var(--display); font-size:20px; }
.metric-row div span{ font-family:var(--mono); font-size:10px; color: var(--muted-dim); text-transform:uppercase; }

/* pricing */
.price-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.price-card{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display:flex; flex-direction:column;
}
.price-card.highlight{ border-color: var(--brass); box-shadow: 0 10px 34px rgba(201,162,39,0.18); position:relative; }
.price-card.highlight::before{
  content:"Most Requested"; position:absolute; top:-12px; left:32px;
  background: var(--brass); color:#fff; font-family:var(--mono); font-size:10px; text-transform:uppercase;
  letter-spacing:0.06em; padding:5px 12px; border-radius:999px;
}
.price-card h3{ font-size:20px; }
.price-card .amt{ font-family: var(--display); font-size:36px; margin-top:14px; }
.price-card .amt span{ font-size:14px; color: var(--muted); font-family: var(--body); }
.price-card ul{ margin: 22px 0; flex:1; }
.price-card li{ padding-left:18px; position:relative; font-size:13.5px; color: var(--muted); margin-bottom:10px; }
.price-card li::before{ content:"✓"; position:absolute; left:0; color: var(--ok); font-weight:600; }
.price-card .btn{ margin-top:auto; }

/* buttons */
.btn{
  display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:600;
  padding: 13px 24px; border-radius:999px; white-space:nowrap; text-align:center; justify-content:center;
}
.btn-primary{ background: var(--brass); color: var(--paper); font-weight:600; }
.btn-primary:hover{ background: var(--brass-deep); }
.btn-outline{ border:1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover{ border-color: var(--brass); color: var(--brass); }

/* testimonial-style trust band */
/* ---------- blog listing ---------- */
.blog-filter{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.blog-filter a{
  font-family: var(--mono); font-size:11.5px; letter-spacing:0.04em;
  border:1px solid var(--line); color: var(--muted);
  padding:8px 16px; border-radius:999px; text-transform:uppercase;
  transition: border-color .2s ease, color .2s ease;
}
.blog-filter a:hover, .blog-filter a.active{ border-color: var(--brass); color: var(--brass); }

.blog-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:24px; }
.blog-card{
  background: var(--panel); border:1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display:flex; flex-direction:column; transition: border-color .2s ease, transform .2s ease;
}
.blog-card:hover{ border-color: var(--brass); transform: translateY(-2px); }
.blog-card .cat{ font-family: var(--mono); font-size:11px; color: var(--brass); text-transform:uppercase; letter-spacing:0.06em; }
.blog-card h3{ font-size:20px; margin-top:12px; line-height:1.3; }
.blog-card p{ color: var(--muted); font-size:14px; margin-top:10px; flex:1; }
.blog-card .meta{ display:flex; gap:12px; margin-top:18px; padding-top:16px; border-top:1px solid var(--line-soft); font-family:var(--mono); font-size:11px; color: var(--muted-dim); text-transform:uppercase; }

.blog-featured{
  display:grid; grid-template-columns: 1fr 1fr; gap:0; margin-bottom:44px;
  border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  background: var(--panel);
}
.blog-featured .content{ padding:36px; display:flex; flex-direction:column; justify-content:center; }
.blog-featured .visual{
  background: linear-gradient(160deg, var(--paper-2), var(--paper));
  display:flex; align-items:center; justify-content:center; padding:36px; position:relative;
}
.blog-featured .visual::before{
  content:""; position:absolute; inset:20px; border:1px solid var(--line); border-radius:10px;
}
.blog-featured .big-num{ font-family: var(--display); font-size:64px; color: var(--brass); position:relative; z-index:1; }

/* ---------- article page ---------- */
.article-hero{ padding: 56px 0 40px; border-bottom:1px solid var(--line); }
.article-hero .cat{ font-family: var(--mono); font-size:12px; color: var(--brass); text-transform:uppercase; letter-spacing:0.06em; }
.article-hero h1{ font-size: clamp(28px,4vw,42px); margin-top:14px; line-height:1.2; }
.article-hero .meta-row{ display:flex; gap:18px; margin-top:20px; font-family:var(--mono); font-size:11.5px; color: var(--muted-dim); text-transform:uppercase; flex-wrap:wrap; }
.article-body{ max-width: 70ch; }
.article-body p{ color: var(--muted); margin-bottom:18px; font-size:16px; line-height:1.75; }
.article-body h2{ font-size:24px; margin-top:44px; margin-bottom:16px; }
.article-body h3{ font-size:19px; margin-top:32px; margin-bottom:12px; color: var(--brass); font-family: var(--body); font-weight:600; }
.article-body ul, .article-body ol{ margin: 0 0 18px 0; }
.article-body li{ color: var(--muted); padding-left:20px; position:relative; margin-bottom:10px; font-size:16px; }
.article-body ul li::before{ content:"—"; position:absolute; left:0; color: var(--brass); }
.article-body ol{ counter-reset: item; }
.article-body ol li{ list-style:none; }
.article-body ol li::before{ content: counter(item) "."; counter-increment: item; position:absolute; left:0; color: var(--brass); font-family:var(--mono); }
.article-body strong{ color: var(--ink); }
.article-body blockquote{
  border-left:2px solid var(--brass); padding: 4px 0 4px 22px; margin: 28px 0;
  font-family: var(--display); font-size:19px; font-style:italic; color: var(--ink);
}
.article-body a{ color: var(--brass); text-decoration: underline; text-decoration-color: var(--line); }
.callout-box{
  border:1px solid var(--line); background: var(--paper-2); border-radius: var(--radius);
  padding:22px 26px; margin: 28px 0;
}
.callout-box .label{ font-family:var(--mono); font-size:11px; color: var(--brass); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:8px; }
.author-box{
  display:flex; gap:16px; align-items:center; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:24px 0; margin: 44px 0;
}
.author-avatar{ width:48px; height:48px; border-radius:50%; background: var(--brass); flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; color: var(--paper); }
.author-box h5{ font-size:15px; }
.author-box p{ font-size:13px; color: var(--muted); margin-top:2px; }

@media (max-width:900px){
  .blog-grid{ grid-template-columns:1fr; }
  .blog-featured{ grid-template-columns:1fr; }
}

.trust-band{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--panel); }
.trust-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; padding:44px 0; flex-wrap:wrap; }
.trust-inner h3{ font-size:22px; max-width:32ch; }
.trust-inner p{ color: var(--muted); margin-top:8px; max-width: 44ch; }

/* footer */
.site-footer{ padding: 56px 0 34px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:30px; padding-bottom:36px; border-bottom:1px solid var(--line); }
.footer-grid h5{ font-family: var(--mono); font-size:11px; color: var(--muted-dim); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color: var(--muted); font-size:14px; }
.footer-grid a:hover{ color: var(--brass); }
.footer-brand p{ color: var(--muted); font-size:13.5px; margin-top:14px; max-width:34ch; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-family:var(--mono); font-size:11.5px; color: var(--muted-dim); flex-wrap:wrap; gap:10px; }

/* social icon row */
.social-row{ display:flex; gap:10px; margin-top:14px; }
.social-icon{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--muted); transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.social-icon svg{ width:16px; height:16px; }
.social-icon:hover{ border-color: var(--brass); color: var(--brass); background: var(--brass-tint); }

/* generic page */
.page-hero{ padding: 60px 0 40px; border-bottom:1px solid var(--line); }
.page-hero h1{ font-size: clamp(30px,4vw,44px); margin-top:12px; }
.page-hero p{ color: var(--muted); margin-top:14px; max-width:60ch; font-size:16px; }
.prose{ max-width: 74ch; }
.prose h2{ margin-top:40px; margin-bottom:14px; font-size:22px; }
.prose h3{ margin-top:26px; margin-bottom:10px; font-size:17px; color: var(--brass); font-family: var(--body); font-weight:600; }
.prose p{ margin-bottom:14px; color: var(--muted); }
.prose ul{ margin:0 0 14px 0; }
.prose li{ color: var(--muted); padding-left:18px; position:relative; margin-bottom:8px; }
.prose li::before{ content:"—"; position:absolute; left:0; color: var(--brass); }
.prose strong{ color: var(--ink); }

/* contact form */
.form-card{ border:1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding:32px; max-width:560px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family: var(--mono); font-size:11px; color: var(--muted); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; background: var(--paper); border:1px solid var(--line); border-radius:8px;
  padding:12px 14px; color: var(--ink); font-family: var(--body); font-size:14px;
}
.field textarea{ min-height:120px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--brass); }

.crumb{ font-family: var(--mono); font-size:11.5px; color: var(--muted-dim); text-transform:uppercase; margin-bottom:18px; }
.crumb a:hover{ color: var(--brass); }

@media (max-width:900px){
  .hero .grid{ grid-template-columns:1fr; }
  .hub-graphic{ order:-1; max-width:280px; }
  .service-grid{ grid-template-columns:1fr; }
  .niche-grid{ grid-template-columns:1fr; }
  .price-grid{ grid-template-columns:1fr; }
  .process-row{ grid-template-columns:1fr 1fr; gap:30px; }
  .process-step::after{ display:none; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .main-nav{ display:none; }
  .stat-strip{ flex-wrap:wrap; gap:20px; }
  .stat-strip .stat{ padding-right:0; margin-right:0; border-right:none; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .process-row{ grid-template-columns:1fr; }
  .trust-inner{ flex-direction:column; align-items:flex-start; }
}
