

:root{
  --nti-navy:#0F3D86;
  --nti-navy-deep:#0A2A5E;
  --nti-green:#1E7A3B;
  --nti-green-soft:#E7F2EA;
  --nti-sky:#EEF4FB;
  --nti-ink:#18263A;
  --nti-muted:#55657A;
  --nti-line:#D9E3EF;
  --nti-gold:#F2A33A;
  --nti-white:#FFFFFF;
  --nti-font:"Lexend",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --nti-script-font:"Caveat","Segoe Script","Bradley Hand",cursive;
  --nti-radius:14px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--nti-font);font-size:17px;line-height:1.7;color:var(--nti-ink);background:var(--nti-white);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--nti-navy);text-underline-offset:3px}
a:hover{color:var(--nti-green)}
:focus-visible{outline:3px solid var(--nti-gold);outline-offset:3px;border-radius:4px}
h1,h2,h3,h4{font-family:var(--nti-font);color:var(--nti-navy);line-height:1.2;margin:0 0 .6em;letter-spacing:-.015em}
h1{font-size:clamp(2rem,4.2vw,3.2rem);font-weight:700}
h2{font-size:clamp(1.45rem,2.6vw,1.9rem);font-weight:600;margin-top:1.6em}
h2:first-child{margin-top:0}
h3{font-size:1.25rem;font-weight:600}
p{margin:0 0 1.1em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:999;background:#fff;padding:10px 16px;clip:auto;width:auto;height:auto}

/* Layout */
.nti-wrap{max-width:1180px;margin:0 auto;padding:0 22px}
.nti-narrow{max-width:780px}
.nti-section{padding:72px 0}
.nti-section--tint{background:var(--nti-sky)}
.nti-split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start}
.nti-split--reverse{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.nti-split figure,.nti-hero__img{margin:0}
.nti-split figure img,.nti-hero__img img{border-radius:var(--nti-radius);box-shadow:0 18px 40px -18px rgba(15,61,134,.45);margin:0 auto}
.nti-split figure{position:sticky;top:110px}

/* Hero */
.nti-hero,.nti-page-hero{background:linear-gradient(180deg,var(--nti-sky) 0%,#fff 100%);padding:64px 0 56px}
.nti-hero__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:center}
.nti-lead{font-size:1.15rem;color:var(--nti-muted);max-width:62ch}
.nti-page-hero .nti-narrow h1{max-width:20ch}

/* Signature: handwritten tagline with brush underline */
.nti-script{font-family:var(--nti-script-font);font-size:2.1rem;line-height:1.1;color:var(--nti-green);margin:.1em 0 .7em;display:inline-block;padding-bottom:12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 70 2, 160 2, 297 7' stroke='%231E7A3B' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") left bottom/100% 12px no-repeat}
.nti-script--light{color:#9FE0B2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 70 2, 160 2, 297 7' stroke='%239FE0B2' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")}

/* Buttons */
.nti-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.nti-btn{display:inline-block;padding:13px 24px;border-radius:10px;font-weight:600;text-decoration:none;border:2px solid transparent;transition:background-color .2s,color .2s}
.nti-btn--green{background:var(--nti-green);color:#fff}
.nti-btn--green:hover{background:#155E2C;color:#fff}
.nti-btn--outline{border-color:var(--nti-navy);color:var(--nti-navy)}
.nti-btn--outline:hover{background:var(--nti-navy);color:#fff}
.nti-btn--light{background:#fff;color:var(--nti-navy)}
.nti-btn--light:hover{background:var(--nti-green-soft);color:var(--nti-navy)}

/* Highlight strip (as in the brand graphic's navy band) */
.nti-strip{background:var(--nti-navy);color:#fff;padding:26px 0}
.nti-strip__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.nti-strip__grid>div{padding:6px 22px;border-left:1px solid rgba(255,255,255,.22)}
.nti-strip__grid>div:first-child{border-left:0}
.nti-strip strong{display:block;font-size:1.05rem}
.nti-strip span{font-size:.92rem;color:#C9D7EE;line-height:1.45;display:block}

/* Numbered steps: only for real sequences */
.nti-steps{list-style:none;counter-reset:nti;padding:0;margin:0 0 1.4em}
.nti-steps li{counter-increment:nti;position:relative;padding:0 0 18px 64px;min-height:48px}
.nti-steps li::before{content:counter(nti);position:absolute;left:0;top:-2px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:var(--nti-green)}
.nti-steps li:nth-child(6n+2)::before{background:#1F63C6}
.nti-steps li:nth-child(6n+3)::before{background:#5B3BA6}
.nti-steps li:nth-child(6n+4)::before{background:#E68A1E}
.nti-steps li:nth-child(6n+5)::before{background:#0F8A8A}
.nti-steps li:nth-child(6n+6)::before{background:var(--nti-navy)}
.nti-steps li strong{color:var(--nti-navy)}

/* Checklists */
.nti-checks{list-style:none;padding:0;margin:0 0 1.4em}
.nti-checks li{position:relative;padding:0 0 12px 36px}
.nti-checks li::before{content:"";position:absolute;left:0;top:4px;width:22px;height:22px;border-radius:50%;background:var(--nti-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}

/* FAQ */
.nti-faq details{border-bottom:1px solid var(--nti-line);padding:4px 0}
.nti-faq summary{cursor:pointer;list-style:none;font-weight:600;color:var(--nti-navy);padding:14px 40px 14px 0;position:relative}
.nti-faq summary::-webkit-details-marker{display:none}
.nti-faq summary::after{content:"+";position:absolute;right:6px;top:8px;font-size:1.6rem;color:var(--nti-green);transition:transform .2s}
.nti-faq details[open] summary::after{transform:rotate(45deg)}
.nti-faq details p{margin:0 0 16px;color:var(--nti-muted)}

/* Table */
.nti-table-wrap{overflow-x:auto;margin:0 0 1.4em}
.nti-table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--nti-radius);overflow:hidden;font-size:.96rem}
.nti-table th{background:var(--nti-navy);color:#fff;text-align:left;padding:12px 14px}
.nti-table td{padding:12px 14px;border-top:1px solid var(--nti-line)}

.nti-note{font-size:.92rem;color:var(--nti-muted);background:#fff;border-left:4px solid var(--nti-green);padding:14px 18px;border-radius:0 10px 10px 0}

/* CTA band with brush-cut top edge */
.nti-cta{background:var(--nti-navy);color:#fff;padding:96px 0 72px;clip-path:polygon(0 18px,8% 4px,22% 16px,38% 2px,55% 14px,72% 0,88% 12px,100% 3px,100% 100%,0 100%)}
.nti-cta h2{color:#fff;margin-top:0}
.nti-cta p{color:#DCE6F5}
.nti-cta__grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:48px;align-items:center}
.nti-cta figure{margin:0}
.nti-cta figure img{border-radius:var(--nti-radius);max-height:420px;object-fit:cover}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--nti-line)}
.admin-bar .site-header{top:32px}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px}
.site-brand{white-space:nowrap;display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--nti-navy);font-weight:700;font-size:1.25rem;letter-spacing:-.02em}
.site-brand svg{width:34px;height:34px;flex:none}
.site-brand .custom-logo{max-height:52px;width:auto}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;align-items:center}
.main-nav a{display:block;white-space:nowrap;padding:10px 12px;text-decoration:none;color:var(--nti-ink);font-weight:500;font-size:.95rem;border-radius:8px}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--nti-green);background:var(--nti-green-soft)}
.main-nav .sub-menu{display:none}
.header-cta{white-space:nowrap;padding:10px 18px}
.nav-toggle{display:none;background:none;border:2px solid var(--nti-navy);border-radius:8px;padding:8px 12px;color:var(--nti-navy);font:600 .95rem var(--nti-font);cursor:pointer}

/* Posts */
.nti-content{padding:56px 0 72px}
.nti-content .entry-content>*{max-width:780px}
.nti-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:28px}
.nti-post-card{border:1px solid var(--nti-line);border-radius:var(--nti-radius);overflow:hidden;background:#fff}
.nti-post-card__body{padding:20px 22px}
.nti-post-card h2{font-size:1.2rem;margin:0 0 .4em}
.nti-post-card h2 a{text-decoration:none}
.nti-meta{font-size:.88rem;color:var(--nti-muted)}
.pagination{margin-top:40px}
.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.pagination .page-numbers{padding:8px 14px;border:1px solid var(--nti-line);border-radius:8px;text-decoration:none}
.pagination .current{background:var(--nti-navy);color:#fff;border-color:var(--nti-navy)}

/* Contact form */
.nti-form label{display:block;font-weight:600;margin:0 0 6px;color:var(--nti-navy)}
.nti-form input,.nti-form textarea{width:100%;padding:12px 14px;border:1.5px solid var(--nti-line);border-radius:10px;font:inherit;margin-bottom:16px;background:#fff}
.nti-form input:focus,.nti-form textarea:focus{border-color:var(--nti-navy);outline:none;box-shadow:0 0 0 3px rgba(15,61,134,.15)}
.nti-form button{border:0;cursor:pointer;font:inherit}
.nti-form .nti-hp{position:absolute;left:-9999px}
.nti-alert{padding:14px 18px;border-radius:10px;margin-bottom:18px}
.nti-alert--ok{background:var(--nti-green-soft);color:#14532A}
.nti-alert--err{background:#FDECEC;color:#8A1F1F}

/* Footer */
.site-footer{background:var(--nti-navy-deep);color:#C9D7EE;padding:64px 0 28px;font-size:.95rem}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{color:#9FE0B2}
.site-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.site-footer h3{color:#fff;font-size:1.05rem;margin-bottom:14px}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:8px}
.site-footer__brand{font-family:var(--nti-script-font);font-size:1.7rem;color:#9FE0B2;margin-bottom:8px}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:44px;padding-top:22px;font-size:.85rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* Elementor compatibility */
.elementor-page .nti-content{padding:0}
.elementor-page .nti-content .entry-content>*{max-width:none}
.elementor-widget-text-editor .nti-section:first-child{margin-top:0}
.page-template-elementor-full-width .site-main,.page-template-elementor_header_footer .site-main{padding:0}

/* Responsive */
@media (max-width:1320px){.header-cta{display:none}}
@media (max-width:1060px){
  .nav-toggle{display:block}
  .main-nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--nti-line);display:none;padding:10px 22px 20px}
  .main-nav.is-open{display:block}
  .main-nav ul{flex-direction:column;align-items:stretch}
}
@media (max-width:980px){
  .nti-hero__grid,.nti-split,.nti-split--reverse,.nti-cta__grid{grid-template-columns:1fr;gap:32px}
  .nti-split--reverse figure{order:-1}
  .nti-split figure{position:static}
  .nti-split figure img,.nti-hero__img img{max-height:460px;width:auto}
  .nti-strip__grid{grid-template-columns:1fr 1fr;gap:18px 0}
  .nti-strip__grid>div:nth-child(3){border-left:0}
  .site-footer__grid{grid-template-columns:1fr 1fr}
  .site-footer__grid>div:first-child{grid-column:1/-1}
}
@media (max-width:600px){
  body{font-size:16px}
  .nti-section{padding:52px 0}
  .nti-hero,.nti-page-hero{padding:40px 0}
  .nti-strip__grid{grid-template-columns:1fr}
  .nti-strip__grid>div{border-left:0;padding:6px 0}
  .site-footer__grid{grid-template-columns:1fr}
  .nti-script{font-size:1.8rem}
  .nti-cta{padding:72px 0 52px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media (max-width:782px){.admin-bar .site-header{top:46px}}

/* Calculators */
.nti-tool{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:28px;background:var(--nti-sky);border:1px solid var(--nti-line);border-radius:var(--nti-radius);padding:26px;margin:0 0 1.6em;max-width:none}
.nti-tool h3{font-size:1.05rem;margin:0 0 12px}
.nti-tool h3:not(:first-child){margin-top:18px}
.nti-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px 16px}
.nti-field label{display:block;font-size:.88rem;font-weight:600;color:var(--nti-navy);margin-bottom:4px;line-height:1.35}
.nti-field input{width:100%;padding:10px 12px;border:1.5px solid var(--nti-line);border-radius:10px;font:inherit;background:#fff;color:var(--nti-ink)}
.nti-field input:focus{border-color:var(--nti-navy);outline:none;box-shadow:0 0 0 3px rgba(15,61,134,.15)}
.nti-field small{display:block;color:var(--nti-muted);font-size:.8rem;margin-top:2px}
.nti-assume{margin-top:18px}
.nti-assume summary{cursor:pointer;font-weight:600;color:var(--nti-green);margin-bottom:12px}
.nti-tool__result{background:#fff;border-radius:12px;padding:20px;align-self:start;position:sticky;top:100px;border-top:5px solid var(--nti-green)}
.nti-result-table{width:100%;border-collapse:collapse;font-size:.95rem}
.nti-result-table th{text-align:left;font-weight:500;padding:8px 0;color:var(--nti-muted)}
.nti-result-table td{text-align:right;padding:8px 0;font-weight:600;color:var(--nti-ink)}
.nti-result-table tr+tr{border-top:1px solid var(--nti-line)}
.nti-result-table .is-total th,.nti-result-table .is-total td{color:var(--nti-navy);font-size:1.05rem;font-weight:700}
.nti-tool__warn{color:#8A1F1F;font-size:.9rem;margin:12px 0 0}
@media (max-width:860px){.nti-tool{grid-template-columns:1fr;padding:18px}.nti-tool__result{position:static}}

/* Guides hub */
.nti-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px 28px;list-style:none;padding:0;margin:0 0 1.6em}
.nti-hub a{display:block;padding:10px 0;border-bottom:1px solid var(--nti-line);text-decoration:none;font-weight:500}

/* Image cards (guides hub, related posts) */
.nti-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;list-style:none;padding:0;margin:0 0 1.6em}
.nti-card a{display:block;height:100%;background:var(--nti-surface,#fff);border:1px solid var(--nti-line);border-radius:var(--nti-radius);overflow:hidden;text-decoration:none;color:var(--nti-navy);font-weight:600;transition:transform .2s,box-shadow .2s}
.nti-card a:hover{transform:translateY(-3px);box-shadow:0 14px 28px -16px rgba(15,61,134,.45);color:var(--nti-green)}
.nti-card img{width:100%;aspect-ratio:1200/630;object-fit:cover}
.nti-card span{display:block;padding:14px 16px 16px;line-height:1.35}
.nti-post-card img{width:100%;aspect-ratio:1200/630;object-fit:cover}
.nti-related{padding:56px 0 72px;background:var(--nti-sky)}
@media (prefers-reduced-motion:reduce){.nti-card a:hover{transform:none}}

.nti-crumbs{font-size:.85rem;color:var(--nti-muted);padding-top:14px;padding-bottom:0}.nti-crumbs a{color:var(--nti-muted)}
.nti-form .nti-alert[hidden]{display:none}
