:root{
  --ink:#102238;
  --ink-2:#20364f;
  --muted:#667386;
  --accent:#c71919;
  --accent-dark:#a91414;
  --blue:#176eb7;
  --blue-dark:#125c98;
  --bg:#ffffff;
  --soft:#f5f7fa;
  --soft-2:#eef3f8;
  --line:#dce3ea;
  --line-dark:#cbd5df;
  --success:#24633f;
  --danger:#9a2d2d;
  --shadow-sm:0 4px 14px rgba(16,34,56,.06);
  --shadow-md:0 10px 30px rgba(16,34,56,.09);
  --shadow-lg:0 22px 55px rgba(16,34,56,.13);
  --radius-sm:8px;
  --radius-md:12px;
  --radius-lg:16px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;display:block}

a{color:inherit}

.wrap{
  width:min(1180px,92%);
  margin:auto;
}

.narrow{
  width:min(820px,92%);
  margin:auto;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 10px rgba(16,34,56,.035);
  backdrop-filter:blur(12px);
}

.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-weight:850;
  letter-spacing:-.03em;
  white-space:nowrap;
}

.brand:hover{color:var(--ink)}

.main-nav,
.nav nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.main-nav a,
.nav nav a{
  text-decoration:none;
}

.main-nav .nav-link,
.nav nav > a:not(.nav-cta):not(.btn){
  position:relative;
  color:#344355;
  font-size:.95rem;
  font-weight:650;
  padding:9px 0;
  transition:color .18s ease;
}

.main-nav .nav-link::after,
.nav nav > a:not(.nav-cta):not(.btn)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:2px;
  background:var(--blue);
  border-radius:2px;
  transition:width .18s ease;
}

.main-nav .nav-link:hover,
.nav nav > a:not(.nav-cta):not(.btn):hover{
  color:var(--blue);
}

.main-nav .nav-link:hover::after,
.nav nav > a:not(.nav-cta):not(.btn):hover::after{
  width:100%;
}

.main-nav .nav-cta,
.nav nav .nav-cta{
  position:relative;
  display:inline-block;
  min-height:auto;
  padding:9px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#344355;
  font-size:.95rem;
  font-weight:650;
  box-shadow:none;
  transition:color .18s ease;
}

.main-nav .nav-cta::after,
.nav nav .nav-cta::after{
  content:"";
  position:absolute;
  left:0;
  bottom:2px;
  width:0;
  height:2px;
  background:var(--blue);
  border-radius:2px;
  transition:width .18s ease;
}

.main-nav .nav-cta:hover,
.nav nav .nav-cta:hover{
  background:transparent;
  color:var(--blue);
  border-color:transparent;
  transform:none;
  box-shadow:none;
}

.main-nav .nav-cta:hover::after,
.nav nav .nav-cta:hover::after{
  width:100%;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.76rem;
  font-weight:850;
  color:var(--blue);
}

h1,h2,h3,h4{
  color:var(--ink);
  margin-top:0;
}

h1{
  font-size:clamp(3rem,7vw,6.4rem);
  line-height:.94;
  letter-spacing:-.045em;
  margin:.24em 0;
}

h2{
  font-size:clamp(1.8rem,3.4vw,2.9rem);
  line-height:1.14;
  letter-spacing:-.025em;
}

h3{
  font-size:1.35rem;
  line-height:1.25;
}

p{margin:0 0 1.15em}

