/* ==========================
   Jatemack - Refined (Light)
   ========================== */

/* Theme */
:root{
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: rgba(17, 24, 39, 0.10);

  --brand: #0d1321;
  --brand2: #2563eb;

  --radius: 14px;
  --shadow: 0 12px 28px rgba(17, 24, 39, 0.10);
  --shadow2: 0 10px 18px rgba(17, 24, 39, 0.08);

  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.6;
  background: radial-gradient(900px 400px at 20% 0%, rgba(37,99,235,0.08), transparent 60%),
              radial-gradient(900px 450px at 90% 10%, rgba(13,19,33,0.06), transparent 55%),
              var(--bg);
  color: var(--text);
}

/* Links */
a{
  color: var(--brand2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover{ text-decoration-thickness: 2px; }

/* Layout */
.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Accessibility */
.skip-link{
  position:absolute;
  left:-999px; top:auto;
  width:1px; height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}

/* ==========================
   Header / Nav
   ========================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,248,251,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand-link{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
}

.brand-mark{
  width: 38px;
  height: 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(13,19,33,0.14));
  border: 1px solid rgba(37,99,235,0.20);
  font-weight: 800;
  letter-spacing: .4px;
}

.brand-name{
  font-weight: 850;
  letter-spacing: -0.2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  color: rgba(17,24,39,0.80);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(17,24,39,0.05);
  color: rgba(17,24,39,0.95);
}

/* ==========================
   Buttons
   ========================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.22);
  background: rgba(37,99,235,0.10);
  color: rgba(17,24,39,0.95);
  font-weight: 750;
  text-decoration:none;
  box-shadow: var(--shadow2);
}

.btn:hover{
  background: rgba(37,99,235,0.14);
  border-color: rgba(37,99,235,0.32);
}

.btn--ghost{
  background: transparent;
  border-color: rgba(17,24,39,0.14);
  color: rgba(17,24,39,0.88);
}
.btn--ghost:hover{
  background: rgba(17,24,39,0.05);
}

.btn--small{
  padding: 9px 12px;
  font-size: .95rem;
}

.btn--inverted{
  background: var(--brand);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
.btn--inverted:hover{
  background: #0a0f1a;
}

/* ==========================
   Hero
   ========================== */

.hero{
  padding: 70px 0 26px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.hero h1{
  font-size: clamp(2.0rem, 4vw, 3.0rem);
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.7px;
}

.lead{
  font-size: 1.12rem;
  color: rgba(17,24,39,0.75);
  margin: 0 0 16px;
  max-width: 60ch;
}

.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 18px;
}

.trust{
  margin: 16px 0 0;
  padding-left: 18px;
  color: rgba(17,24,39,0.70);
}

.hero-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.eyebrow{
  font-size: .88rem;
  color: rgba(37,99,235,0.95);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 2px 0 10px;
}

.checklist{
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li{
  padding: 10px 0;
  border-top: 1px dashed rgba(17,24,39,0.12);
}
.checklist li:first-child{ border-top: 0; }
.checklist li::before{
  content:"✓";
  color: rgba(37,99,235,0.95);
  margin-right: 10px;
  font-weight: 900;
}

.tiny{ font-size:.92rem; color: rgba(17,24,39,0.62); }
.muted{ color: rgba(17,24,39,0.65); }

/* ==========================
   Sections / Cards
   ========================== */

.section{
  padding: 56px 0;
}

.section--muted{
  background: rgba(17,24,39,0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section-head h2{
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.3px;
}

.section-head p{
  margin: 0;
  color: rgba(17,24,39,0.65);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3{
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 1.2rem;
  letter-spacing: -0.2px;
}

.card p{
  margin: 0 0 14px;
  color: rgba(17,24,39,0.74);
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,24,39,0.65);
}

.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}

.now{
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.65);
}

.panel{
  border-radius: 18px;
  border: 1px solid rgba(37,99,235,0.18);
  background: rgba(37,99,235,0.06);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.panel h3{ margin: 0 0 10px; }
.panel p{ margin: 0 0 14px; color: rgba(17,24,39,0.72); }

/* ==========================
   Working-with link cards
   ========================== */

.links-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.link-card{
  display:block;
  text-decoration:none;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.link-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,0.22);
}

.link-title{
  display:block;
  font-weight: 850;
  color: var(--brand);
  margin-bottom: 6px;
}

.link-desc{
  display:block;
  color: rgba(17,24,39,0.70);
  font-size: .98rem;
}

.center-cta{
  margin-top: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  text-align:center;
}

/* ==========================
   CTA + Footer
   ========================== */

.cta{
  padding: 50px 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(900px 400px at 30% 0%, rgba(37,99,235,0.10), transparent 60%),
              radial-gradient(900px 400px at 80% 30%, rgba(13,19,33,0.07), transparent 60%);
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta h2{
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.cta p{
  margin: 0;
  color: rgba(17,24,39,0.72);
  max-width: 70ch;
}

.site-footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(255,255,255,0.75);
}

.footer-inner{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================
   Responsive
   ========================== */

@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .links-grid{ grid-template-columns: 1fr; }
}