/* Caribbean Tech News - shared styles for the news archive, landing pages, About, FAQ and resources.
   Same colours, type and components as index.html / archive.html. */
:root{
  --ink:#0B1220; --ink-2:#1F2A3D;
  --teal:#064E3B; --teal-d:#043A2C; --teal-l:#E3F2EA; --mint:#6EE7B7; --orange:#FB923C; --orange-d:#C2410C;
  --ground:#F5F6F8; --line:#E3E6EC; --line-2:#D5DAE1;
  --muted:#4B5563; --body:#374151;
  --font:'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, monospace;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--ground); color:var(--ink); font-family:var(--font); line-height:1.55; -webkit-font-smoothing:antialiased;}
a{color:var(--teal);} a:hover{color:var(--teal-d);}
img{max-width:100%; display:block; height:auto;}
h1,h2,h3,h4,p{margin:0;}
.mono{font-family:var(--mono);}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px;}
.narrow{max-width:820px;}
:focus-visible{outline:2px solid var(--teal); outline-offset:2px;}
.skip{position:absolute; left:-9999px; top:8px; background:#fff; padding:10px 14px; border-radius:8px; z-index:100;}
.skip:focus{left:12px;}
.eyebrow{font-family:var(--mono); font-size:13px; letter-spacing:.1em; color:var(--teal); font-weight:600; text-transform:uppercase;}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; text-decoration:none; font-weight:600; font-size:15px; padding:12px 18px; border-radius:10px; min-height:44px; border:1px solid transparent;}
.btn-lg{font-size:16px; padding:15px 22px; border-radius:12px;}
.btn-ink{background:var(--ink); color:#fff;} .btn-ink:hover{background:#1B2638; color:#fff;}
.btn-teal{background:var(--teal); color:#fff;} .btn-teal:hover{background:var(--teal-d); color:#fff;}
.btn-ghost{background:#fff; color:var(--ink); border-color:var(--line-2);} .btn-ghost:hover{border-color:var(--ink); color:var(--ink);}

/* header */
header.site{background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:40;}
header.site .wrap{display:flex; align-items:center; justify-content:space-between; height:72px; gap:20px;}
.logo{display:flex; align-items:center; text-decoration:none; flex-shrink:0;}
.logo svg,.logo img{display:block; width:auto;} .logo .logo-full{height:40px;} .logo .logo-mark{height:36px; display:none;}
.nav-links{display:flex; gap:24px; align-items:center; font-size:15px; font-weight:500;}
.nav-links a{color:var(--ink); text-decoration:none; padding:8px 0;} .nav-links a:hover,.nav-links a[aria-current]{color:var(--teal);}

/* footer */
footer{background:var(--ink); color:#CBD5E1; padding:56px 0 32px;}
.fgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:32px;}
.fcol{display:flex; flex-direction:column; gap:10px; font-size:14px;}
.fcol .mono{font-size:12px; color:#94A3B8; letter-spacing:.06em;}
.fcol a{color:#CBD5E1; text-decoration:none;} .fcol a:hover{color:#fff;}
.foot-logo{display:block; height:40px; width:auto; align-self:flex-start; margin-bottom:4px;}
.fbar{border-top:1px solid var(--ink-2); margin-top:40px; padding-top:24px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; color:#94A3B8;}
.fbar a{color:#94A3B8;}

/* page head */
.phead{background:#fff; border-bottom:1px solid var(--line); padding:56px 0 44px;}
.phead h1{font-size:52px; line-height:1.04; letter-spacing:-.035em; font-weight:800; margin:14px 0 16px; max-width:900px;}
.phead .lede{font-size:19px; color:var(--body); max-width:760px; line-height:1.6;}
.phead .actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:28px;}
.phead .facts{display:flex; gap:10px 22px; flex-wrap:wrap; margin-top:22px; font-family:var(--mono); font-size:13px; color:var(--muted);}
.phead .facts b{color:var(--ink); font-weight:600;}
.crumbs ol{list-style:none; padding:0; margin:0 0 6px; display:flex; flex-wrap:wrap; gap:6px; font-size:13px; color:var(--muted);}
.crumbs li+li::before{content:"›"; margin-right:6px; color:var(--line-2);}
.crumbs a{color:var(--muted); text-decoration:none;} .crumbs a:hover{color:var(--teal);}

/* sections */
.sec{padding:56px 0;}
.sec + .sec{padding-top:0;}
.sec h2{font-size:32px; line-height:1.15; letter-spacing:-.025em; font-weight:800; margin-bottom:14px;}
.sec h3{font-size:20px; font-weight:800; letter-spacing:-.01em; margin-bottom:8px;}
.sec p{color:var(--body); font-size:17px; line-height:1.7;}
.sec p + p{margin-top:12px;}
.sec .intro{max-width:760px; margin-bottom:28px;}
.panel{background:#fff; border:1px solid var(--line); border-radius:24px; padding:40px;}
.grid-3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px;}
.grid-2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px;}
.card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:26px;}
.card p{font-size:15px; line-height:1.6;}
.card .k{font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--teal); font-weight:600; display:block; margin-bottom:10px;}
.ticks{list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px;}
.ticks li{position:relative; padding-left:28px; color:var(--body); font-size:16px; line-height:1.55;}
.ticks li::before{content:""; position:absolute; left:0; top:5px; width:16px; height:16px; border-radius:50%; background:var(--teal-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23064E3B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;}
.steps{counter-reset:s; list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;}
.steps li{background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px; counter-increment:s;}
.steps li::before{content:counter(s, decimal-leading-zero); font-family:var(--mono); font-size:13px; color:var(--teal); font-weight:600; display:block; margin-bottom:12px;}
.steps h3{font-size:18px;} .steps p{font-size:15px; line-height:1.55;}
.price{display:flex; align-items:baseline; gap:10px;} .price b{font-size:56px; letter-spacing:-.04em; font-weight:800;} .price span{color:var(--muted);}
.note{background:var(--ground); border:1px solid var(--line); border-radius:14px; padding:16px 18px; font-size:14px; color:var(--muted); line-height:1.6; margin-top:18px;}
.prose{max-width:760px;}
.prose h2{font-size:28px; margin:40px 0 12px;} .prose h3{font-size:20px; margin:28px 0 8px;}
.prose p,.prose li{color:var(--body); font-size:17px; line-height:1.75;}
.prose ul,.prose ol{padding-left:22px; margin:10px 0 14px;} .prose li{margin-bottom:6px;}
.prose pre{background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; white-space:pre-wrap; font-family:var(--mono); font-size:14px; line-height:1.6; color:var(--ink);}
.draft-banner{background:#FEF3C7; border-bottom:1px solid #F5D98A; color:#7A4A00; font-size:14px; padding:12px 0; text-align:center;}

/* FAQ */
.faq{display:grid; gap:12px;}
.faq details{background:#fff; border:1px solid var(--line); border-radius:16px; padding:0 22px;}
.faq summary{cursor:pointer; list-style:none; font-weight:700; font-size:17px; padding:18px 0; display:flex; justify-content:space-between; gap:16px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+"; font-family:var(--mono); color:var(--teal); font-size:20px; line-height:1;}
.faq details[open] summary::after{content:"–";}
.faq details > div{padding:0 0 18px; color:var(--body); font-size:16px; line-height:1.7;}
.faq h2{font-size:24px; margin:28px 0 10px;}

/* news listings */
.ngrid{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px;}
.ncard{background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; display:flex; flex-direction:column;}
.ncard-img img{width:100%; aspect-ratio:16/9; object-fit:cover; background:#E9EDF2;}
.ncard-body{padding:20px 22px 22px; display:flex; flex-direction:column; gap:10px; flex:1;}
.ncard .meta{display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-family:var(--mono); font-size:12px; color:var(--muted); letter-spacing:.02em;}
.ncard .meta a{color:var(--teal); text-decoration:none;} .ncard .meta a:hover{text-decoration:underline;}
.ncard h3{font-size:20px; line-height:1.25; letter-spacing:-.015em; font-weight:800;}
.ncard h3 a{color:var(--ink); text-decoration:none;} .ncard h3 a:hover{color:var(--teal);}
.ncard p{color:var(--body); font-size:15px; line-height:1.6;}
.ncard .issuer{margin-top:auto; font-size:13px; color:var(--muted); font-weight:600;}
.chips{display:flex; flex-wrap:wrap; gap:8px;}
.chips a{display:inline-flex; gap:8px; align-items:center; background:#fff; border:1px solid var(--line-2); border-radius:999px; padding:8px 14px; font-size:14px; font-weight:600; color:var(--ink); text-decoration:none;}
.chips a:hover{border-color:var(--ink);} .chips a span{font-family:var(--mono); font-size:12px; color:var(--muted); font-weight:500;}
.chips a[aria-current]{background:var(--ink); color:#fff; border-color:var(--ink);} .chips a[aria-current] span{color:#CBD5E1;}
.layout{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:32px; align-items:start;}
.side{display:grid; gap:20px; position:sticky; top:96px;}
.side .card h2{font-size:15px; font-family:var(--mono); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:600; margin-bottom:12px;}
.pager{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:28px; font-size:15px;}
.pager a{font-weight:600; text-decoration:none;}
.empty{background:#fff; border:1px dashed var(--line-2); border-radius:20px; padding:40px; text-align:center; color:var(--muted);}
.search{display:flex; gap:8px; margin-top:22px; max-width:560px;}
.search input{flex:1; height:48px; border:1px solid #C4CCD6; border-radius:10px; padding:0 14px; font:inherit; font-size:15px;}

/* article */
.article{background:#fff; border:1px solid var(--line); border-radius:24px; padding:44px;}
.article .label{display:inline-flex; gap:8px; align-items:center; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--orange-d); background:#FFF1E6; border-radius:999px; padding:6px 12px; font-weight:600;}
.article h1{font-size:40px; line-height:1.12; letter-spacing:-.03em; font-weight:800; margin:16px 0 14px;}
.article .byline{display:flex; flex-wrap:wrap; gap:6px 14px; font-size:14px; color:var(--muted); margin-bottom:24px;}
.article .byline b{color:var(--ink);}
.article figure{margin:0 0 28px;} .article figure img{width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:16px; background:#E9EDF2;}
.article .body p{color:var(--body); font-size:17.5px; line-height:1.8; margin:0 0 18px; overflow-wrap:anywhere;}
.facts-box{margin-top:32px; border-top:1px solid var(--line); padding-top:24px; display:grid; gap:14px;}
.facts-box dl{display:grid; grid-template-columns:150px minmax(0,1fr); gap:10px 18px; margin:0; font-size:15px;}
.facts-box dt{font-family:var(--mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); padding-top:3px;}
.facts-box dd{margin:0; color:var(--ink); overflow-wrap:anywhere;}
.disclosure{margin-top:24px; background:var(--ground); border-radius:14px; padding:16px 18px; font-size:14px; color:var(--muted); line-height:1.6;}
.share{display:flex; flex-wrap:wrap; gap:8px; margin-top:20px;}
.share a{font-size:14px; font-weight:600; border:1px solid var(--line-2); border-radius:999px; padding:8px 14px; color:var(--ink); text-decoration:none;}
.share a:hover{border-color:var(--ink);}
.related{display:grid; gap:14px;}
.related a{display:block; text-decoration:none; color:var(--ink); font-weight:700; font-size:15px; line-height:1.35;}
.related a:hover{color:var(--teal);} .related small{display:block; font-family:var(--mono); font-size:11px; color:var(--muted); font-weight:500; margin-bottom:4px;}

/* CTA band */
.cta-band{padding:24px 0 72px;}
.cta-band .wrap > *{} .cta-band .wrap{display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; background:var(--ink); color:#fff; border-radius:24px; padding:36px 40px; max-width:1152px;}
.cta-band h2{font-size:28px; letter-spacing:-.02em; font-weight:800; margin-bottom:6px;}
.cta-band p{color:#CBD5E1; max-width:640px;}

@media (max-width:1000px){ .nav-links{display:none;} .layout{grid-template-columns:minmax(0,1fr);} .side{position:static;} .steps{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:760px){
  .phead{padding:40px 0 32px;} .phead h1{font-size:36px;} .phead .lede{font-size:17px;}
  .grid-3,.grid-2,.ngrid,.steps{grid-template-columns:minmax(0,1fr);}
  .panel,.article{padding:24px;} .article h1{font-size:30px;}
  .facts-box dl{grid-template-columns:minmax(0,1fr); gap:2px;} .facts-box dd{margin-bottom:10px;}
  .sec{padding:40px 0;} .sec h2{font-size:26px;}
  .cta-band .wrap{margin:0 16px; padding:28px 24px;}
}
@media (max-width:420px){ .logo .logo-full{display:none;} .logo .logo-mark{display:block;} .nav-cta{padding:10px 12px; font-size:14px;} }