.lead{
  font-size:1.18rem;
  color:var(--muted);
  max-width:760px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding:74px 0 56px;
  background:
    radial-gradient(circle at 80% 15%,rgba(23,110,183,.055),transparent 30%),
    linear-gradient(180deg,#fff 0%,#fbfcfd 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:72px;
  align-items:center;
}

.hero h1 span{color:var(--accent)}

.cover-card{
  display:flex;
  justify-content:center;
}

.cover-card img{
  width:100%;
  max-height:690px;
  object-fit:contain;
  filter:drop-shadow(0 26px 34px rgba(16,34,56,.16));
}

.hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

/* =========================================================
   BUTTONS / LINKS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 20px;
  border:0;
  border-radius:8px;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(16,34,56,.12);
}

.btn.small{
  min-height:38px;
  padding:0 14px;
  font-size:.88rem;
}

.btn-primary{
  background:var(--blue);
}

.btn-primary:hover{
  background:var(--blue-dark);
}

.text-link{
  color:var(--blue);
  font-weight:750;
  text-decoration:none;
}

.text-link:hover{text-decoration:underline}

/* =========================================================
   SECTIONS / CARDS
   ========================================================= */

.section{
  padding:76px 0;
}

.muted{
  background:var(--soft);
}

.section-head{
  max-width:780px;
  margin-bottom:36px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.cards article,
.quote,
.post-card{
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.cards article{
  padding:26px;
  box-shadow:var(--shadow-sm);
}

.cards article:hover{
  border-color:#cfd8e2;
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
  transition:.18s ease;
}

.split,
.signup{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:start;
}

.quote{
  padding:28px;
  font-size:1.48rem;
  line-height:1.45;
  font-weight:750;
  box-shadow:var(--shadow-sm);
  border-left:4px solid var(--blue);
}

/* =========================================================
   FORMS
   ========================================================= */

.signup-form,
.editor-form{
  display:grid;
  gap:14px;
}

.signup-form input,
.editor-form input,
.editor-form textarea,
.editor-form select{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfd8e2;
  border-radius:8px;
  background:#fff;
  font:inherit;
  color:var(--ink);
  outline:none;
  transition:.18s ease;
}

.signup-form input:focus,
.editor-form input:focus,
.editor-form textarea:focus,
.editor-form select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(23,110,183,.10);
}

.editor-form label{
  display:grid;
  gap:6px;
  font-weight:700;
}

.check{
  font-size:.9rem;
  color:var(--muted);
}

.check input{
  width:auto;
}

/* =========================================================
   BLOG LIST
   ========================================================= */

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

.post-card{
  padding:0;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:.18s ease;
}

.post-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
}

.post-card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.post-body{
  padding:22px;
}

.post-body h2{
  font-size:1.45rem;
  margin:.35em 0 .55em;
}

.post-body h2 a{
  color:var(--ink);
  text-decoration:none;
}

.post-body h2 a:hover{
  color:var(--blue);
}

/* =========================================================
   ARTICLE
   ========================================================= */

.article{
  padding:72px 0 82px;
}

.article h1{
  font-size:clamp(2.7rem,5vw,4.8rem);
  line-height:1.03;
}

.article-meta{
  color:var(--muted);
}

.article-cover{
  width:100%;
  margin:28px 0 38px;
  border-radius:12px;
  box-shadow:var(--shadow-sm);
}

.article-copy{
  font-size:1.08rem;
  line-height:1.8;
  color:#27384a;
}

.article-copy h2{
  margin-top:1.9em;
}

.article-copy h3{
  margin-top:1.6em;
}

.article-copy blockquote{
  margin:2em 0;
  padding:8px 0 8px 22px;
  border-left:4px solid var(--blue);
  color:#38495a;
  font-size:1.18rem;
}

.article-copy img{
  margin:28px auto;
  border-radius:10px;
}

.share{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  margin-top:40px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

/* =========================================================
   ADMIN
   ========================================================= */

.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
}

.admin-table th,
.admin-table td{
  text-align:left;
  border-bottom:1px solid var(--line);
  padding:12px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
  border-top:1px solid var(--line);
  padding:34px 0;
  color:var(--muted);
  background:#fff;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:20px;
}




/* =========================================================
   SIMPLE FEEDBACK FORM — CONTACT PAGE STYLE
   Add at the END of style.css
   ========================================================= */

.feedback-page-head{
    margin-bottom:22px;
}

.feedback-page-head h1{
    margin:7px 0 10px;
    font-size:clamp(2.4rem,5vw,3.8rem);
    line-height:1.02;
    letter-spacing:-.04em;
}

.feedback-page-head .lead{
    max-width:720px;
}

.feedback-book-note{
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:5px 10px;
    margin-bottom:22px;
    padding:13px 15px;
    border-left:3px solid var(--blue);
    background:#f7f9fb;
    border-radius:0 8px 8px 0;
}

.feedback-book-note strong{
    color:var(--ink);
}

.feedback-book-note span,
.feedback-book-note small{
    color:var(--muted);
}

.feedback-form-card{
    max-width:none !important;
    display:grid !important;
    gap:17px !important;
    padding:26px !important;
    background:#fff !important;
    border:1px solid var(--line) !important;
    border-radius:14px !important;
    box-shadow:0 8px 24px rgba(15,23,42,.05) !important;
}

.feedback-form-card label{
    display:grid !important;
    gap:7px !important;
    margin:0 !important;
    color:#334155 !important;
    font-size:.9rem !important;
    font-weight:650 !important;
}

.feedback-form-card input,
.feedback-form-card select,
.feedback-form-card textarea{
    width:100% !important;
    margin:0 !important;
    border:1px solid #cbd5e1 !important;
    border-radius:10px !important;
    padding:11px 12px !important;
    background:#fff !important;
    color:#0f172a !important;
    font:inherit !important;
    box-sizing:border-box !important;
    outline:none !important;
}

.feedback-form-card input,
.feedback-form-card select{
    min-height:45px;
}

.feedback-form-card textarea{
    min-height:165px;
    resize:vertical;
    line-height:1.6;
}

.feedback-form-card input:focus,
.feedback-form-card select:focus,
.feedback-form-card textarea:focus{
    border-color:var(--blue) !important;
    box-shadow:0 0 0 3px rgba(23,110,183,.09) !important;
}

.feedback-name-row{
    display:grid !important;
    grid-template-columns:140px minmax(0,1fr) !important;
    gap:16px !important;
}

.feedback-two-col{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
}

.feedback-hint{
    color:var(--muted);
    font-size:.78rem;
    font-weight:400;
}

.required-mark{
    color:#b42318;
}

.feedback-consent-row{
    display:grid !important;
    grid-template-columns:20px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:start !important;
    padding:13px 14px !important;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:9px;
    font-weight:500 !important;
}

.feedback-consent-row input{
    width:16px !important;
    height:16px !important;
    min-height:16px !important;
    padding:0 !important;
    margin:4px 0 0 !important;
    box-shadow:none !important;
}

.feedback-consent-row span{
    color:#526173;
    font-size:.84rem;
    line-height:1.55;
}

.feedback-form-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding-top:4px;
}

.feedback-form-footer > span{
    max-width:540px;
    color:var(--muted);
    font-size:.78rem;
    line-height:1.45;
}

.feedback-honeypot{
    position:absolute !important;
    left:-99999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
}

@media(max-width:680px){
    .feedback-form-card{
        padding:20px !important;
    }

    .feedback-name-row,
    .feedback-two-col{
        grid-template-columns:1fr !important;
    }

    .feedback-form-footer{
        flex-direction:column;
        align-items:stretch;
    }

    .feedback-form-footer .btn{
        width:100%;
    }
}
