/* Practical Thinkers production design system v3 — consistency + readability */
:root{
  --pt-bg:#050712;--pt-bg2:#070a15;--pt-panel:#0c1122;--pt-panel2:#10162a;
  --pt-line:rgba(148,163,255,.20);--pt-line-strong:rgba(157,112,255,.40);
  --pt-text:#f7f8ff;--pt-muted:#aeb6cb;--pt-purple:#a655ff;--pt-blue:#2e72ff;
  --pt-grad:linear-gradient(110deg,#b35cff 0%,#7753ff 46%,#2f76ff 100%);
  --pt-shadow:0 24px 70px rgba(0,0,0,.28);
  --pt-radius:16px;
}
html{font-size:16px}
body{background:radial-gradient(circle at 84% 4%,rgba(80,49,200,.14),transparent 27%),linear-gradient(180deg,#04060f,#060914 52%,#04060e);color:var(--pt-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.65}
body:not(.home-v2):before{content:"";position:fixed;z-index:-2;inset:0;background:radial-gradient(circle at 14% 36%,rgba(48,103,255,.08),transparent 26%),radial-gradient(circle at 88% 65%,rgba(169,73,255,.07),transparent 24%);pointer-events:none}
.shell{width:min(1240px,calc(100% - 56px));margin-inline:auto}

/* Unified inner-page header */
.header{position:sticky;top:0;z-index:60;background:rgba(4,6,15,.86);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.055)}
.header.scrolled{background:rgba(4,6,15,.96);border-color:rgba(148,163,255,.13);box-shadow:0 12px 34px rgba(0,0,0,.20)}
.navrow{height:82px;gap:34px}
.brand{gap:12px;font-size:16px;line-height:1.05;font-weight:800;letter-spacing:.01em}
.brand-logo-mark{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 0 16px rgba(137,82,255,.28))}
.mark{width:36px;height:36px;border-radius:10px;font-size:20px}
.nav{gap:30px}
.nav a{font-size:15px;font-weight:600;color:#d5d9e8;position:relative}
.nav a:hover,.nav a.active{color:#fff}
.nav a.active:after{content:"";position:absolute;left:50%;bottom:-29px;width:24px;height:2px;transform:translateX(-50%);background:var(--pt-grad);border-radius:20px}
.btn{min-height:48px;padding:0 22px;border-radius:11px;font-size:15px;background:var(--pt-grad);box-shadow:0 12px 30px rgba(79,55,255,.22)}
.btn:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(89,61,255,.30)}
.btn.secondary{background:rgba(11,16,33,.86);border:1px solid rgba(153,166,222,.34)}

/* Unified inner-page hero */
.pagehero{position:relative;overflow:hidden;padding:126px 0 92px;border-bottom:1px solid rgba(255,255,255,.065);background:radial-gradient(circle at 76% 34%,rgba(102,61,220,.22),transparent 29%),radial-gradient(circle at 84% 44%,rgba(44,114,255,.13),transparent 32%)}
.pagehero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-110px;top:-80px;border:1px solid rgba(132,114,255,.14);box-shadow:0 0 100px rgba(91,66,255,.08);pointer-events:none}
.kicker,.eyebrow{font-size:12px;letter-spacing:.19em;color:#a887ff;font-weight:800;text-transform:uppercase}
.pagehero h1{font-size:clamp(54px,6.2vw,82px);line-height:.98;letter-spacing:-.055em;margin:24px 0 24px;max-width:1040px}
.lead,.pagehero .lead{font-size:20px;line-height:1.62;color:#b8bfd1;max-width:760px}
.gradient{background:linear-gradient(95deg,#c16cff,#8174ff 50%,#4384ff);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Shared sections */
.section{padding:104px 0}
.sectionhead{margin-bottom:46px;align-items:flex-end}
.section h2,.sectionhead h2,.copy h2,.cta h2{font-size:clamp(38px,4vw,54px);line-height:1.06;letter-spacing:-.04em;margin:13px 0 18px}
.sectionhead p,.copy p,.copy li,.legal p,.legal li{font-size:17px;color:var(--pt-muted)}
.textlink{font-size:15px;font-weight:700;color:#d8d8ff;border-bottom-color:#8f5cff}

/* Service cards */
.cards{grid-template-columns:repeat(3,1fr);gap:20px}
.card{min-height:292px;padding:31px;border-radius:var(--pt-radius);background:linear-gradient(145deg,rgba(16,22,43,.94),rgba(7,10,22,.98));border:1px solid var(--pt-line);box-shadow:0 10px 34px rgba(0,0,0,.10)}
.card:hover{transform:translateY(-6px);border-color:var(--pt-line-strong);box-shadow:var(--pt-shadow)}
.card .num{font-size:12px;letter-spacing:.1em;color:#7f89a5}
.card .icon{font-size:32px;margin:38px 0 22px;color:#a26cff}
.card h3{font-size:23px;line-height:1.2;margin:0 0 14px}
.card p{font-size:16px;line-height:1.62;color:#aab1c4;margin:0}

/* About */
.split{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:76px}
.principles{gap:18px}
.principle{padding:31px;border-radius:16px;background:linear-gradient(145deg,rgba(16,22,43,.92),rgba(7,10,22,.96));border-color:var(--pt-line)}
.principle h3{font-size:21px;margin:13px 0 9px}.principle p{font-size:15px;color:#aab2c6;margin:0}

/* Pricing */
.pricegrid{grid-template-columns:repeat(4,1fr);gap:18px}
.price{padding:30px;border-radius:17px;background:linear-gradient(145deg,rgba(16,22,43,.95),rgba(7,10,22,.98));border:1px solid var(--pt-line);display:flex;flex-direction:column;min-height:440px}
.price.popular{border-color:rgba(159,94,255,.64);box-shadow:0 0 55px rgba(83,41,187,.19)}
.price h3{font-size:24px;margin:13px 0 0}
.price .cost{font-size:44px;letter-spacing:-.04em;margin:20px 0 18px}
.price .cost small{font-size:14px!important}.price ul{font-size:15px;line-height:1.75;color:#aab1c3;min-height:170px;margin-bottom:25px}.price .btn{margin-top:auto}

/* Work listing */
.case-list{display:grid;gap:14px}
.case-row{grid-template-columns:58px minmax(0,1.35fr) minmax(220px,.8fr) auto;gap:26px;padding:28px 30px;border:1px solid var(--pt-line);border-radius:15px;background:linear-gradient(145deg,rgba(14,20,39,.78),rgba(7,10,22,.91));transition:.25s}
.case-row:hover{transform:translateY(-3px);border-color:rgba(150,105,255,.38);background:linear-gradient(145deg,rgba(19,26,50,.92),rgba(9,13,27,.98));box-shadow:0 20px 60px rgba(0,0,0,.18)}
.case-row .index{font-size:13px;color:#79839e}.case-row h3{font-size:25px;line-height:1.2}.case-row p{font-size:15px;line-height:1.5;color:#9fa8bc}.tags{font-size:13px;line-height:1.5;color:#aa78ff}.case-row .textlink{white-space:nowrap}

/* Case study pages */
.casehero-grid{grid-template-columns:1.05fr .95fr;gap:58px}.casefacts{gap:16px}.fact{padding:24px;border-color:var(--pt-line);background:rgba(13,18,36,.68);border-radius:14px}.fact small{font-size:12px}.fact b{font-size:17px}.bigvisual{height:500px;border-color:var(--pt-line);border-radius:20px}.copy h3{font-size:26px;margin-top:30px}.copy ul{padding-left:20px}.copy li{margin:8px 0}

/* Contact */
.formgrid{grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.form{gap:18px}.field{gap:8px}.field label{font-size:14px;font-weight:700;color:#d8dceb}.field input,.field textarea,.field select{padding:16px 17px;border-radius:11px;border-color:rgba(151,163,221,.24);background:#090d1a;font-size:16px}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#845cff;box-shadow:0 0 0 3px rgba(132,92,255,.10)}.field textarea{min-height:190px}.status{font-size:15px}.formgrid>.copy{padding:28px;border:1px solid var(--pt-line);border-radius:18px;background:linear-gradient(145deg,rgba(15,21,42,.78),rgba(7,10,22,.92))}

/* CTA / Footer */
.cta{padding:46px 50px;border-radius:18px;border-color:rgba(147,126,255,.27);background:radial-gradient(circle at 84%,rgba(88,55,194,.33),transparent 42%),linear-gradient(110deg,#0c1122,#0a0d19)}
.cta .lead{font-size:17px}.footer{margin-top:80px;padding:66px 0 26px;background:#04060d;border-top:1px solid rgba(255,255,255,.065)}
.footgrid{gap:45px}.footgrid h4{font-size:12px;color:#8f99b2}.footgrid a{font-size:14px;color:#a7afc2;margin:9px 0}.footgrid .lead{font-size:15px!important}.copyright{font-size:13px;color:#788198}

/* Legal / resources / account */
.legal{max-width:920px}.legal h2{font-size:31px;line-height:1.18;margin-top:52px}.notice{font-size:15px;padding:18px 20px}.projectgrid{gap:20px}.project{border-color:var(--pt-line);border-radius:16px;background:linear-gradient(145deg,rgba(15,21,42,.9),rgba(7,10,22,.98))}.visual{height:230px}.projectbody{padding:26px}.projectbody small{font-size:12px}.projectbody h3{font-size:23px}.projectbody p{font-size:15px;line-height:1.58}

/* Homepage readability upgrades */
.home-v2{font-size:17px}.home-v2 .v2-shell{width:min(1240px,calc(100% - 56px))}.v2-nav{height:82px!important}.v2-brand{font-size:16px!important}.v2-brand-mark{width:36px!important;height:36px!important}.v2-links{gap:30px!important}.v2-links a{font-size:15px!important}.v2-btn{font-size:15px!important;min-height:48px!important;padding-inline:22px!important}.v2-btn-small{min-height:46px!important}
.v2-hero,.v2-hero-grid{min-height:680px!important}.v2-hero-copy{padding-top:86px!important}.v2-hero-copy h1{font-size:clamp(55px,5.2vw,77px)!important}.v2-kicker{font-size:12px!important}.v2-hero-copy>p{font-size:18px!important;line-height:1.62!important;max-width:540px!important}.v2-trusted small{font-size:12px!important}.v2-logo-row span{font-size:11px!important}.metric{font-size:10px!important;width:160px!important}.metric small,.metric b{font-size:10px!important}.metric strong{font-size:29px!important}.metric span{font-size:9px!important}.metric-d{width:180px!important}
.v2-section{padding:96px 0!important}.v2-center-head{margin-bottom:38px!important}.v2-center-head h2,.v2-section-title h2,.v2-about-copy h2{font-size:clamp(36px,3.4vw,50px)!important}.v2-center-head p{font-size:17px!important;line-height:1.6!important}.v2-service-grid{gap:14px!important}.v2-service-card{min-height:260px!important;padding:25px 22px!important;border-radius:14px!important}.v2-icon{font-size:30px!important;margin-bottom:24px!important}.v2-service-card h3{font-size:18px!important;line-height:1.25!important}.v2-service-card p{font-size:14px!important;line-height:1.62!important}.v2-service-card span{font-size:13px!important}.v2-stats{padding:21px 12px!important;margin-top:20px!important}.v2-stats b{font-size:24px!important}.v2-stats span{font-size:12px!important}.v2-stats i{font-size:25px!important}
.v2-section-title{margin-bottom:32px!important}.v2-section-title a{font-size:13px!important}.v2-work-grid{gap:18px!important}.v2-work-img{height:170px!important}.v2-work-copy{padding:20px!important}.v2-work-copy small{font-size:11px!important}.v2-work-copy h3{font-size:19px!important;line-height:1.24!important}.v2-work-copy p{font-size:14px!important;line-height:1.55!important}.v2-work-copy span{font-size:12px!important}.v2-about-copy p{font-size:15px!important;line-height:1.65!important}.v2-about-copy .v2-btn{font-size:13px!important}.v2-process{min-height:260px!important}.v2-process>div{max-width:125px!important}.v2-process i,.v2-process span{font-size:19px!important}.v2-process h3{font-size:15px!important}.v2-process p{font-size:11px!important;line-height:1.5!important}.v2-quote{min-height:165px!important;padding:22px!important}.v2-quote p{font-size:14px!important;line-height:1.58!important}.v2-quote span{font-size:11px!important}.v2-bottom-cta{min-height:116px!important;padding:24px 30px!important}.v2-bottom-cta strong{font-size:21px!important}.v2-bottom-cta p{font-size:14px!important}.v2-bottom-cta .v2-btn{font-size:13px!important}.v2-footer{padding-top:42px!important}.v2-footer-grid{gap:38px!important}.v2-footer p{font-size:13px!important}.v2-footer h4{font-size:11px!important}.v2-footer a,.v2-footer span{font-size:12px!important;margin:7px 0!important}.v2-copyright{font-size:11px!important;padding-block:16px 22px!important}

@media(max-width:1100px){
  .pricegrid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}
  .case-row{grid-template-columns:52px 1fr auto}.case-row .tags{display:none}
  .v2-service-grid{grid-template-columns:repeat(3,1fr)!important}.v2-work-grid{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:900px){
  .shell{width:min(100% - 34px,760px)}.navrow{height:72px}.nav a.active:after{display:none}.pagehero{padding:94px 0 68px}.pagehero h1{font-size:clamp(48px,10vw,66px)}
  .section{padding:82px 0}.split,.formgrid,.casehero-grid{grid-template-columns:1fr}.formgrid{gap:34px}.pricegrid{grid-template-columns:1fr 1fr}.footer{margin-top:55px}
  .home-v2 .v2-shell{width:min(100% - 34px,760px)}.v2-service-grid{grid-template-columns:repeat(2,1fr)!important}.v2-hero-copy>p{font-size:17px!important}
}
@media(max-width:640px){
  body{font-size:16px}.shell{width:min(100% - 28px,600px)}.brand{font-size:14px}.pagehero{padding:78px 0 55px}.pagehero h1{font-size:45px}.lead,.pagehero .lead{font-size:18px}.section{padding:68px 0}.section h2,.sectionhead h2,.copy h2,.cta h2{font-size:37px}
  .cards,.pricegrid,.principles,.projectgrid{grid-template-columns:1fr}.card{min-height:0}.case-row{grid-template-columns:36px 1fr;padding:22px 18px}.case-row>a{display:none}.case-row h3{font-size:22px}.formgrid>.copy{padding:23px}.cta{padding:34px 26px}.footer{padding-top:48px}.footgrid{gap:28px}
  .home-v2 .v2-shell{width:min(100% - 28px,600px)}.v2-nav{height:70px!important}.v2-hero-copy h1{font-size:46px!important}.v2-hero-copy>p{font-size:17px!important}.v2-service-grid,.v2-work-grid{grid-template-columns:1fr!important}.v2-service-card{min-height:220px!important}.v2-stats span{font-size:12px!important}.v2-work-img{height:190px!important}.v2-process{grid-template-columns:1fr 1fr!important}.v2-process p{font-size:11px!important}.v2-quote p{font-size:14px!important}.v2-footer-grid{grid-template-columns:1fr 1fr!important}
}
