/* =============================================================================
   CTS Tennis — marketing site shared styles
   Confident modern SaaS. Brand: blue #1860B0 / orange #E87038 / amber #F0B000.
   Type: Sora (display) · Manrope (body) · JetBrains Mono (data).
   ========================================================================== */

:root{
  /* brand core */
  --blue:#1860B0; --orange:#E87038; --amber:#F0B000;
  --blue-50:#EFF5FC; --blue-100:#DBE8F7; --blue-200:#B7D0EE; --blue-300:#8AB2E1;
  --blue-400:#4F8BD0; --blue-500:#2A72BE; --blue-600:#1860B0; --blue-700:#154E8F;
  --blue-800:#133F71; --blue-900:#112F53; --blue-950:#0B1E37;
  --orange-400:#F08550; --orange-500:#E87038; --orange-600:#D2541E; --orange-700:#AE4117;
  --amber-300:#F6C947; --amber-400:#F3BB1E; --amber-500:#F0B000; --amber-600:#C99000;
  /* neutrals (blue-tinted slate) */
  --n-0:#FFFFFF; --n-50:#F6F8FB; --n-100:#EDF1F6; --n-200:#DCE3EC; --n-300:#C2CDDA;
  --n-400:#94A3B8; --n-500:#64748B; --n-600:#4B596B; --n-700:#384451;
  --n-800:#28313C; --n-900:#1A2129; --n-950:#0F141A;
  --success:#1E9E62;
  /* roles */
  --ink:var(--n-900); --ink-2:var(--n-600); --ink-3:var(--n-500); --line:var(--n-200);
  --bg:var(--n-0);
  --maxw:1200px;
  --radius:14px;
  --shadow-sm:0 1px 2px rgba(15,30,55,.06), 0 1px 3px rgba(15,30,55,.08);
  --shadow-md:0 6px 16px rgba(15,30,55,.08), 0 2px 6px rgba(15,30,55,.06);
  --shadow-lg:0 24px 60px rgba(11,30,55,.18), 0 8px 20px rgba(11,30,55,.10);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Manrope',system-ui,sans-serif; font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
h1,h2,h3,h4{font-family:'Sora',system-ui,sans-serif; font-weight:700; line-height:1.08; letter-spacing:-.02em; margin:0;}
p{margin:0;}
.mono{font-family:'JetBrains Mono',monospace;}

/* ---- layout helpers ---------------------------------------------------- */
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.section{padding:92px 0;}
.section.tight{padding:64px 0;}
.eyebrow{
  font-family:'JetBrains Mono',monospace; font-size:12px; font-weight:500;
  letter-spacing:.16em; text-transform:uppercase; color:var(--orange-600);
  margin-bottom:16px;
}
.eyebrow.on-dark{color:var(--amber-400);}
.section-head{max-width:680px; margin-bottom:52px;}
.section-head h2{font-size:clamp(30px,4vw,46px);}
@media(min-width:760px){.h2-nowrap-lg{white-space:nowrap;}}
.section-head p{margin-top:18px; color:var(--ink-2); font-size:19px; text-wrap:pretty;}
.section-head p.ph-freefirst{margin-top:14px; font-size:22px; font-weight:800; font-family:'Sora'; color:var(--blue-700);}
.ph-free-actions{margin-top:16px;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

/* ---- buttons ----------------------------------------------------------- */
.btn{
  font-family:'Manrope'; font-weight:700; font-size:15px; border:0; cursor:pointer;
  border-radius:11px; padding:14px 22px; display:inline-flex; align-items:center;
  gap:9px; transition:.18s var(--ease); white-space:nowrap; line-height:1;
}
.btn svg{width:17px; height:17px;}
.btn-primary{background:var(--orange-500); color:#fff; box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:var(--orange-600); transform:translateY(-1px); box-shadow:var(--shadow-md);}
.btn-blue{background:var(--blue-600); color:#fff;}
.btn-blue:hover{background:var(--blue-700); transform:translateY(-1px);}
.btn-ghost{background:transparent; color:var(--blue-700); box-shadow:inset 0 0 0 1.5px var(--blue-200);}
.btn-ghost:hover{background:var(--blue-50);}
.btn-ghost-light{background:rgba(255,255,255,.08); color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.28);}
.btn-ghost-light:hover{background:rgba(255,255,255,.16);}
.btn-lg{padding:16px 28px; font-size:16px;}
.btn-arrow{transition:transform .18s var(--ease);}
.btn:hover .btn-arrow{transform:translateX(3px);}

/* ---- top nav ----------------------------------------------------------- */
.nav{
  position:sticky; top:0; z-index:60; background:rgba(255,255,255,.82);
  backdrop-filter:saturate(140%) blur(14px); border-bottom:1px solid var(--line);
}
.nav.on-dark{background:rgba(11,30,55,.55); border-bottom-color:rgba(255,255,255,.10);}
.nav-inner{max-width:var(--maxw); margin:0 auto; padding:0 28px; height:70px;
  display:flex; align-items:center; gap:22px;}
.nav-logo{display:flex; align-items:center; height:30px;}
.nav-logo img{height:30px; width:auto;}
.nav-links{display:flex; align-items:center; gap:4px; margin-left:8px;}
.nav-link{
  font-size:15px; font-weight:600; color:var(--n-700); padding:9px 13px;
  border-radius:9px; transition:.15s; display:inline-flex; align-items:center; gap:6px;
  cursor:pointer; background:none; border:0; font-family:inherit; white-space:nowrap;
}
.nav-link:hover{color:var(--blue-700); background:var(--blue-50);}
.nav.on-dark .nav-link{color:rgba(255,255,255,.86);}
.nav.on-dark .nav-link:hover{color:#fff; background:rgba(255,255,255,.10);}
.nav-spacer{flex:1;}
.nav-cta{display:flex; align-items:center; gap:10px;}

/* dropdown */
.nav-dd{position:relative;}
.nav-dd-menu{
  position:absolute; top:calc(100% + 10px); left:0; min-width:300px; max-width:360px;
  background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:var(--shadow-lg); padding:10px; opacity:0; visibility:hidden;
  transform:translateY(6px); transition:.18s var(--ease);
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu{opacity:1; visibility:visible; transform:translateY(0);}
.nav-dd-item{display:block; padding:11px 13px; border-radius:11px; transition:.14s;}
.nav-dd-item:hover{background:var(--blue-50);}
.nav-dd-item .ddt{display:block; font-weight:700; font-size:15px; color:var(--ink); font-family:'Sora'; line-height:1.25;}
.nav-dd-item .ddd{display:block; font-size:13px; color:var(--ink-3); margin-top:3px; line-height:1.35; text-wrap:pretty;}
.chev{width:13px; height:13px; opacity:.6;}

/* mobile nav */
.nav-burger{display:none; background:none; border:0; cursor:pointer; padding:8px; margin-left:auto; color:inherit;}
.nav-burger svg{width:26px; height:26px;}
.mnav{
  position:fixed; inset:0; z-index:80; background:var(--blue-950); color:#fff;
  transform:translateX(100%); transition:transform .3s var(--ease);
  display:flex; flex-direction:column; padding:22px; overflow-y:auto;
}
.mnav.open{transform:translateX(0);}
.mnav-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:26px;}
.mnav-top img{height:28px;}
.mnav-close{background:none; border:0; color:#fff; cursor:pointer; padding:6px;}
.mnav-close svg{width:28px; height:28px;}
.mnav a, .mnav-group-label{display:block; font-family:'Sora'; font-weight:600; font-size:22px;
  color:#fff; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.10);}
.mnav-sub a{font-size:17px; font-weight:500; color:rgba(255,255,255,.8); padding:10px 0 10px 16px; border:0;}
.mnav-group-label{color:var(--amber-400); font-size:13px; letter-spacing:.12em; text-transform:uppercase; font-family:'JetBrains Mono'; border:0; padding-bottom:4px;}
.mnav-cta{margin-top:24px;}
.mnav-cta .btn{width:100%; justify-content:center;}

/* ---- cards / grids ----------------------------------------------------- */
.grid{display:grid; gap:22px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.card{
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px;
  transition:.2s var(--ease);
}
.card.hover:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--blue-200);}
.card h3{font-size:21px; margin-bottom:10px;}
.card p{color:var(--ink-2); font-size:15.5px;}
.card-ic{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center;
  justify-content:center; margin-bottom:18px; background:var(--blue-50); color:var(--blue-600);
}
.card-ic svg{width:23px; height:23px;}
.card-ic.orange{background:var(--orange-50,#FEF3ED); color:var(--orange-600);}
.card-ic.amber{background:var(--amber-50,#FFF8E6); color:var(--amber-600);}

/* audience cards */
.aud-card{position:relative; overflow:hidden; display:flex; flex-direction:column;}
.aud-card .aud-link{margin-top:auto; padding-top:18px; font-weight:700; color:var(--blue-700);
  display:inline-flex; align-items:center; gap:7px; font-size:15px;}
.aud-card:hover .aud-link .btn-arrow{transform:translateX(3px);}

/* stat row */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
.stat .num{font-family:'Sora'; font-weight:800; font-size:clamp(34px,4.4vw,52px); line-height:1;
  letter-spacing:-.03em; color:var(--blue-700);}
.stat .num .u{color:var(--orange-500);}
.stat .lbl{margin-top:10px; color:var(--ink-2); font-size:15px; font-weight:500;}

/* ---- bands ------------------------------------------------------------- */
.band-dark{background:var(--blue-950); color:#fff;}
.band-dark .section-head p{color:rgba(255,255,255,.72);}
.band-tint{background:var(--blue-50);}
.band-grad{background:linear-gradient(135deg,var(--blue-700),var(--blue-900));}

/* checkmark list */
.checks{display:grid; gap:14px; margin:0; padding:0; list-style:none;}
.checks li{display:flex; gap:13px; align-items:flex-start; font-size:16.5px; color:var(--ink-2);}
.checks li b{color:var(--ink); font-weight:700;}
.check-ic{flex:none; width:24px; height:24px; border-radius:50%; background:var(--success);
  color:#fff; display:flex; align-items:center; justify-content:center; margin-top:1px;}
.check-ic svg{width:13px; height:13px;}

/* split feature */
.split{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.split.rev .split-media{order:-1;}

/* ---- CTA band ---------------------------------------------------------- */
.cta-band{background:linear-gradient(120deg,var(--blue-800),var(--blue-950)); color:#fff;
  border-radius:26px; padding:60px; text-align:center; position:relative; overflow:hidden;}
.cta-band h2{font-size:clamp(28px,3.6vw,42px); margin-bottom:16px;}
.cta-band p{color:rgba(255,255,255,.78); max-width:540px; margin:0 auto 30px; font-size:18px;}
.cta-band .btns{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}
.cta-glow{position:absolute; width:480px; height:480px; border-radius:50%; filter:blur(80px);
  opacity:.5; pointer-events:none;}

/* ---- footer ------------------------------------------------------------ */
.footer{background:var(--blue-950); color:rgba(255,255,255,.7); padding:72px 0 34px;}
.footer-top{display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:36px; margin-bottom:52px;}
.footer-brand img{height:30px; margin-bottom:18px; opacity:.95;}
.footer-brand p{font-size:15px; max-width:280px; color:rgba(255,255,255,.6);}
.footer-contact{margin-top:20px; font-size:14px; line-height:1.8;}
.footer-contact a{color:rgba(255,255,255,.85);}
.footer-contact a:hover{color:#fff;}
.footer-col h4{font-family:'Sora'; font-size:14px; letter-spacing:.04em; color:#fff; margin-bottom:16px;}
.footer-col a{display:block; font-size:14.5px; padding:6px 0; color:rgba(255,255,255,.66); transition:.14s;}
.footer-col a:hover{color:#fff;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12); padding-top:26px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;}
.footer-bottom .copy{font-size:13.5px; color:rgba(255,255,255,.5);}
.footer-bottom .copy .parent{color:rgba(255,255,255,.66); font-weight:600;}
.footer-social{display:flex; gap:10px;}
.footer-social a{width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.8); transition:.16s;}
.footer-social a:hover{background:var(--orange-500); color:#fff;}
.footer-social svg{width:18px; height:18px;}
.ic-disclaimer{margin-top:28px; font-size:12.5px; color:rgba(255,255,255,.42); max-width:760px; line-height:1.6;}

/* ---- interior page hero ------------------------------------------------ */
.page-hero{background:linear-gradient(150deg,var(--blue-800),var(--blue-950)); color:#fff;
  padding:74px 0 84px; position:relative; overflow:hidden;}
.page-hero .wrap{position:relative; z-index:1;}
.page-hero .eyebrow{color:var(--amber-400);}
.page-hero h1{font-size:clamp(34px,5.2vw,58px); max-width:17ch; letter-spacing:-.025em;}
.page-hero .ph-sub{margin-top:20px; font-size:clamp(18px,2.1vw,21px); color:rgba(255,255,255,.78);
  max-width:62ch; text-wrap:pretty;}
.page-hero .ph-actions{margin-top:32px; display:flex; gap:14px; flex-wrap:wrap;}
.ph-glow{position:absolute; width:520px; height:520px; border-radius:50%; filter:blur(90px);
  opacity:.42; pointer-events:none;}
.ph-kpis{display:flex; gap:46px; flex-wrap:wrap; margin-top:46px;}
.ph-kpi b{font-family:'Sora'; font-weight:800; font-size:32px; letter-spacing:-.02em; color:#fff; display:block; line-height:1;}
.ph-kpi b .u{color:var(--amber-400);}
.ph-kpi > span{font-size:14px; color:rgba(255,255,255,.66); margin-top:8px; display:block;}

/* ---- numbered steps ---------------------------------------------------- */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.step .sn{width:44px; height:44px; border-radius:12px; background:var(--blue-600); color:#fff;
  font-family:'Sora'; font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.step h3{font-size:20px; margin-bottom:8px;}
.step p{color:var(--ink-2); font-size:15.5px;}

/* ---- vertical timeline ------------------------------------------------- */
.tl{display:grid; gap:0; max-width:860px;}
.tl-row{display:grid; grid-template-columns:56px 1fr; gap:24px; padding-bottom:36px; position:relative;}
.tl-row:not(:last-child)::before{content:''; position:absolute; left:27px; top:54px; bottom:-2px; width:2px; background:var(--blue-200);}
.tl-dot{width:56px; height:56px; border-radius:15px; background:var(--blue-600); color:#fff; z-index:1;
  display:flex; align-items:center; justify-content:center; font-family:'Sora'; font-weight:800; font-size:20px;}
.tl-row.alt .tl-dot{background:var(--orange-500);}
.tl-body{padding-top:6px;}
.tl-body h3{font-size:21px; margin-bottom:7px;}
.tl-body p{color:var(--ink-2); font-size:16px; max-width:58ch;}
.tl-body .note{margin-top:10px; font-size:13.5px; color:var(--ink-3); font-family:'JetBrains Mono';}

/* ---- faq --------------------------------------------------------------- */
.faq{display:grid; gap:0; max-width:820px; margin:0 auto;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{width:100%; text-align:left; background:none; border:0; cursor:pointer; font-family:'Sora';
  font-weight:700; font-size:18px; color:var(--ink); padding:24px 46px 24px 0; position:relative; display:block; line-height:1.3;}
.faq-q::after{content:'+'; position:absolute; right:6px; top:20px; font-size:26px; font-weight:400; color:var(--blue-500); transition:transform .22s var(--ease);}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .3s var(--ease);}
.faq-a p{color:var(--ink-2); font-size:16px; padding:0 46px 24px 0; text-wrap:pretty;}

/* ---- small bits -------------------------------------------------------- */
.tag{display:inline-flex; align-items:center; gap:6px; font-family:'JetBrains Mono'; font-size:11px;
  font-weight:500; letter-spacing:.1em; text-transform:uppercase; padding:5px 10px; border-radius:999px;
  background:var(--blue-50); color:var(--blue-700);}
.tag.orange{background:var(--orange-50,#FEF3ED); color:var(--orange-600);}
.tag.amber{background:var(--amber-50,#FFF8E6); color:var(--amber-600);}
.lead-list{display:grid; gap:18px; margin:0; padding:0; list-style:none;}

@media (max-width:860px){
  .steps{grid-template-columns:1fr; gap:22px;}
  .ph-kpis{gap:30px;}
}

/* reveal on scroll */
.reveal{opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease);}
.reveal.in{opacity:1; transform:none;}

/* ---- responsive -------------------------------------------------------- */
@media (max-width:1000px){
  .split{grid-template-columns:1fr; gap:36px;}
  .split.rev .split-media{order:0;}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-brand{grid-column:1 / -1;}
}
@media (max-width:980px){
  .nav-links, .nav-cta{display:none;}
  .nav-burger{display:inline-flex;}
  .stats{grid-template-columns:repeat(2,1fr); gap:32px 20px;}
}
@media (max-width:640px){
  body{font-size:16px;}
  .section{padding:64px 0;}
  .wrap{padding:0 20px;}
  .grid-2,.grid-3{grid-template-columns:1fr;}
  .cta-band{padding:40px 26px;}
  .footer-top{grid-template-columns:1fr 1fr; gap:28px 20px;}
  .footer-bottom{flex-direction:column; align-items:flex-start;}
}
@media (max-width:430px){
  .grid-4{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr 1fr;}
}

/* ---- pricing ----------------------------------------------------------- */
.price-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; align-items:stretch;}
.price-card{background:#fff; border:1px solid var(--line); border-radius:20px; padding:32px 28px;
  display:flex; flex-direction:column; box-shadow:var(--shadow-sm);}
.price-card.featured{border:2px solid var(--blue-600); box-shadow:var(--shadow-lg); position:relative;}
.price-badge{position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--blue-600);
  color:#fff; font-family:'JetBrains Mono'; font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  padding:5px 13px; border-radius:999px; white-space:nowrap;}
.price-card h3{font-size:21px; margin-bottom:6px; min-height:52px;}
.price-card .pc-sub{color:var(--ink-3); font-size:14.5px; height:46px;}
.price-amt{font-family:'Sora'; font-weight:800; letter-spacing:-.02em; color:var(--ink); margin:6px 0 4px; line-height:1; height:52px; display:flex; align-items:flex-end; gap:6px; white-space:nowrap;}
.price-amt .big{font-size:40px;} .price-amt .per{font-size:14px; color:var(--ink-3); font-weight:600;}
.price-note{font-size:13px; color:var(--ink-3); font-family:'JetBrains Mono'; margin-bottom:26px; height:52px; line-height:1.5;}
.price-card .checks{margin-bottom:26px;} .price-card .checks li{font-size:15px;}
.price-card .btn{width:100%; justify-content:center; margin-top:auto;}
.price-foot{max-width:720px; margin:30px auto 0; text-align:center; color:var(--ink-3); font-size:14px;}
.big-event-cta{margin:44px auto 0; max-width:900px; display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; background:linear-gradient(135deg,var(--blue-600),var(--blue-800)); color:#fff; border-radius:20px; padding:32px 38px; box-shadow:var(--shadow-lg);}
.big-event-cta h3{font-size:26px; color:#fff; margin:0 0 6px;}
.big-event-cta p{font-size:17px; color:rgba(255,255,255,.85); margin:0; max-width:52ch;}
.big-event-cta .btn{flex:none;}
@media (max-width:600px){.big-event-cta{padding:26px 24px; text-align:center; justify-content:center;} .big-event-cta .btn{width:100%;}}

/* fee strip (official-side transparency) */
.fee-strip{display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:center;
  background:var(--blue-50); border:1px solid var(--blue-100); border-radius:18px; padding:26px 30px;}
.fee-strip .amt{font-family:'Sora'; font-weight:800; font-size:42px; color:var(--blue-700); line-height:1; white-space:nowrap;}
.fee-strip .amt .per{font-size:15px; color:var(--ink-3);}
.fee-strip p{color:var(--ink-2); font-size:15.5px;}
.fee-strip b{color:var(--ink);}

/* ---- comparison table -------------------------------------------------- */
.cmp-table{width:100%; border-collapse:separate; border-spacing:0; background:#fff;
  border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--shadow-sm);}
.cmp-table th, .cmp-table td{padding:17px 22px; text-align:left; font-size:15.5px; border-bottom:1px solid var(--line);}
.cmp-table thead th{font-family:'Sora'; font-size:14px; letter-spacing:.02em; background:var(--n-50); color:var(--ink);}
.cmp-table thead th:last-child{background:var(--blue-600); color:#fff;}
.cmp-table td:first-child{font-weight:600; color:var(--ink); width:38%;}
.cmp-table td.old{color:var(--ink-3);}
.cmp-table td.new{color:var(--blue-800); font-weight:600; background:var(--blue-50);}
.cmp-table tr:last-child td{border-bottom:0;}
.cmp-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch;}

/* ---- staffing role cards ----------------------------------------------- */
.role-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.role-card{border:1px solid var(--line); border-radius:18px; padding:28px; background:#fff;}
.role-card .rc-top{display:flex; align-items:center; gap:13px; margin-bottom:14px;}
.role-card .rc-ic{width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:var(--blue-50); color:var(--blue-600); flex:none;}
.role-card .rc-ic svg{width:23px; height:23px;}
.role-card.paid .rc-ic{background:#E6F5EE; color:var(--success);}
.role-card.vol .rc-ic{background:#FFF8E6; color:var(--amber-600);}
.role-card h3{font-size:19px;}
.role-card .rc-tag{font-family:'JetBrains Mono'; font-size:11px; letter-spacing:.04em; color:var(--ink-3); margin-top:2px;}
.role-card p{color:var(--ink-2); font-size:15px;}

/* ---- blog -------------------------------------------------------------- */
.blog-feature{display:grid; grid-template-columns:1.1fr .9fr; gap:0; border:1px solid var(--line);
  border-radius:22px; overflow:hidden; background:#fff; box-shadow:var(--shadow-md);}
.blog-feature .bf-media{background:linear-gradient(140deg,var(--blue-700),var(--blue-950)); min-height:340px; position:relative; overflow:hidden;}
.blog-feature .bf-body{padding:40px;}
.blog-feature h2{font-size:clamp(24px,2.8vw,34px); margin:14px 0 14px;}
.blog-feature p{color:var(--ink-2); font-size:16.5px;}
.post-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.post-card{display:flex; flex-direction:column; border:1px solid var(--line); border-radius:18px; overflow:hidden;
  background:#fff; transition:.2s var(--ease);}
.post-card:hover{transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--blue-200);}
.post-card .pc-media{height:168px; position:relative; overflow:hidden;}
.post-card .pc-in{padding:22px 22px 26px; display:flex; flex-direction:column; flex:1;}
.post-card h3{font-size:18.5px; margin:10px 0 8px; line-height:1.25;}
.post-card p{color:var(--ink-2); font-size:14.5px; flex:1;}
.post-meta{display:flex; align-items:center; gap:10px; font-size:12.5px; color:var(--ink-3); font-family:'JetBrains Mono'; margin-top:16px;}
.cat-chip{font-family:'JetBrains Mono'; font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--blue-700); background:var(--blue-50); padding:4px 10px; border-radius:999px; align-self:flex-start;}
.cat-chip.orange{color:var(--orange-600); background:#FEF3ED;}
.cat-chip.amber{color:var(--amber-600); background:#FFF8E6;}
.cat-chip.green{color:var(--success); background:#E6F5EE;}
.blog-tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:34px;}
.blog-tabs button{font-family:'Manrope'; font-weight:600; font-size:14px; padding:8px 16px; border-radius:999px;
  border:1px solid var(--line); background:#fff; color:var(--ink-2); cursor:pointer; transition:.14s;}
.blog-tabs button:hover{border-color:var(--blue-300); color:var(--blue-700);}
.blog-tabs button.on{background:var(--blue-600); color:#fff; border-color:var(--blue-600);}
.newsletter{background:linear-gradient(120deg,var(--blue-800),var(--blue-950)); border-radius:22px; padding:46px;
  text-align:center; color:#fff;}
.newsletter h3{font-size:26px; margin-bottom:10px;}
.newsletter p{color:rgba(255,255,255,.74); max-width:480px; margin:0 auto 24px;}
.news-form{display:flex; gap:10px; max-width:440px; margin:0 auto; flex-wrap:wrap;}
.news-form input{flex:1; min-width:200px; border:0; border-radius:11px; padding:14px 16px; font-family:'Manrope'; font-size:15px;}

/* feature row (icon list 2-up) */
.feat-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:30px 40px;}
.feat{display:flex; gap:16px; align-items:flex-start;}
.feat .feat-ic{flex:none; width:46px; height:46px; border-radius:12px; background:var(--blue-50); color:var(--blue-600);
  display:flex; align-items:center; justify-content:center;}
.feat .feat-ic svg{width:23px; height:23px;}
.feat h3{font-size:18.5px; margin-bottom:6px;}
.feat p{color:var(--ink-2); font-size:15px;}

@media (max-width:900px){
  .price-grid{grid-template-columns:1fr; max-width:460px; margin:0 auto;}
  .role-cards{grid-template-columns:1fr;}
  .post-grid{grid-template-columns:1fr 1fr;}
  .blog-feature{grid-template-columns:1fr;}
  .blog-feature .bf-media{min-height:200px;}
  .feat-grid{grid-template-columns:1fr; gap:24px;}
  .fee-strip{grid-template-columns:1fr; gap:12px; text-align:center;}
}
@media (max-width:600px){
  .post-grid{grid-template-columns:1fr;}
  .newsletter{padding:32px 24px;}
}

@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  html{scroll-behavior:auto;}
}

/* ---- interior hero ambient motion -------------------------------------- */
@media (prefers-reduced-motion:no-preference){
  .page-hero .ph-glow{animation:phGlowA 15s ease-in-out infinite;}
  .page-hero .ph-glow:nth-child(2){animation:phGlowB 19s ease-in-out infinite;}
  @keyframes phGlowA{0%,100%{transform:translate(0,0) scale(1); opacity:.42;}50%{transform:translate(-46px,34px) scale(1.22); opacity:.55;}}
  @keyframes phGlowB{0%,100%{transform:translate(0,0) scale(1); opacity:.42;}50%{transform:translate(34px,-26px) scale(.86); opacity:.3;}}
}
