/* CTN professional visual system: theme-only, no calculation changes. */
:root{--ctn-ink:#101d30;--ctn-champagne:#d5b780;--ctn-teal:#238575;--ctn-surface:#f5f6f7;--ctn-stroke:#dde3e9}
.ctn-home-v2{background:#fff;color:var(--ctn-ink);margin:0!important;line-height:1.7}
.ctn-home-v2 *{box-sizing:border-box}
.ctn-container{width:calc(100% - 48px);max-width:1132px;margin-inline:auto}
.ctn-home-v2 h1,.ctn-home-v2 h2,.ctn-home-v2 h3{font-weight:750;letter-spacing:-.045em;line-height:1.14}
.ctn-home-v2 p{color:#5d6b7c;font-weight:400}
.ctn-home-v2 a{text-decoration:none}
.ctn-home-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 70%,#243c54 0,transparent 54%),#0f1d30;color:#fff;padding:76px 0 68px}
.ctn-home-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:64px 64px}
.ctn-hero-grid{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:64px;align-items:center;position:relative}
.ctn-kicker{display:block;font-size:11px;font-weight:750;line-height:1.5;letter-spacing:.12em;color:#856332}
.ctn-hero-copy>.ctn-kicker{display:flex;align-items:center;gap:9px;color:#dac297;font-size:10px}
.ctn-hero-copy>.ctn-kicker>span{height:6px;width:6px;border-radius:50%;background:#d5b780;box-shadow:0 0 0 4px #d5b78015;flex-shrink:0}
.ctn-home-v2 h1{font-size:clamp(40px,4.3vw,59px);margin:25px 0 24px;color:#fff;letter-spacing:-.055em;line-height:1.1}
.ctn-home-v2 h1 em{font-style:normal;color:#e0c393}
.ctn-hero-copy>p{color:#c5ced9;font-size:17px;line-height:1.8;max-width:540px;margin:0 0 30px}
.ctn-action-row{display:flex;gap:12px;flex-wrap:wrap}
.ctn-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:8px;padding:15px 20px;min-height:52px;font-size:14px;font-weight:750;line-height:1.4;transition:background .2s,box-shadow .2s}
.ctn-action svg,.ctn-text-link svg{width:19px;height:19px;flex-shrink:0}
.ctn-action-gold{background:#d5b780;color:#101d30!important;border:1px solid #d5b780}
.ctn-action-gold:hover{background:#e6cda4;border-color:#e6cda4;box-shadow:0 5px 20px #00000014}
.ctn-action-ghost{background:transparent;border:1px solid #67778a;color:#eef2f6!important}
.ctn-action-ghost:hover{background:#ffffff10;border-color:#a5b0be}
.ctn-hero-notes{display:flex;flex-wrap:wrap;gap:18px;margin-top:24px;font-size:11px;color:#b9c6d4}
.ctn-hero-notes span{display:flex;align-items:center;gap:6px}
.ctn-hero-notes svg{width:15px;height:15px;color:#dac297}
.ctn-example-shell{min-width:0}
.ctn-example{background:#fff;border:1px solid #ffffff80;border-radius:18px;color:#15283d;box-shadow:0 28px 60px #00000025;overflow:hidden}
.ctn-example-head{display:flex;align-items:center;gap:12px;padding:22px 24px;border-bottom:1px solid #e8edf0}
.ctn-line-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#f6f0e5;color:#8c6b36;flex-shrink:0}
.ctn-icon-teal{background:#eaf4f0;color:#267e6d}
.ctn-example-head strong{font-size:14px;display:block;font-weight:750;letter-spacing:-.02em}
.ctn-example-head>div>span{display:block;font-size:9px;letter-spacing:.09em;color:#6b7888;margin-top:4px}
.ctn-example-tag{margin-left:auto;border:1px solid #dee5eb;border-radius:5px;padding:3px 7px;color:#617286;font-size:10px;font-weight:700}
.ctn-example-inputs{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:12px;padding:24px}
.ctn-example-inputs small{font-size:10px;color:#768392;display:block;margin-bottom:5px}
.ctn-example-inputs strong{font-size:15px;font-weight:750;white-space:nowrap}
.ctn-example-inputs strong span{font-size:10px;font-weight:500;color:#758190}
.ctn-example-result{background:#f1f6f4;margin:0 24px;padding:21px 22px;border-radius:10px;border:1px solid #dfece5}
.ctn-example-result>span{display:block;color:#447363;font-size:11px;font-weight:650}
.ctn-example-result>strong{display:block;font-size:40px;line-height:1.25;font-weight:750;letter-spacing:-.035em;margin-top:5px;font-variant-numeric:tabular-nums}
.ctn-example-result strong span{font-size:11px;font-weight:500;letter-spacing:0;color:#6e857b;margin-left:9px}
.ctn-example-breakdown{padding:22px 24px}
.ctn-example-breakdown>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#738093}
.ctn-example-breakdown>div:first-child strong{font-weight:700;color:#24394f;font-size:12px}
.ctn-segment-bar{display:flex;height:10px;border-radius:20px;overflow:hidden;margin:12px 0 14px;background:#ffffff15}
.ctn-segment-bar span{display:block;height:100%;background:#536f91}
.ctn-segment-bar span+span{background:#d5b780}
.ctn-example-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:10px;color:#68798a}
.ctn-example-legend>span{display:grid;grid-template-columns:7px 1fr;column-gap:6px;align-items:center}
.ctn-example-legend i{width:7px;height:7px;background:#536f91;border-radius:2px}
.ctn-example-legend>span+span i{background:#d5b780}
.ctn-example-legend b{grid-column:2;font-size:11px;color:#24394f;font-weight:700}
.ctn-example-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 24px;background:#f7f8fa;border-top:1px solid #e8edf0;color:#233f5d;font-weight:750;font-size:12px}
.ctn-example-link:hover{background:#edf2f6}
.ctn-example-link svg{width:17px;height:17px}
.ctn-example-caption{text-align:center!important;font-size:10px!important;color:#a8b8ca!important;margin:13px 0 0!important}
.ctn-discovery{padding:48px 0 54px;background:#f6f7f8;border-bottom:1px solid #e5e9ed}
.ctn-section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.ctn-home-v2 .ctn-section-heading h2{font-size:clamp(29px,3vw,39px);margin:10px 0 0}
.ctn-section-heading>p{font-size:13px;margin:0 0 3px;max-width:250px}
.ctn-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ctn-category-grid>a{display:flex;flex-direction:column;background:#fff;padding:22px;border:1px solid #dfe5e9;border-radius:12px;color:#162b42;transition:box-shadow .2s,border-color .2s}
.ctn-category-grid>a:hover{box-shadow:0 10px 28px #122c4410;border-color:#afbccb}
.ctn-category-grid strong{font-size:14px;font-weight:750;line-height:1.5;margin:19px 0 7px;letter-spacing:-.02em}
.ctn-category-grid>a>span:not(.ctn-line-icon){font-size:11px;color:#738193;line-height:1.65;flex:1}
.ctn-category-grid small{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-top:13px;border-top:1px solid #edf0f3;font-size:10px;color:#8b6838;font-weight:700}
.ctn-category-grid small svg{width:16px;height:16px}
.ctn-home-tools{padding:72px 0 78px;scroll-margin-top:24px}
.ctn-text-link{display:inline-flex;align-items:center;gap:10px;color:#34556e!important;font-size:13px;font-weight:750}
.ctn-text-link:hover{color:#866132!important}
.ctn-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ctn-feature-card{display:flex;flex-direction:column;padding:27px;border:1px solid #dfe5ea;border-radius:14px;color:#142a43;background:#fff;transition:border-color .2s,box-shadow .2s,transform .2s}
.ctn-feature-card:hover{border-color:#bda278;box-shadow:0 16px 34px #152d4010;transform:translateY(-3px)}
.ctn-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ctn-card-category{font-size:9px;letter-spacing:.09em;color:#788695;font-weight:700}
.ctn-home-v2 .ctn-feature-card h3{font-size:19px;line-height:1.35;letter-spacing:-.03em;margin:25px 0 10px}
.ctn-feature-card>p{font-size:13px;line-height:1.8;margin:0 0 22px;flex:1}
.ctn-card-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f3;padding-top:17px;font-size:12px;font-weight:750;color:#7b5d31}
.ctn-card-link svg{width:18px;height:18px}
.ctn-confidence{background:#f3f5f5;padding:68px 0}
.ctn-confidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.ctn-confidence h2{font-size:39px;margin:15px 0 21px}
.ctn-confidence p{font-size:14px;line-height:1.85}
.ctn-principles article{display:flex;gap:22px;padding:22px 0;border-bottom:1px solid #dae2e5}
.ctn-principles article:last-child{border-bottom:0}
.ctn-principles article>span{font-size:12px;font-weight:750;color:#67877d;margin-top:3px}
.ctn-home-v2 .ctn-principles h3{font-size:17px;letter-spacing:-.02em;margin:0 0 8px}
.ctn-principles p{font-size:13px;margin:0}
.ctn-home-close{padding:52px 0;background:#172a40;color:#fff}
.ctn-home-close>.ctn-container{display:flex;justify-content:space-between;align-items:center;gap:28px}
.ctn-home-close .ctn-kicker{color:#d6bc90}
.ctn-home-close h2{font-size:32px;color:#fff;margin:12px 0}
.ctn-home-close p{color:#b7c5d5;font-size:13px;margin:0}
.ctn-home-close .ctn-action{flex-shrink:0}
.ctn-home-disclaimer{font-size:11px;color:#738093;padding-block:25px;line-height:1.8}
.wp-site-blocks>header .wp-block-group.alignfull{box-shadow:none}
.wp-site-blocks>header .wp-block-navigation-item__content{font-size:13px;font-weight:700}
body:not(.home) .wp-site-blocks>main .wp-block-post-title{background:radial-gradient(ellipse at 90% 20%,#253c52,transparent 60%),#0f1d30;font-size:clamp(32px,3.6vw,48px)!important;letter-spacing:-.035em;padding-top:44px!important;padding-bottom:44px!important}
body:not(.home) .wp-site-blocks>main .wp-block-post-title:after{width:36px;margin-top:20px;height:2px}
body:not(.home) .wp-site-blocks>main .wp-block-post-content>p:first-child{font-size:16px;line-height:1.85}
.ctn-engine .ctn-card{border-radius:14px!important;box-shadow:0 12px 36px #142b4010;padding:30px!important}
.ctn-engine .ctn-card:nth-child(2){background:radial-gradient(ellipse at 100% 0,#2c465f,transparent 65%),#12263d;border-color:#29425c;box-shadow:0 14px 36px #10233818}
.ctn-engine .ctn-card:nth-child(2)>div:first-child{font-size:11px;letter-spacing:.08em;color:#c6d2df}
.ctn-engine .ctn-result{font-size:clamp(30px,3.4vw,44px)!important;color:#e1c494;line-height:1.22}
.ctn-engine .ctn-card label{font-size:13px;color:#45596d}
.ctn-engine .ctn-card input,.ctn-engine .ctn-card select{background:#f7f9fa!important;border-color:#d7e0e7!important;border-radius:8px!important;min-height:50px!important}
.ctn-engine .ctn-button{background:#d5b780;color:#152a41;border-color:#c1a26c;box-shadow:none;border-radius:8px!important}
.ctn-engine .ctn-button:hover{background:#e4c899}
.ctn-engine .ctn-summary{font-size:13px;line-height:2.1;border-top:1px solid #ffffff20;padding-top:17px}
.ctn-engine .ctn-summary b{font-variant-numeric:tabular-nums}
.ctn-engine .ctn-insight{font-size:13px;border-left-width:2px;background:#ffffff08;border-radius:0 8px 8px 0;padding:14px!important;line-height:1.8}
.ctn-engine .ctn-note{font-size:12px;line-height:1.75;color:#586c80}
.ctn-result-hint{color:#acbfd0;font-size:13px;line-height:1.75;margin:0 0 16px}
.ctn-result-hint[hidden],.ctn-visual-breakdown[hidden]{display:none!important}
.ctn-visual-breakdown{margin-top:24px;border-top:1px solid #ffffff20;padding-top:19px}
.ctn-breakdown-heading{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#b8c9d9;font-weight:650}
.ctn-visual-breakdown .ctn-segment-bar{height:8px;margin:13px 0}
.ctn-visual-breakdown .ctn-segment-bar span:first-child{background:#8ab8ad}
.ctn-breakdown-legend{display:flex;gap:20px;justify-content:space-between;font-size:11px;color:#bed0df}
.ctn-breakdown-legend>span{min-width:0}
.ctn-breakdown-legend i{display:inline-block;width:6px;height:6px;border-radius:2px;background:#8ab8ad;margin-right:5px}
.ctn-breakdown-legend>span+span i{background:#d5b780}
.ctn-breakdown-legend strong{display:block;color:#edf4f9;font-size:12px;font-weight:700;margin-top:4px;font-variant-numeric:tabular-nums}
body.page-id-64 .wp-block-post-content>ul.wp-block-list li a{border-radius:10px;min-height:82px;padding:20px 45px 20px 20px;font-size:14px;box-shadow:0 4px 15px #142b4005}
body.page-id-64 .wp-block-post-content>h2{font-size:26px!important;scroll-margin-top:25px}
body.page-id-3 .wp-block-post-content>h2:first-child,body.page-id-44 .wp-block-post-content>h2:first-child{display:none}
body.page-id-46 .wp-block-post-content>p>a[href^="mailto:"]{display:inline-flex;background:#142b44;color:#fff!important;padding:13px 17px;border-radius:8px;font-size:14px;text-decoration:none;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}
.wp-site-blocks>footer .wp-block-group.alignfull{background:#0e1d30!important;border-top:1px solid #2b3c51}
.wp-site-blocks>footer h2,.wp-site-blocks>footer h3{color:#f0d39e;font-size:14px;font-weight:750;line-height:1.3;margin-top:0;margin-bottom:14px;letter-spacing:normal}
.wp-site-blocks>footer p{font-size:12px}
.wp-site-blocks>footer .wp-block-columns{gap:60px}
.wp-site-blocks>footer a{color:#c8d6e5}
@media(max-width:1000px){
.ctn-hero-grid{gap:32px;grid-template-columns:1.05fr 1fr}
.ctn-home-v2 h1{font-size:45px}
.ctn-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ctn-confidence-grid{gap:50px}
.ctn-example-inputs{gap:8px;padding:20px}
.ctn-example-inputs strong{font-size:13px}
.ctn-example-result{margin-inline:20px}
}
@media(max-width:780px){
.ctn-home-hero{padding:52px 0 42px}
.ctn-hero-grid{grid-template-columns:minmax(0,1fr);gap:36px}
.ctn-hero-copy{max-width:590px}
.ctn-example-shell{max-width:480px;width:100%;justify-self:center}
.ctn-home-v2 h1{font-size:clamp(38px,7vw,52px)}
.ctn-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ctn-confidence-grid{grid-template-columns:minmax(0,1fr);gap:28px}
.ctn-confidence h2{font-size:34px}
.ctn-home-close>.ctn-container{align-items:flex-start;flex-direction:column}
.ctn-section-heading{align-items:flex-start;flex-direction:column;gap:15px}
.ctn-home-tools{padding:48px 0}
.ctn-confidence{padding:46px 0}
.ctn-engine .ctn-card{padding:24px!important}
.wp-site-blocks>footer .wp-block-columns{gap:28px}
}
@media(max-width:520px){
.ctn-container{width:calc(100% - 36px)}
.ctn-home-hero{padding:38px 0 36px}
.ctn-hero-copy>.ctn-kicker{font-size:9px;letter-spacing:.08em}
.ctn-home-v2 h1{font-size:clamp(35px,9.3vw,46px);letter-spacing:-.045em}
.ctn-hero-copy>p{font-size:15px}
.ctn-action-row{flex-direction:column}
.ctn-action{width:100%}
.ctn-hero-notes{gap:12px;font-size:10px}
.ctn-category-grid{grid-template-columns:minmax(0,1fr);gap:12px}
.ctn-category-grid>a{padding:20px}
.ctn-category-grid strong{margin-top:13px;font-size:16px}
.ctn-category-grid>a>span:not(.ctn-line-icon){font-size:13px}
.ctn-feature-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.ctn-feature-card{padding:24px}
.ctn-example-head{padding:19px 18px}
.ctn-example-head strong{font-size:13px}
.ctn-example-inputs{padding:18px;grid-template-columns:1.35fr 1fr .7fr}
.ctn-example-inputs strong{font-size:12px}
.ctn-example-inputs strong span{font-size:9px}
.ctn-example-result{margin-inline:18px;padding:18px}
.ctn-example-result>strong{font-size:35px}
.ctn-example-breakdown{padding:20px 18px}
.ctn-example-legend{gap:14px}
.ctn-example-link{padding-inline:18px}
.ctn-discovery{padding:36px 0}
.ctn-home-close h2{font-size:28px}
.ctn-home-close{padding:38px 0}
.ctn-breakdown-legend{gap:12px;font-size:10px}
.ctn-engine .ctn-card{padding:22px!important}
.ctn-engine .ctn-result{font-size:32px!important}
}
/* Readability and touch refinements after mobile accessibility review. */
.ctn-example-inputs small,.ctn-example-inputs strong span,.ctn-example-breakdown>div:first-child,.ctn-example-legend,.ctn-card-category,.ctn-category-grid>a>span:not(.ctn-line-icon),.ctn-home-disclaimer{color:#5c6d7f}
.ctn-example-result strong span{color:#506b60}
.ctn-principles article>span{color:#486b60}
.ctn-home-v2 a:focus-visible{outline:3px solid #238575;outline-offset:4px}
.ctn-home-hero a:focus-visible,.ctn-home-close a:focus-visible{outline-color:#f0d39e}
@media(max-width:780px){
.ctn-engine .ctn-card input,.ctn-engine .ctn-card select{font-size:16px!important;max-width:100%;box-sizing:border-box}
.ctn-engine .ctn-card{min-width:0}
.ctn-hero-notes,.ctn-example-caption{font-size:12px!important}
.ctn-card-category{font-size:11px}
.ctn-feature-card>p,.ctn-section-heading>p,.ctn-confidence p,.ctn-home-close p{font-size:14px}
.ctn-example-inputs small,.ctn-example-head>div>span,.ctn-example-tag,.ctn-example-inputs strong span,.ctn-example-result strong span,.ctn-example-legend,.ctn-category-grid small{font-size:12px}
.ctn-example-inputs strong span{display:block}
.ctn-example-inputs strong{white-space:normal}
.ctn-home-disclaimer{font-size:12px}
.wp-site-blocks>footer a{min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
.ctn-breakdown-legend{font-size:12px}
}
@media(max-width:520px){
.ctn-example-result strong span{display:inline}
.ctn-example-inputs{grid-template-columns:1.3fr 1fr .8fr;gap:7px}
.ctn-example-legend b,.ctn-example-breakdown>div:first-child,.ctn-example-head strong{font-size:12px}
.ctn-home-v2 h2,.ctn-home-v2 h3,.ctn-engine .ctn-result{overflow-wrap:break-word}
.ctn-breakdown-legend{font-size:12px;flex-wrap:wrap}
}
/* Unified typography for homepage category and calculator cards. */
.ctn-category-grid strong,.ctn-home-v2 .ctn-feature-card h3{font-size:18px;line-height:1.4;letter-spacing:-.025em;font-weight:750}
.ctn-category-grid strong{min-height:2.8em;display:block}
.ctn-category-grid>a>span:not(.ctn-line-icon),.ctn-feature-card>p{font-size:14px;line-height:1.8}
.ctn-category-grid small,.ctn-card-category{font-size:12px}
@media(max-width:520px){.ctn-category-grid strong{min-height:0}}
/* Precision vector identity and compact header lockup. */
.wp-site-blocks>header .wp-block-site-title a:before{content:"";background:transparent url("../images/ctn-precision.svg") center/contain no-repeat;box-shadow:none;border-radius:0;flex:0 0 82px;width:82px;height:32px}
.wp-site-blocks>header .wp-block-site-title{font-size:20px!important}
.wp-site-blocks>header .wp-block-site-title a{gap:14px}
@media(max-width:560px){
.wp-site-blocks>header .wp-block-site-title{font-size:15px!important;max-width:245px}
.wp-site-blocks>header .wp-block-site-title a{gap:10px}
.wp-site-blocks>header .wp-block-site-title a:before{flex-basis:66px;width:66px;height:26px}
}
/* Footer identity, readable navigation and clear operator attribution. */
.wp-site-blocks>footer .wp-block-column:first-child>h2:before{content:"";display:block;width:96px;height:32px;margin-bottom:17px;background:url("../images/ctn-precision-light.svg") left center/contain no-repeat}
.wp-site-blocks>footer h2{font-size:16px;line-height:1.4}
.wp-site-blocks>footer p{font-size:14px;line-height:1.85}
.wp-site-blocks>footer .wp-block-column:first-child>p{max-width:330px}
.wp-site-blocks>footer .has-small-font-size{font-size:12px!important}
@media(max-width:780px){.wp-site-blocks>footer .wp-block-columns{gap:30px}}
@media(prefers-reduced-motion:reduce){.ctn-home-v2 a{transition:none;transform:none!important}}
