:root{
    --primary:#1e5a78;
    --accent:#2fa4c7;
    --text:#1a1a1a;
    --muted:#4a4a4a;
    --rule:#d9e3ea;
  }
  *{box-sizing:border-box;}
  html,body{height:100%;}
  body{
    margin:0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color:var(--text);
    background:#f5f7fa;
  }
  .page{
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background:#fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    position:relative;
  }
  .topbar{
    background:var(--primary);
    color:#fff;
    padding:24px 28px 18px;
  }
  .name{
    font-size:28px;
    font-weight:800;
    letter-spacing:.6px;
  }
  .subtitle{
    opacity:.85;
    margin-top:2px;
    font-weight:600;
    letter-spacing:.3px;
  }
  .contact{
    margin-top:10px;
    display:flex;
    flex-wrap:wrap;
    gap:14px 22px;
    font-size:12.5px;
    opacity:.95;
  }
  .section{
    padding:16px 28px;
    border-bottom:1px solid var(--rule);
  }
  .section:last-of-type{border-bottom:none;}
  .heading{
    color:var(--accent);
    font-weight:800;
    font-size:13.5px;
    letter-spacing:.6px;
    text-transform:uppercase;
    margin-bottom:10px;
  }
  .summary{
    font-size:13.5px;
    color:var(--muted);
    line-height:1.5;
  }
  .skills{
    display:grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap:6px 24px;
    font-size:13.5px;
  }
  .skills li{
    margin-left:18px;
  }
  .list{
    margin:0;
    padding:0;
    list-style:none;
  }
  .item-title{
    font-weight:700;
    font-size:14px;
  }
  .item-sub{
    font-weight:600;
    font-size:13px;
    margin-top:2px;
  }
  .item-meta{
    font-size:12.5px;
    color:var(--muted);
    margin-top:2px;
  }
  .bullets{
    margin:6px 0 0 18px;
    font-size:13.5px;
  }
  .edu-block{margin-bottom:10px;}
  .personal-grid{
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:13.5px;
  }
  .label{font-weight:700;}
  @media print{
    body{background:#fff; box-shadow:none;}
    .page{box-shadow:none; width: 210mm; min-height: 297mm; margin:0;}
    a{color:inherit; text-decoration:none;}
  }